zhongtianhaoyuan 3 gadi atpakaļ
vecāks
revīzija
76d8910b2d

+ 3 - 3
src/views/taskManagement/tranManagementTransportAdd.vue

@@ -118,7 +118,7 @@
           label="始发地详细地址"
           span="1"
           prop="startDetailedAddress"
-         
+         style="width:31.333%"
         >
           <el-input
             v-model="deptBudgetList.startDetailedAddress"
@@ -454,8 +454,8 @@ export default {
           tmp[2]=TextToCode[this.warehouseList[i].warehousePrivate][this.warehouseList[i].warehouseCity][this.warehouseList[i].warehouseArea].code
           this.selectedOptions=tmp
           this.deptBudgetList.tranProcessInfoList[0].selectedOptions=tmp
-          this.deptBudgetList.startDetailedAddress=this.warehouseList[i].detailedAddress
-          this.deptBudgetList.tranProcessInfoList[0].sendDetailedAddress = this.warehouseList[i].detailedAddress
+          this.deptBudgetList.startDetailedAddress =  this.warehouseList[i].detailedAddress
+          this.deptBudgetList.tranProcessInfoList[0].sendDetailedAddress = this.deptBudgetList.startDetailedAddress
         }
       }
     },

+ 2 - 0
src/views/tranManagement/tranManagementVehicle.vue

@@ -416,6 +416,7 @@ export default {
         })
     },
     find() {
+      if(this.inOutDate != null){
        if (this.inOutDate.length > 0) {
         this.startDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[0])
         this.endDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[1])
@@ -423,6 +424,7 @@ export default {
         this.startDate = ''
         this.endDate = ''
       }
+        }
       this.currentPage = 1
       this.getList()
     }