From fa6e9dafca9a987c0ad03e70cf2fc0d04bd7cc16 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期一, 05 五月 2025 15:52:27 +0800 Subject: [PATCH] 1.生产补料/超领,新增防抖控制,防止条码重复扫描。 2.现场收料功能完成 --- H5/Js/IPQC_XJ/Add.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/H5/Js/IPQC_XJ/Add.js b/H5/Js/IPQC_XJ/Add.js index 7df1dbf..bd86e60 100644 --- a/H5/Js/IPQC_XJ/Add.js +++ b/H5/Js/IPQC_XJ/Add.js @@ -187,7 +187,7 @@ let data = res.data.tbBillList[0]; if (data) { that.formData = data; - that.remarks = that.formData.fnGDesc; + that.remarks = that.formData.fngDesc; that.AxiosHttp("post", 'LLJ/getJYItem', { //id: that.formData.guid, releaseNo: that.formData.releaseNo @@ -422,16 +422,19 @@ }, true, 0).then(res1 => { if (res1.status === 0) { that.$notify({ type: 'success', message: '鍒犻櫎鎴愬姛' }); - that.init();//鍒锋柊妫�楠岄」鐩� + } else { that.$toast.fail(res1.rtnMsg); + } + that.init();//鍒锋柊妫�楠岄」鐩� }).catch(error => { that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); }); }).catch(() => { // 鍙栨秷鎿嶄綔 + that.init();//鍒锋柊妫�楠岄」鐩� }) }, } -- Gitblit v1.9.3