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