From 3360d0a1377cbd91ccc870e0877497e424bef7b1 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 18 六月 2025 09:24:43 +0800 Subject: [PATCH] 1.生产领料可选工单 --- H5/Js/Scbl.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/H5/Js/Scbl.js b/H5/Js/Scbl.js index f8b69fb..926b55b 100644 --- a/H5/Js/Scbl.js +++ b/H5/Js/Scbl.js @@ -19,6 +19,7 @@ active: 0, show: false, actions: [], + ItemDetail: [], } }, mounted() { @@ -64,11 +65,6 @@ console.log(error); }); }, - onClick(index, title) { - this.$toast(`${index} ${title}`); - this.$notify({ type: 'success', message: '鏌愭煇鐗╂枡鎵爜鎴愬姛鏌愭煇鐗╂枡鎵爜鎴愬姛鏌愭煇鐗╂枡鎵爜鎴愬姛鏌愭煇鐗╂枡鎵爜鎴愬姛' }); - - }, onSelect(item) { // 榛樿鎯呭喌涓嬬偣鍑婚�夐」鏃朵笉浼氳嚜鍔ㄦ敹璧� // 鍙互閫氳繃 close-on-click-action 灞炴�у紑鍚嚜鍔ㄦ敹璧� @@ -82,15 +78,15 @@ GetMesItemBlDetailByBillNo() { var that = this; that.isLoading = true; - that.AxiosHttp("post", 'MesItemBl/GetMesItemBlDetailByBillNo', { + that.AxiosHttp("post", 'MesItemBl/GetMesItemWWBlDetailByBillNo', { billNo: that.billNo, type: selectType }, false) .then(function (res) { var json = res; if (json.status == 0) { - that.ItemBlDetail = json.data.tbBillList.item2; - that.daa001 = json.data.tbBillList.item1; + that.ItemDetail = json.data.tbBillList; + that.daa001 = json.data.tbBillList.daa001; that.$refs.barcode.focus(); } else { @@ -113,7 +109,11 @@ }); }, getBarcode() { - + // 娣诲姞闃叉姈鍒ゆ柇 + if (this.isLoading) { + return; + } + //this.barcode = value; var that = this; -- Gitblit v1.9.3