Your Name 3 years ago
parent
commit
29e6f1af6a
29 changed files with 913 additions and 452 deletions
  1. 1 1
      build/utils.js
  2. 1 1
      config/index.js
  3. BIN
      dist.zip
  4. 3 0
      src/views/ADMINISTRATORS/app.js
  5. 282 47
      src/views/ADMINISTRATORS/components/ADMINISTRATORS1.vue
  6. 41 15
      src/views/TMS/components/importedMine/addWagonPlease.vue
  7. 7 3
      src/views/TMS/components/importedMine/wagonPlease.vue
  8. 54 32
      src/views/TMS/components/importedShip/addLoadShip.vue
  9. 67 16
      src/views/TMS/components/importedShip/addShipmentInstructions.vue
  10. 53 42
      src/views/TMS/components/importedShip/addUnloadShip.vue
  11. 101 63
      src/views/TMS/components/importedShip/addWaterQuality.vue
  12. 11 7
      src/views/TMS/components/importedShip/bargeShip.vue
  13. 11 7
      src/views/TMS/components/importedShip/loadShip.vue
  14. 10 6
      src/views/TMS/components/importedShip/shipResult.vue
  15. 9 6
      src/views/TMS/components/importedShip/shipmentInstructions.vue
  16. 11 7
      src/views/TMS/components/importedShip/unloadShip.vue
  17. 11 7
      src/views/TMS/components/importedShip/waterQuality.vue
  18. 1 1
      src/views/WMS/components/steel/bar1_steel/bar1_steel_restack.vue
  19. 4 4
      src/views/WMS/components/steel/bar1_steel/bar1_steel_restackAdd.vue
  20. 34 14
      src/views/WMS/components/steel/steel_real.vue
  21. 2 2
      src/views/WMS/components/steel/steel_restack.vue
  22. 2 2
      src/views/WMS/components/steel/steel_restackAdd.vue
  23. 1 1
      src/views/appoint/components/saleContract/addTransportPrice.vue
  24. 77 97
      src/views/appoint/components/ship/addCargoResult.vue
  25. 66 16
      src/views/appoint/components/ship/addDeliveryNotice.vue
  26. 8 4
      src/views/appoint/components/ship/cargoResult.vue
  27. 7 3
      src/views/appoint/components/ship/deliveryAttorney.vue
  28. 7 3
      src/views/appoint/components/ship/deliveryNotice.vue
  29. 31 45
      src/views/statisticalReport/components/salesLogisticsStatistics/transportationPerformance.vue

+ 1 - 1
build/utils.js

@@ -17,7 +17,7 @@ const devPathSrc = path.resolve(__dirname, '../../../src'); // node_modules应
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
 // let devModules = ['index','WMS']
 // let devModules = ['index','WMS']
 // let devModules = ['all']
 // let devModules = ['all']
-let devModules = ['index','ADMINISTRATORS'];
+let devModules = ['index','ADMINISTRATORS','inward'];
 // let devModules = ['index','WMS','sale','appoint'];
 // let devModules = ['index','WMS','sale','appoint'];
 if (pathSrc.indexOf('node_modules') > -1) {
 if (pathSrc.indexOf('node_modules') > -1) {
     devModules = require('../../../cors.js').devModules;
     devModules = require('../../../cors.js').devModules;

+ 1 - 1
config/index.js

@@ -65,7 +65,7 @@ let proxyTable = {
   // 所有数据的请求域名地址
   // 所有数据的请求域名地址
   "/api/v1": {
   "/api/v1": {
     // target: "http://172.16.33.166:8080",
     // target: "http://172.16.33.166:8080",
-    target: "http://192.168.1.108:8080",
+    target: "http://192.168.1.116:8019",
     ws: true,
     ws: true,
     pathRewrite: {
     pathRewrite: {
       "^/api/v1": "/api/v1"
       "^/api/v1": "/api/v1"

BIN
dist.zip


+ 3 - 0
src/views/ADMINISTRATORS/app.js

@@ -86,6 +86,9 @@ export function isIntegerNumber(value) {
 
 
 //写一个方法封装date对象转换为时间字符串
 //写一个方法封装date对象转换为时间字符串
 export function toDateString(value){
 export function toDateString(value){
+    if(value==null){
+        return
+    }
     var Year = value.getFullYear();
     var Year = value.getFullYear();
     var Month = ("0" + (value.getMonth() + 1)).slice(-2)
     var Month = ("0" + (value.getMonth() + 1)).slice(-2)
     var Day = ("0" + (value.getDate())).slice(-2)
     var Day = ("0" + (value.getDate())).slice(-2)

+ 282 - 47
src/views/ADMINISTRATORS/components/ADMINISTRATORS1.vue

@@ -5,9 +5,17 @@
       <div class="admin1">
       <div class="admin1">
         <el-tabs v-model="activeName">
         <el-tabs v-model="activeName">
           <el-tab-pane label="补录计量实绩" name="first">
           <el-tab-pane label="补录计量实绩" name="first">
-              <div class="admin2">
-                <div class="carrier from">
-                    <el-form
+            <div class="switch">
+                <el-switch
+                v-model="switchValue"
+                active-text="二次过磅"
+                inactive-text="首次过磅"
+                @change = "onchange">
+                </el-switch>
+            </div>
+          <div class="admin2">
+            <div class="carrier from">
+                <el-form
                     :inline="true"
                     :inline="true"
                     class="demo-form-inline"
                     class="demo-form-inline"
                     label-width="80px"
                     label-width="80px"
@@ -40,25 +48,26 @@
                 </el-option>
                 </el-option>
                 </el-select>
                 </el-select>
             </div>
             </div>
-            <div class="firstWeight from">
-                <span class="demonstration">磅单号:</span>
+
+            <div class="poundNo from">
+                <span class="text">磅单号:</span>
                 <el-input v-model="poundNo"></el-input>
                 <el-input v-model="poundNo"></el-input>
             </div>
             </div>
-            <div class="block">
-                <span class="demonstration">首次称重时间:</span>
+            <div class="block" v-if="first">
+                <span class="text">首次称重时间:</span>
                 <el-date-picker
                 <el-date-picker
                 v-model="value1"
                 v-model="value1"
                 type="datetime"
                 type="datetime"
                 placeholder="选择日期时间">
                 placeholder="选择日期时间">
                 </el-date-picker>
                 </el-date-picker>
             </div>
             </div>
-            <div class="firstWeight from">
-                <span class="demonstration">首次称重重量(吨):</span>
+            <div class="firstWeight from " v-if="first">
+                <span class="text">首次称重重量(吨):</span>
                 <el-input v-model="firstWeight"></el-input>
                 <el-input v-model="firstWeight"></el-input>
             </div>
             </div>
-            <div class="material from">
+            <div class="truckCalFirst from" v-if="first">
                 <span class="text">首次汽车衡:</span>
                 <span class="text">首次汽车衡:</span>
-                <el-select v-model="truckCalFirst" placeholder="请选择">
+                <el-select v-model="truckCalFirst" placeholder="请选择" @change="onchange1">
                 <el-option
                 <el-option
                     v-for="item in truckCalFirstList"
                     v-for="item in truckCalFirstList"
                     :key="item.value"
                     :key="item.value"
@@ -68,21 +77,21 @@
                 </el-option>
                 </el-option>
                 </el-select>
                 </el-select>
             </div>
             </div>
-            <div class="block">
-                <span class="demonstration">二次称重时间:</span>
+            <div class="block" v-if="second">
+                <span class="text">二次称重时间:</span>
                 <el-date-picker
                 <el-date-picker
                 v-model="value2"
                 v-model="value2"
                 type="datetime"
                 type="datetime"
                 placeholder="选择日期时间">
                 placeholder="选择日期时间">
                 </el-date-picker>
                 </el-date-picker>
             </div>
             </div>
-            <div class="firstWeight from">
-                <span class="demonstration">二次称重重量(吨):</span>
+            <div class="secondWeight from" v-if="second">
+                <span class="text">二次称重重量(吨):</span>
                 <el-input v-model="secondWeight"></el-input>
                 <el-input v-model="secondWeight"></el-input>
             </div>
             </div>
-            <div class="material from">
+            <div class="truckCalSecond from" v-if="second">
                 <span class="text">二次汽车衡:</span>
                 <span class="text">二次汽车衡:</span>
-                <el-select v-model="truckCalSecond" placeholder="请选择">
+                <el-select v-model="truckCalSecond" placeholder="请选择" @change="onchange2">
                 <el-option
                 <el-option
                     v-for="item in truckCalSecondList"
                     v-for="item in truckCalSecondList"
                     :key="item.value"
                     :key="item.value"
@@ -92,8 +101,8 @@
                 </el-option>
                 </el-option>
                 </el-select>
                 </el-select>
             </div>
             </div>
-            <div class="firstWeight from">
-                <span class="demonstration">净重(吨):</span>
+            <div class="netWeight from" v-if="second">
+                <span class="text">净重(吨):</span>
                 <el-input v-model="netWeight"></el-input>
                 <el-input v-model="netWeight"></el-input>
             </div>
             </div>
           </div>
           </div>
@@ -103,6 +112,41 @@
           </div>
           </div>
           </el-tab-pane>
           </el-tab-pane>
           <el-tab-pane label="修改路段顺序" name="second">
           <el-tab-pane label="修改路段顺序" name="second">
+              <div class="admin2">
+            <div class="carrier from">
+                <el-form
+                    :inline="true"
+                    class="demo-form-inline"
+                    label-width="80px"
+                    >
+                    <el-form-item label="车牌号:">
+                    <el-autocomplete
+                    class="inline-input"
+                    v-model="capacityName"
+                    :fetch-suggestions="querySearchCapacity"
+                    placeholder="车牌号"
+                    :trigger-on-focus="false"
+                    @select="handleSelectCapacity"
+                    >
+                    <template slot-scope="{ item }">
+                    <div class="name">{{ item.capacityNumber }}</div>
+                    </template>
+                    </el-autocomplete>
+                    </el-form-item>
+                </el-form>
+            </div>
+            <div class="poundNo from">
+                <span class="text">运输订单号:</span>
+                <el-input v-model="orderNumber" disabled></el-input>
+            </div>
+            <div class="poundNo from">
+                <span class="text">路段顺序号:</span>
+                <el-input v-model="lineQuence" @input="oninput"></el-input>
+            </div>
+            <div class="button_box">
+            <el-button type="primary" @click="updateLineSqe" :disabled = "disabled">确认</el-button>
+          </div>
+          </div>
           </el-tab-pane>
           </el-tab-pane>
         </el-tabs>
         </el-tabs>
       </div>
       </div>
@@ -114,6 +158,9 @@ import { toDateString } from "../app.js"
 export default {
 export default {
   data() {
   data() {
     return {
     return {
+        orderNumber:null,
+        first:true,
+        second:true,
         activeName:"first",
         activeName:"first",
         capacityName:null,
         capacityName:null,
         stateCapacity:null,
         stateCapacity:null,
@@ -131,7 +178,11 @@ export default {
         truckCalFirstList:[],
         truckCalFirstList:[],
         truckCalSecondList:[],
         truckCalSecondList:[],
         truckCalFirst:null,
         truckCalFirst:null,
-        truckCalSecond:null
+        truckCalSecond:null,
+        switchValue:true,
+        truckCalFirstNum:null,
+        truckCalSecondNum:null,
+        lineQuence:null
     };
     };
   },
   },
   created(){ 
   created(){ 
@@ -139,14 +190,60 @@ export default {
   mounted(){
   mounted(){
       this.information()
       this.information()
   },
   },
-  methods: {              
-       //运力弹出层
-    handleSelectCapacity(item){    
+  methods: {
+    updateLineSqe(){
+        let map = {
+            orderId:this.orderId,
+            orderLineSqe:this.lineQuence
+        }
+        this.axios.post("/api/v1/uc/updateLineSqe",map).then((res) =>{
+            console.log(res.data);
+             if(res.data.code == "200"){
+                this.$message.success("修改路段顺序号成功")
+                this.$router.go(-1)
+            }
+           
+        })
+    },
+    oninput(){
+
+    },
+    onchange(){
+        console.log(this.switchValue)
+        console.log(typeof(this.switchValue))
+        if(this.switchValue){
+            this.first = true
+            this.second = true
+        }else{
+            this.second = false
+        }
+    },
+    onchange1(){
+        console.log(this.truckCalFirst)
+        this.truckCalFirstList.forEach(e => {
+            if(this.truckCalFirst == e.value){
+                this.truckCalFirstNum = e.label
+            }
+        });
+    },
+    onchange2(){
+        console.log(this.truckCalSecond)
+        this.truckCalSecondList.forEach(e => {
+            if(this.truckCalSecond == e.value){
+                this.truckCalSecondNum = e.label
+            }
+        });
+    },        
+    //运力弹出层
+    handleSelectCapacity(item){
+      console.log(item)
       this.capacityId = item.capacityId
       this.capacityId = item.capacityId
       this.capacityName = item.capacityNumber
       this.capacityName = item.capacityNumber
       this.axios.get("/api/v1/uc/getOrderNumber?capacityId=" + this.capacityId).then((res) =>{
       this.axios.get("/api/v1/uc/getOrderNumber?capacityId=" + this.capacityId).then((res) =>{
           if(res.data.code == "200"){
           if(res.data.code == "200"){
-              console.log(res.data.data)
+              console.log("----");
+              console.log(res.data)
+              console.log("----");
               this.orderId = res.data.data.orderId
               this.orderId = res.data.data.orderId
               this.orderNumber = res.data.data.orderNumber
               this.orderNumber = res.data.data.orderNumber
               this.axios.get("/api/v1/uc/getMaterialIdByOrderId?orderId=" + this.orderId).then((res) =>{
               this.axios.get("/api/v1/uc/getMaterialIdByOrderId?orderId=" + this.orderId).then((res) =>{
@@ -186,21 +283,53 @@ export default {
         })
         })
     },
     },
     onClickConfirm(){
     onClickConfirm(){
-        console.log(toDateString(this.value1))
-        console.log(toDateString(this.value2))
-        console.log(this.firstWeight)
-        console.log(this.secondWeight)
-        console.log(this.netWeight)
-        console.log(this.orderId)
-        console.log(this.materialId)
-        console.log(this.poundNo)
-        let map = {
+        if(this.switchValue){
+            if(this.orderNumber==null||this.truckCalFirst==null||this.truckCalSecond==null||
+            this.firstWeight==null||this.secondWeight==null||this.netWeight==null||this.value1==null
+            ||this.value2==null||this.poundNo==null||this.materialId==null){
+                this.$message.warning("请填写所有值!!!")
+                return
+            }
+        }else{
+            if(this.orderNumber==null||this.truckCalFirst==null||
+            this.firstWeight==null||this.value1==null
+            ||this.poundNo==null||this.materialId==null){
+                this.$message.warning("请填写所有值!!!")
+                return
+            }
+        }
+        let mapFirst = {
             orderNumber:this.orderNumber,
             orderNumber:this.orderNumber,
-            
+            resultTareCalculateNumber: this.truckCalFirstNum,
+            resultTareWeight: this.firstWeight + "",
+            resultTareWeightTime: toDateString(this.value1),
+            resultPoundNo: this.poundNo,
+            materialId: this.materialId + ""
         }
         }
-        var array = []
-        array.push(map)
-        console.log(array)
+        let mapSecond = {
+            orderNumber:this.orderNumber,
+            resultTareCalculateNumber: this.truckCalFirstNum,
+            resultCrossCalculateNumber: this.truckCalSecondNum,
+            resultTareWeight: this.firstWeight + "",
+            resultCrossWeight: this.secondWeight + "",
+            resultNetWeight: this.netWeight + "",
+            resultTareWeightTime: toDateString(this.value1),
+            resultCrossWeightTime: toDateString(this.value2),
+            resultPoundNo: this.poundNo,
+            materialId: this.materialId + ""
+        }
+        var arr = []
+        if(this.switchValue){
+            arr.push(mapSecond)
+        }else{
+            arr.push(mapFirst)
+        }
+        this.axios.post("/api/v1/join/receiveTmsTruckWeightResult",arr).then((res) =>{
+            if(res.data.code == "200"){
+                this.$message.success("补录计量实绩成功")
+                this.$router.go(-1)
+            }
+        })
     },
     },
     onClickCancel(){
     onClickCancel(){
     },
     },
@@ -211,8 +340,16 @@ export default {
 <style lang="scss">
 <style lang="scss">
 .admin{
 .admin{
   .admin1 {
   .admin1 {
+
       margin-top: 40px;
       margin-top: 40px;
       margin-left: 40px;
       margin-left: 40px;
+      .switch {
+          display: flex;
+          justify-content: center;
+          align-items: center;
+          margin-top: 20px;
+          color: aqua;
+      }
       .button_box {
       .button_box {
             display: flex;
             display: flex;
             justify-content: center;
             justify-content: center;
@@ -220,44 +357,142 @@ export default {
             width: 100%;
             width: 100%;
             height: 100px;
             height: 100px;
         }
         }
-      .admin2 { 
-         
+      .admin2 {    
         margin-top: 40px; 
         margin-top: 40px; 
         .from {
         .from {
         display: flex;
         display: flex;
         align-items: center;
         align-items: center;
         justify-content: center;
         justify-content: center;
-        margin-top: 5px;
+        margin-top: 20px;
         margin-bottom: 20px;
         margin-bottom: 20px;
         }
         }
+        .carrier{
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            .el-form-item {
+                text-align: right;
+            }
+            .el-autocomplete{
+            width: 250px;
+            }
+        }
         .material {
         .material {
         display: flex;
         display: flex;
         justify-content: center;
         justify-content: center;
         margin-top: 20px;
         margin-top: 20px;
-        margin-right: 120px;
+        margin-right: 100px;
         .text {
         .text {
             display: inline-block;
             display: inline-block;
             width: 170px;
             width: 170px;
             text-align: right;
             text-align: right;
         }
         }
+        .el-input {
+            width: 250px;
+        }
         }
         }
+        .poundNo {
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            margin-top: 20px;
+            margin-right: 100px;
+            .text {
+            display: inline-block;
+            width: 170px;
+            text-align: right;
+                  }
+            .el-input {
+            width: 250px;
+                    }
+        }  
         .block {
         .block {
             display: flex;
             display: flex;
             justify-content: center;
             justify-content: center;
             align-items: center;
             align-items: center;
+            margin-top: 20px;
+            margin-right: 100px;
+            .el-input {
+                width: 250px;
+            }
+            .text {
+            display: inline-block;
+            width: 170px;
+            text-align: right;
+            }
         }
         }
-        
-        .firstWeight {
+        .truckCalFirst {
+            display: flex;
+            justify-content: center;
+            margin-top: 20px;
+            margin-right: 100px;
+            .text {
+                display: inline-block;
+                width: 170px;
+                text-align: right;
+            }
             .el-input {
             .el-input {
                 width: 250px;
                 width: 250px;
-                margin-right: 20px;
             }
             }
         }
         }
-        .carrier{
-        display: flex;
-        .el-autocomplete{
+        .truckCalSecond {
+            display: flex;
+            justify-content: center;
+            margin-top: 20px;
+            margin-right: 100px;
+            .text {
+                display: inline-block;
+                width: 170px;
+                text-align: right;
+            }
+            .el-input {
+                width: 250px;
+            }
+        }
+        .secondWeight {
+           display: flex;
+            justify-content: center;
+            align-items: center;
+            margin-top: 20px;
+            margin-right: 100px;
+            .text {
+            display: inline-block;
+            width: 170px;
+            text-align: right;
+                  }
+            .el-input {
             width: 250px;
             width: 250px;
+                    } 
         }
         }
+        .firstWeight {
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            margin-top: 20px;
+            margin-right: 100px;
+            .text {
+            display: inline-block;
+            width: 170px;
+            text-align: right;
+                  }
+            .el-input {
+            width: 250px;
+                    }
+        }
+        .netWeight {
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            margin-top: 20px;
+            margin-right: 100px;
+            .text {
+            display: inline-block;
+            width: 170px;
+            text-align: right;
+                  }
+            .el-input {
+            width: 250px;
+                    }
         }
         }
       }      
       }      
   }
   }

+ 41 - 15
src/views/TMS/components/importedMine/addWagonPlease.vue

@@ -1,19 +1,14 @@
 <template>
 <template>
   <!-- 新增请作业页面 -->
   <!-- 新增请作业页面 -->
-  <div id="contractDetails">
-    <page-title>请车作业</page-title>
-    <div class="main">
-      <span class="text">新增请车作业</span>
-      <span class="a"></span>
+  <div class="trainTransport">
+    <page-title>返回</page-title>
+    <div class="form">
+      <div class="form_box">
+          <dil-form :formId="122" v-model="form1" ref="from1"></dil-form>
+      </div>   
     </div>
     </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="122" v-model="form1" ></dil-form>
-        </div>
-      </div>
-    </div>
-    <div class="button-box">
+    <!-- 确定和取消 -->
+    <div class="button_box">
       <el-button @click="onClickCancel">返回</el-button>
       <el-button @click="onClickCancel">返回</el-button>
       <el-button type="primary" @click="onClickConfirm" >确认</el-button>
       <el-button type="primary" @click="onClickConfirm" >确认</el-button>
     </div>
     </div>
@@ -91,6 +86,37 @@ export default {
   },
   },
 };
 };
 </script>
 </script>
-<style lang="scss" scoped>
-//@import "@/styles/appoint/contract/ContractInsert.scss";
+<style lang="scss">
+.trainTransport{
+  .form{
+    display: flex;
+    .form_box{
+      width: 320px;
+      margin-left: 35%;
+      margin-top: 30px;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
+    }
+  }
+  .button_box{
+    margin-left: 45%;
+  }
+}
 </style>
 </style>

+ 7 - 3
src/views/TMS/components/importedMine/wagonPlease.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
   <!-- 请车作业页面 -->
   <!-- 请车作业页面 -->
-  <div class="homeworkPath">
+  <div class="trainTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick">
       <el-button type="primary" class="btn" @click="onclick">
@@ -147,9 +147,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.trainTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 54 - 32
src/views/TMS/components/importedShip/addLoadShip.vue

@@ -1,29 +1,25 @@
 <template>
 <template>
-  <!-- 船只信息页面 -->
-  <div class="homeworkPath">
-    <page-title>装船作业信息</page-title>
-    <div class="main">
-      <span class="text">装船作业新增</span>
-      <span class="a"></span>
-    </div>
-    <div>
-      <div class="form-box" style="margin-left: 5rem">
-        <el-form ><dil-form :formId="120" v-model="form"></dil-form>
-        <el-button type="primary" @click="makeSure">新增装船作业</el-button></el-form>
+  <!-- 新增装船作业 -->
+  <div class="shipTransport">
+    <page-title>返回</page-title>
+    <!-- 第一部分 -->
+      <div class="top">
+        <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>
+      <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
+      </dilTable>
+    <div class="form">
+      <!-- 第二部分 -->
+      <div class="form_box">
+          <dil-form :formId="120" v-model="form"></dil-form>
       </div>
       </div>
     </div>
     </div>
-     <div class="main">
-      <span class="text">选择船只</span>
-      <span class="a"></span>
-    </div>
-     <div class="top">
-      <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 class="button_box">
+        <el-button type="primary" @click="makeSure">新增装船作业</el-button>
     </div>
     </div>
-    <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
-    </dilTable>
   </div>
   </div>
 </template>
 </template>
 
 
@@ -122,18 +118,44 @@ export default {
   },
   },
 };
 };
 </script>
 </script>
-<style lang='scss' scoped>
-.homeworkPath{
-    .main{
-    margin-bottom: 0.125rem;
-  }
-  .button-ins{
-    margin: 0 50rem; 
-    text-align: center
+<style lang='scss'>
+.shipTransport{
+  .form{
+    display: flex;
+    .form_box{
+      width: 320px;
+      margin-left: 35%;
+      margin-top: 30px;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
+    }
   }
   }
   .top {
   .top {
-    margin: 0 auto;
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
+  }
+  .button_box{
+    margin-left: 45%;
   }
   }
 }
 }
 </style>
 </style>

+ 67 - 16
src/views/TMS/components/importedShip/addShipmentInstructions.vue

@@ -1,28 +1,33 @@
 <template>
 <template>
   <!-- 装船指令新增页面 -->
   <!-- 装船指令新增页面 -->
-  <div id="endMaintenance">
-    <page-title>装船指令新增</page-title>
-    <el-divider content-position="left">新增指令</el-divider>
-     <div class="form-box" style="margin-right: 10rem">
-        <el-form><dil-form :formId="114" v-model="form1" ref="from1"></dil-form></el-form>
-        <div class="buttonins"><el-button type="primary" @click="onDrawer()">浏览</el-button></div>
+  <div class="shipTransport">
+    <page-title>返回</page-title>
+    <div class="form">
+      <div class="form_box">
+          <dil-form :formId="114" v-model="form1" ref="from1"></dil-form>
       </div>
       </div>
-      <el-drawer
+      <div class="liulan">
+          <el-button type="primary" class="btn" @click="onDrawer">浏览</el-button>
+      </div>     
+    </div>
+    <!-- 确定和取消 -->
+    <div class="button_box">
+      <el-button @click="cancel">取消</el-button>
+      <el-button type="primary" @click="makeSure">确定</el-button>
+    </div>
+    <!-- 模态框 -->
+    <el-drawer
       :visible.sync="drawer"
       :visible.sync="drawer"
       :direction="direction"
       :direction="direction"
       :before-close="handleClose"
       :before-close="handleClose"
-      size="30%"
+      size="35%"
     >
     >
-      <el-input placeholder="请输入内容" v-model="input"  style="margin-top:10px;margin-left:20px" clearable> </el-input>
+      <el-input placeholder="请输入内容" v-model="input"  style="margin-top:10px;margin-left:20px;width:250px" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick()"  style="margin-bottom:15px">
       <el-button type="primary" class="btn" @click="onclick()"  style="margin-bottom:15px">
         <i class="el-icon-search"></i>查询
         <i class="el-icon-search"></i>查询
       </el-button>
       </el-button>
     <dilTable v-bind.sync="options" @radio-change="currentRadioChange1" ></dilTable>
     <dilTable v-bind.sync="options" @radio-change="currentRadioChange1" ></dilTable>
     </el-drawer>
     </el-drawer>
-    <div class="button-box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
   </div>
   </div>
 </template>
 </template>
 
 
@@ -99,8 +104,54 @@ export default {
 };
 };
 </script>
 </script>
 
 
-<style lang="scss" scoped>
-.buttonins{
-  height: auto;
+<style lang="scss">
+.shipTransport{
+  .form{
+    display: flex;
+    .form_box{
+      width: 320px;
+      margin-left: 35%;
+      margin-top: 30px;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
+    }
+  }
+  .liulan{
+      width: 120px;
+      margin-top: 30px;
+      .el-button{
+        width: 100px !important;
+        margin: auto;
+      }
+      .btn{
+        margin-top: 0px;
+      }
+      .btn1{
+        margin-top: 13px;
+      }
+      .btn2{
+        margin-top: 67px;
+      }
+  }
+  .button_box{
+    margin-left: 45%;
+  }
 }
 }
 </style>
 </style>

+ 53 - 42
src/views/TMS/components/importedShip/addUnloadShip.vue

@@ -1,39 +1,26 @@
 <template>
 <template>
-  <!-- 船只信息页面 -->
-  <div class="homeworkPath">
-    <page-title>卸船作业信息</page-title>
-    <div class="main">
-      <span class="text">卸船作业新增</span>
-      <span class="a"></span>
-    </div>
-    <div>
-      <div class="form-box" style="margin:0 50rem">
-        <el-form >
+<!-- 新增卸船作业 -->
+  <div class="shipTransport">
+    <page-title>返回</page-title>
+    <!-- 第一部分 -->
+      <div class="top">
+        <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>
+      <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
+      </dilTable>
+    <div class="form">
+      <!-- 第二部分 -->
+      <div class="form_box">
           <dil-form :formId="121" v-model="form"></dil-form>
           <dil-form :formId="121" v-model="form"></dil-form>
-          <div style="magin:0 auto">
-              <el-button type="primary" @click="makeSure" >新增卸船作业</el-button>
-          </div>
-          
-        </el-form>
-        
       </div>
       </div>
     </div>
     </div>
-  
-    <div class="main">
-      <span class="text">选择船只</span>
-      <span class="a"></span>
+    <div class="button_box">
+        <el-button type="primary" @click="makeSure" >新增卸船作业</el-button>
     </div>
     </div>
-    <div class="top">
-      <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>
-    <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
-    </dilTable>
-    
   </div>
   </div>
-  
 </template>
 </template>
 
 
 <script>
 <script>
@@ -122,20 +109,44 @@ export default {
   },
   },
 };
 };
 </script>
 </script>
-<style lang='scss' scoped>
-
-.homeworkPath {
-  .main{
-    margin-bottom: 0.125rem;
-  }
-  .button-ins{
-    margin: 0 50rem; 
-    text-align: center
+<style lang='scss'>
+.shipTransport{
+  .form{
+    display: flex;
+    .form_box{
+      width: 320px;
+      margin-left: 35%;
+      margin-top: 30px;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
+    }
   }
   }
   .top {
   .top {
-    margin: 0 auto;
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
+  }
+  .button_box{
+    margin-left: 45%;
   }
   }
 }
 }
-
 </style>
 </style>

+ 101 - 63
src/views/TMS/components/importedShip/addWaterQuality.vue

@@ -1,67 +1,56 @@
 <template>
 <template>
-  <!-- 船只信息页面 -->
-  <div class="homeworkPath">
-    <page-title>水分质检信息</page-title>
-    <div class="main">
-      <span class="text">水分质检信息新增</span>
-      <span class="a"></span>
+  <!-- 新增水分质检信息 -->
+  <div class="shipTransport">
+    <page-title>返回</page-title>
+    <!-- 第一部分 -->
+      <div class="top">
+        <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>
+      <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
+      </dilTable>
+    <div class="form">
+      <!-- 第二部分 -->
+      <div class="form_box">
+          <dil-form :formId="128" v-model="form"></dil-form>
+      </div>
     </div>
     </div>
-    <div>
- <div class="form-box" style="margin-left:0 50rem">
-        <el-form ><dil-form :formId="128" v-model="form"></dil-form>
-         <el-form>
-         <el-form-item>
+    <!-- 下方内容 -->
+    <div class="other">
+      <el-form :inline="true">
+        <el-form-item>
           <label class="el-form-item__label" style="width: auto;">含水率</label>
           <label class="el-form-item__label" style="width: auto;">含水率</label>
-          <el-input
-        placeholder=""
-        v-model="resultMoistureContent">
-      </el-input>
+        </el-form-item>
+        <el-form-item>
+          <el-input  placeholder="" v-model="resultMoistureContent"></el-input>
         </el-form-item>
         </el-form-item>
          
          
-          <el-form-item>
+         <el-form-item>
           <label class="el-form-item__label" style="width: auto;">合同水分值</label>
           <label class="el-form-item__label" style="width: auto;">合同水分值</label>
-          <el-input
-        placeholder=""
-        v-model="contractMoistureValue"
-        :disabled="true">
-      </el-input>
         </el-form-item>
         </el-form-item>
-      <el-form-item>
-      <label class="el-form-item__label" style="width: auto;">实装吨位</label>
-      <el-input
-        placeholder=""
-        v-model="realWeight"
-        :disabled="true">
-      </el-input>
-      </el-form-item>
-    <el-form-item>
-    <label class="el-form-item__label" style="width: auto;">水分吨位</label>
-      <el-input
-        placeholder=""
-        v-model="moistureTonnage"
-        :disabled="true">
-      </el-input>
-    </el-form-item>
-      </el-form>
-        <el-button type="primary" @click="makeSure">新增水分质检信息</el-button>
-        </el-form>
-      </div>
+        <el-form-item>
+          <el-input placeholder="" v-model="contractMoistureValue" :disabled="true"></el-input>
+        </el-form-item>
 
 
-     <div class="main">
-      <span class="text">选择船只</span>
-      <span class="a"></span>
-    </div>
+        <el-form-item>
+          <label class="el-form-item__label" style="width: auto;">实装吨位</label>
+        </el-form-item>
+        <el-form-item>
+          <el-input placeholder="" v-model="realWeight" :disabled="true"></el-input>
+        </el-form-item>
 
 
-     <div class="top">
-      <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>   
+        <el-form-item>
+          <label class="el-form-item__label" style="width: auto;">水分吨位</label>
+        </el-form-item>
+        <el-form-item>
+          <el-input placeholder="" v-model="moistureTonnage" :disabled="true"></el-input>
+        </el-form-item>
+      </el-form>
+        <el-button type="primary" @click="makeSure">新增水分质检信息</el-button>
     </div>
     </div>
-
-    <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
-    </dilTable>
-  </div>
+    
   </div>
   </div>
 </template>
 </template>
 
 
@@ -183,17 +172,66 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath{
-    .main{
-    margin-bottom: 0.125rem;
-  }
-  .button-ins{
-    margin: 0 50rem; 
-    text-align: center
+.shipTransport{
+  .form{
+    display: flex;
+    .form_box{
+      width: 320px;
+      margin-left: 35%;
+      margin-top: 30px;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
+    }
   }
   }
   .top {
   .top {
-    margin: 0 auto;
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
+  }
+  .button_box{
+    margin-left: 45%;
+  }
+  .other{
+    width: 320px;
+      margin-left: 35%;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
   }
   }
 }
 }
 </style>
 </style>

+ 11 - 7
src/views/TMS/components/importedShip/bargeShip.vue

@@ -1,13 +1,13 @@
 <template>
 <template>
   <!-- 驳船作业页面 -->
   <!-- 驳船作业页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <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>
+      <el-button type="primary" class="btn" @click="onclick">
+        <i class="el-icon-search"></i>查询
+      </el-button>
       <el-button type="primary" class="btn" @click="addclick">
       <el-button type="primary" class="btn" @click="addclick">
-        新增
+        <i class="el-icon-circle-plus-outline"></i>新增
       </el-button>
       </el-button>
     </div>
     </div>
     <dilTable v-bind.sync="option">
     <dilTable v-bind.sync="option">
@@ -97,9 +97,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 11 - 7
src/views/TMS/components/importedShip/loadShip.vue

@@ -1,13 +1,13 @@
 <template>
 <template>
   <!-- 装船作业页面 -->
   <!-- 装船作业页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
      <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>
+      <el-button type="primary" class="btn" @click="onclick">
+        <i class="el-icon-search"></i>查询
+      </el-button>
       <el-button type="primary" class="btn" @click="addclick">
       <el-button type="primary" class="btn" @click="addclick">
-        新增
+        <i class="el-icon-circle-plus-outline"></i>新增
       </el-button>
       </el-button>
     </div>
     </div>
     <dilTable v-bind.sync="option">
     <dilTable v-bind.sync="option">
@@ -85,9 +85,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 10 - 6
src/views/TMS/components/importedShip/shipResult.vue

@@ -1,11 +1,11 @@
 <template>
 <template>
   <!-- 水路货物运单页面 -->
   <!-- 水路货物运单页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <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>
+      <el-button type="primary" class="btn" @click="onclick">
+        <i class="el-icon-search"></i>查询
+      </el-button>
     </div>
     </div>
     <dilTable v-bind.sync="option">
     <dilTable v-bind.sync="option">
     </dilTable>
     </dilTable>
@@ -38,9 +38,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 9 - 6
src/views/TMS/components/importedShip/shipmentInstructions.vue

@@ -1,12 +1,13 @@
 <template>
 <template>
   <!-- 装船指令页面 -->
   <!-- 装船指令页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input> 
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input> 
       <el-button type="primary" class="btn" @click="onclick">
       <el-button type="primary" class="btn" @click="onclick">
         <i class="el-icon-search"></i>查询
         <i class="el-icon-search"></i>查询
       </el-button>
       </el-button>
-      <el-button type="primary" @click="btnclick(0)"> 新增 </el-button>
+      <el-button type="primary" @click="btnclick(0)">
+        <i class="el-icon-circle-plus-outline"></i>新增</el-button>
     </div>
     </div>
     <el-tabs v-model="activeName"  @tab-click="handleClick">
     <el-tabs v-model="activeName"  @tab-click="handleClick">
       <!-- 未下发 -->
       <!-- 未下发 -->
@@ -44,8 +45,6 @@
         <dilTable v-bind.sync="option2"></dilTable>
         <dilTable v-bind.sync="option2"></dilTable>
       </el-tab-pane>
       </el-tab-pane>
     </el-tabs>
     </el-tabs>
-      
-    </dilTable>
   </div>
   </div>
 </template>
 </template>
 
 
@@ -141,9 +140,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 11 - 7
src/views/TMS/components/importedShip/unloadShip.vue

@@ -1,13 +1,13 @@
 <template>
 <template>
   <!-- 卸船作业页面 -->
   <!-- 卸船作业页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <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>
+      <el-button type="primary" class="btn" @click="onclick">
+        <i class="el-icon-search"></i>查询
+      </el-button>
       <el-button type="primary" class="btn" @click="addclick">
       <el-button type="primary" class="btn" @click="addclick">
-        新增
+        <i class="el-icon-circle-plus-outline"></i>新增
       </el-button>
       </el-button>
     </div>
     </div>
     <dilTable v-bind.sync="option">
     <dilTable v-bind.sync="option">
@@ -85,9 +85,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 11 - 7
src/views/TMS/components/importedShip/waterQuality.vue

@@ -1,13 +1,13 @@
 <template>
 <template>
   <!-- 水分质检页面 -->
   <!-- 水分质检页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <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>
+      <el-button type="primary" class="btn" @click="onclick">
+        <i class="el-icon-search"></i>查询
+      </el-button>
       <el-button type="primary" class="btn" @click="addclick">
       <el-button type="primary" class="btn" @click="addclick">
-        新增
+        <i class="el-icon-circle-plus-outline"></i>新增
       </el-button>
       </el-button>
     </div>
     </div>
     <dilTable v-bind.sync="option">
     <dilTable v-bind.sync="option">
@@ -85,9 +85,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 1 - 1
src/views/WMS/components/steel/bar1_steel/bar1_steel_restack.vue

@@ -62,7 +62,7 @@ export default {
         // second请求数据的地址
         // second请求数据的地址
         // 请求已下发的数据
         // 请求已下发的数据
         requestUrl:
         requestUrl:
-          "/api/v1/wms/selectRestackList2?apiId=440&DistrubtionStatus=1",
+          "/api/v1/wms/?apiId=440&DistrubtionStatus=1",
       },
       },
       //默认显示待下发的标签页
       //默认显示待下发的标签页
       activeName: "first",
       activeName: "first",

+ 4 - 4
src/views/WMS/components/steel/bar1_steel/bar1_steel_restackAdd.vue

@@ -111,10 +111,10 @@
                 </dilTable>
                 </dilTable>
             </div>
             </div>
         </el-drawer> 
         </el-drawer> 
-        <!-- <div class="table" >
+        <div class="table" >
             <dilTable v-bind.sync="options11"  @selection-change="selectionChange"></diltable>
             <dilTable v-bind.sync="options11"  @selection-change="selectionChange"></diltable>
         </div>
         </div>
-            <div class="search">
+           <!-- <div class="search">
             <div class="warehouse">
             <div class="warehouse">
                 <span>仓库名称:</span>
                 <span>仓库名称:</span>
                 <el-select v-model="value1" disabled  placeholder="请选择" @change="onchange4()">
                 <el-select v-model="value1" disabled  placeholder="请选择" @change="onchange4()">
@@ -140,10 +140,10 @@
                 </el-select>
                 </el-select>
             </div>
             </div>
      
      
-        </div> -->
+        </div>
          <div class="table">
          <div class="table">
             <dilTable v-bind.sync="options" ></diltable>
             <dilTable v-bind.sync="options" ></diltable>
-        </div> 
+        </div>  -->
     </div>  
     </div>  
 </template>
 </template>
 
 

+ 34 - 14
src/views/WMS/components/steel/steel_real.vue

@@ -8,15 +8,12 @@
 				<i class="el-icon-search"></i>查询
 				<i class="el-icon-search"></i>查询
 			</el-button>
 			</el-button>
 		</div>
 		</div>
-  <dilTable v-bind.sync="option">
-      <!-- <el-table-column fixed="right" label="操作" width="110">
-        <template slot-scope="scope">
-          <el-button @click="demotionClick(scope.row.gridId)" type="text" size="small"
-            >物资不合格</el-button
-          >
-        </template>
-      </el-table-column> -->
+    <dilTable v-bind.sync="option" @func="func" :rowClassName="rowClassName">
+
     </dilTable>
     </dilTable>
+    <!-- <dilTable v-bind.sync="options" >
+
+    </dilTable> -->
     </div>
     </div>
 </template>
 </template>
 
 
@@ -25,21 +22,44 @@ export default {
  name:"steel_real",
  name:"steel_real",
   data(){
   data(){
     return {
     return {
+      rowIndex:null,
+      mapList:[],
       inputText:"",
       inputText:"",
       option: {
       option: {
-        requestUrl: "/api/v1/wms/selectGridMaterialList?apiId=167",
-        },
-      };
-    },
+        requestUrl: "/api/v1/wms/selectGridMaterialList?apiId=167&warehouseId="+3,
+      },
+      rowId:''
+    };
+  },
   mounted(){
   mounted(){
-
+    
+  },
+  created(){
+    
   },
   },
   methods:{
   methods:{
+    rowClassName({row, rowIndex}) {
+        if (row.status === 1) {
+          return 'success-row';
+        }
+        return '';
+    },
+    func(res){
+      // console.log(res)
+      res.list.forEach(e => {
+        console.log(e.status)
+        if(e.status == 0){
+          // 表示这个物资已经达到库龄预警
+          
+        }
+        // console.log(this.mapList)
+      });
+    },
     demotionClick(gridId){
     demotionClick(gridId){
       this.$router.push("/steel_realDown/" + gridId);
       this.$router.push("/steel_realDown/" + gridId);
     },
     },
     onClick(){
     onClick(){
-      this.option.requestUrl= "/api/v1/wms/selectGridMaterialList?apiId=167&&con="+this.inputText;
+      this.option.requestUrl= "/api/v1/wms/selectGridMaterialList?apiId=167&warehouseId="+3+"&con="+this.inputText;
       console.log(this.inputText)
       console.log(this.inputText)
     }
     }
   },
   },

+ 2 - 2
src/views/WMS/components/steel/steel_restack.vue

@@ -15,8 +15,8 @@
       </el-button>
       </el-button>
     </div>
     </div>
     <div class="table">
     <div class="table">
-<!--       <dilTable v-bind.sync="options"> 
-      </dilTable> -->
+      <dilTable v-bind.sync="options"> 
+      </dilTable>
     </div>
     </div>
       <template>
       <template>
         <el-tabs v-model="activeName" @tab-click="handleClick">
         <el-tabs v-model="activeName" @tab-click="handleClick">

+ 2 - 2
src/views/WMS/components/steel/steel_restackAdd.vue

@@ -111,7 +111,7 @@
                 </dilTable>
                 </dilTable>
             </div>
             </div>
         </el-drawer> 
         </el-drawer> 
-        <!-- <div class="table" >
+        <div class="table" >
             <dilTable v-bind.sync="options11"  @selection-change="selectionChange"></diltable>
             <dilTable v-bind.sync="options11"  @selection-change="selectionChange"></diltable>
         </div>
         </div>
             <div class="search">
             <div class="search">
@@ -140,7 +140,7 @@
                 </el-select>
                 </el-select>
             </div>
             </div>
      
      
-        </div> -->
+        </div>
          <div class="table">
          <div class="table">
             <dilTable v-bind.sync="options" ></diltable>
             <dilTable v-bind.sync="options" ></diltable>
         </div> 
         </div> 

+ 1 - 1
src/views/appoint/components/saleContract/addTransportPrice.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-  <!-- 添加汽运单价 -->
+  <!-- 添加汽运单价 111-->
   <div class="addTransportPrice">
   <div class="addTransportPrice">
     <page-title>新增</page-title>
     <page-title>新增</page-title>
     <div class="form">
     <div class="form">

+ 77 - 97
src/views/appoint/components/ship/addCargoResult.vue

@@ -1,51 +1,46 @@
 <template>
 <template>
   <!-- 添加货权转移实绩 -->
   <!-- 添加货权转移实绩 -->
-  <div class="addWagonLoad">
-    <PageTitle>返回</PageTitle>
-    <el-divider content-position="left">货权转移</el-divider>
-    <div class="form-box" style="margin-right: 10rem">
-      <dil-form :formId="109" v-model="form1" ref="from1"></dil-form>
+  <div class="shipTransport">
+    <page-title>返回</page-title>
+    <div class="form">
+      <div class="form_box">
+          <dil-form :formId="109" v-model="form1" ref="from1"></dil-form>
+      </div>        
     </div>
     </div>
-    <div class="form-box f1">
-      <el-form :inline="true" class="demo-form-inline">
-        <el-form-item label="物资">
-          <el-input v-model="materialName" disabled> </el-input>
-        </el-form-item>
-        <el-form-item>
-          <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
-        </el-form-item>
-      </el-form>
+    <!-- 物资 -->
+    <div class="mofrom">
+      <span class="motext">物资</span>
+      <el-input class="moinput" v-model="materialName" disabled> </el-input>
+      <el-button class="mobutton" type="primary" @click="ondrawer(1)">浏览</el-button>
     </div>
     </div>
-    <div class="form-box f2">
-      <el-form :inline="true" class="demo-form-inline">
-        <el-form-item label="货权转移送达单位">
-          <el-input v-model="cargo" disabled> </el-input>
-        </el-form-item>
-        <el-form-item>
-          <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
-        </el-form-item>
-      </el-form>
+    <!-- 货权转移送达单位 -->
+    <div class="mofrom">
+      <span class="motext">货权转移送达单位</span>
+      <el-input class="moinput" v-model="cargo" disabled> </el-input>
+      <el-button class="mobutton" type="primary" @click="ondrawer(2)">浏览</el-button>
     </div>
     </div>
-    <div class="form-box f3">
-      <el-form :inline="true" class="demo-form-inline">
-        <el-form-item label="收货人">
-          <el-input v-model="receiver" disabled> </el-input>
-        </el-form-item>
-        <el-form-item>
-          <el-button type="primary" @click="ondrawer(3)">浏览</el-button>
-        </el-form-item>
-      </el-form>
+    <!-- 货权转移送达单位 -->
+    <div class="mofrom">
+      <span class="motext">收货人</span>
+      <el-input class="moinput" v-model="receiver" disabled> </el-input>
+      <el-button class="mobutton" type="primary" @click="ondrawer(3)">浏览</el-button>
     </div>
     </div>
+    <!-- 确定和取消 -->
+    <div class="button_box">
+      <el-button @click="cancel">取消</el-button>
+      <el-button type="primary" @click="makeSure">确定</el-button>
+    </div>
+    <!-- 模态框 -->
     <el-drawer
     <el-drawer
       :visible.sync="drawer"
       :visible.sync="drawer"
       :direction="direction"
       :direction="direction"
       :before-close="handleClose"
       :before-close="handleClose"
-      size="30%"
+      size="50%"
     >
     >
       <el-input
       <el-input
         placeholder="请输入内容"
         placeholder="请输入内容"
         v-model="input"
         v-model="input"
-        style="margin-top: 10px; margin-left: 20px"
+        style="margin-top: 10px; margin-left: 20px; width:250px"
         clearable
         clearable
       >
       >
       </el-input>
       </el-input>
@@ -76,10 +71,6 @@
         ></dilTable>
         ></dilTable>
       </div>
       </div>
     </el-drawer>
     </el-drawer>
-    <div class="button-box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -196,64 +187,53 @@ export default {
   },
   },
 };
 };
 </script>
 </script>
-<style lang='scss' scoped>
-.form-box {
-  padding: 20px 30px;
-  margin-left: 330px;
-}
-.button-box {
-  padding: 20px 30px;
-  margin-left: 460px;
-}
-.btn-left {
-  margin-left: 470px;
-}
-.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,
-    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-  font-size: 1rem;
-  cursor: default;
-  color: #2c3e50;
-}
-.f1 {
-  margin-top: -2.5rem;
-  margin-left: 26rem;
-}
-.f11 {
-  margin-top: -3rem;
-  // margin-left: 29rem;
-}
-.f2 {
-  margin-top: -2.5rem;
-  margin-left: 20.7rem;
-}
-.f3 {
-  margin-top: -2.5rem;
-  margin-left: 25rem;
+<style lang='scss'>
+.shipTransport{
+  .form{
+    display: flex;
+    .form_box{
+      width: 320px;
+      margin-left: 35%;
+      margin-top: 30px;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
+    }
+  }
+  .mofrom {
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    margin-top: 5px;
+    margin-bottom: 20px;
+    .motext{
+      width: 70px;
+    }
+    .moinput{
+      width: 250px;
+    }
+    .mobutton{
+      margin-left: 5px;
+    }
+  }
+  .button_box{
+    margin-left: 45%;
+  }
 }
 }
 </style>
 </style>

+ 66 - 16
src/views/appoint/components/ship/addDeliveryNotice.vue

@@ -1,28 +1,33 @@
 <template>
 <template>
   <!-- 添加发货通知 -->
   <!-- 添加发货通知 -->
-  <div class="addWagonLoad">
-    <PageTitle>返回</PageTitle>
-    <el-divider content-position="left">发货通知单</el-divider>
-     <div class="form-box" style="margin-right: 10rem">
-       <el-form><dil-form :formId="112" v-model="form1" ref="from1" @change="onchange"></dil-form></el-form>
-       <div class="buttonins"><el-button type="primary" @click="onDrawer">浏览</el-button></div> 
+  <div class="shipTransport">
+    <page-title>返回</page-title>
+    <div class="form">
+      <div class="form_box">
+          <dil-form :formId="112" v-model="form1" ref="from1" @change="onchange"></dil-form>
+      </div>
+      <div class="liulan">
+          <el-button type="primary" class="btn" @click="onDrawer">浏览</el-button>
+      </div>     
     </div>
     </div>
+    <!-- 确定和取消 -->
+    <div class="button_box">
+      <el-button @click="cancel">取消</el-button>
+      <el-button type="primary" @click="makeSure">确定</el-button>
+    </div>
+    <!-- 模态框 -->
     <el-drawer
     <el-drawer
       :visible.sync="drawer"
       :visible.sync="drawer"
       :direction="direction"
       :direction="direction"
       :before-close="handleClose"
       :before-close="handleClose"
-      size="30%"
+      size="50%"
     >
     >
-      <el-input placeholder="请输入内容" v-model="input"  style="margin-top:10px;margin-left:20px" clearable> </el-input>
+      <el-input placeholder="请输入内容" v-model="input"  style="margin-top:10px;margin-left:20px;width:250px" clearable> </el-input>
       <el-button type="primary" class="btn" @click="onclick()"  style="margin-bottom:15px">
       <el-button type="primary" class="btn" @click="onclick()"  style="margin-bottom:15px">
         <i class="el-icon-search"></i>查询
         <i class="el-icon-search"></i>查询
       </el-button>
       </el-button>
     <dilTable v-bind.sync="options" @radio-change="currentRadioChange1" ></dilTable>
     <dilTable v-bind.sync="options" @radio-change="currentRadioChange1" ></dilTable>
     </el-drawer>
     </el-drawer>
-    <div class="button-box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
   </div>
   </div>
 </template>
 </template>
 
 
@@ -121,9 +126,54 @@ export default {
   },
   },
 };
 };
 </script>
 </script>
-<style lang='scss' scoped>
-
-.buttonins{
-  height: auto;
+<style lang='scss'>
+.shipTransport{
+  .form{
+    display: flex;
+    .form_box{
+      width: 320px;
+      margin-left: 35%;
+      margin-top: 30px;
+      margin-right: 20px;
+      .el-form{
+        .preview-group{
+          .el-form-item{
+            .el-form-item__label{
+              display: inline-block;
+              width: 70px !important;
+            }
+            .el-form-item__content{
+              .el-select{
+                width: 250px;
+              }
+              .el-input{
+                width: 250px;
+              }
+            }
+          }
+        }
+      }
+    }
+  }
+  .liulan{
+      width: 120px;
+      margin-top: 30px;
+      .el-button{
+        width: 100px !important;
+        margin: auto;
+      }
+      .btn{
+        margin-top: 0px;
+      }
+      .btn1{
+        margin-top: 13px;
+      }
+      .btn2{
+        margin-top: 67px;
+      }
+  }
+  .button_box{
+    margin-left: 45%;
+  }
 }
 }
 </style>
 </style>

+ 8 - 4
src/views/appoint/components/ship/cargoResult.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
-  <!-- 作业路径页面 -->
-  <div class="homeworkPath">
+  <!-- 货权转移页面 -->
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
  <el-button type="primary" class="btn" @click="onclick">
  <el-button type="primary" class="btn" @click="onclick">
@@ -84,9 +84,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 1.25rem 1.875rem;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 7 - 3
src/views/appoint/components/ship/deliveryAttorney.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
   <!-- 提货委托页面 -->
   <!-- 提货委托页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       
       
@@ -182,9 +182,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 20px 30px;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 7 - 3
src/views/appoint/components/ship/deliveryNotice.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
   <!-- 发货通知页面 -->
   <!-- 发货通知页面 -->
-  <div class="homeworkPath">
+  <div class="shipTransport">
     <div class="top">
     <div class="top">
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
       
       
@@ -170,9 +170,13 @@ export default {
 };
 };
 </script>
 </script>
 <style lang='scss' scoped>
 <style lang='scss' scoped>
-.homeworkPath {
+.shipTransport {
   .top {
   .top {
-    padding: 20px 30px;
+    padding: 1.25rem 0.375rem;
+    .el-input {
+      width: 20%;
+      margin-right: 1.25rem;
+    }
   }
   }
 }
 }
 </style>
 </style>

+ 31 - 45
src/views/statisticalReport/components/salesLogisticsStatistics/transportationPerformance.vue

@@ -2,14 +2,6 @@
   <div class="purchasFuelNewMonitor">
   <div class="purchasFuelNewMonitor">
     <div class="frameCalculation">
     <div class="frameCalculation">
       <span>计毛时间:</span>
       <span>计毛时间:</span>
-      <!-- <el-date-picker
-        v-model="Time"
-        :editable="true"
-        type="datetimerange"
-        range-separator="至"
-        start-placeholder="开始日期"
-        end-placeholder="结束日期">
-      </el-date-picker> -->
       <el-date-picker
       <el-date-picker
         v-model="startTime"
         v-model="startTime"
         type="datetime"
         type="datetime"
@@ -41,6 +33,7 @@
 
 
 <script>
 <script>
 import { sjTime } from '@/utils/sharedJsFile'
 import { sjTime } from '@/utils/sharedJsFile'
+import { getCookie } from "@/utils/util.js";
 export default {
 export default {
   data() {
   data() {
     return {
     return {
@@ -49,7 +42,7 @@ export default {
       pageSize:100,
       pageSize:100,
       isKuang:false,
       isKuang:false,
       option: {
       option: {
-        requestUrl: "/api/v1/tms/getAllSaleReport?apiId=423&startTime=null&endTime=null&i=" +new Date(),
+        requestUrl: "",
       },
       },
       startTime:null,
       startTime:null,
       endTime:null,
       endTime:null,
@@ -61,10 +54,19 @@ export default {
     };
     };
   },
   },
   created(){
   created(){
-      const start = new Date(new Date(new Date().toLocaleDateString()).getTime());
-      var startTime = this.dataFormat(sjTime(start));
-      var endTime = this.dataFormat(sjTime(new Date()));
-      this.tableTitle = startTime + ' 至 ' + endTime;
+    //初始化表头
+    if (getCookie("orgCode") == "chengyunshang") {
+      this.option.requestUrl =
+        "/api/v1/tms/getAllSaleReport?apiId=423&startTime=null&endTime=null&carrierSsoId=" + getCookie("userId") +"&i=" +new Date();
+    } else {
+      this.option.requestUrl =
+        "/api/v1/tms/getAllSaleReport?apiId=423&startTime=null&endTime=null&carrierSsoId=" + null +"&i=" +new Date();
+    }
+    //时间段初始化
+    const start = new Date(new Date(new Date().toLocaleDateString()).getTime());
+    var startTime = this.dataFormat(sjTime(start));
+    var endTime = this.dataFormat(sjTime(new Date()));
+    this.tableTitle = startTime + ' 至 ' + endTime;
   },
   },
   methods: {
   methods: {
     refresh(){
     refresh(){
@@ -82,10 +84,6 @@ export default {
       // this.totalCapacity = res.total;
       // this.totalCapacity = res.total;
       this.isKuang = false;
       this.isKuang = false;
     },
     },
-    // requestQuery(q){
-    //   //调用获取总净重方法
-    //   this.calculationTotalNumber(q);
-    // },
     onclick() {
     onclick() {
       let startTime = null;
       let startTime = null;
       let endTime = null;
       let endTime = null;
@@ -94,42 +92,30 @@ export default {
         endTime = sjTime(this.endTime);
         endTime = sjTime(this.endTime);
         //修改报表名称
         //修改报表名称
         this.tableTitle = this.dataFormat(startTime) + ' 至 ' + this.dataFormat(endTime);
         this.tableTitle = this.dataFormat(startTime) + ' 至 ' + this.dataFormat(endTime);
-        this.option.requestUrl = "/api/v1/tms/getAllSaleReport?apiId=423&startTime=" + startTime + "&endTime=" + endTime + "&i=" +new Date();
+        //加上时间重置表头
+        if (getCookie("orgCode") == "chengyunshang") {
+          this.option.requestUrl =
+            "/api/v1/tms/getAllSaleReport?apiId=423&startTime=" + startTime + "&endTime=" + endTime + "&carrierSsoId=" + getCookie("userId") +"&i=" +new Date();
+        } else {
+          this.option.requestUrl =
+            "/api/v1/tms/getAllSaleReport?apiId=423&startTime=" + startTime + "&endTime=" + endTime + "&carrierSsoId=" + null +"&i=" +new Date();
+        }
       }else{
       }else{
         if(this.startTime){
         if(this.startTime){
           startTime = sjTime(this.startTime);
           startTime = sjTime(this.startTime);
         }else if(this.endTime){
         }else if(this.endTime){
           endTime = sjTime(this.endTime);
           endTime = sjTime(this.endTime);
         }
         }
-        this.option.requestUrl = "/api/v1/tms/getAllSaleReport?apiId=423&startTime=" + startTime + "&endTime=" + endTime + "&i=" +new Date();
+        //加上时间重置表头
+        if (getCookie("orgCode") == "chengyunshang") {
+          this.option.requestUrl =
+            "/api/v1/tms/getAllSaleReport?apiId=423&startTime=" + startTime + "&endTime=" + endTime + "&carrierSsoId=" + getCookie("userId") +"&i=" +new Date();
+        } else {
+          this.option.requestUrl =
+            "/api/v1/tms/getAllSaleReport?apiId=423&startTime=" + startTime + "&endTime=" + endTime + "&carrierSsoId=" + null +"&i=" +new Date();
+        }
       }
       }
     },
     },
-    // //获取当前条件下的总净重
-    // calculationTotalNumber(dataRequestQuery){
-    //   //初始化时间
-    //   let startTime = null;
-    //   let endTime = null;
-    //   if(this.Time != null){
-    //     startTime = sjTime(this.Time[0]);
-    //     endTime = sjTime(this.Time[1]);
-    //   }
-    //   //放入子组件筛选的值
-    //   let mapValue = undefined;
-    //       for (const key in dataRequestQuery) {
-         
-    //         const val = dataRequestQuery[key];
-    //         if (val||val==0) {
-             
-    //           if (!mapValue) mapValue = {};
-            
-    //           mapValue[key] = val;
-    //         }
-    //       }
-    //   this.axios.post("/api/v1/tms/getAllSaleReportTotal?startTime=" + startTime +"&endTime="+ endTime +"&i=" +new Date(),mapValue)
-    //   .then((res) => {
-    //       this.totalNumber = res.data.data;
-    //     });  
-    // },
     //格式化日期
     //格式化日期
     dataFormat(value){
     dataFormat(value){
       let date = new Date(value);
       let date = new Date(value);