瀏覽代碼

修改样式

huk 3 年之前
父節點
當前提交
1f541f7b2a

+ 8 - 8
config/index.js

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

+ 8 - 5
src/views/TMS/components/importedFuel/transportReserveRan.vue

@@ -12,10 +12,10 @@
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
       </el-button>
-      <el-button type="primary" @click="insertClick">
+      <el-button type="primary" class="btn" @click="insertClick">
         <i class="el-icon-plus"></i>新增
       </el-button>
-      <el-button type="primary" @click="issue">
+      <el-button type="primary" class="btn" @click="issue" v-if="activeName == 'first'">
         <i class="el-icon-plus"></i>下发
       </el-button>
     </div>
@@ -192,10 +192,13 @@ export default {
 <style lang='scss' scoped>
 .homeworkPath {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 40px;
     .input {
-      width: 12.5rem;
-      margin-right: 1.25rem;
+      width: 250px;
+      margin-right: 20px;
+    }
+    .btn{
+      margin-right: 10px;
     }
   }
 }

+ 14 - 4
src/views/TMS/components/importedFuel/transportReserveRanAdd.vue

@@ -78,6 +78,7 @@
             <template v-if="item.slot">
               <template v-if="item.prop == 'orderMaterialWeight'">
                 <el-input
+                style="width:250px"
                   v-model.number="scope.row.orderMaterialWeight"
                 ></el-input>
               </template>
@@ -98,21 +99,22 @@
       </el-table>
     </div>
     <!-- 模态窗口 -->
-    <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
-      <el-input
+    <el-drawer :visible.sync="drawer" :direction="direction" size="40%">
+      <div style="margin-bottom: 10px;">
+        <el-input
         placeholder="请输入内容"
         v-model="input"
-        style="margin-top: 10px; margin-left: 20px;width:160px"
+        style="margin-top: 10px;margin-right: 10px;width:250px;"
         clearable
       ></el-input>
       <el-button
         type="primary"
         class="btn"
         @click="onclick(a)"
-        style="margin-bottom: 15px"
       >
         <i class="el-icon-search"></i>查询
       </el-button>
+      </div>
       <div v-show="a == 1">
         <dilTable
           v-bind.sync="frist"
@@ -244,6 +246,13 @@ export default {
       },
     };
   },
+  watch:{
+    drawer(val){
+      if(!val){
+        this.input = null;
+      }
+    }
+  },
   methods: {
     onClick(index) {
       this.selectionList.splice(index, 1);
@@ -493,6 +502,7 @@ export default {
 .material {
   display: flex;
   justify-content: center;
+  margin-top: 20px;
   .text {
     display: inline-block;
     width: 170px;

+ 4 - 3
src/views/TMS/components/importedFuel/truckDriverReceiveRan.vue

@@ -51,12 +51,13 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
    .top {
-    padding: 1.25rem 1.875rem;
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 5
src/views/TMS/components/importedFuel/truckEnfactoryRanLaoResult.vue

@@ -1,5 +1,4 @@
 <template>
-  <!-- 辅料进厂作业页面 -->
   <div class="homeworkPath">
     <div class="top">
       <el-input placeholder="请输入内容" class="input" v-model="input" clearable> </el-input>
@@ -69,12 +68,13 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 5
src/views/TMS/components/importedFuel/truckEnfactoryRanXingResult.vue

@@ -1,5 +1,4 @@
 <template>
-  <!-- 辅料进厂作业页面 -->
   <div class="homeworkPath">
     <div class="top">
       <el-input placeholder="请输入内容" class="input" v-model="input" clearable> </el-input>
@@ -69,12 +68,13 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckJiMaoRanLaoResult.vue

@@ -34,12 +34,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 4 - 3
src/views/TMS/components/importedFuel/truckJiMaoRanXingResult.vue

@@ -36,10 +36,11 @@ export default {
 </script>
 <style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckJiPiRanLaoResult.vue

@@ -35,12 +35,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckJiPiRanXingResult.vue

@@ -35,12 +35,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckLeaveFactoryRanLaoResult.vue

@@ -35,12 +35,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckLeaveFactoryRanXingResult.vue

@@ -34,12 +34,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckQualityRanLaoResult.vue

@@ -47,12 +47,13 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckQualityRanXingResult.vue

@@ -45,12 +45,13 @@ export default {
   },
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckReceiptRanLaoResult.vue

@@ -33,12 +33,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 4 - 3
src/views/TMS/components/importedFuel/truckReceiptRanXingResult.vue

@@ -36,10 +36,11 @@ export default {
 </script>
 <style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckUnloadRanLaoResult.vue

@@ -32,12 +32,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }

+ 5 - 4
src/views/TMS/components/importedFuel/truckUnloadRanXingResult.vue

@@ -34,12 +34,13 @@ export default {
    }
 };
 </script>
-<style lang='scss' scoped>
+<style lang='scss'>
 .homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
+   .top {
+    padding: 40px;
     .input{
-      width: 12.5rem;
+      width: 250px;
+      margin-right: 10px;
     }
   }
 }