From 39e3c34ecd462fceeb2fe2d46fcbc2e3576bbe50 Mon Sep 17 00:00:00 2001 From: xins Date: Thu, 23 May 2024 14:41:40 +0800 Subject: [PATCH] =?UTF-8?q?2.3.2=20MES:=20=E5=9B=9B=E6=A5=BC=E8=A3=85?= =?UTF-8?q?=E9=85=8D=E5=B7=A5=E4=BD=8D=E7=94=B3=E8=AF=B7=E9=A2=86=E6=96=99?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E9=94=80=E5=94=AE=E8=AE=A2=E5=8D=95=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/board/fourthFloor/assemble.vue | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/hw-ui/src/views/board/fourthFloor/assemble.vue b/hw-ui/src/views/board/fourthFloor/assemble.vue index a644679..d9196dc 100644 --- a/hw-ui/src/views/board/fourthFloor/assemble.vue +++ b/hw-ui/src/views/board/fourthFloor/assemble.vue @@ -252,6 +252,14 @@ prop="materialName" > + + + { this.tableData1 = res.rows this.totalNum2 = Math.ceil(res.total / 5) @@ -741,6 +750,7 @@ export default { getDetail(e) { this.planId = e.row.planId this.materialBomId = e.row.materialBomId + this.saleOrderId = e.row.saleOrderId this.nowNum2 = 1 getProductPlanDetails({pageNum: 1, pageSize: 5, planId: e.row.planId}).then(res => { if (res.rows.length === 0) { @@ -785,12 +795,13 @@ export default { planId: val.row.planId, planCode: val.row.planCode, planDetailCode: val.row.planDetailCode, + saleOrderId : this.saleOrderId, applyReason: '', taskType: '1', wmsRawOutstockDetailList: [] } // 获取仓库信息 - getWarehouses({"warehouseFloor": 1}).then(e => { + getWarehouses({"warehouseFloor": 4}).then(e => { this.warehouseList = e.data this.form.warehouseId = e.data[0]?.warehouseId this.searchMaterial(""); @@ -815,13 +826,16 @@ export default { searchMaterial(val) { getStockTotal({ warehouseId: this.form.warehouseId, + saleOrderId: this.saleOrderId, materialName: val }).then(e => { this.form.wmsRawOutstockDetailList = e.data.map(r => { return { + stockTotalId: r.stockTotalId, materialId: r.materialId, materialCode: r.materialCode, materialName: r.materialName, + safeFlag: r.safeFlag, availableAmount: r.totalAmount - r.occupyAmount - r.frozenAmount, unavailableAmount: r.occupyAmount + r.frozenAmount, planAmount: r.planAmount