From 7083d3e8eb752e8bf4d2207347feeb7b16e0ea75 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Sat, 19 Apr 2025 10:38:54 +0800 Subject: [PATCH] =?UTF-8?q?wms=E7=89=B9=E6=AE=8A=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E5=8D=95=E9=A1=B5=E9=9D=A2=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/outorderTS/index.vue | 66 +++++++++++++++--------------- 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/src/views/wms/outorderTS/index.vue b/src/views/wms/outorderTS/index.vue index d88deb2..d72be9e 100644 --- a/src/views/wms/outorderTS/index.vue +++ b/src/views/wms/outorderTS/index.vue @@ -48,6 +48,18 @@ 导出 + + 打印特殊退货单 + + @@ -257,40 +269,29 @@ - - -
-
- -
-
-
-
-
-

普通领料/退料单

-
- 领料 - 退料 -
+

+ 特殊出库单 + +

- 领料单:{{printData.factory}} + 领料单:{{printData.produceCode}} 工厂编码:{{printData.factory}} 库存地点: 发料日期: 打印日期:{{printData.printDate}} - 成本中心编码: + 成本中心编码:{{printData.userDefined3}} 成本中心: 移动类型: 物料凭证: @@ -298,13 +299,13 @@ - - - - - - - + + + + + + + @@ -779,16 +780,17 @@ export default { let queryParams = { produceCode: this.outorderList[0].produceCode }; - listReturnDY(queryParams).then(response => { + listckTS(queryParams).then(response => { this.showWorkorderCode = true; this.printData.printTitle = '订单物料'; - this.printData.factory = response.data[0].siteCode + this.printData.factory = response.rows[0].siteCode //this.printData.productDate = response.data.mesPrepareDetailList[0].productDate this.printData.printDate = moment(new Date()).format('YYYY-MM-DD') - this.printData.produceCode = response.data[0].produceCode - this.printData.workTable = response.data; - this.printData.pageNo = response.data.length; - this.printData.createBy= response.data[0].createBy; + this.printData.produceCode = response.rows[0].produceCode + this.printData.userDefined3 = response.rows[0].userDefined3 + this.printData.workTable = response.rows; + this.printData.pageNo = response.rows.length; + this.printData.createBy= response.rows[0].createBy; // let chunkedArray = []; // console.log(this.printData.workTable[0].produceCode) // //遍历this.printData.workTable @@ -802,7 +804,7 @@ export default { // } // this.printData.workTable = chunkedArray; console.log(this.printData.workTable[0].produceCode) - this.printData.produceCode = response.data.produceCode + this.printData.produceCode = response.rows[0].produceCode this.refreshNewWorkerTable = true // 立即将refreshProTable设置为true,显示表格 this.newWorkerLoading = false // 设置加载状态为false,表示加载完成