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,表示加载完成