| | |
| | | import { |
| | | bindYzSfcFlag, |
| | | checkCarCode, checkYzSfcCode, |
| | | findBytrolleyYardGetOne, |
| | | findBytrolleyYardGetOne, getProductionOrdeOneBySfcCode, |
| | | listProductionOrde, mozuReceivingWorkOrders, |
| | | receivingWorkOrders, |
| | | trolleyYardBinDing |
| | |
| | | }, |
| | | /** 查询工单列表 */ |
| | | async getList() { |
| | | await listProductionOrde(this.queryParams).then(response => { |
| | | let rowsData = response.rows[0]; |
| | | console.log(rowsData) |
| | | this.workpieceInformation.workOrderNo = rowsData.workOrderNo; |
| | | this.workpieceInformation.productCode = rowsData.productCode; |
| | | this.workpieceInformation.materialCode = rowsData.materialCode; |
| | | this.workpieceInformation.planQty = rowsData.planQty; |
| | | this.headContent.cardCode = rowsData.trolleyYard; |
| | | await getProductionOrdeOneBySfcCode(this.queryParams).then(response => { |
| | | if(response.code === 200){ |
| | | const rowsData = response.data |
| | | this.workpieceInformation.workOrderNo = rowsData.workOrderNo; |
| | | this.workpieceInformation.productCode = rowsData.productCode; |
| | | this.workpieceInformation.materialCode = rowsData.materialCode; |
| | | this.workpieceInformation.planQty = rowsData.planQty; |
| | | this.headContent.cardCode = rowsData.trolleyYard; |
| | | |
| | | this.getListFormulaChild() |
| | | this.workpieceInformation.inboundTime = this.getCurrentTime() |
| | | } |
| | | }); |
| | | this.getListFormulaChild() |
| | | this.workpieceInformation.inboundTime = this.getCurrentTime() |
| | | }, |
| | | |
| | | initializedData(){ |