Commit 4fe927df authored by 高宇's avatar 高宇

1.入库进入页面时XX选中

parent ba444810
......@@ -282,10 +282,11 @@ export default {
SubmitForm() {
this.$refs.from.validate(valid => {
if (valid) {
if (this.form.pn !== this.responsePn) {
this.$message.error('您输入的pn与返回pn的不一样')
if (this.responsePn && this.responsePn !== '') {
if (this.form.pn !== this.responsePn) {
this.$message.error('您输入的pn与返回pn的不一样')
}
} else {
this.form.qty = Number(this.form.qty)
addIncomeWmsBox(this.form).then(res => {
if (res.code === 200) {
this.$message.success('保存成功')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment