Browse Source

修改厂外物流展示bug

zx 2 years ago
parent
commit
e068adb464

+ 1 - 1
build/utils.js

@@ -15,7 +15,7 @@ const devPathSrc = path.resolve(__dirname, "../../../src"); // node_modules应
 // ['index','appoint','configManager','homepage',''inward,'queue','RMS','sale','serviceManager','SporadicManage'
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
-let devModules = ['all'];
+let devModules = ['index','sale'];
 // let devModules = ['index','appoint','sale','statisticalReport','RMS','TMS','WMS']
 // let devModules = ["index", "ADMINISTRATORS", "RMS"];
 // let devModules = ["index", "inward", "statisticalReport"];

+ 1 - 4
src/views/RMS/components/addPort.vue

@@ -26,10 +26,7 @@ export default {
   mounted() {},
   methods: {
     makeSure() {
-      console.log(this.form1);
-      //   let RmsCapacity = {
-
-      //   };
+  
       let RmsCapacity = this.form1;
       console.log(RmsCapacity);
       if (RmsCapacity.portName == null || RmsCapacity.portTypeId == null)

+ 5 - 1
src/views/sale/components/transport_excute/tms-offsite/receiptResult.vue

@@ -329,7 +329,8 @@ export default {
       this.axios
        .post("/api/v1/otms/getReceivingPhotoByUrl?orderNumber="+orderNumber)
        .then((res)=>{
-         console.log(res.data)
+        if(res.data.code==200){
+          console.log(res.data.data);
           this.isShow=true;
           this.srcList=[];
           this.src=res.data.resultSignedNotePhoto;
@@ -347,6 +348,9 @@ export default {
           if(res.data.otherPhoto3!=null){
              this.srcList.push(res.data.otherPhoto3);
           }
+        }else{
+           this.$message.warning(res.data.message);
+        }
        });
        
     },