admin
2024-08-04 517d1ae8b37b25228a771556cdf46b422b8b5bf5
jcdm-ui/src/views/main/kb/stationTerminal/index.vue
@@ -312,7 +312,7 @@
import {
  bindYzSfcFlag,
  checkCarCode, checkYzSfcCode,
  findBytrolleyYardGetOne,
  findBytrolleyYardGetOne, getProductionOrdeOneBySfcCode,
  listProductionOrde, mozuReceivingWorkOrders,
  receivingWorkOrders,
  trolleyYardBinDing
@@ -613,17 +613,19 @@
    },
    /** 查询工单列表 */
    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(){