From d8bdc0a0ac621f5bae737c6b55a537bede6468d2 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 7 Apr 2025 12:46:19 +0800 Subject: [PATCH] 118 --- manifest.json | 4 ++-- pages/entry/bill-to-store.vue | 21 +++++++++++++-------- utils/getData2.js | 6 +++--- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/manifest.json b/manifest.json index 1978409..1f1745d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "恒森", "appid" : "__UNI__8D175E0", "description" : "恒森WMS手持系统", - "versionName" : "1.1.7", - "versionCode" : 117, + "versionName" : "1.1.8", + "versionCode" : 118, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/entry/bill-to-store.vue b/pages/entry/bill-to-store.vue index ef94d33..cc4bafa 100644 --- a/pages/entry/bill-to-store.vue +++ b/pages/entry/bill-to-store.vue @@ -42,7 +42,7 @@ 单位 - + @@ -95,10 +95,11 @@ 序号 物料编码 物料名称 - 物料规格 - 单位 - 物料批次 物料数量 + 单位 + 单据状态 + 物料批次 + @@ -106,10 +107,11 @@ {{i+1}} {{e.material_code}} {{e.material_name}} - {{e.material_spec}} - {{e.unit_name}} - {{e.pcsn}} {{e.qty}} + {{e.unit_name}} + {{e.bill_status}} + {{e.pcsn}} + @@ -190,7 +192,7 @@ }, async _getBillNoInfo (e) { try { - let res = await getBillNoInfo(e) + let res = await getBillNoInfo(e, this.index1) if (res && res.length) { this.dataList = [...res] this.pkId = '' @@ -204,6 +206,9 @@ } catch (e) {} }, toCheck (e) { + if (e.status === '80') { + return + } this.pkId = this.pkId === e.material_code ? '' : e.material_code this.pkObj = this.pkId === e.material_code ? e : {} }, diff --git a/utils/getData2.js b/utils/getData2.js index 0202fb1..5312565 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -254,7 +254,7 @@ export const inStorageOrder = () => request({ method: 'GET', url:'api/pda/inStorage/order' }) -export const getBillNoInfo = (id) => request({ - url:'api/pda/inStorage/getBillNoInfo/' + id, - method: 'GET' +export const getBillNoInfo = (code, type) => request({ + url:'api/pda/inStorage/getBillNoInfo', + data: {code, form_type: type} }) \ No newline at end of file