Pārlūkot izejas kodu

前端孟祥旭

mxx 3 gadi atpakaļ
vecāks
revīzija
d979948a03

+ 4 - 25
src/views/tranManagement/tranManagementShippingArrangemen.vue

@@ -349,29 +349,7 @@ export default {
         .toPromise()
         .then(response => {
           this.deptBudgetList = response
-
-          //     for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
-          //   var num = this.deptBudgetList.tranCarInfoList[
-          //     i
-          //   ].positionWeight.split(',')
-          //   for (var j = 0; j < num.length; j++) {
-          //     var num2 = num[j].split('/')
-          //     this.freightspace.push({
-          //       impurity: num2[i],
-          //       positionWeight: num2[num2.length - 1]
-          //     })
-          //   }
-          // }
           if(response.tranCarInfoList.length>0) {
-            // if(response.tranCarInfoList[i].positionWeight) {
-            //   this.list = response.tranCarInfoList[0].positionWeight.splice(',')
-            //   for(var i = 0;i<this.list.length;i++) {
-            //     var num = this.list[i]
-            //     this.freightspace.push({
-            //       trandriver:num,
-            //     })
-            //   }
-            // }
             for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
               var num = this.deptBudgetList.tranCarInfoList[i].positionWeight.split(',')
             for (var j = 0; j < num.length; j++) {
@@ -395,6 +373,7 @@ export default {
                 boxNumber:'',
                 positionWeight:'',
                 impurity:'',
+                tranType:'3'
 
 
               }
@@ -539,7 +518,7 @@ export default {
               }
 
               this.deptBudgetList.totalStorage = this.totalStorage
-              this.tranCarInfoList.driver = this.deptBudgetList.tranCarInfoList[0].trandriver
+              this.tranCarInfoList.driver = this.deptBudgetList.tranCarInfoList[0].driver
               this.tranCarInfoList.driverPhone = this.deptBudgetList.tranCarInfoList[0].driverPhone
               this.tranCarInfoList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
               this.tranCarInfoList.receiveDateEnd = this.deptBudgetList.tranCarInfoList[0].receiveDateEnd
@@ -616,7 +595,7 @@ export default {
 }
 .center {
   width: 90%;
-  margin: 0 auto;
+  // margin: 0 auto;
 }
 
 //表格文字
@@ -988,7 +967,7 @@ export default {
 }
 .center {
   width: 86%;
-  margin: 0 auto;
+  // margin: 0 auto;
   // margin: 0 -29%;
 }
 .el-form-item {

+ 4 - 4
src/views/tranManagement/tranManagementShippingLook.vue

@@ -409,7 +409,7 @@ export default {
   padding: 16px 20px;
 }
 .center {
-  width: 106%;
+  width: 100%;
   margin: 0 auto;
 }
 
@@ -565,12 +565,12 @@ export default {
   margin-top: 6px;
   left: 2px;
 }
-/deep/.ws-info-table[data-v-850a44a6] .el-form-item .el-form-item__label {
+/deep/.ws-info-table.el-form-item .el-form-item__label {
   // background-color: #eee;
   // padding-right: 8px;
   // padding-left: 8px;
-  // width: 100px;
-  font-size: 13px;
+  // width: 100px; 
+  font-size: 12px;
   // font-weight: bold;
   // color: #333;
   // overflow: hidden;

+ 1 - 1
vue.config.js

@@ -145,7 +145,7 @@ module.exports = {
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
         // target: 'http://192.168.1.121:8090/',
-        target: 'http://192.168.1.121:8090/',
+        target: 'http://192.168.1.116:8090/',
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://product-server.winsea.com/',