zhouzh 3 lat temu
rodzic
commit
537e24d294
32 zmienionych plików z 504 dodań i 348 usunięć
  1. 2 2
      build/utils.js
  2. 2 2
      config/index.js
  3. 44 32
      src/views/RMS/components/addCapacity.vue
  4. 84 43
      src/views/RMS/components/addCarDriver.vue
  5. 27 23
      src/views/RMS/components/addCarrier.vue
  6. 24 21
      src/views/RMS/components/addConsignee.vue
  7. 8 8
      src/views/RMS/components/addGatepost.vue
  8. 9 31
      src/views/RMS/components/addMaterial.vue
  9. 8 8
      src/views/RMS/components/addNotice.vue
  10. 8 8
      src/views/RMS/components/addOilPrice.vue
  11. 8 8
      src/views/RMS/components/addPersonnel.vue
  12. 8 0
      src/views/RMS/components/addPier.vue
  13. 8 8
      src/views/RMS/components/addPort.vue
  14. 6 6
      src/views/RMS/components/addPortStorageYard.vue
  15. 8 8
      src/views/RMS/components/addRawWarehouse.vue
  16. 8 8
      src/views/RMS/components/addRmsShipper.vue
  17. 8 8
      src/views/RMS/components/addSupplier.vue
  18. 14 10
      src/views/RMS/components/addTruckCalculate.vue
  19. 34 13
      src/views/RMS/components/editCapacity.vue
  20. 46 13
      src/views/RMS/components/editCarDriver.vue
  21. 32 10
      src/views/RMS/components/editCarrier.vue
  22. 32 8
      src/views/RMS/components/editConsignee.vue
  23. 8 0
      src/views/RMS/components/editGatepost.vue
  24. 8 8
      src/views/RMS/components/editMaterial.vue
  25. 8 8
      src/views/RMS/components/editNotice.vue
  26. 8 8
      src/views/RMS/components/editOilPrice.vue
  27. 8 8
      src/views/RMS/components/editPersonnel.vue
  28. 8 8
      src/views/RMS/components/editRawWarehouse.vue
  29. 8 8
      src/views/RMS/components/editRmsShipper.vue
  30. 8 8
      src/views/RMS/components/editSupplier.vue
  31. 10 12
      src/views/RMS/components/editTruckCalculate.vue
  32. 2 2
      src/views/RMS/components/rawWarehouse.vue

+ 2 - 2
build/utils.js

@@ -19,13 +19,13 @@ const devPathSrc = path.resolve(__dirname, '../../../src'); // node_modules应
 // let devModules = ['index', 'qualityControl', 'standard', 'basicconfig'];
 // let devModules = ['index','devops','workFlow','systemConfig', 'microService'];
  //let devModules = ['all'];
-// let devModules = ['index','RMS']
+ let devModules = ['index','systemConfig','RMS']
 //let devModules = ['index','SporadicManage','TMS']
 // let devModules = ['index','SporadicManage'];
 // let devModules = ['index','systemConfig', 'formGenerator', 'preview', 'metaData', 'serviceManager', 'configManager', 'custom'];
 // let devModules = ['index', 'systemConfig','formGenerator', 'preview', 'metaData', 'serviceManager', 'configManager', 'btnControll'];
 // let devModules = ['index','inward','SporadicManage']
-let devModules = ['all'];
+//let devModules = ['all'];
 // let devModules = ['index','inward','appoint','sale']
 
 if (pathSrc.indexOf('node_modules') > -1) {

+ 2 - 2
config/index.js

@@ -56,14 +56,14 @@ let proxyTable = {
   },
   // 所有数据的请求域名地址
   "/api/v1": {
-    target: "http://172.16.33.166:8080",
+    target: "http://localhost:8080",
     ws: true,
     pathRewrite: {
       "^/api/v1": "/api/v1"
     }
   },
   "/views/api/v1": {
-    target: "http://172.16.33.166:8080",
+    target: "http://localhost:8080",
     ws: true,
     pathRewrite: {
       "^/views/api/v1": "/api/v1"

+ 44 - 32
src/views/RMS/components/addCapacity.vue

@@ -3,7 +3,7 @@
   <div class="addWagonLoad">
     <PageTitle>返回</PageTitle>
     <el-divider content-position="left">运力信息</el-divider>
-     <div class="form-box" style="margin-right: 10rem">
+     <div class="form_box" style="margin-right: 10rem">
         <dil-form :formId="309" v-model="form1" ref="from1"></dil-form>
       </div>
       <div class="inputBox">
@@ -12,12 +12,12 @@
         v-model="state"
         @input="onInput"
         :fetch-suggestions="querySearch"
-        placeholder="请输入内容"
+        placeholder="边输入边查询"
         :trigger-on-focus="false"
         @select="handleSelect"
       ></el-autocomplete>
       </div>
-    <div class="button-box">
+    <div class="button_box">
       <el-button @click="cancel">取消</el-button>
       <el-button type="primary" @click="makeSure">确定</el-button>
     </div>
@@ -73,10 +73,11 @@ export default {
     },
    
      makeSure() {
-       console.log(this.from1)
+      //  console.log(this.form1)
        let RmsCapacity={
          capacityTypeId:this.form1.capacityTypeId,
          capacityNumber:this.form1.capacityNumber.toUpperCase(),
+         number:this.capacityNumber,
          capacityCorlor:this.form1.capacityCorlor,
          capacityOwneris:this.form1.capacityOwneris,
          capacityVip:this.form1.capacityVip,
@@ -86,6 +87,7 @@ export default {
         carrierName:this.state,
         carrierIds: this.carrierIds,
        };
+      //  console.log("RmsCapacity",RmsCapacity)
        if(
          RmsCapacity.capacityNumber==null ||
          RmsCapacity.capacityCorlor==null ||
@@ -122,39 +124,49 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
-.inputBox{
-     display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.1000rem;
-  margin-bottom: 0.25rem;
-  margin-left: -12rem;
-}
-.form-box{
-  display: flex;
-  justify-content: center;
-  .el-form-item{
+.addWagonLoad {
+  .form_box {
+    width: 100%;
+    margin-top: 30px;
     display: flex;
     justify-content: center;
-    .el-form-item__label{
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
+      }
+    }
+  }
+  .inputBox{
+    display: flex;
+    justify-content: center;
+    margin-bottom: 30px;
+    .text{
+      text-align: right;
       display: flex;
       align-items: center;
+      margin-right: 5px;
     }
-    .el-form-item__content{
-      .el-input{
-        .el-input__inner{
-          width: 250px;
-        }
-      }
+    .input{
+      width: 250px;
+    }
+  }
+  .button_box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
     }
   }
 }

+ 84 - 43
src/views/RMS/components/addCarDriver.vue

@@ -3,7 +3,7 @@
   <div class="addWagonLoad">
     <PageTitle>返回</PageTitle>
     <el-divider content-position="left">司机信息</el-divider>
-    <div class="form-box" style="margin-right: 10rem">
+    <div class="form_box" style="margin-right: 10rem">
       <dil-form :formId="311" v-model="form1" ref="from1"></dil-form>
     </div>
     <div class="inputBox">
@@ -12,7 +12,7 @@
         v-model="state"
         @input="onInput"
         :fetch-suggestions="querySearch"
-        placeholder="请输入内容"
+        placeholder="边输入边查询"
         :trigger-on-focus="false"
         @select="handleSelect"
       ></el-autocomplete>
@@ -23,7 +23,7 @@
   action="http://localhost:8080/api/v1/rms/upload"
   :on-preview="handlePreview"
   :on-remove="handleRemove"
-  :on-success="handleAvatarSuccess"
+  :on-success="handleAvatarSuccess1"
   :file-list="fileList"
   list-type="picture">
   <div>行驶证照片
@@ -38,7 +38,7 @@
   action="http://localhost:8080/api/v1/rms/upload"
   :on-preview="handlePreview"
   :on-remove="handleRemove"
-  :on-success="handleAvatarSuccess"
+  :on-success="handleAvatarSuccess2"
   :file-list="fileList"
   list-type="picture">
   <div>驾驶证照片
@@ -53,7 +53,7 @@
   action="http://localhost:8080/api/v1/rms/upload"
   :on-preview="handlePreview"
   :on-remove="handleRemove"
-  :on-success="handleAvatarSuccess"
+  :on-success="handleAvatarSuccess3"
   :file-list="fileList"
   list-type="picture">
   <div>运输证照片
@@ -69,7 +69,7 @@
   action="http://localhost:8080/api/v1/rms/upload"
   :on-preview="handlePreview"
   :on-remove="handleRemove"
-  :on-success="handleAvatarSuccess"
+  :on-success="handleAvatarSuccess4"
   :file-list="fileList"
   list-type="picture">
   <div>从业资格证照片
@@ -78,7 +78,7 @@
 </el-upload> 
     </div>
 
-    <div class="button-box">
+    <div class="button_box">
       <el-button @click="cancel">取消</el-button>
       <el-button type="primary" @click="makeSure">确定</el-button>
     </div>
@@ -100,7 +100,11 @@ export default {
       fileList: [],
       carrierIds:"",
       state: "",
-      imageUrl:"",
+      imageUrl1:"",
+      imageUrl2:"",
+      imageUrl3:"",
+      imageUrl4:"",
+      imageUrls:[],
     };
   },
   mounted() {},
@@ -136,8 +140,36 @@ export default {
       this.carrierIds=item.carrierIds;
       console.log(item)
     },
-    handleAvatarSuccess(res,file){
-      this.imageUrl=URL.createObjectURL(file.raw);
+      beforeUpload2 (file) {
+        const isLt2M = file.size < 1024 * 1024 * 0.5
+        console.log('大小' + isLt2M)
+        if (!isLt2M) {
+          this.$message.error('上传文件大小不能超过500kb!')
+        }
+        let size = file.size / 1024
+        console.log('大小' + size)
+        let _URL = window.URL || window.webkitURL
+        let img = new Image()
+        img.onload = function () {
+          let width = img.width
+          let height = img.height
+          console.log('width--->' + width)
+          console.log('height--->' + height)
+        }
+        img.src = _URL.createObjectURL(file)
+        return isLt2M
+    },
+    handleAvatarSuccess1(res,file){
+      this.imageUrl1=URL.createObjectURL(file.raw);
+    },
+    handleAvatarSuccess2(res,file){
+      this.imageUrl2=URL.createObjectURL(file.raw);
+    },
+    handleAvatarSuccess3(res,file){
+      this.imageUrl3=URL.createObjectURL(file.raw);
+    },
+    handleAvatarSuccess4(res,file){
+       this.imageUrl4=URL.createObjectURL(file.raw);
     },
     handleRemove(file, fileList) {
         console.log(file, fileList);
@@ -202,50 +234,59 @@ export default {
 };
 </script>
 <style lang='scss'>
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
-.inputBox{
-     display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.1000rem;
-  margin-bottom: 0.25rem;
-  margin-left: -12.5rem;
-}
-.photoBox{
+.addWagonLoad {
+  .form_box {
+    width: 100%;
+    margin-top: 30px;
+    display: flex;
+    justify-content: center;
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
+      }
+    }
+  }
+  .photoBox{
    display: flex;
   text-align: center;
   align-items: center;
   justify-content: center;
   margin-top: 1rem;
   margin-bottom: 0.25rem;
-  margin-left: -18rem;
+ // margin-left: -18rem;
 }
-.form-box{
-  display:flex;
-  justify-content: center;
-  .el-form-item{
-    display:flex;
+  .inputBox{
+    display: flex;
     justify-content: center;
-    .el-form-item__label{
-      display:flex;
+    margin-bottom: 30px;
+    .text{
+      text-align: right;
+      display: flex;
       align-items: center;
+      margin-right: 5px;
     }
-    .el-form-item__content{
-      .el-input{
-        .el-input__inner{
-          width:250px;
-        }
-      }
+    .input{
+      width: 250px;
+    }
+  }
+  .button_box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
     }
   }
-  
 }
 </style>

+ 27 - 23
src/views/RMS/components/addCarrier.vue

@@ -189,35 +189,39 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
-.form-box{
-  display: flex;
-  justify-content: center;
-  .el-form-item{
+ .button-box{
     display: flex;
-    width: 350px;
     justify-content: center;
-    
-    .el-form-item__label{
-      display: flex;
-      align-items: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
     }
-    .el-form-item__content{
-      .el-input{
-        .el-input__inner{
-          width: 250px;
-        }
+  }
+  .form-box {
+    width: 100%;
+    margin-top: 30px;
+    display: flex;
+    justify-content: center;
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
+      }
+      .el-radio{
+        width: 25px;
       }
     }
   }
-}
 .upload-demo{
   display: flex;
   justify-content: center;

+ 24 - 21
src/views/RMS/components/addConsignee.vue

@@ -76,31 +76,34 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
-.form-box{
-  display: flex;
-  justify-content: center;
-  .el-form-item{
+  .button-box{
     display: flex;
     justify-content: center;
-    .el-form-item__label{
-      display: flex;
-      align-items: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
     }
-    .el-form-item__content{
-      .el-input{
-        .el-input__inner{
-          width: 250px;
-        }
+  }
+.form-box {
+    width: 100%;
+    margin-top: 30px;
+    display: flex;
+    justify-content: center;
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
       }
     }
   }
-}
 </style>

+ 8 - 8
src/views/RMS/components/addGatepost.vue

@@ -85,14 +85,14 @@ export default {
 
 </style>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .btn-left {
   margin-left: 470px;
 }

+ 9 - 31
src/views/RMS/components/addMaterial.vue

@@ -123,22 +123,21 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .disableBox{
   display: flex;
   text-align: center;
   align-items: center;
   justify-content: center;
-  margin-top: 3rem;
+  margin-top: 1.5rem;
   margin-bottom: 1.25rem;
-  margin-left: -23rem;
 }
 .btn-left {
   margin-left: 470px;
@@ -146,27 +145,6 @@ export default {
 .input {
   margin-left: 90px;
 }
-.label{
-  margin-left: 445px;
-  margin-bottom: -30px;
-  font: bold;
-  font-size: 1rem;
-  padding-left: -30px;
-  font-family:Arial, Helvetica, sans-serif;
-  margin-bottom:20px;
-} 
-.label2{
-  margin-left: 425px;
-  margin-bottom: -30px;
-  font: bold;
-  font-size: 1rem;
-  font-family:Arial, Helvetica, sans-serif
-}
-.label1{
-  margin-left: 345px;
-  margin-bottom: -30px;
-  font: bold;
-}
 .common{
   font-weight: 700;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,

+ 8 - 8
src/views/RMS/components/addNotice.vue

@@ -69,12 +69,12 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 8
src/views/RMS/components/addOilPrice.vue

@@ -66,14 +66,14 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .form-box{
   display: flex;
   justify-content: center;

+ 8 - 8
src/views/RMS/components/addPersonnel.vue

@@ -78,14 +78,14 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .form-box{
   display: flex;
   justify-content: center;

+ 8 - 0
src/views/RMS/components/addPier.vue

@@ -82,4 +82,12 @@ export default {
     }
   }
 }
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 8
src/views/RMS/components/addPort.vue

@@ -65,14 +65,14 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .form-box{
   display: flex;
   justify-content: center;

+ 6 - 6
src/views/RMS/components/addPortStorageYard.vue

@@ -67,12 +67,12 @@ export default {
   display: flex;
 }
 .form-box,
-.button-box{
+ .button-box{
     display: flex;
-    text-align: center;
-    align-items: center;
     justify-content: center;
-    margin-top: 0.3125rem;
-    margin-bottom: 1.25rem;
-}
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 8
src/views/RMS/components/addRawWarehouse.vue

@@ -64,14 +64,14 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .form-box{
   display: flex;
   justify-content: center;

+ 8 - 8
src/views/RMS/components/addRmsShipper.vue

@@ -76,14 +76,14 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .form-box{
   display: flex;
   justify-content: center;

+ 8 - 8
src/views/RMS/components/addSupplier.vue

@@ -70,14 +70,14 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .form-box{
   display: flex;
   justify-content: center;

+ 14 - 10
src/views/RMS/components/addTruckCalculate.vue

@@ -115,21 +115,25 @@ export default {
 };
 </script>
 <style lang='scss' >
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .inputBox{
   display: flex;
   text-align: center;
   align-items: center;
-  justify-content: center;
    margin-top: 2rem;
-  width: 400px;
+   width: 800px;
+  .el-input__inner{
+    display: flex;
+  text-align: center;
+  align-items: center;
+  }
 }
 .btn-left {
   margin-left: 470px;

+ 34 - 13
src/views/RMS/components/editCapacity.vue

@@ -1,23 +1,23 @@
 <template>
   <!-- 修改运力信息 -->
+<div class="addWagonLoad">
   <div id="contractDetails">
     <page-title>编辑</page-title>
     <div class="main">
       <span class="text">运力信息</span>
     </div>
     <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
+      <div class="form_box" style="margin-right: 10rem">
           <dil-form :formId="310" v-model="form1"></dil-form>
-        </div>
       </div>
     </div>
 
-    <div class="button-box">
+    <div class="button_box">
       <el-button type="primary" @click="onClickConfirm">确认</el-button>
       <el-button @click="onClickCancel">返回</el-button>
     </div>
   </div>
+</div>
 </template>
 
 <script>
@@ -97,13 +97,34 @@ console.log(this.$route.params)
 };
 </script>
 <style lang='scss' scoped>
-.form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .form_box {
+    width: 100%;
+    margin-top: 30px;
+    display: flex;
+    justify-content: center;
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
+      }
+    }
+ }
+ .button_box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+ }
 </style>

+ 46 - 13
src/views/RMS/components/editCarDriver.vue

@@ -6,14 +6,12 @@
       <span class="text">司机信息</span>
     </div>
     <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
+      <div class="form_box">
           <dil-form :formId="340" v-model="form1"></dil-form>
-        </div>
       </div>
     </div>
 
-    <div class="button-box">
+    <div class="button_box">
       <el-button type="primary" @click="onClickConfirm">确认</el-button>
       <el-button @click="onClickCancel">返回</el-button>
     </div>
@@ -97,13 +95,48 @@ export default {
 };
 </script>
 <style lang='scss' scoped>
-.form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+  .form_box {
+    width: 100%;
+    margin-top: 30px;
+    display: flex;
+    justify-content: center;
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
+      }
+    }
+  }
+  .inputBox{
+    display: flex;
+    justify-content: center;
+    margin-bottom: 30px;
+    .text{
+      text-align: right;
+      display: flex;
+      align-items: center;
+      margin-right: 5px;
+    }
+    .input{
+      width: 250px;
+    }
+  }
+.button_box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 32 - 10
src/views/RMS/components/editCarrier.vue

@@ -7,9 +7,7 @@
     </div>
     <div class="contractTitle">
       <div class="form-box">
-        <div class="form-one">
           <dil-form :formId="330" v-model="form1"></dil-form>
-        </div>
       </div>
     </div>
 
@@ -171,13 +169,37 @@ export default {
 };
 </script>
 <style lang='scss' scoped>
-.form-box,
+ .form-box {
+    width: 100%;
+    margin-top: 30px;
+    display: flex;
+    justify-content: center;
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
+      }
+       .el-radio{
+        width: 25px;
+      }
+    }
+  }
 .button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 32 - 8
src/views/RMS/components/editConsignee.vue

@@ -100,13 +100,37 @@ console.log(this.$route.params)
 };
 </script>
 <style lang='scss' scoped>
-.form-box,
+ .form-box {
+    width: 100%;
+    margin-top: 30px;
+    display: flex;
+    justify-content: center;
+    .el-form-item{
+      display: flex;
+      justify-content: center;
+      .el-form-item__label{
+        display: flex;
+        align-items: center;
+      }
+      .el-form-item__content{
+         .el-select{
+            width: 250px;
+          }
+          .el-input{
+            width: 250px;
+          }
+      }
+       .el-radio{
+        width: 25px;
+      }
+    }
+  }
 .button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 0
src/views/RMS/components/editGatepost.vue

@@ -295,5 +295,13 @@ export default {
   margin-left: 35rem;
   margin-bottom: 0.25rem;
 }
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 
 </style>

+ 8 - 8
src/views/RMS/components/editMaterial.vue

@@ -99,12 +99,12 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 8
src/views/RMS/components/editNotice.vue

@@ -88,14 +88,14 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>
 
 

+ 8 - 8
src/views/RMS/components/editOilPrice.vue

@@ -87,12 +87,12 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 8
src/views/RMS/components/editPersonnel.vue

@@ -92,12 +92,12 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 8
src/views/RMS/components/editRawWarehouse.vue

@@ -81,12 +81,12 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 8 - 8
src/views/RMS/components/editRmsShipper.vue

@@ -92,14 +92,14 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .button-box{
   display: flex;
   justify-items: center;

+ 8 - 8
src/views/RMS/components/editSupplier.vue

@@ -92,12 +92,12 @@ export default {
 </script>
 <style lang='scss' scoped>
 .form-box,
-.button-box{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 </style>

+ 10 - 12
src/views/RMS/components/editTruckCalculate.vue

@@ -235,19 +235,17 @@ makeSure() {
   text-align: center;
   align-items: center;
   justify-content: center;
-  width: 400px;
-}
-.inputBox{
-  display: flex;
-  text-align: center;
-  align-items: center;
-  justify-content: center;
-  width: 400px;
-}
-.button-box {
-  padding: 20px 30px;
-  margin-left: 460px;
+  width: 800px;
 }
+
+ .button-box{
+    display: flex;
+    justify-content: center;
+    .el-button{
+      width: 80px;
+      margin-right: 10px;
+    }
+  }
 .btn-left {
   margin-left: 470px;
 }

+ 2 - 2
src/views/RMS/components/rawWarehouse.vue

@@ -46,13 +46,13 @@ export default {
       inputText:"",
       options:{
         // first请求数据的地址
-        requestUrl: "/api/v1/rms/getWarehouseList?apiId=345",
+        requestUrl: "/api/v1/rms/getWarehouseList?apiId=415",
       },
     }
   },
   methods:{
     onclick(){
-      this.options.requestUrl="/api/v1/rms/getWarehouseList?apiId=345&con="+this.inputText;
+      this.options.requestUrl="/api/v1/rms/getWarehouseList?apiId=415&con="+this.inputText;
     },
      toInsert() {
       this.$router.push("/addRawWarehouse");