From d835e52c691e45b48f5c4cd196ac6400a31cbb52 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 17 Sep 2025 16:09:45 +0800 Subject: [PATCH] change --- pages/Material/dlx-move-store.vue | 3 +-- pages/Material/dlx-out-store.vue | 18 ++++++++++++++---- pages/Material/dlx-pan-store.vue | 14 +++++++++++--- pages/Material/kzj-inout-store.vue | 5 +++-- pages/Material/lx-in-store.vue | 1 + pages/Material/mater-in-store.vue | 7 +++++-- pages/Material/xlx-in-store.vue | 1 + 7 files changed, 36 insertions(+), 13 deletions(-) diff --git a/pages/Material/dlx-move-store.vue b/pages/Material/dlx-move-store.vue index cb0f363..bef3b7a 100644 --- a/pages/Material/dlx-move-store.vue +++ b/pages/Material/dlx-move-store.vue @@ -53,7 +53,6 @@ - @@ -154,7 +153,7 @@ let res = await getMoveDocumentInfo('1', this.val1, this.mdid) if (res && res.data.length > 0) { this.dataList = [...res.data] - this.mdid = ths.dataList[0].moveinvdtl_id + this.mdid = this.dataList[0].moveinvdtl_id if (this.dataList.length && this.mdid) { this._getMoveDocumentInfo2() } diff --git a/pages/Material/dlx-out-store.vue b/pages/Material/dlx-out-store.vue index 3ce4b98..a8f1359 100644 --- a/pages/Material/dlx-out-store.vue +++ b/pages/Material/dlx-out-store.vue @@ -49,7 +49,7 @@ {{i+1}} {{e.bill_code}} - {{e.bill_type}} + {{e.bill_type_name}} {{e.struct_code}} {{e.storagevehicle_code}} {{e.material_code}} @@ -92,8 +92,15 @@ keyword: null, date: currentDate, dataList: [], + statusMap: { + '1001': '领料出库', + '1002': '质检出库', + '1003': '退货出库', + '1004': '烘干出库', + '1009': '手工出库' + }, pkId: '', - pkObj: {} + pkObj: {}, }; }, computed: { @@ -119,7 +126,10 @@ try { let res = await getIoDisDocumentInfo(this.keyword, this.date, '1') if (res && res.data.length > 0) { - this.dataList = [...res.data] + this.dataList = res.data.map(item => ({ + ...item, + bill_type_name: this.statusMap[item.bill_type] || '' + })) } else { this.dataList = [] } @@ -135,7 +145,7 @@ if (this.pkId) { this.$store.dispatch('setPublicObj', this.pkObj) uni.navigateTo({ - url: 'pages/Material/hw-out-store' + url: '/pages/Material/hw-out-store?title=货位出库' }) } } diff --git a/pages/Material/dlx-pan-store.vue b/pages/Material/dlx-pan-store.vue index 181b96c..02cc42c 100644 --- a/pages/Material/dlx-pan-store.vue +++ b/pages/Material/dlx-pan-store.vue @@ -37,7 +37,7 @@ {{i+1}} - {{e.check_result}} + {{e.check_result_name}} {{e.struct_code}} {{e.storagevehicle_code}} {{e.material_code}} @@ -76,6 +76,11 @@ title: '', keyword: '', dataList: [], + statusMap: { + '10': '生成', + '20': '盘点中', + '99': '完成' + }, pkId: '', pkObj: {} }; @@ -89,7 +94,10 @@ try { let res = await getCheckDocumentInfo(this.keyword, '1') if (res && res.data.length > 0) { - this.dataList = [...res.data] + this.dataList = res.data.map(item => ({ + ...item, + check_result_name: this.statusMap[item.check_result] || '' + })) } else { this.dataList = [] } @@ -105,7 +113,7 @@ if (this.pkId) { this.$store.dispatch('setPublicObj', this.pkObj) uni.navigateTo({ - url: 'pages/Material/hw-check' + url: '/pages/Material/hw-check?title=货位盘点' }) } } diff --git a/pages/Material/kzj-inout-store.vue b/pages/Material/kzj-inout-store.vue index 28cc801..6ab8572 100644 --- a/pages/Material/kzj-inout-store.vue +++ b/pages/Material/kzj-inout-store.vue @@ -45,7 +45,8 @@