From 77a94b984bd3c186b7d38626ac3e1916e6f3ca60 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 15 May 2024 09:28:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E6=9C=A8=E7=AE=B1=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/SecondPhase/EmptyBoxInStore.vue | 16 +++------------- utils/getData3.js | 3 +-- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/pages/SecondPhase/EmptyBoxInStore.vue b/pages/SecondPhase/EmptyBoxInStore.vue index 9b6429a..6b6a09a 100644 --- a/pages/SecondPhase/EmptyBoxInStore.vue +++ b/pages/SecondPhase/EmptyBoxInStore.vue @@ -3,14 +3,6 @@ - - - 载具号 - - - - - 木箱号 @@ -37,7 +29,7 @@ - + @@ -55,7 +47,6 @@ }, data() { return { - val1: '', val2: '', val3: '', options: [{value: '1', text: '1'}, {value: '2', text: '2'}, {value: '3', text: '3'}], @@ -72,12 +63,12 @@ }, async _twoPdaBoxIn () { this.disabled = true - if (!this.val1 || !this.val2 || !this.val3) { + if (!this.val2 || !this.val3) { this.disabled = false return } try { - let res = await twoPdaBoxIn(this.val1, this.val2, this.val3, this.index) + let res = await twoPdaBoxIn(this.val2, this.val3, this.index) uni.showToast({ title: res.message, icon: 'none' @@ -88,7 +79,6 @@ } }, clearUp () { - this.val1 = '' this.val2 = '' this.val3 = '' this.index = '' diff --git a/utils/getData3.js b/utils/getData3.js index 391a4dc..419059f 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -20,10 +20,9 @@ export const twoPdaVehicleIn = (code, type, pcode) => request({ * 二期空木箱入库 */ // 1.1空木箱入库-【入库按钮】 -export const twoPdaBoxIn = (code, no, pcode, layer) => request({ +export const twoPdaBoxIn = (no, pcode, layer) => request({ url:'api/twoPda/vehicle/boxIn', data: { - vehicle_code: code, box_no: no, point_code: pcode, layer: layer