From 12f5b32eafed078708de5364f079412826fb9197 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 18 Oct 2023 10:13:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A7=E6=9E=B6=E7=9B=98=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 +++++++ pages/modules/package-instore.vue | 10 +++++++++- pages/modules/shelf-check.vue | 19 +++++++++++++++++++ utils/getData2.js | 5 +++-- 4 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 pages/modules/shelf-check.vue diff --git a/pages.json b/pages.json index 5a70952..b590fda 100644 --- a/pages.json +++ b/pages.json @@ -107,6 +107,13 @@ } } + ,{ + "path" : "pages/modules/shelf-check", + "style": { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/modules/package-instore.vue b/pages/modules/package-instore.vue index 3eedf5d..b6bc2cf 100644 --- a/pages/modules/package-instore.vue +++ b/pages/modules/package-instore.vue @@ -15,6 +15,12 @@ + + 剩余数量 + + + + @@ -61,6 +67,7 @@ return { val1: '', val2: '', + val3: '0', dataList: [], disabled: false }; @@ -82,10 +89,11 @@ return } try { - let res = await manualSortingPackingTask(this.val1, this.val2) + let res = await manualSortingPackingTask(this.val1, this.val2, this.val3) this.disabled = false this.val1 = '' this.val2 = '' + this.val3 = '0' this._manualSortingPackingTaskShow() uni.showToast({ title: res.message, diff --git a/pages/modules/shelf-check.vue b/pages/modules/shelf-check.vue new file mode 100644 index 0000000..239d03a --- /dev/null +++ b/pages/modules/shelf-check.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/utils/getData2.js b/utils/getData2.js index deaa8a6..3627a4a 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -126,10 +126,11 @@ export const manualSortingPackingTaskShow = () => request({ data: {} }) // 确认 -export const manualSortingPackingTask = (code, qty) => request({ +export const manualSortingPackingTask = (code, qty, sqty) => request({ url:'/api/pda/manualSorting/packingTask', data: { vehicle_code: code, - qty: qty + qty: qty, + surplus_quantity: sqty } }) \ No newline at end of file