Bladeren bron

进口矿修改

luobang 3 jaren geleden
bovenliggende
commit
f86ba2b973

+ 2 - 2
build/utils.js

@@ -18,8 +18,8 @@ const devPathSrc = path.resolve(__dirname, '../../../src'); // node_modules应
 
 
 
- let devModules = ['all']
-// let devModules = ['index','TMS','RMS']
+//  let devModules = ['all']
+let devModules = ['index','TMS','SporadicManage']
 //  let devModules = ['index','WMS','sale','TMS','inward','SporadicManage']
 // let devModules = ['index','SporadicManage','TMS','statisticalReport','RMS'];
 // let devModules = ['index','RMS'];

+ 3 - 7
src/views/TMS/components/importedFuel/transportReserveRanAdd.vue

@@ -416,17 +416,12 @@ export default {
               });
               this.purchaseOrderNo = null
               this.purchaseOrderId = null
+              this.remark = null
               this.form1 = [];
             } else {
-              console.log();
               this.remark = res.data.data.remark;
               this.purchaseOrderId = res.data.data.purchaseOrderId;
               this.purchaseOrderNo = res.data.data.purchaseOrderNo;
-              // if (res.data.data.receiveUnitId == 1) {
-              //   this.orderType = 6;
-              // } else {
-              //   this.orderType = 7;
-              // }
             }
           } else {
             this.$message.error("请求失败");
@@ -528,7 +523,7 @@ export default {
       if (num == 1) {
         this.frist.requestUrl =
           "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
-          this.input + "&supplierId=" + this.supplierId;;
+          this.input + "&supplierId=" + this.supplierId;
       } else if (num == 2) {
         this.secend.requestUrl =
           "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
@@ -569,6 +564,7 @@ export default {
     currentRadioChange1(selection) {
       this.materialName = selection.materialName;
       this.materialId = selection.materialId;
+      this.remark = null
       this.getPurchaseOrderNo();
     },
     currentRadioChange2(selection) {

+ 2 - 6
src/views/TMS/components/importedIngredients/transportReserveFuAddIngredients.vue

@@ -425,16 +425,12 @@ export default {
               this.form1 = [];
               this.purchaseOrderId = null
               this.purchaseOrderNo = null
+              this.remark = null
             } else {
               console.log();
               this.remark = res.data.data.remark;
               this.purchaseOrderId = res.data.data.purchaseOrderId;
               this.purchaseOrderNo = res.data.data.purchaseOrderNo;
-              // if (res.data.data.receiveUnitId == 1) {
-              //   this.orderType = 6;
-              // } else {
-              //   this.orderType = 7;
-              // }
             }
           } else {
             this.$message.error("请求失败");
@@ -541,7 +537,6 @@ export default {
       }
       this.drawer = true;
       this.onDrawerNumber = num;
-      this.refreshTable()
       if (num == 1) {
           this.frist.requestUrl =
           "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
@@ -584,6 +579,7 @@ export default {
       this.$router.push("/transportReserveRan");
     },
     currentRadioChange1(selection) {
+      this.remark = null ;
       this.materialName = selection.materialName;
       this.materialId = selection.materialId;
       this.getPurchaseOrderNo();

+ 4 - 0
src/views/TMS/components/importedMineral/addTransportAppoint.vue

@@ -423,6 +423,9 @@ export default {
                 type: "warning",
               });
               this.form1 = [];
+              this.remark = null;
+              this.purchaseOrderNo = null;
+              this.purchaseOrderId = null
             } else {
               console.log();
               this.remark = res.data.data.remark;
@@ -580,6 +583,7 @@ export default {
       this.$router.push("/transportReserveRan");
     },
     currentRadioChange1(selection) {
+      this.remark = null
       this.materialName = selection.materialName;
       this.materialId = selection.materialId;
       this.getPurchaseOrderNo();