zouzhd пре 3 година
родитељ
комит
66f455ea02
3 измењених фајлова са 7 додато и 3 уклоњено
  1. 2 2
      build/utils.js
  2. 1 1
      src/views/RMS/components/addCapacity.vue
  3. 4 0
      src/views/RMS/components/capacity.vue

+ 2 - 2
build/utils.js

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

+ 1 - 1
src/views/RMS/components/addCapacity.vue

@@ -70,7 +70,7 @@ export default {
   },
   mounted() {
    this.axios.post(
-       "api/v1/rms/getCarrierNameBySSOId?carrierSSOId=" + this.carrierUserId
+       "/api/v1/rms/getCarrierNameBySSOId?carrierSSOId=" + this.carrierUserId
       )
       .then((res) => {
         if(res.data.code == "200"){

+ 4 - 0
src/views/RMS/components/capacity.vue

@@ -55,7 +55,11 @@ export default {
   },
   methods:{
     onclick(){
+      if(getCookie("orgCode") == "chengyunshang"){
       this.options.requestUrl = "/api/v1/rms/getCapacityList?apiId=397&carrierSSOId="+ getCookie("userId") +"&con=" +this.textInput + "&i=" + new Date();
+    }else{
+      this.options.requestUrl = "/api/v1/rms/getCapacityList?apiId=397&carrierSSOId="+ null +"&con=" +this.textInput + "&i=" + new Date();
+    }
     },
      toInsert() {
       this.$router.push("/addCapacity");