Browse Source

出库毛检提交派车编号

zhongtianhaoyuan 3 years ago
parent
commit
599725ea70

+ 6 - 2
src/views/warehouse/warehouseManagementNoWeight.vue

@@ -278,7 +278,7 @@
               statusFlag: row.statusFlag,
               tare: row.tare,
               warehouseName: row.warehouseName,
-              warehouseInOutDetail: row.warehouseInOutDetail,
+              warehouseInOutDetail: JSON.stringify(row.warehouseInOutDetail),
               warehouseType: this.deptBudgetList.warehouseType,
               createType: this.createType,
               temporaryOutType: row.temporaryOutType,
@@ -295,6 +295,8 @@
               automaticWeightAcquisition: row.automaticWeightAcquisition,
               outType:row.outType,//运输类型
               carId:row.carId,//派车id
+              tranCarNo:row.tranCarNo,//派车编号
+              selfLoading:row.selfLoading,
             },
           })
         } else if (row.inOutFlag == 1) {
@@ -329,7 +331,7 @@
               statusFlag: row.statusFlag,
               tare: row.tare,
               warehouseName: row.warehouseName,
-              warehouseInOutDetail: row.warehouseInOutDetail,
+              warehouseInOutDetail: JSON.stringify(row.warehouseInOutDetail),
               warehouseType: this.deptBudgetList.warehouseType,
               temporaryOutType: this.temporaryOutType,
               cost: row.cost,
@@ -345,6 +347,8 @@
               automaticWeightAcquisition: row.automaticWeightAcquisition,
               outType:row.outType,//运输类型
               carId:row.carId,//派车id
+              tranCarNo:row.tranCarNo,//派车编号
+              selfLoading:row.selfLoading,
             },
           })
         }

+ 1 - 1
src/views/warehouse/warehouseManagementNoWeightIn.vue

@@ -590,7 +590,7 @@
       this.dataList.inOutFlag = this.$route.inOutFlag
       this.dataList.inOutTypeKey = Number(this.$route.query.inOutTypeKey)
       this.dataList.statusFlag = this.$route.statusFlag
-      this.dataList.warehouseInOutDetail = this.$route.query.warehouseInOutDetail
+      this.dataList.warehouseInOutDetail = JSON.parse(this.$route.query.warehouseInOutDetail) 
       this.dataList.warehouseType = this.$route.query.warehouseType
       this.dataList.createType = this.$route.query.createType
       this.dataList.temporaryOutType = this.$route.query.temporaryOutType

+ 4 - 2
src/views/warehouse/warehouseManagementNoWeightOut.vue

@@ -542,9 +542,11 @@
       this.dataList.inOutFlag = this.$route.inOutFlag
       this.dataList.inOutTypeKey = Number(this.$route.query.inOutTypeKey)
       this.dataList.statusFlag = this.$route.statusFlag
-      this.dataList.warehouseInOutDetail = this.$route.query.warehouseInOutDetail
+      this.dataList.warehouseInOutDetail = JSON.parse(this.$route.query.warehouseInOutDetail)
       this.dataList.outType = this.$route.query.outType//运输方式
-      this.dataList.selfLoading = this.$route.query.selfLoading//
+      this.dataList.tranCarNo = this.$route.query.tranCarNo,//派车编号
+      this.dataList.selfLoading = this.$route.query.selfLoading,
+      // this.dataList.selfLoading = this.$route.query.selfLoading//
       // if (this.$route.query.automaticWeightAcquisition == '1') {
       //   this.isShowBalance = true
       // }