From 7e10d92be344a9bdbf6d8aa12ad6ccf8b713e5ce Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期二, 02 九月 2025 16:16:13 +0800 Subject: [PATCH] 生产领料增加物料筛选 --- H5/Js/PurchaseReturn.js | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/H5/Js/PurchaseReturn.js b/H5/Js/PurchaseReturn.js index 4ceb63e..1045ce2 100644 --- a/H5/Js/PurchaseReturn.js +++ b/H5/Js/PurchaseReturn.js @@ -55,6 +55,7 @@ var json = res; if (json.status == 0) { that.itemOutNoList = json.data.tbBillList; + that.$playSound('success'); that.itemOutNoStr = that.itemOutNoList.map(s => { return { name: s.billNo } }); @@ -133,6 +134,7 @@ if (json.status == 0) { that.ItemDetail = json.data.tbBillList; that.$refs.barcode.focus(); + that.$playSound('success'); } else { that.$playSound('error'); @@ -168,7 +170,6 @@ //if (json.data.tbBillList) { // //this.ToErp(); //} else { - //} that.scanFormData.quantity = json.data.tbBillList.barcodeNum that.getItem(); @@ -242,16 +243,19 @@ var json = res; if (json.status == 0) { // that.modeInfo = json.data.tbBillList; + that.getItem(); that.scanInfo.splitNum = null; that.scanFormData.quantity = null; that.scanFormData.barcode = null; that.$notify({ type: 'success', message: json.message }); that.$playSound('success'); - - that.sendMessage(json.data.tbBillList); + //kyy + // that.sendMessage(json.data.tbBillList); + that.sendPrintMessage(json.data.tbBillList); that.$refs.barcode.focus(); - that.getItem(); + //kyy + // that.getItem(); } else { that.$playSound('error'); -- Gitblit v1.9.3