From 3876860f19d3f5693fd35b956e2a375ba1a0ada1 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期四, 14 八月 2025 16:23:34 +0800 Subject: [PATCH] 1.巡检成功提示优化 2.巡检检验状态bug优化 3.产品绑定“不合格数”bug优化 4.到货单送货条码标记 --- H5/Js/Dbrk.js | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/H5/Js/Dbrk.js b/H5/Js/Dbrk.js index 2c56433..37ae208 100644 --- a/H5/Js/Dbrk.js +++ b/H5/Js/Dbrk.js @@ -17,6 +17,7 @@ active: 0, show: false, actions: [], + ItemDetail: [], } }, mounted() { @@ -76,13 +77,14 @@ GetMesItemBlDetailByBillNo() { var that = this; that.isLoading = true; - that.AxiosHttp("post", 'TransferOut/GetTransferOutDetailListByBillNo', { + that.AxiosHttp("post", 'TransferOut/GetTransferInDetailListByBillNo', { billNo: that.billNo }, false) .then(function (res) { var json = res; if (json.status == 0) { - that.ItemBlDetail = json.data.tbBillList; + //that.ItemBlDetail = json.data.tbBillList; + that.ItemDetail = json.data.tbBillList; that.$refs.sectionCode.focus(); that.sectionCode = ""; } @@ -165,11 +167,11 @@ return; } - if (!that.billNo) { - this.$toast.fail("鐢宠鍗曞彿涓嶈兘涓虹┖"); - that.isLoading = false; - return; - } + //if (!that.billNo) { + // this.$toast.fail("鐢宠鍗曞彿涓嶈兘涓虹┖"); + // that.isLoading = false; + // return; + //} that.AxiosHttp("post", 'TransferOut/ScanReceiveBarcode', { userName: that.userInfo.loginAccount, @@ -188,6 +190,8 @@ that.$notify({ type: 'success', message: '鎵爜鎴愬姛' }); that.$refs.barcode.focus(); that.barcode = ""; + that.billNo = json.data.form.billNo; + that.GetMesItemBlDetailByBillNo(); } else { that.$toast.fail(json.message); -- Gitblit v1.9.3