From 4515d5fe065048aa568f04d575ab6ff5dd5cf6bf Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Sun, 20 Apr 2025 18:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BA=B8=E7=AE=A1=E7=BB=91?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/SecondPhase/slitting/PaperBind.vue | 17 +++++++++++++---- utils/getData3.js | 4 ++-- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/pages/SecondPhase/slitting/PaperBind.vue b/pages/SecondPhase/slitting/PaperBind.vue index ab5e83a..433311a 100644 --- a/pages/SecondPhase/slitting/PaperBind.vue +++ b/pages/SecondPhase/slitting/PaperBind.vue @@ -12,6 +12,14 @@ + + + 点位 + + + + + 排数 @@ -36,8 +44,8 @@ - - + + @@ -56,6 +64,7 @@ return { title: '', val1: '', + val3: '', options1: [{value: '1', text: '1'}, {value: '2', text: '2'}, {value: '3', text: '3'}, {value: '4', text: '4'}, {value: '5', text: '5'}], index1: '', val2: '', @@ -108,12 +117,12 @@ }, async _operateIvt (type) { this.disabled = true - if (!this.val1 || !this.val2 || !this.index || !this.index1) { + if (!this.val1 || !this.val2 || !this.index || !this.index1 || !this.val3) { this.disabled = false return } try { - let res = await operateIvt(type, this.val1, this.index1, this.val2, this.index) + let res = await operateIvt(type, this.val1, this.index1, this.val2, this.index, this.val3) uni.showToast({ title: res.message, icon: 'none' diff --git a/utils/getData3.js b/utils/getData3.js index 732320f..9de4af5 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -163,9 +163,9 @@ export const updatePackageInfo = (ivt, cn, code) => request({ /** * 纸管绑定 */ -export const operateIvt = (type, vcode, num, qty, code) => request({ +export const operateIvt = (type, vcode, num, qty, code, point) => request({ url:'api/bstIvtStockingivt/operateIvt', - data: {type: type, vehicle_code: vcode, row_num: num, qty: qty, material_code: code} + data: {type: type, vehicle_code: vcode, row_num: num, qty: qty, material_code: code, point_code: point} }) /** * 分切暂存下料