From bfcbcfe9eccba65ee18bcb1eb847e2fa1e88760c Mon Sep 17 00:00:00 2001 From: "Mr.sun" <2290907227@qq.com> Date: Fri, 19 Apr 2024 15:48:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=81=E5=AE=9A=E5=87=BA=E5=BA=93=E5=BC=B9?= =?UTF-8?q?=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../busFunctions/reportForms/lockInStock.js | 1 - .../inventoryLock/examine/extract.vue | 8 +- .../inventoryLock/examine/index.vue | 144 ++++++++++-------- .../libraryManage/lockOutStore/index.vue | 94 +++--------- 4 files changed, 106 insertions(+), 141 deletions(-) diff --git a/src/api/wms/busFunctions/reportForms/lockInStock.js b/src/api/wms/busFunctions/reportForms/lockInStock.js index 96b3674..4cc8c4b 100644 --- a/src/api/wms/busFunctions/reportForms/lockInStock.js +++ b/src/api/wms/busFunctions/reportForms/lockInStock.js @@ -70,7 +70,6 @@ export function getLockstockBatch(data) { //叫料确认 export function addLockstockOut(data) { return request({ - // url: '/wms/lock/addLockstockOut', url: 'wms/stock/lock/addLockstockOut', method: 'post', data: data diff --git a/src/views/libraryManage/inventoryLock/examine/extract.vue b/src/views/libraryManage/inventoryLock/examine/extract.vue index 2318039..b816fe9 100644 --- a/src/views/libraryManage/inventoryLock/examine/extract.vue +++ b/src/views/libraryManage/inventoryLock/examine/extract.vue @@ -104,13 +104,10 @@ export default { this.closeDialog() }, toQuery() { - // this.paging.page = 1; - // this.queryTable(); if (Object.prototype.toString.call(val) === '[object Object]') { this.paging.size = val.size this.queryTable() } else { - // console.log(val) this.paging.page = val this.queryTable() } @@ -128,7 +125,10 @@ export default { listLock(obj) .then((res) => { if (res.code === 200) { - this.tableData = res.rows + console.log(res.rows) + this.tableData = res.rows.filter((item) => { + return item.orderStatus !== 'out' + }) this.paging.total = res.total } this.loading = false diff --git a/src/views/libraryManage/inventoryLock/examine/index.vue b/src/views/libraryManage/inventoryLock/examine/index.vue index 45e9b01..04ea89a 100644 --- a/src/views/libraryManage/inventoryLock/examine/index.vue +++ b/src/views/libraryManage/inventoryLock/examine/index.vue @@ -2,7 +2,10 @@
- 提取 + 提取 锁定 + >锁定 解锁 + >解锁
@@ -60,37 +70,37 @@