From 529b320af5b51bd7c6f5fac4be5c89795a72499b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Fri, 25 Oct 2024 15:13:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/management/in-storage_new.vue | 25 ++++++++++++++++++------- utils/getData2.js | 4 ++-- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/pages/management/in-storage_new.vue b/pages/management/in-storage_new.vue index 0a49465..7d7a335 100644 --- a/pages/management/in-storage_new.vue +++ b/pages/management/in-storage_new.vue @@ -137,7 +137,7 @@ 数量 库存数量 - + {{t+1}} {{ele.wlbm}} {{ele.wlmc}} @@ -147,9 +147,23 @@ v-model="ele.kwbm" /> - {{ele.sysl}} + {{ele.fpsl}} - + + + {{ele.kcsl}} + + + {{t+1}} + {{ele.wlbm}} + {{ele.wlmc}} + + + + + {{ele.kcsl}} @@ -403,11 +417,8 @@ }, // 分配库位弹窗表格 async _inWarehouseAssignLocation () { - let res = await inWarehouseAssignLocation(this.subCheckData) + let res = await inWarehouseAssignLocation(this.subCheckData, this.crType) if (res.code ===1) { - res.result.map(el => { - this.$set(el, 'status', true) - }) this.popData = [...res.result] this.show = true } else { diff --git a/utils/getData2.js b/utils/getData2.js index 1a383af..da07f22 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -187,9 +187,9 @@ export const updateAssignDtl = (arr) => request({ data: arr }) // 分配库位查看详情 -export const inWarehouseAssignLocation = (arr) => request({ +export const inWarehouseAssignLocation = (arr, type) => request({ url:'api/easOutInBillDetail/inWarehouseAssignLocation', - data: arr + data: {details: arr, type: type} }) // 分配库位查看详情确认 export const addAssignDtl = (arr) => request({