zouzhd 3 rokov pred
rodič
commit
d85ef2087e

+ 4 - 2
build/utils.js

@@ -15,8 +15,10 @@ 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','TMS','statisticalReport','RMS','sale','appoint','inward'];
+
+ // let devModules = ['index','WMS']
+ let devModules = ['all']
+// let devModules = ['index','SporadicManage','TMS','statisticalReport','RMS','inward'];
 // let devModules = ['index','appoint','WMS'];
 
 if (pathSrc.indexOf('node_modules') > -1) {

+ 3 - 4
config/index.js

@@ -64,15 +64,15 @@ let proxyTable = {
   },
   // 所有数据的请求域名地址
   "/api/v1": {
-    // target: "http://172.16.33.166:8080",
-    target: "http://localhost:8080",
+    target: "http://172.16.33.166:8080",
+    // target: "http://localhost:8080",
     ws: true,
     pathRewrite: {
       "^/api/v1": "/api/v1"
     }
   },
   "/api/v1/join": {
-    target: "http://172.16.33.166:8080",
+    target: "http://172.16.33.166:8066",
     // target: "http://192.168.1.108:8066",
     ws: true,
     pathRewrite: {
@@ -82,7 +82,6 @@ let proxyTable = {
   "/views/api/v1": {
     target: "http://172.16.33.166:8080",
     // target: "http://172.16.33.166:8080",
-
     // target: "http://192.168.1.115:8080",
     ws: true,
     pathRewrite: {

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

@@ -267,6 +267,7 @@ export default {
   .form_box {
     width: 100%;
     margin-top: 30px;
+    margin-left: 50px;
     display: flex;
     justify-content: center;
     .el-form-item {

+ 19 - 19
src/views/TMS/components/importedIngredients/truckDriverReceiveFu.vue

@@ -59,19 +59,19 @@ export default {
     activeName(val){
       if (getCookie("orgCode") == "chengyunshang") {
         if(val == "option"){
-          this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=4&i="+new Date()+"&carrierSSOId=" + null;
+          this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=4&i="+new Date()+"&carrierSSOId=" + null;
         }else if(val == "first"){
-          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=5&i="+new Date()+"&carrierSSOId=" + null;
+          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=5&i="+new Date()+"&carrierSSOId=" + null;
         }else if(val == "second"){
-          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6&i="+new Date()+"&carrierSSOId=" + null;
+          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=6&i="+new Date()+"&carrierSSOId=" + null;
         }
       }else{
         if(val == "option"){
-          this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=4&i="+new Date()+"&carrierSSOId=" + null;
+          this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=4&i="+new Date()+"&carrierSSOId=" + null;
         }else if(val == "first"){
-          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=5&i="+new Date()+"&carrierSSOId=" + null;
+          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=5&i="+new Date()+"&carrierSSOId=" + null;
         }else if(val == "second"){
-          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6&i="+new Date()+"&carrierSSOId=" + null;
+          this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=6&i="+new Date()+"&carrierSSOId=" + null;
         }
       }
       
@@ -80,32 +80,32 @@ export default {
   created() {
     //判断是否是承运商
     if (getCookie("orgCode") == "chengyunshang") {
-      this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=4&carrierSSOId=" + getCookie("userId");
-      this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=5&carrierSSOId=" + getCookie("userId");
-      this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6&carrierSSOId=" + getCookie("userId");
+      this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=4&carrierSSOId=" + getCookie("userId");
+      this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=5&carrierSSOId=" + getCookie("userId");
+      this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=6&carrierSSOId=" + getCookie("userId");
     } else {
-      this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=4&carrierSSOId=" + null;
-      this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=5&carrierSSOId=" + null;
-      this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6&carrierSSOId=" + null;
+      this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=4&carrierSSOId=" + null;
+      this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=5&carrierSSOId=" + null;
+      this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=6&carrierSSOId=" + null;
     }
   },
   methods: {
     onclick() {
     if (getCookie("orgCode") == "chengyunshang") {
        if(this.activeName == "option"){
-        this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=4&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + getCookie("userId");
+        this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=4&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + getCookie("userId");
       }else if (this.activeName == "first") {
-        this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=5&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + getCookie("userId");
+        this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=5&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + getCookie("userId");
       } else if (this.activeName == "second") {
-        this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + getCookie("userId");
+        this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=6&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + getCookie("userId");
       }
     }else{
       if(this.activeName == "option"){
-        this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=4&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + null;
+        this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=4&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + null;
       }else if (this.activeName == "first") {
-        this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=5&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + null;
+        this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=5&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + null;
       } else if (this.activeName == "second") {
-        this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + null;
+        this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&orderType=5&orderStatus=6&con=" + this.input +"&i="+new Date() + "&carrierSSOId=" + null;
       }
     }
       
@@ -118,7 +118,7 @@ export default {
         this.axios.post('/api/v1/oms/deleteOrders',{list:this.list}).then((res)=>{
           if(res.data.code == "200"){
             this.$message.success('关闭成功')
-            this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=4&con=" + this.input +"&i="+new Date();
+            this.option.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=148&orderType=5&orderStatus=4&con=" + this.input +"&i="+new Date();
           }
         })
       }

+ 31 - 12
src/views/TMS/components/importedIngredients/truckLeaveFactoryFuResult.vue

@@ -1,19 +1,24 @@
 <template>
   <!-- 辅料出厂作业页面 -->
   <div class="homeworkPath">
-   <div class="top"> 
-      <el-input placeholder="请输入内容" class="input" v-model="input" clearable> </el-input>
+    <div class="top">
+      <el-input
+        placeholder="请输入内容"
+        class="input"
+        v-model="input"
+        clearable
+      >
+      </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
     </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
+    <dilTable v-bind.sync="option"> </dilTable>
   </div>
 </template>
 
 <script>
+import { getCookie } from "@/utils/util.js";
 export default {
   name: "homeworkPath",
   data() {
@@ -22,24 +27,38 @@ export default {
       input: "",
       option: {
         // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=5",
+        requestUrl: "",
       },
     };
   },
-
+  created() {
+    this.getRequestUrl();
+  },
   methods: {
-    
+    getRequestUrl(){
+      if (getCookie("orgCode") == "chengyunshang") {
+        this.option.requestUrl =
+          "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=5&carrierSsoId=" +
+          getCookie("userId");
+      } else {
+        this.option.requestUrl =
+          "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=5&carrierSsoId=" +
+          null;
+      }
+    },
     onclick() {
-     this.option.requestUrl = "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=5&con=" + this.input;
+      this.option.requestUrl =
+        "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=5&con=" +
+        this.input;
     },
-   }
+  },
 };
 </script>
 <style lang='scss'>
 .homeworkPath {
-   .top {
+  .top {
     padding: 40px;
-    .input{
+    .input {
       width: 250px;
       margin-right: 10px;
     }

+ 37 - 20
src/views/TMS/components/importedTruck/assignmentPlan.vue

@@ -2,18 +2,29 @@
   <!-- 分派计划 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input
+        class="el-input"
+        placeholder="请输入内容"
+        v-model="input"
+        clearable
+      >
+      </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
     </div>
+  
     <el-tabs v-model="activeName" @tab-click="handleClick">
       <!--接收 -->
       <el-tab-pane label="待接收" name="zero">
         <dilTable v-bind.sync="zero" ref="table">
           <el-table-column fixed="right" label="操作" width="80">
             <template slot-scope="scope">
-              <el-button @click="receiveClick(scope.row.planId)" type="text" size="small">
+              <el-button
+                @click="receiveClick(scope.row.planId)"
+                type="text"
+                size="small"
+              >
                 接收
               </el-button>
             </template>
@@ -51,8 +62,8 @@ export default {
       status: "",
       input: "",
       activeName: "zero",
-      zero:{
-          requestUrl: "/api/v1/ams/getAllPurPlan?apiId=79&status=1",
+      zero: {
+        requestUrl: "/api/v1/ams/getAllPurPlan?apiId=79&status=1",
       },
       option1: {
         //待分解
@@ -81,13 +92,10 @@ export default {
             message: "接收成功!",
           });
           // console.log(this.arr[0].text_prop);
-          this.axios
-            .post(
-              "/api/v1/ams/receptionPurPlan/" + planId
-            )
-            .then(() => {
-              this.zero.requestUrl = "/api/v1/ams/getAllPurPlan?apiId=79&status=1&q=1"
-            });
+          this.axios.post("/api/v1/ams/receptionPurPlan/" + planId).then(() => {
+            this.zero.requestUrl =
+              "/api/v1/ams/getAllPurPlan?apiId=79&status=1&q=1";
+          });
         })
         .catch(() => {
           this.$message({
@@ -97,15 +105,18 @@ export default {
         });
     },
     onclick() {
-      if(this.activeName=='zero'){
-        this.zero.requestUrl = "/api/v1/ams/getAllPurPlan?apiId=79&status=1&con=" + this.input
-      }else if(this.activeName == 'first'){
+      if (this.activeName == "zero") {
+        this.zero.requestUrl =
+          "/api/v1/ams/getAllPurPlan?apiId=79&status=1&con=" + this.input;
+      } else if (this.activeName == "first") {
         this.option1.requestUrl =
-        "/api/v1/ams/getDecomposedPlan?apiId=82&status=2&con=" + this.input;
-      }else{
-        this.option2.requestUrl = "/api/v1/ams/getDecomposedPlan?apiId=82&status=2&planStatus=1&con=" + this.input
+          "/api/v1/ams/getDecomposedPlan?apiId=82&status=2&con=" + this.input;
+      } else {
+        this.option2.requestUrl =
+          "/api/v1/ams/getDecomposedPlan?apiId=82&status=2&planStatus=1&con=" +
+          this.input;
       }
-      },
+    },
     seeClick(planId) {
       console.log(planId);
       this.$router.push("/breakdownPlanAdd/" + planId);
@@ -116,10 +127,16 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input el-input--suffix {
+      .el-input__inner {
+        width: 20%;
+        margin-right: 1.25rem;
+      }
+    }
   }
 }
 </style>

+ 7 - 3
src/views/TMS/components/importedTruck/breakdownPlan.vue

@@ -3,7 +3,7 @@
   <div class="homeworkPath">
     <div class="top">
   <span class="top_title">运输计划号: </span>
-      <el-input
+      <el-input class="el-input"
         placeholder="请输入内容"
         v-model="input"
         clearable>
@@ -56,10 +56,14 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 8 - 4
src/views/TMS/components/importedTruck/transportReserve.vue

@@ -2,7 +2,7 @@
   <!-- 运输预约 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input class="el-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -137,10 +137,14 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-   .top {
-    padding: 1.25rem 1.875rem;
+  .top {
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 7 - 3
src/views/TMS/components/importedTruck/truckDriverReceive.vue

@@ -2,7 +2,7 @@
   <!-- 司机接单 -->
   <div class="homeworkPath">
     <div class="top">
-       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+       <el-input class="el-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -56,8 +56,12 @@ export default {
 </script>
 <style lang='scss' scoped>
 .homeworkPath {
-   .top {
-    padding: 1.25rem 1.875rem;
+  .top {
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 6 - 2
src/views/TMS/components/importedTruck/truckEnfactoryResult.vue

@@ -2,7 +2,7 @@
   <!-- 进厂作业页面 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input class="" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -66,7 +66,11 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 6 - 2
src/views/TMS/components/importedTruck/truckJiMaoResult.vue

@@ -2,7 +2,7 @@
   <!-- 计毛实绩页面 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input class="el-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -35,7 +35,11 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 6 - 2
src/views/TMS/components/importedTruck/truckJiPiResult.vue

@@ -2,7 +2,7 @@
   <!-- 计皮实绩页面 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input class="el-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -34,7 +34,11 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 6 - 2
src/views/TMS/components/importedTruck/truckLeaveFactoryResult.vue

@@ -2,7 +2,7 @@
   <!-- 出厂作业页面 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input class="el-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -34,7 +34,11 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 17 - 4
src/views/TMS/components/importedTruck/truckLoadResult.vue

@@ -3,7 +3,12 @@
   <div class="homeworkPath">
     <div class="top">
       <div class="top">
-        <el-input placeholder="请输入内容" v-model="input" clearable>
+        <el-input
+          class="el-input"
+          placeholder="请输入内容"
+          v-model="input"
+          clearable
+        >
         </el-input>
         <el-button type="primary" class="btn" @click="onclick">
           <i class="el-icon-search"></i>查询
@@ -41,7 +46,7 @@ export default {
   name: "homeworkPath",
   data() {
     return {
-      input:'',
+      input: "",
       option: {
         // 表格请求数据的地址
         requestUrl:
@@ -51,7 +56,9 @@ export default {
   },
   methods: {
     onclick() {
-      this.option.requestUrl = "/api/v1/tms/getAllLoadResult?apiId=91&status=0&orderType=8&con="+this.input;
+      this.option.requestUrl =
+        "/api/v1/tms/getAllLoadResult?apiId=91&status=0&orderType=8&con=" +
+        this.input;
     },
     updateClick(resultId) {
       this.$router.push("/truckLoadResultEdit/" + resultId);
@@ -91,7 +98,13 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    .top {
+      padding: 1.25rem 0.375rem;
+      .el-input {
+        width: 20%;
+        margin-right: 1.25rem;
+      }
+    }
   }
 }
 </style>

+ 6 - 2
src/views/TMS/components/importedTruck/truckQualityResult.vue

@@ -2,7 +2,7 @@
   <!-- 质检作业 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input class="e;-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -51,7 +51,11 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 6 - 2
src/views/TMS/components/importedTruck/truckReceiptResult.vue

@@ -2,7 +2,7 @@
   <!-- 收货作业页面 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input  class="el-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -35,7 +35,11 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>

+ 6 - 2
src/views/TMS/components/importedTruck/truckUnloadResult.vue

@@ -2,7 +2,7 @@
   <!-- 卸货实绩页面 -->
   <div class="homeworkPath">
     <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
+      <el-input class="el-input" placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
@@ -33,7 +33,11 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
 }
 </style>