浏览代码

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-pc

mxx 4 年之前
父节点
当前提交
3901397f32
共有 32 个文件被更改,包括 1295 次插入1522 次删除
  1. 二进制
      public/img/fujian-grey.png
  2. 二进制
      public/img/shouqi.png
  3. 二进制
      public/img/zhankai.png
  4. 2 0
      src/api/V2/taskspost/index.js
  5. 2 1
      src/api/V2/transport/index.js
  6. 4 1
      src/model/tasksport/index.js
  7. 3 0
      src/model/transport/index.js
  8. 0 3
      src/views/contractManagement/purchaseContract.vue
  9. 27 22
      src/views/contractManagement/purchaseContractAdd.vue
  10. 38 29
      src/views/contractManagement/purchaseContractEdit.vue
  11. 4 4
      src/views/contractManagement/purchaseContractExamine.vue
  12. 18 9
      src/views/contractManagement/salesContractAdd.vue
  13. 44 17
      src/views/contractManagement/salesContractEdit.vue
  14. 13 13
      src/views/contractManagement/salesContractExamine.vue
  15. 3 2
      src/views/taskManagement/component/routers/route.js
  16. 155 681
      src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue
  17. 153 76
      src/views/tranManagement/tranManagementDriver.vue
  18. 178 64
      src/views/tranManagement/tranManagementDriverAdd.vue
  19. 147 44
      src/views/tranManagement/tranManagementDriverEdit.vue
  20. 166 379
      src/views/tranManagement/tranManagementDriverLook.vue
  21. 93 36
      src/views/tranManagement/tranManagementTransporHairRespond.vue
  22. 63 22
      src/views/tranManagement/tranManagementTransporTationFire.vue
  23. 0 1
      src/views/tranManagement/tranManagementTransporTrainNo.vue
  24. 65 21
      src/views/tranManagement/tranManagementVehicle.vue
  25. 4 2
      src/views/tranManagement/tranManagementVehicleDispatching.vue
  26. 8 6
      src/views/warehouse/warehouseManagementAdd.vue
  27. 4 3
      src/views/warehouse/warehouseManagementList.vue
  28. 91 79
      src/views/warehouse/warehouseManagementNoComplete.vue
  29. 2 1
      src/views/warehouse/warehouseManagementPerfectput.vue
  30. 1 1
      src/views/warehouse/warehouseManagementPut.vue
  31. 6 4
      src/views/warehouse/warehouseManagementRecord.vue
  32. 1 1
      vue.config.js

二进制
public/img/fujian-grey.png


二进制
public/img/shouqi.png


二进制
public/img/zhankai.png


+ 2 - 0
src/api/V2/taskspost/index.js

@@ -18,3 +18,5 @@ export const API_POST_TRAN_DEL = '/tranTaskInfo/api/deleteTranTask'
 export const API_GET_TRAN_EXAMINE = '/tranTaskInfo/getTranTask'
 // 运输任务-编辑
 export const API_GET_TRAN_EDIT = '/tranTaskInfo/api/editTranTask'
+// 出入库任务-新增(编辑)
+export const API_POST_OUT_PUT = '/warehouseInOutInfo/insertOrUpdateInOutTask'

+ 2 - 1
src/api/V2/transport/index.js

@@ -45,4 +45,5 @@ export const API_GET_AUTOMOBILE_ARRANGE = "/driverViewInfo/selectDriverDetail"
 export const API_POST_AUTOMOBILE_FEEDBACK = '/tranProcessInfo/api/insertTranCar'
 //更改反馈状态
 export const API_POST_AUTOMOBILE_STATE = '/tranProcessInfo/api/editFeedbackStatus'
-
+//状态
+export const API_POST_AUTOMOBILE_ALSOSTATE = '/tranProcessInfo/editStatus'

+ 4 - 1
src/model/tasksport/index.js

@@ -10,7 +10,8 @@ import {
     API_GET_WAREHOUSE_NO,
     API_POST_TRAN_DEL,
     API_GET_TRAN_EXAMINE,
-    API_GET_TRAN_EDIT
+    API_GET_TRAN_EDIT,
+    API_POST_OUT_PUT
 } from '@/api/V2/taskspost'
 //运输任务列表
 export const gain = appRx.get(API_GET_TRAN_LIST, errorCatcher, errorHandle, filter)
@@ -30,3 +31,5 @@ export const deltran = appRx.post(API_POST_TRAN_DEL, errorCatcher, errorHandle,
 export const examinetran = appRx.get(API_GET_TRAN_EXAMINE, errorCatcher, errorHandle, filter)
 //运输任务-编辑
 export const edittran = appRx.post(API_GET_TRAN_EDIT, errorCatcher, errorHandle, filter)
+//出入库任务-编辑
+export const addoreditoutput = appRx.post(API_POST_OUT_PUT, errorCatcher, errorHandle, filter)

+ 3 - 0
src/model/transport/index.js

@@ -26,6 +26,7 @@ import {
     API_GET_AUTOMOBILE_NAME,
     API_POST_AUTOMOBILE_FEEDBACK,
     API_POST_AUTOMOBILE_STATE,
+    API_POST_AUTOMOBILE_ALSOSTATE
 
 } from '@/api/V2/transport'
 // 司机列表
@@ -74,4 +75,6 @@ export const arrange = appRx.get(API_GET_AUTOMOBILE_ARRANGE, errorCatcher, error
 export const feedback = appRx.post(API_POST_AUTOMOBILE_FEEDBACK, errorCatcher, errorHandle, filter)
 //更改反馈状态
 export const state = appRx.post(API_POST_AUTOMOBILE_STATE, errorCatcher, errorHandle, filter)
+//状态
+export const alsostate = appRx.post(API_POST_AUTOMOBILE_ALSOSTATE, errorCatcher, errorHandle, filter)
 

+ 0 - 3
src/views/contractManagement/purchaseContract.vue

@@ -66,9 +66,6 @@
           class="find"
           type="primary"
           @click="find()"
-          v-hasPermission="
-            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-          "
           ><img
             width="16"
             height="16"

+ 27 - 22
src/views/contractManagement/purchaseContractAdd.vue

@@ -443,11 +443,11 @@
       <!--流程信息-->
 
       <ws-info-table>
-        <!--合同收入(元)-->
-        <ws-form-item label="合同收入(元)" span="1" prop="goodsNameKey">
+        <!--已付款(元)-->
+        <ws-form-item label="已付款(元)" span="1" prop="goodsNameKey">
           <ws-input
             v-model="deptBudgetList.contractProcessInfo.goodsNameKey"
-            placeholder="请输入合同收入(元)"
+            placeholder="请输入已付款(元)"
             maxlength="100"
             size="small"
           />
@@ -482,15 +482,6 @@
             size="small"
           />
         </ws-form-item>
-        <!--已完成发货量(吨)-->
-        <ws-form-item label="已完成发货量(吨)" span="1" prop="imperfectGrain">
-          <ws-input
-            v-model="deptBudgetList.contractProcessInfo.imperfectGrain"
-            placeholder="请输入已完成发货量(吨)"
-            maxlength="100"
-            size="small"
-          />
-        </ws-form-item>
         <!--双章原件回收情况-->
         <ws-form-item label="双章原件回收情况" span="1" prop="grade">
           <ws-select
@@ -507,6 +498,15 @@
             />
           </ws-select>
         </ws-form-item>
+        <!--已完成发货量(吨)-->
+        <ws-form-item label="已完成发货量(吨)" span="1" prop="imperfectGrain">
+          <ws-input
+            v-model="deptBudgetList.contractProcessInfo.imperfectGrain"
+            placeholder="请输入已完成发货量(吨)"
+            maxlength="100"
+            size="small"
+          />
+        </ws-form-item>
       </ws-info-table>
 
       <div class="wenzi">
@@ -1223,18 +1223,23 @@ export default {
       var that = this
       this.$refs.deptBudgetList.validate((valid) => {
         if (valid) {
-          this.deptBudgetList.sourceProvince =
-            CodeToText[this.selectedOptions[0]]
-          this.deptBudgetList.sourceCity = CodeToText[this.selectedOptions[1]]
-          this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
-          this.deptBudgetList.deliveryProvince =
-            CodeToText[this.selectedOptions1[0]]
-          this.deptBudgetList.deliveryCity =
-            CodeToText[this.selectedOptions1[1]]
-          this.deptBudgetList.deliveryArea =
-            CodeToText[this.selectedOptions1[2]]
+          this.deptBudgetList.sourceProvince = CodeToText[this.selectedOptions[0]]
+          this.deptBudgetList.sourceCity = CodeToText[this.selectedOptions[1]]     
+          this.deptBudgetList.deliveryProvince = CodeToText[this.selectedOptions1[0]]
+          this.deptBudgetList.deliveryCity = CodeToText[this.selectedOptions1[1]]
           this.deptBudgetList.compId = this.compId
           this.deptBudgetList.contractType = 2
+            if(this.deptBudgetList.deliveryProvince =="澳门特别行政区" || this.deptBudgetList.deliveryProvince == "澳门特别行政区"){
+            this.deptBudgetList.deliveryArea = "特别行政区"
+          }else{ 
+             this.deptBudgetList.deliveryArea = CodeToText[this.selectedOptions1[2]]
+          }
+             if(this.deptBudgetList.sourceProvince =="澳门特别行政区" || this.deptBudgetList.sourceProvince == "澳门特别行政区"){
+            this.deptBudgetList.sourceArea = "特别行政区"
+          }else{
+             this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
+          }
+
           addList(this.deptBudgetList)
             .toPromise()
             .then((response) => {

+ 38 - 29
src/views/contractManagement/purchaseContractEdit.vue

@@ -419,10 +419,10 @@
           <h3>流程信息</h3>
         </div>
         <ws-info-table>
-          <ws-form-item label="合同收入(元)" span="1" prop="goodsNameKey">
+          <ws-form-item label="已付款(元)" span="1" prop="mildewGrain">
             <ws-input
-              v-model="deptBudgetList.contractProcessInfo.goodsNameKey"
-              placeholder="请输入合同收入(元)"
+              v-model="deptBudgetList.contractProcessInfo.mildewGrain"
+              placeholder="请输入已付款(元)"
               maxlength="100"
               size="small"
             />
@@ -451,14 +451,7 @@
               size="small"
             />
           </ws-form-item>
-          <ws-form-item label="未回款(元)" span="1" prop="mildewGrain"
-            ><ws-input
-              v-model="deptBudgetList.contractProcessInfo.mildewGrain"
-              placeholder="请输入已完成发货量(吨)"
-              maxlength="100"
-              size="small"
-            />
-          </ws-form-item>
+
           <ws-form-item
             label="已完成发运量(吨)"
             span="1"
@@ -651,20 +644,31 @@ export default {
           }
           var tmp = []
           tmp[0] = TextToCode[response.sourceProvince].code
+
           tmp[1] = TextToCode[response.sourceProvince][response.sourceCity].code
-          tmp[2] =
-            TextToCode[response.sourceProvince][response.sourceCity][
-              response.sourceArea
-            ].code
+
+          if (tmp[0] == 810000 || tmp[0] == 820000) {
+            tmp[2] = null
+          } else {
+            tmp[2] =
+              TextToCode[response.sourceProvince][response.sourceCity][
+                response.sourceArea
+              ].code
+          }
           this.selectedOptions = tmp
           var tmp1 = []
           tmp1[0] = TextToCode[response.deliveryProvince].code
           tmp1[1] =
             TextToCode[response.deliveryProvince][response.deliveryCity].code
-          tmp1[2] =
-            TextToCode[response.deliveryProvince][response.deliveryCity][
-              response.deliveryArea
-            ].code
+
+          if (tmp1[0] == 810000 || tmp1[0] == 820000) {
+            tmp1[2] = null
+          } else {
+            tmp1[2] =
+              TextToCode[response.deliveryProvince][response.deliveryCity][
+                response.deliveryArea
+              ].code
+          }
           this.selectedOptions1 = tmp1
           this.deptBudgetList = response
           if (this.deptBudgetList.deliverType == 1) {
@@ -1296,19 +1300,24 @@ export default {
       }
       this.$refs.deptBudgetList.validate((valid) => {
         if (valid) {
-          this.deptBudgetList.sourceProvince =
-            CodeToText[this.selectedOptions[0]]
+          this.deptBudgetList.sourceProvince = CodeToText[this.selectedOptions[0]]
           this.deptBudgetList.sourceCity = CodeToText[this.selectedOptions[1]]
-          this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
-          this.deptBudgetList.deliveryProvince =
-            CodeToText[this.selectedOptions1[0]]
-          this.deptBudgetList.deliveryCity =
-            CodeToText[this.selectedOptions1[1]]
-          this.deptBudgetList.deliveryArea =
-            CodeToText[this.selectedOptions1[2]]
+         
+          this.deptBudgetList.deliveryProvince = CodeToText[this.selectedOptions1[0]]
+          this.deptBudgetList.deliveryCity = CodeToText[this.selectedOptions1[1]]
+        
           this.deptBudgetList.compId = this.compId
           this.deptBudgetList.contractType = 2
-          console.log(this.deptBudgetList)
+           if(this.deptBudgetList.deliveryProvince =="澳门特别行政区" || this.deptBudgetList.deliveryProvince == "澳门特别行政区"){
+            this.deptBudgetList.deliveryArea = "特别行政区"
+          }else{ 
+                 this.deptBudgetList.deliveryArea =  CodeToText[this.selectedOptions1[2]]
+          }
+             if(this.deptBudgetList.sourceProvince =="澳门特别行政区" || this.deptBudgetList.sourceProvince == "澳门特别行政区"){
+            this.deptBudgetList.sourceArea = "特别行政区"
+          }else{
+               this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
+          }
           editInfo(this.deptBudgetList)
             .toPromise()
             .then((response) => {

+ 4 - 4
src/views/contractManagement/purchaseContractExamine.vue

@@ -108,11 +108,11 @@
         <ws-form-item label="签订日期" span="1" prop="signingDate">
           {{ deptBudgetList.signingDate }}
         </ws-form-item>
-        <ws-form-item label="最终实际交易量(吨)" span="1" prop="TradingVolume">
-          {{ deptBudgetList.sourceRegion }}
+        <ws-form-item label="最终实际交易量(吨)" span="1" prop="finalTradingVolume">
+          {{ deptBudgetList.finalTradingVolume }}
         </ws-form-item>
-        <ws-form-item label="临时仓库负责人" span="1" prop="sourceRegion">
-          {{ deptBudgetList.sourceRegion }}
+        <ws-form-item label="临时仓库负责人" span="1" prop="personCharge">
+          {{ deptBudgetList.personCharge }}
         </ws-form-item>
       </ws-info-table>
       <!--面试信息-->

+ 18 - 9
src/views/contractManagement/salesContractAdd.vue

@@ -1214,18 +1214,27 @@ export default {
       }
       this.$refs.deptBudgetList.validate((valid) => {
         if (valid) {
-          this.deptBudgetList.sourceProvince =
-            CodeToText[this.selectedOptions[0]]
+          this.deptBudgetList.sourceProvince = CodeToText[this.selectedOptions[0]]
           this.deptBudgetList.sourceCity = CodeToText[this.selectedOptions[1]]
-          this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
-          this.deptBudgetList.deliveryProvince =
-            CodeToText[this.selectedOptions1[0]]
-          this.deptBudgetList.deliveryCity =
-            CodeToText[this.selectedOptions1[1]]
-          this.deptBudgetList.deliveryArea =
-            CodeToText[this.selectedOptions1[2]]
+      
+          this.deptBudgetList.deliveryProvince = CodeToText[this.selectedOptions1[0]]
+          this.deptBudgetList.deliveryCity = CodeToText[this.selectedOptions1[1]]
+         
           this.deptBudgetList.compId = this.compId
           this.deptBudgetList.contractType = 1
+
+           if(this.deptBudgetList.deliveryProvince =="澳门特别行政区" || this.deptBudgetList.deliveryProvince == "澳门特别行政区"){
+            this.deptBudgetList.deliveryArea = "特别行政区"
+          }else{ 
+                
+                this.deptBudgetList.deliveryArea = CodeToText[this.selectedOptions1[2]]
+          }
+             if(this.deptBudgetList.sourceProvince =="澳门特别行政区" || this.deptBudgetList.sourceProvince == "澳门特别行政区"){
+            this.deptBudgetList.sourceArea = "特别行政区"
+          }else{
+              this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
+          }
+
           addList(this.deptBudgetList)
             .toPromise()
             .then((response) => {

+ 44 - 17
src/views/contractManagement/salesContractEdit.vue

@@ -577,7 +577,7 @@ export default {
   },
   watch: {
     vesselId(val) {
-      this.getVesselData()
+      this.loaddata()
     },
     isShow(val) {
       this.showType = val
@@ -658,6 +658,7 @@ export default {
       this.dialogViewSpareMoney = false
     },
     returnsales() {
+      this.deptBudgetList = {}
       this.$router.push({ path: 'salesContract' })
     },
     handleChange(value) {
@@ -674,22 +675,30 @@ export default {
           var tmp = []
           tmp[0] = TextToCode[response.sourceProvince].code
           tmp[1] = TextToCode[response.sourceProvince][response.sourceCity].code
-          tmp[2] =
-            TextToCode[response.sourceProvince][response.sourceCity][
-              response.sourceArea
-            ].code
+          if (tmp[0] == 810000 || tmp[0] == 820000) {
+            tmp[2] = null
+          } else {
+            tmp[2] =
+              TextToCode[response.sourceProvince][response.sourceCity][
+                response.sourceArea
+              ].code
+          }
           this.selectedOptions = tmp
           var tmp1 = []
           tmp1[0] = TextToCode[response.deliveryProvince].code
           tmp1[1] =
             TextToCode[response.deliveryProvince][response.deliveryCity].code
-          tmp1[2] =
-            TextToCode[response.deliveryProvince][response.deliveryCity][
-              response.deliveryArea
-            ].code
+          if (tmp1[0] == 810000 || tmp1[0] == 820000) {
+            tmp1[2] = null
+          } else {
+            tmp1[2] =
+              TextToCode[response.deliveryProvince][response.deliveryCity][
+                response.deliveryArea
+              ].code
+          }
+
           this.selectedOptions1 = tmp1
           this.deptBudgetList = response
-          
         })
       // 包装方式
       packList({ constId: 'CON1' })
@@ -726,10 +735,10 @@ export default {
       })
         .toPromise()
         .then((response) => {
-          if(this.deptBudgetList.deliverType == 1){
-            this.deptBudgetList.deliverType1 = "我方自提"
-          }else if(this.deptBudgetList.deliverType == 2){
-            this.deptBudgetList.deliverType1 = "对方送货" 
+          if (this.deptBudgetList.deliverType == 1) {
+            this.deptBudgetList.deliverType1 = '我方自提'
+          } else if (this.deptBudgetList.deliverType == 2) {
+            this.deptBudgetList.deliverType1 = '对方送货'
           }
           this.unitList = response
           let currItem
@@ -1293,19 +1302,37 @@ export default {
           this.deptBudgetList.sourceProvince =
             CodeToText[this.selectedOptions[0]]
           this.deptBudgetList.sourceCity = CodeToText[this.selectedOptions[1]]
-          this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
+
           this.deptBudgetList.deliveryProvince =
             CodeToText[this.selectedOptions1[0]]
           this.deptBudgetList.deliveryCity =
             CodeToText[this.selectedOptions1[1]]
-          this.deptBudgetList.deliveryArea =
-            CodeToText[this.selectedOptions1[2]]
+
           this.deptBudgetList.compId = this.compId
           this.deptBudgetList.contractType = 1
+
+          if (
+            this.deptBudgetList.deliveryProvince == '澳门特别行政区' ||
+            this.deptBudgetList.deliveryProvince == '澳门特别行政区'
+          ) {
+            this.deptBudgetList.deliveryArea = '特别行政区'
+          } else {
+            this.deptBudgetList.deliveryArea =
+              CodeToText[this.selectedOptions1[2]]
+          }
+          if (
+            this.deptBudgetList.sourceProvince == '澳门特别行政区' ||
+            this.deptBudgetList.sourceProvince == '澳门特别行政区'
+          ) {
+            this.deptBudgetList.sourceArea = '特别行政区'
+          } else {
+            this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
+          }
           editInfo(this.deptBudgetList)
             .toPromise()
             .then((response) => {
               this.$message.success('编辑成功')
+              this.deptBudgetList = {}
               this.$router.push({ path: 'salesContract' })
             })
         } else {

+ 13 - 13
src/views/contractManagement/salesContractExamine.vue

@@ -155,10 +155,9 @@
           </ws-form-item>
           
           <ws-form-item label="交货地详细地址" span="1" prop="placeDelivery">
-            <div classs="unchanged">
+            <div class = "unchanged">
                 {{deptBudgetList.placeDelivery}}
             </div>
-
           </ws-form-item>
           <ws-form-item label="签订日期" span="1" prop="signingDate">
             <div class="unchanged">
@@ -286,12 +285,13 @@
         </ws-info-table>
         <div class="remark">
           <h3>备注信息</h3>
+          <div class=" beizhu">
+          {{ deptBudgetList.remarks }}
         </div>
 
-        <div class="unchanged beizhu">
-          {{ deptBudgetList.remarks }}
         </div>
 
+        
         <img :src="deptBudgetList.addressUrl" alt="" />
 
         <!-- </base-card> -->
@@ -311,18 +311,17 @@
 
 <script>
 import {
-  getList,
   packList,
-  addList,
   xiala,
-  addxiala,
-  editxiala,
-  delxiala,
   examineList,
 } from '@/model/contarct/index'
 import { dayjs } from 'base-core-lib'
+import WsUpload from '@/components/WsUpload'
 export default {
   name: 'viewSpareMoney',
+  components: {
+    WsUpload,
+  },
   watch: {
     vesselId(val) {
       this.getVesselData()
@@ -362,7 +361,7 @@ export default {
     this.status = this.$route.query.status
     this.loaddata()
     this.showType = this.isShow
-    this.examineList()
+    // this.examineList()
   },
   methods: {
     loaddata() {
@@ -700,10 +699,11 @@ export default {
 /deep/el-date-editor--date {
   width: 200px;
 }
-.beizhu {
-  position: absolute;
-
+/deep/.beizhu {
   margin: 0 auto;
+  font-size: 14px;
+  color: #afb5cb;
+  margin-left: 20px;
 }
 .unchanged {
   position: absolute;

+ 3 - 2
src/views/taskManagement/component/routers/route.js

@@ -111,7 +111,8 @@ const tranManagementRouter = {
         title: 'inOutWarehouseTaskEdit',
         shortcutEntrance: 'tranManagement',
         module: 'tranManagement.tranManagementDriver.inOutWarehouseTaskEdit',
-      }
+      },
+      hidden: true
     },
     //出入库任务添加
     {
@@ -127,7 +128,7 @@ const tranManagementRouter = {
         keepAlive: true
       },
       hidden: true
-    },  
+    },
 
   ],
 

文件差异内容过多而无法显示
+ 155 - 681
src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue


+ 153 - 76
src/views/tranManagement/tranManagementDriver.vue

@@ -1,7 +1,7 @@
 <!--司机管理-->
 <template>
   <div>
-    <BaseHeaderLayout :leftSpan="20">
+    <BaseHeaderLayout :leftSpan="12">
       <template slot="right">
         <ws-button type="primary" @click="handleAdd()">添加</ws-button>
       </template>
@@ -19,6 +19,10 @@
             :value="item.label"
           />
         </ws-select> -->
+        <span style="display: inline-block; width: 60px; color: #8890b1"
+          >城市</span
+        >
+
         <el-cascader
           :options="options_"
           v-model="searchTypeText"
@@ -36,17 +40,26 @@
           type="input"
           class="findValue"
         ></ws-input>
-        <ws-button
-          type="primary"
-          @click="handleLook()"
-          v-hasPermission="
-            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-          "
-          >查找</ws-button
-        >
+
+        <ws-button type="primary" @click="handleLook()">
+          <img
+            width="14"
+            height="16"
+            style="
+              vertical-align: text-top;
+              position: relative;
+              top: 0px;
+              left: -8px;
+            "
+            src="../../../public/img/sousuo.png"
+            alt=""
+          />
+        </ws-button>
+
+        <ws-button type="primary" @click="handleLook()">查找</ws-button>
       </template>
     </BaseHeaderLayout>
-    <div class="connert">
+    <div>
       <el-table
         class="wenzi"
         :data="driverList.records"
@@ -63,45 +76,63 @@
               <div v-for="item in props.row.driverPayeeInfoList">
                 <ws-info-table>
                   <ws-form-item
+                    :class="item.accountTypeFlag == 1 ? 'personage' : 'company'"
                     v-if="item.accountTypeFlag == 1"
                     label="收款人"
                     span="1"
                     prop="payeeName"
-                    class="el-car"
+                    class="el-car name"
                   >
-                    {{ item.payeeName }}
+                    <div style="width: 100%">{{ item.payeeName }}</div>
                   </ws-form-item>
                   <ws-form-item
+                    :class="item.accountTypeFlag == 1 ? 'personage' : 'company'"
                     v-if="item.accountTypeFlag == 2"
                     label="企业名称"
                     span="1"
                     prop="compName"
                     class="el-car"
                   >
-                    {{ item.compName }}
+                    <div style="width: 100%">{{ item.compName }}</div>
                   </ws-form-item>
                   <ws-form-item
+                    :class="item.accountTypeFlag == 1 ? 'personage' : 'company'"
                     v-if="item.accountTypeFlag == 1"
                     label="身份证"
                     span="1"
                     prop="payeeNumberCard"
-                    class="el-car"
+                    class="el-car card"
                   >
-                    {{ item.payeeNumberCard }}
+                    <div style="width: 100%">
+                      {{ item.payeeNumberCard }}
+                      <img
+                        width="12"
+                        height="13"
+                        src="../../../public/img/fujian-grey.png"
+                        alt=""
+                        @click="fujian1(item)"
+                      />
+                    </div>
                   </ws-form-item>
                   <ws-form-item
+                    :class="item.accountTypeFlag == 1 ? 'personage' : 'company'"
                     label="开户行"
                     span="1"
                     prop="bankDeposit"
                     class="el-car"
                   >
-                    <span style="margin: 10px; display: inline-block">{{
-                      item.bankDeposit
-                    }}</span
+                    <span
+                      style="
+                        margin: 10px;
+                        display: inline-block;
+                        border-right: 1px solid #e9ecf7;
+                        padding-right: 10px;
+                      "
+                      >{{ item.bankDeposit }}</span
                     ><span
                       style="
                         margin: 10px;
-                        padding: 10px;
+                        padding: 0px;
                         display: inline-block;
                         word-wrap: break-word;
                         line-height: 20px;
@@ -111,12 +142,13 @@
                     >
                   </ws-form-item>
                   <ws-form-item
+                    :class="item.accountTypeFlag == 1 ? 'personage' : 'company'"
                     label="账号"
                     span="1"
                     prop="bankCard"
                     class="el-car"
                   >
-                    {{ item.bankCard }}
+                    <div style="width: 100%">{{ item.bankCard }}</div>
                   </ws-form-item>
                 </ws-info-table>
               </div>
@@ -170,16 +202,26 @@
               type="text"
               class="fs-16"
               @click="expandsHandle(scope.row)"
-              >展开</el-button
-            >
+              >展开<img
+                width="9"
+                height="6"
+                style="vertical-align: middle; margin-left: 3px"
+                src="../../../public/img/zhankai.png"
+                alt=""
+            /></el-button>
             <el-button
               v-if="scope.row.expandsStatus"
               size="medium"
               type="text"
               class="fs-16"
               @click="expandsHandle(scope.row)"
-              >收起</el-button
-            >
+              >收起<img
+                width="9"
+                height="6"
+                style="vertical-align: middle; margin-left: 3px"
+                src="../../../public/img/shouqi.png"
+                alt=""
+            /></el-button>
           </template>
         </el-table-column>
         <el-table-column prop="addressUrl" label="附件">
@@ -197,40 +239,23 @@
             }}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="address" label="操作" width="400">
+        <el-table-column prop="address" label="操作" width="500">
           <template slot-scope="scope">
-            <ws-button
-              type="primary"
-              @click="look(scope.row)"
-              v-hasPermission="
-                `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-              "
-              >查看</ws-button
+            <el-button size="medium" type="text" @click="look(scope.row)"
+              >查看</el-button
             >
-            <ws-button
-              type="primary"
-              @click="edit(scope.row)"
-              v-hasPermission="
-                `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-              "
-              >编辑</ws-button
+            <el-button size="medium" type="text" @click="edit(scope.row)"
+              >编辑</el-button
             >
-            <ws-button
-              type="primary"
-              @click="deletes(scope.row)"
-              v-hasPermission="
-                `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-              "
-              >删除</ws-button
+            <el-button size="medium" type="text" @click="deletes(scope.row)"
+              >删除</el-button
             >
-            <ws-button
+            <el-button
               v-if="scope.row.disableStatusFlag != 1"
-              type="primary"
+              size="medium"
+              type="text"
               @click="stop(scope.row)"
-              v-hasPermission="
-                `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-              "
-              >禁用</ws-button
+              >禁用</el-button
             >
             <el-tooltip
               class="item"
@@ -238,14 +263,12 @@
               :content="scope.row.disableReasons"
               placement="right-start"
             >
-              <ws-button
+              <el-button
                 v-if="scope.row.disableStatusFlag == 1"
-                type="primary"
+                size="medium"
+                type="text"
                 @click="relieve(scope.row)"
-                v-hasPermission="
-                  `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-                "
-                >已禁用</ws-button
+                >已禁用</el-button
               >
             </el-tooltip>
           </template>
@@ -307,19 +330,14 @@
       >
         <img width="100" height="100" :src="item" alt="" />
       </div>
-
-      <!-- <ws-upload
-        ref="upload"
-        table-name="maintain_work_order"
-        oss-key="mainPlan"
-        :comp-id="compId"
-        :file-list="fileList"
-        :appendix-ids="appendixIdsAdd"
-        :vesselId="deptBudgetList.addressUrl"
-        :size-limit="size"
-        @uploadSuccess="uploadSuccess"
-        accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
-      /> -->
+    </WinseaContentModal>
+    <WinseaContentModal
+      v-model="accesscard"
+      :title="$t('system.noticeCircular.information')"
+      @on-cancel="handleClose1"
+    >
+      <p>查看附件</p>
+      <img width="100" height="100" :src="accessurl" alt="" />
     </WinseaContentModal>
     <!-- <WinseaContentModal
       v-model="accessoryTFs"
@@ -390,7 +408,7 @@ export default {
       startDate: null,
       endDate: null,
       carNumber: '',
-      searchTypeText: '',
+      searchTypeText: [],
       outerVisible: false,
       //图片
       fileList: [],
@@ -421,6 +439,10 @@ export default {
       },
       appendixIdss: [],
       accessoryTFs: false,
+      accesscard: false,
+      accessurl: '',
+      residentCityProvincial: '',
+      residentCityMunicipal: '',
     }
   },
   activated() {
@@ -536,6 +558,9 @@ export default {
     handleClose() {
       this.accessoryTFs = false
     },
+    handleClose1() {
+      this.accesscard = false
+    },
     handleSizeChange(val) {
       console.log(`每页 ${val} 条`)
       this.pageSize = val
@@ -552,6 +577,8 @@ export default {
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         searchType: this.searchType,
+        residentCityProvincial: this.residentCityProvincial,
+        residentCityMunicipal: this.residentCityMunicipal,
         searchKeyWord: this.searchKeyWord,
       })
         .toPromise()
@@ -577,7 +604,6 @@ export default {
           this.deptCircularPage.pageSize = response.size
           this.deptBudgetTotal = response.total
           this.driverList = response
-          console.log(this.fileList, 1212121212121212)
         })
     },
     editClick(row) {
@@ -612,9 +638,8 @@ export default {
         })
     },
     selecttaskType(e) {
-      this.currentPage = 1
-      this.getList()
-
+      this.residentCityProvincial = CodeToText[e[0]]
+      this.residentCityMunicipal = CodeToText[e[1]]
       // this.selectedOptions = e
     },
     fujian(row) {
@@ -628,6 +653,17 @@ export default {
       }
       this.appendixIdss = row.addressUrlArray
     },
+    fujian1(item) {
+      if (item.cardAddressUrl === null || item.cardAddressUrl === '') {
+        EventBus.$emit(
+          'warning',
+          this.$t('system.noticeCircular.NoInformation')
+        )
+      } else {
+        this.accesscard = true
+      }
+      this.accessurl = item.cardAddressUrl
+    },
     handleExamine(row) {
       this.$router.push({
         name: 'salesContractExamine',
@@ -670,4 +706,45 @@ export default {
 /deep/.el-icon-arrow-right {
   display: none;
 }
+
+/deep/.el-pagination{
+  text-align: center;
+}
+.ws-info-table {
+  border-left: 1px solid #e9ecf7;
+  border-top: 1px solid #e9ecf7;
+}
+/deep/.ws-info-table .el-form-item {
+  border-right: 1px solid #e9ecf7;
+  border-bottom: 1px solid #e9ecf7;
+}
+/deep/.ws-info-table .el-form-item .el-form-item__label {
+  text-align: center;
+  background: #f6f7fc;
+}
+
+/deep/.ws-info-table .el-form-item.company,
+/deep/.ws-info-table .el-form-item.personage {
+  width: 33.333%;
+}
+/deep/.ws-info-table .el-form-item.name {
+  width: 15.665%;
+}
+/deep/.ws-info-table .el-form-item.card {
+  width: 17.665%;
+}
+/deep/.ws-info-table .el-form-item .el-form-item__content {
+  text-align: center;
+  border-left: 1px solid #e9ecf7;
+}
+/deep/.el-table .el-table__header .cell,
+/deep/.el-table .el-table__body .cell {
+  text-align: center;
+}
+.el-button--text {
+  color: #5878e8;
+}
+.el-button--primary {
+  background: #5878e8;
+}
 </style>

+ 178 - 64
src/views/tranManagement/tranManagementDriverAdd.vue

@@ -27,8 +27,8 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
-      <div class="flex">
-        <div class="driver">司机信息</div>
+      <div class="drivermessage">
+        <div class="small-title">司机信息</div>
         <ws-info-table>
           <!--司机姓名-->
           <ws-form-item
@@ -89,7 +89,8 @@
             />
           </ws-form-item>
         </ws-info-table>
-        <span v-if="age">{{ age }}岁</span>
+        <span v-if="age && age < 60" class="small">{{ age }}岁</span>
+        <span v-if="age && age > 60" class="big">{{ age }}岁</span>
       </div>
     </ws-form>
 
@@ -98,12 +99,13 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
+      <div class="small-title">货车信息</div>
       <div
         style="width: 100%"
         class="flex position"
         v-for="(item, index) in freightspace"
       >
-        <div class="flex">
+        <div class="trucks">
           <div class="driver">货车信息-{{ index + 1 }}</div>
           <ws-info-table class="el-table">
             <!--车牌号-->
@@ -210,12 +212,13 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
+      <div class="small-title">收款人账户信息</div>
       <div
         style="width: 100%"
         class="flex position"
         v-for="(item, index) in freightspace1"
       >
-        <div class="flex">
+        <div class="gathering">
           <div class="driver">收款人账户信息-{{ index + 1 }}</div>
           <ws-info-table class="el-table">
             <!--账户类型-->
@@ -347,7 +350,12 @@
                 />
               </el-upload>
             </ws-form-item>
-            <ws-form-item label="开户支行" span="1" prop="bankDepositBranch">
+            <ws-form-item
+              class="el-car"
+              label="开户支行"
+              span="1"
+              prop="bankDepositBranch"
+            >
               <ws-select
                 v-model="item.bankDepositBranch"
                 placeholder=""
@@ -399,7 +407,7 @@
             :on-success="uploadSuccessHandletravel"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button" size="small" type="primary"
               >行驶证</el-button
             >
           </el-upload>
@@ -418,7 +426,7 @@
             :on-success="uploadSuccessHandledrive"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button" size="small" type="primary"
               >驾驶证</el-button
             >
           </el-upload>
@@ -437,7 +445,7 @@
             :on-success="uploadSuccessHandleway"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-green" size="small" type="primary"
               >道路运营证</el-button
             >
           </el-upload>
@@ -456,7 +464,7 @@
             :on-success="uploadSuccessHandlequalification"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-green" size="small" type="primary"
               >从业资格证</el-button
             >
           </el-upload>
@@ -475,7 +483,7 @@
             :on-success="uploadSuccessHandleidentityjust"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-yellow" size="small" type="primary"
               >身份证正面</el-button
             >
           </el-upload>
@@ -494,7 +502,7 @@
             :on-success="uploadSuccessHandleidentityagainst"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-yellow" size="small" type="primary"
               >身份证反面</el-button
             >
           </el-upload>
@@ -886,9 +894,32 @@ export default {
           return
         }
       }
+      if (!this.addressUrls.travel) {
+        EventBus.$emit('error', '行驶证不能为空')
+        return
+      }
+      if (!this.addressUrls.drive) {
+        EventBus.$emit('error', '驾驶证不能为空')
+        return
+      }
+      if (!this.addressUrls.way) {
+        EventBus.$emit('error', '道路运营证不能为空')
+        return
+      }
+      if (!this.addressUrls.qualification) {
+        EventBus.$emit('error', '从业资格证不能为空')
+        return
+      }
+      if (!this.addressUrls.identityjust) {
+        EventBus.$emit('error', '身份证正面不能为空')
+        return
+      }
+      if (!this.addressUrls.identityagainst) {
+        EventBus.$emit('error', '身份证反面不能为空')
+        return
+      }
       var arr = []
       for (let key in this.addressUrls) {
-        console.log(this.addressUrls[key])
         arr.push(this.addressUrls[key])
       }
 
@@ -990,17 +1021,6 @@ export default {
 .el-col {
   background: #f6f7fc;
 }
-/deep/.ws-info-table .el-form-item .el-form-item__content {
-  padding: 0 25px;
-  border-left: 1px solid #cdd2dc;
-  background: #fafbfc;
-}
-/deep/.ws-info-table .el-form-item .el-form-item__label {
-  width: 140px;
-  text-align: center;
-  background: #f0f2f6;
-  // border: 1px solid #cdd2dc;
-}
 .button-container {
   display: flex;
   flex-wrap: nowrap;
@@ -1058,46 +1078,9 @@ export default {
   width: 100%;
   z-index: 1;
 }
-.bg-left {
-  padding-left: 30px;
-}
-.bg-right {
-  padding-right: 10px;
-  text-align: right;
-}
-.bg-bottom {
-  margin: 15px 0px;
-}
-.wenzi {
-  width: 900px;
-  margin: 0 auto;
-}
-.wenzi h3 {
-  display: inline-block;
-  left: 10px;
-}
-.wenzi p {
-  display: inline-block;
-}
-.center {
-  width: 900px;
-  margin: 0 auto;
-}
 .el-form-item__label {
   text-align: center;
 }
-.el-table {
-  width: 1240px;
-}
-.ce {
-  width: 900px;
-  margin: 0 auto;
-}
-.driver {
-  width: 120px;
-  margin-top: 10px;
-  font-weight: bold;
-}
 
 // 控制select为只读的时候显示样式
 /deep/.ws-class-table-col {
@@ -1120,9 +1103,6 @@ export default {
 /deep/.ws-info-table .el-form-item {
   width: 25%;
 }
-.el-textarea__inner {
-  display: none;
-}
 .el-form {
   margin-top: 50px;
 }
@@ -1147,4 +1127,138 @@ export default {
 .el-form-item.el-car.el-form-item--small {
   width: 33.3%;
 }
+.trucks {
+  color: #69708c;
+  border: 1px solid #d8dce6;
+  width: 90%;
+  padding: 12px;
+  border-radius: 3px;
+  margin: 10px 0;
+}
+/deep/.trucks .ws-info-table,
+/deep/.trucks .ws-info-table .el-form-item,
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__content {
+  border: none;
+}
+/deep/.trucks .el-table__expanded-cell,
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__label,
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__content {
+  background: transparent;
+}
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__label {
+  color: #8890b1;
+}
+/deep/.trucks .el-table:before {
+  height: 0;
+}
+.gathering {
+  background: #f5f7fa;
+  border: 1px solid #d8dce6;
+  border-radius: 3px;
+  width: 90%;
+}
+/deep/.gathering .ws-info-table {
+  border-left: none;
+  border-top: 1px solid #d8dce6;
+}
+/deep/.gathering .driver {
+  padding: 10px;
+}
+/deep/.gathering .el-form-item .el-form-item__label {
+  background: #f5f7fa;
+  text-align: center;
+}
+/deep/.gathering .ws-info-table .el-form-item .el-form-item__content {
+  border-left: 1px solid #d8dce6;
+}
+/deep/.gathering .ws-info-table .el-form-item.compname,
+/deep/.gathering .ws-info-table .el-form-item.bankDeposit,
+/deep/.gathering .ws-info-table .el-form-item.bankDeposit1 {
+  border-right: 1px solid transparent;
+}
+/deep/.gathering .ws-info-table .el-form-item.compname {
+  width: 100%;
+}
+.button.el-button--primary,
+.button-green.el-button--primary,
+.button-yellow.el-button--primary {
+  height: 28px;
+  background: #edf1ff;
+  border-radius: 4px;
+  color: #5473e8;
+  font-size: 12px;
+  text-align: center;
+  line-height: 28px;
+  margin: 0 10px;
+  padding: 0 10px;
+  border: 1px solid transparent;
+}
+.button-green.el-button--primary {
+  background: #ecf8f9;
+  color: #50cad4;
+}
+.button-yellow.el-button--primary {
+  background: #fff6eb;
+  color: #ff9f24;
+}
+.el-button--primary {
+  background: #5878e8;
+  border-color: #5878e8;
+}
+.drivermessage {
+  position: relative;
+}
+.drivermessage .ws-info-table {
+  border: none;
+}
+/deep/.drivermessage .ws-info-table .el-form-item__label {
+  background: #fff;
+  width: 80px;
+}
+/deep/.drivermessage .ws-info-table .el-form-item__content,
+/deep/.drivermessage .ws-info-table .el-form-item {
+  border: none;
+}
+//蓝标
+.small-title {
+  position: relative;
+  padding: 10px;
+  font-weight: 600;
+}
+.bg-left {
+  padding-left: 30px;
+}
+.bg-right {
+  padding-right: 10px;
+  text-align: right;
+}
+.bg-bottom {
+  margin: 15px 0px;
+}
+.small-title::before {
+  position: absolute;
+  content: '';
+  display: block;
+  background: #5473e8;
+  width: 4px;
+  height: 14px;
+  left: 0px;
+  top: 13px;
+  padding: 4px 2px;
+}
+.small,
+.big {
+  color: #ccc;
+  line-height: 16px;
+  position: absolute;
+  right: -50px;
+  top: 44px;
+  border: 1px solid #ccc;
+  padding: 5px 10px;
+  border-radius: 20px;
+}
+.big {
+  color: #f46060;
+  background: #ffeeee;
+}
 </style>

+ 147 - 44
src/views/tranManagement/tranManagementDriverEdit.vue

@@ -27,8 +27,8 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
-      <div class="flex">
-        <div class="driver">司机信息</div>
+      <div class="small-title">司机信息</div>
+      <div class="drivermessage">
         <ws-info-table>
           <!--司机姓名-->
           <ws-form-item
@@ -88,7 +88,8 @@
             />
           </ws-form-item>
         </ws-info-table>
-        {{ age }}
+        <span v-if="age && age < 60" class="small">{{ age }}岁</span>
+        <span v-if="age && age > 60" class="big">{{ age }}岁</span>
       </div>
     </ws-form>
 
@@ -97,12 +98,13 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
+      <div class="small-title">货车信息</div>
       <div
         style="width: 100%"
         class="flex position"
         v-for="(item, index) in deptBudgetList.driverCarInfoList"
       >
-        <div class="flex">
+        <div class="trucks">
           <div class="driver">货车信息-{{ index + 1 }}</div>
           <ws-info-table class="el-table">
             <!--车牌号-->
@@ -214,12 +216,13 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
+      <div class="small-title">收款人账户信息</div>
       <div
         style="width: 100%"
         class="flex position"
         v-for="(item, index) in deptBudgetList.driverPayeeInfoList"
       >
-        <div class="flex">
+        <div class="gathering">
           <div class="driver">收款人账户信息-{{ index + 1 }}</div>
           <ws-info-table class="el-table">
             <!--账户类型-->
@@ -351,7 +354,12 @@
                 />
               </el-upload>
             </ws-form-item>
-            <ws-form-item label="开户支行" span="1" prop="bankDepositBranch">
+            <ws-form-item
+              label="开户支行"
+              span="1"
+              prop="bankDepositBranch"
+              class="el-car"
+            >
               <ws-select
                 v-model="item.bankDepositBranch"
                 placeholder=""
@@ -403,7 +411,7 @@
             :on-success="uploadSuccessHandletravel"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button" size="small" type="primary"
               >行驶证</el-button
             >
           </el-upload>
@@ -422,7 +430,7 @@
             :on-success="uploadSuccessHandledrive"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button" size="small" type="primary"
               >驾驶证</el-button
             >
           </el-upload>
@@ -441,7 +449,7 @@
             :on-success="uploadSuccessHandleway"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-green" size="small" type="primary"
               >道路运营证</el-button
             >
           </el-upload>
@@ -460,7 +468,7 @@
             :on-success="uploadSuccessHandlequalification"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-green" size="small" type="primary"
               >从业资格证</el-button
             >
           </el-upload>
@@ -479,7 +487,7 @@
             :on-success="uploadSuccessHandleidentityjust"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-yellow" size="small" type="primary"
               >身份证正面</el-button
             >
           </el-upload>
@@ -498,7 +506,7 @@
             :on-success="uploadSuccessHandleidentityagainst"
             class="avatar-uploader"
             accept=".jpg, .jpeg, .png, .gif"
-            ><el-button class="upload" size="small" type="primary"
+            ><el-button class="upload button-yellow" size="small" type="primary"
               >身份证反面</el-button
             >
           </el-upload>
@@ -593,7 +601,6 @@ export default {
           yearManufacture: '',
         },
       ],
-      addressUrls:{},
       freightspace1: [
         {
           accountTypeFlag: '1',
@@ -608,6 +615,7 @@ export default {
       ],
       name: '',
       age: '',
+      addressUrls: {},
     }
   },
   activated() {
@@ -647,7 +655,8 @@ export default {
               response.driverPayeeInfoList[i].cardAddressUrlArray = []
             }
           }
-
+          this.IdCard(response.numberCard)
+          console.log(this.age)
           this.deptBudgetList = Object.assign({}, response)
           var tmp = []
           tmp[0] = TextToCode[this.deptBudgetList.residentCityProvincial].code
@@ -806,7 +815,6 @@ export default {
     // 上传附件
     uploadSuccess(data, files, url) {
       console.log(data, files, url)
-
       // this.deptBudgetList.
       // this.formData.append('files', files)
       // this.feedbackObj.uploadNameAttachment = data.appendixName
@@ -882,10 +890,6 @@ export default {
 .del {
   right: -70px;
 }
-.amap-page-container {
-  width: 300px;
-  height: 300px;
-}
 .el-form {
   padding: 0 10%;
 }
@@ -899,9 +903,6 @@ export default {
 .title {
   position: relative;
 }
-.el-car {
-  width: 413px;
-}
 .title::before {
   content: '';
   display: inline-block;
@@ -911,6 +912,23 @@ export default {
   position: absolute;
   left: 0;
 }
+//蓝标
+.small-title {
+  position: relative;
+  padding: 10px;
+  font-weight: 600;
+}
+.small-title::before {
+  position: absolute;
+  content: '';
+  display: block;
+  background: #5473e8;
+  width: 4px;
+  height: 14px;
+  left: 0px;
+  top: 13px;
+  padding: 4px 2px;
+}
 .el-col {
   background: #f6f7fc;
 }
@@ -989,21 +1007,6 @@ export default {
 .bg-bottom {
   margin: 15px 0px;
 }
-.wenzi {
-  width: 900px;
-  margin: 0 auto;
-}
-.wenzi h3 {
-  display: inline-block;
-  left: 10px;
-}
-.wenzi p {
-  display: inline-block;
-}
-.center {
-  width: 900px;
-  margin: 0 auto;
-}
 .el-form-item__label {
   text-align: center;
 }
@@ -1015,7 +1018,6 @@ export default {
   margin: 0 auto;
 }
 .driver {
-  width: 120px;
   margin-top: 10px;
   font-weight: bold;
 }
@@ -1047,9 +1049,6 @@ export default {
 .el-form {
   margin-top: 50px;
 }
-.readonly {
-  width: 16%;
-}
 .el-cascader {
   width: 145px;
 }
@@ -1062,10 +1061,114 @@ export default {
 .el-form-item.forlist.el-form-item--small {
   width: 20%;
 }
-.el-form-item.readonly.is-success.el-form-item--small.showLableToopTip {
-  width: 20%;
-}
 .el-form-item.el-car.el-form-item--small {
   width: 33.3%;
 }
+.trucks {
+  color: #69708c;
+  border: 1px solid #d8dce6;
+  width: 90%;
+  padding: 12px;
+  border-radius: 3px;
+  margin: 10px 0;
+}
+/deep/.trucks .ws-info-table,
+/deep/.trucks .ws-info-table .el-form-item,
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__content {
+  border: none;
+}
+/deep/.trucks .el-table__expanded-cell,
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__label,
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__content {
+  background: transparent;
+}
+/deep/.trucks .ws-info-table .el-form-item .el-form-item__label {
+  color: #8890b1;
+}
+/deep/.trucks .el-table:before {
+  height: 0;
+}
+.gathering {
+  background: #f5f7fa;
+  border: 1px solid #d8dce6;
+  border-radius: 3px;
+  width: 90%;
+}
+/deep/.gathering .ws-info-table {
+  border-left: none;
+  border-top: 1px solid #d8dce6;
+}
+/deep/.gathering .driver {
+  padding: 10px;
+}
+/deep/.gathering .el-form-item .el-form-item__label {
+  background: #f5f7fa;
+  text-align: center;
+}
+/deep/.gathering .ws-info-table .el-form-item .el-form-item__content {
+  border-left: 1px solid #d8dce6;
+}
+/deep/.gathering .ws-info-table .el-form-item.compname,
+/deep/.gathering .ws-info-table .el-form-item.bankDeposit,
+/deep/.gathering .ws-info-table .el-form-item.bankDeposit1 {
+  border-right: 1px solid transparent;
+}
+/deep/.gathering .ws-info-table .el-form-item.compname {
+  width: 100%;
+}
+.button.el-button--primary,
+.button-green.el-button--primary,
+.button-yellow.el-button--primary {
+  height: 28px;
+  background: #edf1ff;
+  border-radius: 4px;
+  color: #5473e8;
+  font-size: 12px;
+  text-align: center;
+  line-height: 28px;
+  margin: 0 10px;
+  padding: 0 10px;
+  border: 1px solid transparent;
+}
+.button-green.el-button--primary {
+  background: #ecf8f9;
+  color: #50cad4;
+}
+.button-yellow.el-button--primary {
+  background: #fff6eb;
+  color: #ff9f24;
+}
+.el-button--primary {
+  background: #5878e8;
+  border-color: #5878e8;
+}
+.drivermessage {
+  position: relative;
+}
+.drivermessage .ws-info-table {
+  border: none;
+}
+/deep/.drivermessage .ws-info-table .el-form-item__label {
+  background: #fff;
+  width: 80px;
+}
+/deep/.drivermessage .ws-info-table .el-form-item__content,
+/deep/.drivermessage .ws-info-table .el-form-item {
+  border: none;
+}
+.small,
+.big {
+  color: #ccc;
+  line-height: 16px;
+  position: absolute;
+  right: -50px;
+  top: 44px;
+  border: 1px solid #ccc;
+  padding: 5px 10px;
+  border-radius: 20px;
+}
+.big {
+  color: #f46060;
+  background: #ffeeee;
+}
 </style>

+ 166 - 379
src/views/tranManagement/tranManagementDriverLook.vue

@@ -22,13 +22,9 @@
       </el-col>
     </el-row>
 
-    <ws-form
-      ref="deptBudgetList"
-      :rules="mainReportAdd"
-      :model="deptBudgetList"
-    >
-      <div class="flex">
-        <div class="driver">司机信息</div>
+    <ws-form ref="deptBudgetList" :rules="mainReportAdd" :model="deptBudgetList"
+      ><div class="small-title">司机信息</div>
+      <div class="flex drivermessage">
         <ws-info-table>
           <!--司机姓名-->
           <ws-form-item
@@ -38,6 +34,7 @@
             class="readonly bg-right"
           >
             <ws-input
+              disabled
               v-model="deptBudgetList.driverName"
               placeholder="请输入司机姓名"
               maxlength="20"
@@ -52,6 +49,7 @@
             class="readonly"
           >
             <ws-input
+              disabled
               v-model="deptBudgetList.driverPhone"
               placeholder="请输入手机号"
               maxlength="100"
@@ -61,16 +59,8 @@
 
           <!--常驻城市-->
           <ws-form-item label="常驻城市" span="1" prop="acceptanceMethod">
-            <el-cascader
-              :options="options_"
-              v-model="selectedOptions"
-              clearable
-              size="large"
-              placeholder="请选择常驻城市"
-              style="width: 200%"
-              class="el-cascader"
-              @change="handleChange"
-            />
+            {{ deptBudgetList.residentCityProvincial
+            }}{{ deptBudgetList.residentCityMunicipal }}
           </ws-form-item>
 
           <!--身份证号-->
@@ -81,6 +71,7 @@
             class="readonly"
           >
             <ws-input
+              disabled
               v-model="deptBudgetList.numberCard"
               placeholder="请输入身份证号"
               maxlength="100"
@@ -88,7 +79,8 @@
             />
           </ws-form-item>
         </ws-info-table>
-        {{ age }}
+        <span v-if="age && age < 60" class="small">{{ age }}岁</span>
+        <span v-if="age && age > 60" class="big">{{ age }}岁</span>
       </div>
     </ws-form>
 
@@ -97,107 +89,19 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
+      <div class="small-title">货车信息</div>
       <div
         style="width: 100%"
         class="flex position"
-        v-for="(item, index) in freightspace"
+        v-for="(item, index) in deptBudgetList.driverCarInfoList"
       >
-        <div class="flex">
+        <div class="trucks">
           <div class="driver">货车信息-{{ index + 1 }}</div>
-          <ws-info-table class="el-table">
-            <!--车牌号-->
-            <ws-form-item
-              label="车牌号"
-              span="1"
-              prop="carNumber"
-              class="forlist"
-              width="400px"
-            >
-              <ws-input
-                v-model="item.carNumber"
-                placeholder="请输入车牌号"
-                maxlength="20"
-                size="small"
-              />
-            </ws-form-item>
-            <!--车型-->
-            <ws-form-item label="车型" span="1" prop="carModel" class="forlist">
-              <ws-select
-                v-model="item.carModel"
-                placeholder=""
-                class="typeselect"
-                @change="selectcarModel"
-              >
-                <ws-option
-                  v-for="item in carModelList"
-                  :key="item.constKey"
-                  :label="item.constValue"
-                  :value="item.constValue"
-                />
-              </ws-select>
-            </ws-form-item>
-            <!--车长-->
-            <ws-form-item
-              label="不含车头车长(米)"
-              span="1"
-              prop="carLength"
-              class="forlist"
-            >
-              <ws-select
-                v-model="item.carLength"
-                placeholder=""
-                class="typeselect"
-                @change="selectcarLength"
-              >
-                <ws-option
-                  v-for="item in carLengthList"
-                  :key="item.constKey"
-                  :label="item.constValue"
-                  :value="item.constValue"
-                />
-              </ws-select>
-            </ws-form-item>
-            <!--载重-->
-            <ws-form-item label="载重" span="1" prop="carLoad" class="forlist">
-              <ws-input
-                v-model="item.carLoad"
-                placeholder="请输入载重"
-                maxlength="100"
-                size="small"
-              />
-            </ws-form-item>
-
-            <!--出厂年份-->
-            <ws-form-item
-              label="出厂年份"
-              span="1"
-              prop="yearManufacture"
-              class="forlist"
-            >
-              <ws-input
-                v-model="item.yearManufacture"
-                placeholder="请输入年份"
-                maxlength="100"
-                size="small"
-              />
-            </ws-form-item>
-          </ws-info-table>
-          <img
-            width="22"
-            height="22"
-            class="add"
-            @click="add"
-            src="../../../public/img/add.png"
-            alt=""
-          />
-          <img
-            width="22"
-            height="22"
-            class="del"
-            @click="del(index)"
-            src="../../../public/img/del.png"
-            alt=""
-          />
+          <div class="truckswrap">车牌号: {{ item.carNumber }}</div>
+          <div class="truckswrap">车型: {{ item.carModel }}</div>
+          <div class="truckswrap">不含车头车长(米): {{ item.carLength }}</div>
+          <div class="truckswrap">载重: {{ item.carLoad }}</div>
+          <div class="truckswrap">出厂年份: {{ item.yearManufacture }}</div>
         </div>
       </div>
     </ws-form>
@@ -206,12 +110,12 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
+      <div class="small-title">收款人账户信息</div>
       <div
-        style="width: 100%"
-        class="flex position"
-        v-for="(item, index) in freightspace1"
+        class="gathering"
+        v-for="(item, index) in deptBudgetList.driverPayeeInfoList"
       >
-        <div class="flex">
+        <div>
           <div class="driver">收款人账户信息-{{ index + 1 }}</div>
           <ws-info-table class="el-table">
             <!--账户类型-->
@@ -221,66 +125,32 @@
               prop="contractNo"
               class="el-car bg-right"
             >
-              <el-radio v-model="item.radio" label="1">私人账号</el-radio>
-              <el-radio v-model="item.radio" label="2">企业账户</el-radio>
+              <span v-if="item.accountTypeFlag == 1">私人账号</span>
+              <span v-if="item.accountTypeFlag == 2">企业账户</span>
             </ws-form-item>
             <!--账号-->
             <ws-form-item label="账号" span="1" prop="bankCard" class="el-car">
-              <ws-input
-                v-model="item.bankCard"
-                placeholder="请输入账号"
-                maxlength="100"
-                size="small"
-              />
-              <el-upload
-                :headers="headers"
-                :action="uploadPath"
-                :show-file-list="false"
-                :on-success="uploadSuccessHandle"
-                class="avatar-uploader"
-                accept=".jpg, .jpeg, .png, .gif"
-                ><img
-                  width="18"
-                  height="20"
-                  style="
-                    vertical-align: text-top;
-                    position: relative;
-                    top: -1px;
-                  "
-                  src="../../../public/img/fujian.png"
-                  alt=""
-                />
-              </el-upload>
+              {{ item.bankCard }}
             </ws-form-item>
             <!--开户行-->
             <ws-form-item
               label="开户行"
               span="1"
               prop="bankDeposit"
-              class="el-car"
+              class="el-car bankDeposit"
             >
-              <ws-input
-                v-model="item.bankDeposit"
-                placeholder="请输入开户行"
-                maxlength="100"
-                size="small"
-              />
+              {{ item.bankDeposit }}
             </ws-form-item>
             <!--姓名-->
             <ws-form-item
               label="姓名"
-              v-if="item.radio == 1"
+              v-if="item.accountTypeFlag == 1"
               span="1"
               prop="payeeName"
               class="el-car"
               width="150px"
             >
-              <ws-input
-                v-model="item.payeeName"
-                placeholder="请输入姓名"
-                maxlength="100"
-                size="small"
-              />
+              {{ item.payeeName }}
             </ws-form-item>
             <!--企业名称-->
             <ws-form-item
@@ -288,88 +158,31 @@
               v-else
               span="1"
               prop="compName"
-              class="el-car"
+              class="el-car compname"
               width="150px"
             >
-              <ws-input
-                v-model="item.compName"
-                placeholder="请输入企业名称"
-                maxlength="100"
-                size="small"
-              />
+              {{ item.compName }}
             </ws-form-item>
 
             <!--身份证号-->
             <ws-form-item
               label="身份证号"
-              v-if="item.radio == 1"
+              v-if="item.accountTypeFlag == 1"
               span="1"
               prop="payeeNumberCard"
               class="el-car"
             >
-              <ws-input
-                v-model="item.payeeNumberCard"
-                placeholder="请输入身份证号"
-                maxlength="100"
-                size="small"
-              />
+              {{ item.payeeNumberCard }}
             </ws-form-item>
-            <!--身份证附件-->
             <ws-form-item
-              label="身份证附件"
-              v-if="item.radio == 1"
+              label="开户支行"
               span="1"
-              prop="cardAddressUrl"
-              class="el-car"
+              prop="bankDepositBranch"
+              class="el-car bankDeposit1"
             >
-              <el-upload
-                :headers="headers"
-                action="https://www.zthymaoyi.com/upload/admin"
-                :show-file-list="false"
-                :on-success="uploadSuccessHandle"
-                class="avatar-uploader"
-                accept=".jpg, .jpeg, .png, .gif"
-                ><img
-                  width="18"
-                  height="20"
-                  style="
-                    vertical-align: text-top;
-                    position: relative;
-                    top: -1px;
-                  "
-                  src="../../../public/img/fujian.png"
-                  alt=""
-                />
-              </el-upload>
-              <span v-if="item.addressUrlArray.length > 0">{{
-                item.addressUrlArray.length
-              }}</span>
-              <span v-if="item.addressUrlArray.length == 0">未上传</span>
-              <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
-              <!-- <ws-input
-            v-model="deptBudgetList.driverPayeeInfo.personNo"
-            placeholder="请输入身份证附件"
-            maxlength="100"
-            size="small"
-          /> -->
+              {{ item.bankDepositBranch }}
             </ws-form-item>
           </ws-info-table>
-          <img
-            width="22"
-            height="22"
-            class="add"
-            @click="add1"
-            src="../../../public/img/add.png"
-            alt=""
-          />
-          <img
-            width="22"
-            height="22"
-            class="del"
-            @click="del1(index)"
-            src="../../../public/img/del.png"
-            alt=""
-          />
         </div>
       </div>
     </ws-form>
@@ -378,20 +191,20 @@
       :rules="mainReportAdd"
       :model="deptBudgetList"
     >
+      <div class="small-title">相关附件</div>
       <div class="flex">
-        <div class="driver">相关附件</div>
-        <ws-upload
-          ref="upload"
-          table-name="maintain_work_order"
-          oss-key="mainPlan"
-          :comp-id="compId"
-          :appendix-ids="appendixIdsAdd"
-          :vesselId="deptBudgetList.addressUrl"
-          :size-limit="size"
-          @uploadSuccess="uploadSuccess"
-          @onChange="onChange"
-          accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
-        />
+        <div
+          style="margin: 10px"
+          v-for="(item, index) in deptBudgetList.addressUrlArray"
+        >
+          <div class="button" v-if="index == 0">行驶证</div>
+          <div class="button" v-if="index == 1">驾驶证</div>
+          <div class="button-green" v-if="index == 2">道路运营证</div>
+          <div class="button-green" v-if="index == 3">从业资格证</div>
+          <div class="button-yellow" v-if="index == 4">身份证正面</div>
+          <div class="button-yellow" v-if="index == 5">身份证反面</div>
+          <img width="100" height="100" :src="item" alt="" />
+        </div>
       </div>
     </ws-form>
     <!-- 提交 -->
@@ -400,8 +213,8 @@
         class="bg-bottom"
         type="primary"
         size="small"
-        @click="submit(deptBudgetList)"
-        >提交</el-button
+        @click="returnsales()"
+        >关闭</el-button
       >
     </div>
   </div>
@@ -509,6 +322,8 @@ export default {
       lookDriver({ id: this.$route.query.id })
         .toPromise()
         .then((response) => {
+          this.IdCard(response.numberCard)
+          response.addressUrlArray = response.addressUrl.split(',')
           this.deptBudgetList = response
         })
       //   // 车型
@@ -546,39 +361,6 @@ export default {
     handleClose() {
       this.dialogViewSpareMoney = false
     },
-    add() {
-      this.freightspace.push({
-        carNumber: '',
-        carModel: '高栏',
-        carModelKey: '1',
-        carLength: '13',
-        carLengthKey: '1',
-        carLoad: '',
-        yearManufacture: '',
-      })
-    },
-    del(index) {
-      if (this.freightspace.length > 1) {
-        this.freightspace.splice(index, 1)
-      }
-    },
-    add1() {
-      this.freightspace1.push({
-        account_type: '',
-        radio: '1',
-        payeeName: '',
-        payeeNumberCard: '',
-        compName: '',
-        bankDeposit: '',
-        bankCard: '',
-        addressUrlArray: [],
-      })
-    },
-    del1(index) {
-      if (this.freightspace1.length > 1) {
-        this.freightspace1.splice(index, 1)
-      }
-    },
     identitycardfujian(item) {},
     handleChange(value) {
       this.selectedOptions = value
@@ -586,65 +368,6 @@ export default {
     returnsales() {
       this.$router.push({ path: 'tranManagementDriver' })
     },
-    // confirmPosition() {
-    //   this.draggable = false
-    // },
-    // 上传附件
-    uploadSuccess(data, files, url) {
-      console.log(data, files, url)
-
-      // this.deptBudgetList.
-      // this.formData.append('files', files)
-      // this.feedbackObj.uploadNameAttachment = data.appendixName
-      // this.feedbackObj.pathUploadAttachment = data.appendixPath
-      // // this.newAppendixs = files
-      // this.onChangeFlag = true
-    },
-    selectcarModel(e) {
-      for (var i = 0; i < this.carModelList.length; i++) {
-        if (this.carModelList[i].constValue == e) {
-          this.deptBudgetList.carModelKey = this.carModelList[i].constKey
-        }
-      }
-    },
-    selectcarLength(e) {
-      for (var i = 0; i < this.carLengthList.length; i++) {
-        if (this.carLengthList[i].constValue == e) {
-          this.deptBudgetList.carLengthKey = this.carLengthList[i].constKey
-        }
-      }
-    },
-    onChange(files) {
-      this.fileNum = files
-      this.$refs.upload.handleSaveBill().then((res) => {
-        console.log(files)
-      })
-    },
-
-    submit() {
-      console.log(this.freightspace)
-
-      this.$refs.deptBudgetList.validate((valid) => {
-        if (valid) {
-          this.deptBudgetList.compId = sessionStorage.getItem('ws-pf_compId')
-          this.deptBudgetList.residentCityProvincial =
-            CodeToText[this.selectedOptions[0]]
-          this.deptBudgetList.residentCityMunicipal =
-            CodeToText[this.selectedOptions[1]]
-          this.deptBudgetList.driverCarInfoList = this.freightspace
-          this.deptBudgetList.driverPayeeInfoList = this.freightspace1
-          addDriver(this.deptBudgetList)
-            .toPromise()
-            .then((response) => {
-              this.$message.success('添加成功')
-              this.$router.push({ path: 'tranManagementDriver' })
-            })
-        } else {
-          EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
-          return false
-        }
-      })
-    },
     resetForm(deptBudgetList) {
       this.$refs[deptBudgetList].resetFields()
     },
@@ -677,9 +400,6 @@ export default {
   border-right: 1px solid #cdd2dc;
   border-bottom: 1px solid #cdd2dc;
 }
-.readonly {
-  position: relative;
-}
 .title {
   position: relative;
 }
@@ -698,16 +418,8 @@ export default {
 .el-col {
   background: #f6f7fc;
 }
-/deep/.ws-info-table .el-form-item .el-form-item__content {
-  padding: 0 25px;
-  border-left: 1px solid #cdd2dc;
-  background: #fafbfc;
-}
-/deep/.ws-info-table .el-form-item .el-form-item__label {
-  width: 140px;
-  text-align: center;
-  background: #f0f2f6;
-  // border: 1px solid #cdd2dc;
+.drivermessage {
+  position: relative;
 }
 .button-container {
   display: flex;
@@ -773,37 +485,27 @@ export default {
 .bg-bottom {
   margin: 15px 0px;
 }
-.wenzi {
-  width: 900px;
-  margin: 0 auto;
-}
-.wenzi h3 {
-  display: inline-block;
-  left: 10px;
-}
-.wenzi p {
-  display: inline-block;
-}
-.center {
-  width: 900px;
-  margin: 0 auto;
-}
+
 .el-form-item__label {
   text-align: center;
 }
-.el-table {
-  width: 1240px;
-}
-.ce {
-  width: 900px;
-  margin: 0 auto;
+//蓝标
+.small-title {
+  position: relative;
+  padding: 10px;
+  font-weight: 600;
 }
-.driver {
-  width: 120px;
-  margin-top: 10px;
-  font-weight: bold;
+.small-title::before {
+  position: absolute;
+  content: '';
+  display: block;
+  background: #5473e8;
+  width: 4px;
+  height: 14px;
+  left: 0px;
+  top: 13px;
+  padding: 4px 2px;
 }
-
 // 控制select为只读的时候显示样式
 /deep/.ws-class-table-col {
   height: auto;
@@ -812,16 +514,11 @@ export default {
     padding: 0px 2px;
   }
 }
-.winseaview-view {
-  padding: 0 0 20px;
-}
+
 .container {
   overflow: scroll;
   height: 93vh;
 }
-/deep/.ws-info-table .el-form-item .el-form-item__label {
-  width: 80px;
-}
 /deep/.ws-info-table .el-form-item {
   width: 25%;
 }
@@ -831,9 +528,6 @@ export default {
 .el-form {
   margin-top: 50px;
 }
-.readonly {
-  width: 16%;
-}
 .el-cascader {
   width: 145px;
 }
@@ -852,4 +546,97 @@ export default {
 .el-form-item.el-car.el-form-item--small {
   width: 33.3%;
 }
+.trucks {
+  background: #f5f7fa;
+  color: #69708c;
+  border: 1px solid #d8dce6;
+  width: 90%;
+  padding: 12px;
+  border-radius: 3px;
+}
+.truckswrap {
+  width: 19.7%;
+  display: inline-block;
+  margin: 0;
+  padding: 9px 0;
+}
+.gathering {
+  background: #f5f7fa;
+  border: 1px solid #d8dce6;
+  border-radius: 3px;
+  width: 90%;
+  border-bottom: 1px solid transparent;
+}
+/deep/.gathering .ws-info-table {
+  border-left: none;
+  border-top: 1px solid #d8dce6;
+}
+/deep/.gathering .driver {
+  padding: 10px;
+}
+/deep/.gathering .el-form-item .el-form-item__label {
+  background: #f5f7fa;
+  text-align: center;
+}
+/deep/.gathering .ws-info-table .el-form-item .el-form-item__content {
+  border-left: 1px solid #d8dce6;
+}
+/deep/.gathering .ws-info-table .el-form-item.compname,
+/deep/.gathering .ws-info-table .el-form-item.bankDeposit,
+/deep/.gathering .ws-info-table .el-form-item.bankDeposit1 {
+  border-right: 1px solid transparent;
+}
+/deep/.gathering .ws-info-table .el-form-item.compname {
+  width: 100%;
+}
+.button,
+.button-green,
+.button-yellow {
+  height: 28px;
+  background: #edf1ff;
+  border-radius: 4px;
+  color: #5473e8;
+  font-size: 12px;
+  text-align: center;
+  line-height: 28px;
+  margin: 7px auto;
+  padding: 0 10px;
+}
+.button-green {
+  background: #ecf8f9;
+  color: #50cad4;
+}
+.button-yellow {
+  background: #fff6eb;
+  color: #ff9f24;
+}
+.el-button--primary {
+  background: #5878e8;
+}
+.drivermessage .ws-info-table {
+  border: none;
+}
+/deep/.drivermessage .ws-info-table .el-form-item__label {
+  background: #fff;
+  width: 80px;
+}
+/deep/.drivermessage .ws-info-table .el-form-item__content,
+/deep/.drivermessage .ws-info-table .el-form-item {
+  border: none;
+}
+.small,
+.big {
+  color: #ccc;
+  line-height: 16px;
+  position: absolute;
+  right: -50px;
+  top: 5px;
+  border: 1px solid #ccc;
+  padding: 5px 10px;
+  border-radius: 20px;
+}
+.big {
+  color: #f46060;
+  background: #ffeeee;
+}
 </style>

+ 93 - 36
src/views/tranManagement/tranManagementTransporHairRespond.vue

@@ -3,11 +3,11 @@
   <div>
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
-        <ws-button class="but" type="primary" @click="handleAdd()">
+        <ws-button class="but" type="primary" @click="statusquery(1)">
           执行中</ws-button
         >
-        <ws-button class="but" @click="handleLook()">已完成</ws-button>
-        <ws-button class="but" @click="handleEdit()">全部任务</ws-button>
+        <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but" @click="statusquery()">全部任务</ws-button>
       </template>
       <!-- 接单开始 -->
       <template slot="left">
@@ -140,16 +140,17 @@
         </el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
           <template slot-scope="scope">
-            <ws-button class="completed" @click="trainSee(scope.row)">
-              查看
-            </ws-button>
-            <ws-button
-              class="putstorage"
+            <div class="record" @click="trainSee(scope.row)">查看</div>
+            <div
+              class="adjustment"
               @click="feedback(scope.row)"
-              v-show="scope.row.tranType == '汽运' && scope.row.feedbackStatus != '已完成'"
+              v-show="
+                scope.row.tranType == '汽运' &&
+                scope.row.feedbackStatus != '已完成'
+              "
             >
               反馈
-            </ws-button>
+            </div>
           </template>
         </el-table-column>
       </el-table>
@@ -192,11 +193,11 @@ export default {
       year: '',
       currentPage: 1,
       pageSize: 10,
-      searchType: 1,
       searchTypeText: '未完成',
       searchKeyWord: '',
       contractType: 2,
       tranTypeKey: 2,
+      searchType: 1,
       // 提交类型
       submitType: true,
       size: 10,
@@ -272,13 +273,13 @@ export default {
       //       id: row.id,
       //     },
       //   })
-      // }  
-       this.$router.push({
-          path: 'tranManagementTransporFeedbackLook',
-          query: {
-            id: row.id,
-          },
-        })
+      // }
+      this.$router.push({
+        path: 'tranManagementTransporFeedbackLook',
+        query: {
+          id: row.id,
+        },
+      })
     },
     //反馈
     feedback(row) {
@@ -289,14 +290,10 @@ export default {
         },
       })
     },
-
-    //已完成
-    handleLook() {},
-    //待完成
-    handleAdd() {},
-    //全部任务
-    handleEdit() {},
-
+     statusquery(status){
+      this.searchType = status
+      this.getList()
+    },
     dateFormat(fmt, date) {
       let ret
       const opt = {
@@ -336,6 +333,7 @@ export default {
       automobileList({
         compId: sessionStorage.getItem('ws-pf_compId'),
         contractType: this.contractType,
+          searchType: this.searchType,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
       })
@@ -345,14 +343,14 @@ export default {
         })
     },
     editClick(row) {
-      var status = ''
-      if (row.status == '待执行' || row.status == '已完成') {
-        status = '执行中'
-      } else if (row.status == '执行中') {
-        status = '已完成'
+      var feedbackStatus = ''
+      if (row.feedbackStatus == '待执行' || row.feedbackStatus == '已完成') {
+        feedbackStatus = '执行中'
+      } else if (row.feedbackStatus == '执行中') {
+        feedbackStatus = '已完成'
       }
       //cancelButtonClass: "btn-custom-cancel"
-      this.$confirm(`是否将状态改为${status}`, {
+      this.$confirm(`是否将状态改为${feedbackStatus}`, {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         type: 'warning',
@@ -388,12 +386,35 @@ export default {
       this.currentPage = 1
       this.getList()
     },
+     async exportlist() {
+      const { data } = await export1(
+        {
+          compId: sessionStorage.getItem('ws-pf_compId'),
+          contractType: this.contractType,
+          currentPage: this.currentPage,
+          pageSize: this.pageSize,
+          searchType: this.searchType,
+          searchKeyWord: this.searchKeyWord,
+          startDate: this.startDate,
+          endDate: this.endDate,
+        },
+        {},
+        { responseType: 'blob' }
+      ).toPromise()
+      downloadFile({
+        res: data,
+        fileName: `${
+          this.date.year + (this.date.month ? `-${this.date.month}` : '')
+        }_采购合同`,
+        type: 'xls',
+      })
+    },
   },
 }
 </script>
 <style lang="scss" scoped>
 .container {
-  width: 90%;
+  width: 100%;
   margin: 0 auto;
 }
 .vertical-text-left {
@@ -418,10 +439,46 @@ export default {
   border-top-right-radius: 0px;
   border-bottom-right-radius: 0px;
 }
-.completed.el-button--default {
-  border-color: #5878e8;
-  background-color: #f6f7fc;
+
+//操作按钮
+.record,
+.adjustment {
+  display: inline-block;
   color: #5878e8;
+  padding: 0 4px !important;
+  position: relative;
+  font-size: 14px;
+}
+.record:after {
+  position: absolute;
+  content: '';
+  display: block;
+  top: 5px;
+  right: -2px;
+  width: 1px;
+  height: 12px;
+  background: #e9ecf7;
+}
+//状态样式
+.executory,
+.inExecution,
+.done {
+  width: 6px;
+  height: 6px;
+  display: inline-block;
+  border-radius: 50%;
+  position: relative;
+  top: -1px;
+  font-size: 14px;
+}
+.executory {
+  background: #ff9f24;
+}
+.inExecution {
+  background: #5878e8;
+}
+.done {
+  background: #50cad4;
 }
 .putstorage.el-button--default,
 .deliverystorage.el-button--default {

+ 63 - 22
src/views/tranManagement/tranManagementTransporTationFire.vue

@@ -1,16 +1,17 @@
 //火运调度
 <template>
   <div>
-    <BaseHeaderLayout :leftSpan="12">
+    <BaseHeaderLayout :leftSpan="20">
       <template slot="left">
-        <ws-button class="but" type="primary" @click="handleAdd()">
+        <ws-button class="but" type="primary" @click="statusquery(1)">
           执行中</ws-button
         >
-        <ws-button class="but" @click="handleLook()">已完成</ws-button>
-        <ws-button class="but" @click="handleEdit()">全部任务</ws-button>
+        <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but" @click="statusquery()">全部任务</ws-button>
       </template>
       <!-- 接单开始 -->
       <template slot="left">
+         <span style="display: inline-block; width: 300px;color: #8890B1;">接单日期</span>
         <ws-date-picker
           v-model="deptBudgetList.inOutDate"
           type="date"
@@ -132,12 +133,19 @@
         </el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
           <template slot-scope="scope">
-            <ws-button class="completed" @click="trainSee(scope.row)">
+             <div
+              class="record"
+              @click="trainSee(scope.row)"
+              
+            >
               查看
-            </ws-button>
-            <ws-button class="putstorage" @click="trainNumber(scope.row)">
+            </div>
+             <div
+              class="adjustment"
+              @click="trainNumber(scope.row)"
+            >
               车次
-            </ws-button>
+            </div>
           </template>
         </el-table-column>
       </el-table>
@@ -145,7 +153,7 @@
   </div>
 </template>
 <script>
-import { automobileList } from '@/model/transport/index'
+import { automobileList ,alsostate} from '@/model/transport/index'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import { dayjs, fmoney, EventBus } from 'base-core-lib'
@@ -179,7 +187,6 @@ export default {
       year: '',
       currentPage: 1,
       pageSize: 10,
-      searchType: 1,
       searchTypeText: '未完成',
       searchKeyWord: '',
       contractType: 2,
@@ -189,6 +196,7 @@ export default {
       size: 10,
       spanArr: [],
       warehouseName: '',
+      searchType: 1,
       compId: sessionStorage.getItem('ws-pf_compId'),
       deptCircularPage: {},
       tranManagementList: [],
@@ -254,13 +262,10 @@ export default {
         },
       })
     },
-
-    //待完成
-    handleLook() {},
-    //已完成
-    handleAdd() {},
-    //全部任务
-    handleEdit() {},
+    statusquery(state){
+      this.searchType = state
+      this.getList()
+    },
 
     dateFormat(fmt, date) {
       let ret
@@ -301,6 +306,7 @@ export default {
       automobileList({
         compId: sessionStorage.getItem('ws-pf_compId'),
         contractType: this.contractType,
+        searchType : this.searchType,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         tranTypeKey: this.tranTypeKey,
@@ -324,7 +330,7 @@ export default {
         type: 'warning',
       })
         .then(() => {
-          editstatus({ id: row.id })
+         alsostate({ id: row.id })
             .toPromise()
             .then((response) => {
               this.$notify.success({
@@ -388,7 +394,7 @@ export default {
 </script>
 <style lang="scss" scoped>
 .container {
-  width: 90%;
+  width: 100%;
   margin: 0 auto;
 }
 .vertical-text-left {
@@ -413,10 +419,45 @@ export default {
   border-top-right-radius: 0px;
   border-bottom-right-radius: 0px;
 }
-.completed.el-button--default {
-  border-color: #5878e8;
-  background-color: #f6f7fc;
+//操作按钮
+.record,
+.adjustment {
+  display: inline-block;
   color: #5878e8;
+  padding: 0 4px !important;
+  position: relative;
+  font-size: 14px;
+}
+.record:after {
+  position: absolute;
+  content: '';
+  display: block;
+  top: 5px;
+  right: -2px;
+  width: 1px;
+  height: 12px;
+  background: #e9ecf7;
+}
+//状态样式
+.executory,
+.inExecution,
+.done {
+  width: 6px;
+  height: 6px;
+  display: inline-block;
+  border-radius: 50%;
+  position: relative;
+  top: -1px;
+  font-size: 14px;
+}
+.executory {
+  background: #ff9f24;
+}
+.inExecution {
+  background: #5878e8;
+}
+.done {
+  background: #50cad4;
 }
 .putstorage.el-button--default,
 .deliverystorage.el-button--default {

+ 0 - 1
src/views/tranManagement/tranManagementTransporTrainNo.vue

@@ -240,7 +240,6 @@ export default {
   },
   data() {
     return {
-      staffList: [],
       deptBudgetList: {
         totalStorage: 0,
       },

+ 65 - 21
src/views/tranManagement/tranManagementVehicle.vue

@@ -3,14 +3,15 @@
   <div>
     <BaseHeaderLayout :leftSpan="20">
       <template slot="left">
-        <ws-button class="but" type="primary" @click="handleAdd()">
+        <ws-button class="but" type="primary" @click="statusquery(1)">
           执行中</ws-button
         >
-        <ws-button class="but" @click="handleLook()">已完成</ws-button>
-        <ws-button class="but" @click="handleEdit()">全部任务</ws-button>
+        <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but" @click="statusquery()">全部任务</ws-button>
       </template>
       <!-- 接单开始 -->
       <template slot="left">
+        <span style="display: inline-block; width: 290px;color: #8890B1;">接单日期</span>
         <ws-date-picker
           v-model="deptBudgetList.inOutDate"
           type="date"
@@ -26,7 +27,7 @@
         />
         <ws-input
           v-model="searchKeyWord"
-          placeholder="可按照合同编号、买方名称、卖方名称进行查找"
+          placeholder="可按发货人、收货人、任务编号查找"
           clearable
           maxlength="500"
           type="input"
@@ -125,28 +126,30 @@
             />
           </template>
         </el-table-column>
+        <el-table-column prop="receivingDate" label="接单时间"> </el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
           <template slot-scope="scope">
-            <ws-button class="completed" @click="nocomplete(scope.row)">
+            <div
+              class="record"
+              @click="nocomplete(scope.row)"
+              
+            >
               查看
-            </ws-button>
-            <ws-button class="putstorage" @click="warehousing(scope.row)">
-              派车
-            </ws-button>
+            </div>
+            <div
+              class="adjustment"
+              @click="warehousing(scope.row)"
+            >
+                派车
+            </div>
           </template>
         </el-table-column>
-        <!-- <el-table-column prop="address" label="操作" width="200">
-          <template slot-scope="scope">
-            <div class="record" @click="record(scope.row)">记录</div>
-            <div class="adjustment" @click="loss(scope.row)">盘损</div>
-          </template>
-        </el-table-column> -->
       </el-table>
     </div>
   </div>
 </template>
 <script>
-import { automobileList } from '@/model/transport/index'
+import { automobileList,alsostate } from '@/model/transport/index'
 import { downloadFile } from '@/utils/batchDown'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
@@ -181,10 +184,10 @@ export default {
       year: '',
       currentPage: 1,
       pageSize: 10,
-      searchType: 1,
       searchTypeText: '未完成',
       searchKeyWord: '',
       contractType: 2,
+      searchType:1,
       // 提交类型
       submitType: true,
       size: 10,
@@ -274,6 +277,10 @@ export default {
         },
       })
     },
+    statusquery(status){
+      this.searchType = status
+      this.getList()
+    },
     // // 派车
     // warehousing() {
     //   this.$router.push({ path: 'tranManagementVehicleDispatching' })
@@ -318,6 +325,7 @@ export default {
         compId: sessionStorage.getItem('ws-pf_compId'),
         currentPage: this.currentPage,
         pageSize: this.pageSize,
+        searchType: this.searchType,
         tranTypeKey: this.tranTypeKey,
       })
         .toPromise()
@@ -339,7 +347,7 @@ export default {
         type: 'warning',
       })
         .then(() => {
-          editstatus({ id: row.id })
+          alsostate({ id: row.id })
             .toPromise()
             .then((response) => {
               this.$notify.success({
@@ -451,10 +459,45 @@ export default {
   border-top-right-radius: 0px;
   border-bottom-right-radius: 0px;
 }
-.completed.el-button--default {
-  border-color: #5878e8;
-  background-color: #f6f7fc;
+//操作按钮
+.record,
+.adjustment {
+  display: inline-block;
   color: #5878e8;
+  padding: 0 4px !important;
+  position: relative;
+  font-size: 14px;
+}
+.record:after {
+  position: absolute;
+  content: '';
+  display: block;
+  top: 5px;
+  right: -2px;
+  width: 1px;
+  height: 12px;
+  background: #e9ecf7;
+}
+//状态样式
+.executory,
+.inExecution,
+.done {
+  width: 6px;
+  height: 6px;
+  display: inline-block;
+  border-radius: 50%;
+  position: relative;
+  top: -1px;
+  font-size: 14px;
+}
+.executory {
+  background: #ff9f24;
+}
+.inExecution {
+  background: #5878e8;
+}
+.done {
+  background: #50cad4;
 }
 .putstorage.el-button--default,
 .deliverystorage.el-button--default {
@@ -503,5 +546,6 @@ export default {
 .el-range-editor--small.el-input__inner {
   height: 32px;
   margin-left: -20%;
+  
 }
 </style>

+ 4 - 2
src/views/tranManagement/tranManagementVehicleDispatching.vue

@@ -157,7 +157,7 @@
                 <el-select
                   v-show="!item.temporaryDriverFlag"
                   v-model="item.driverPhone"
-                  placeholder="请选择司机"
+                  placeholder="请选择司机电话"
                   class="typeselect"
                   @change="
                     (val) => {
@@ -489,7 +489,7 @@ export default {
       for (var i = 0; i < this.carList.length; i++) {
         if (this.carList[i].driverPhone == val) {
           this.deptBudgetList.tranCarInfoList[index].driver =
-            this.carList[i].driver
+            this.carList[i].driverName
           arrange({ id: this.carList[i].id })
             .toPromise()
             .then((response) => {
@@ -528,6 +528,8 @@ export default {
 </script>
 <style lang="scss" scoped>
 /deep/.basicInformation {
+  height:87vh;
+  overflow: scroll;
   .ws-info-table {
     border: none;
   }

+ 8 - 6
src/views/warehouse/warehouseManagementAdd.vue

@@ -54,7 +54,7 @@
             @change="selectstaff"
           >
             <el-option
-              v-for="item in personCharge"
+              v-for="item in options"
               :key="item.value"
               :label="item.staffName"
               :value="item.staffName"
@@ -230,7 +230,6 @@ export default {
   data() {
     let self = this
     return {
-      staffList: [],
       deptBudgetList: {
         totalStorage: 0,
       },
@@ -242,6 +241,8 @@ export default {
       window: '',
       radio: 1,
       personCharge: [],
+      options: [],
+      staffList: [],
       polygons: [
         {
           pName: 'Geolocation', //定位
@@ -280,6 +281,7 @@ export default {
           },
         ],
       },
+
       appendixIdsAdd: '',
       size: 10,
       value1: '',
@@ -601,8 +603,8 @@ export default {
                 this.deptBudgetList.warehousePositionInfoList =
                   this.freightspace
                 this.deptBudgetList.totalStorage = this.totalStorage
-                if(this.radio == 2){
-                  this.deptBudgetList.warehousetype ==2
+                if (this.radio == 2) {
+                  this.deptBudgetList.warehousetype == 2
                 }
 
                 increase(this.deptBudgetList)
@@ -677,8 +679,8 @@ export default {
         .toPromise()
         .then((response) => {
           // this.agent = response
-          //           this.options = response
-          //            this.staffList = response
+          this.options = response
+          this.staffList = response
           this.personCharge = response
         })
     },

+ 4 - 3
src/views/warehouse/warehouseManagementList.vue

@@ -91,7 +91,7 @@
               style="height: 24px"
               v-for="(item, i) in scope.row.warehouseNumViewList"
             >
-              {{ item.inNetWeight }}
+               {{item.inNetWeight}}
             </div>
           </template>
         </el-table-column>
@@ -168,7 +168,7 @@
               style="height: 24px"
               v-for="(item, i) in scope.row.warehouseNumViewList"
             >
-              {{ item.inNetWeight }}
+               {{ item.goodsName}}({{item.inNetWeight}})
             </div>
           </template>
         </el-table-column>
@@ -178,7 +178,7 @@
               style="height: 24px"
               v-for="(item, i) in scope.row.warehouseNumViewList"
             >
-              {{ item.outNetWeight }}
+             {{ item.goodsName}}({{item.outNetWeight}})
             </div>
           </template>
         </el-table-column>
@@ -418,6 +418,7 @@ export default {
             warehouseName: row.warehouseName,
             binNumber: row.binNumber,
             warehouseType: this.warehouseType,
+            createType: row.createType,
           },
         })
       }

+ 91 - 79
src/views/warehouse/warehouseManagementNoComplete.vue

@@ -31,7 +31,9 @@
             alt=""
           />
           {{ this.$route.query.warehouseName }}库
-          <span class="position" v-show="this.$route.query.warehouseType == 1"> {{ this.$route.query.binNumber }}仓位 </span>
+          <span class="position" v-show="this.$route.query.warehouseType == 1">
+            {{ this.$route.query.binNumber }}仓位
+          </span>
           <span v-show="this.$route.query.warehouseType == 2">(临)</span>
         </h2>
         <el-table :data="improved.records">
@@ -200,8 +202,13 @@ export default {
     this.deptBudgetList1.warehouseName = this.$route.query.warehouseName
     this.binNumber = this.$route.params.binNumber
     this.deptBudgetList.warehouseType = this.$route.query.warehouseType
+    this.createType=this.$route.query.createType,
     //接参
-    this.getList(this.$route.query.baseId, this.$route.query.positionId , this.$route.query.warehouseType)
+    this.getList(
+      this.$route.query.baseId,
+      this.$route.query.positionId,
+      this.$route.query.warehouseType
+    )
     this.showType = this.isShow
   },
   methods: {
@@ -216,60 +223,62 @@ export default {
         this.$router.push({
           path: 'warehouseManagementPerfectput',
           query: {
-             id:row.id,
-             agent:row.agent,
-             baseId: row.baseId,
-             binNumber: row.binNumber,
-             carNo:row.carNo,
-             compId:row.compId,
-             contractNo:row.contractNo,
-             goodsName:row.goodsName,
-             goodsNameKey:row.goodsNameKey,
-             grade:row.grade,
-             grossWeight:row.grossWeight,
-             inOutDate:row.inOutDate,
-             inOutFlag:row.inOutFlag,
-             inOutType:row.inOutType,
-             inOutTypeKey:row.inOutTypeKey,
-             netWeight:row.netWeight,
-             positionId: row.positionId,
-             statusFlag:row.statusFlag,
-             tare:row.tare,
-             warehouseName: row.warehouseName,  
-             warehouseInOutDetail:row.warehouseInOutDetail,
-             warehouseType: this.deptBudgetList.warehouseType
+            id: row.id,
+            agent: row.agent,
+            baseId: row.baseId,
+            binNumber: row.binNumber,
+            carNo: row.carNo,
+            compId: row.compId,
+            contractNo: row.contractNo,
+            goodsName: row.goodsName,
+            goodsNameKey: row.goodsNameKey,
+            grade: row.grade,
+            grossWeight: row.grossWeight,
+            inOutDate: row.inOutDate,
+            inOutFlag: row.inOutFlag,
+            inOutType: row.inOutType,
+            inOutTypeKey: row.inOutTypeKey,
+            netWeight: row.netWeight,
+            positionId: row.positionId,
+            statusFlag: row.statusFlag,
+            tare: row.tare,
+            warehouseName: row.warehouseName,
+            warehouseInOutDetail: row.warehouseInOutDetail,
+            warehouseType: this.deptBudgetList.warehouseType,
+            createType: this.createType
+          
           },
         })
-      } else if(row.inOutFlag==1){
+      } else if (row.inOutFlag == 1) {
         this.$store.dispatch('app/setdeptBudgetList', row)
-      // this.$store.commit('deptBudgetList',row)
+        // this.$store.commit('deptBudgetList',row)
         this.$router.push({
           path: 'warehouseManagementPerfectDelivery',
           query: {
-             id:row.id,
-             agent:row.agent,
-             baseId: row.baseId,
-             binNumber: row.binNumber,
-             carNo:row.carNo,
-             compId:row.compId,
-             contractNo:row.contractNo,
-             goodsName:row.goodsName,
-             goodsNameKey:row.goodsNameKey,
-             grade:row.grade,
-             grossWeight:row.grossWeight,
-             inOutDate:row.inOutDate,
-             inOutFlag:row.inOutFlag,
-             inOutType:row.inOutType,
-             inOutTypeKey:row.inOutTypeKey,
-             netWeight:row.netWeight,
-             positionId: row.positionId,
-             statusFlag:row.statusFlag,
-             tare:row.tare,
-             warehouseName: row.warehouseName,  
-             warehouseInOutDetail:row.warehouseInOutDetail,
-             warehouseType: this.deptBudgetList.warehouseType,
-          }
-          })
+            id: row.id,
+            agent: row.agent,
+            baseId: row.baseId,
+            binNumber: row.binNumber,
+            carNo: row.carNo,
+            compId: row.compId,
+            contractNo: row.contractNo,
+            goodsName: row.goodsName,
+            goodsNameKey: row.goodsNameKey,
+            grade: row.grade,
+            grossWeight: row.grossWeight,
+            inOutDate: row.inOutDate,
+            inOutFlag: row.inOutFlag,
+            inOutType: row.inOutType,
+            inOutTypeKey: row.inOutTypeKey,
+            netWeight: row.netWeight,
+            positionId: row.positionId,
+            statusFlag: row.statusFlag,
+            tare: row.tare,
+            warehouseName: row.warehouseName,
+            warehouseInOutDetail: row.warehouseInOutDetail,
+            warehouseType: this.deptBudgetList.warehouseType,
+          },
+        })
       }
     },
     dateFormat(fmt, date) {
@@ -308,31 +317,31 @@ export default {
       this.getList()
     },
     //收
-    getList(id, id1,id2) { 
-      if(id2==1){
-      complete({
-        // compId: sessionStorage.getItem('ws-pf_compId'),
-        baseId: id,
-        positionId: id1,
-        pageSize: this.pageSize,
-        currentPage: this.currentPage,
-        // inOutDate:this.inOutDate
-      })
-        .toPromise()
-        .then((response) => {
-          this.improved = response
+    getList(id, id1, id2) {
+      if (id2 == 1) {
+        complete({
+          // compId: sessionStorage.getItem('ws-pf_compId'),
+          baseId: id,
+          positionId: id1,
+          pageSize: this.pageSize,
+          currentPage: this.currentPage,
+          // inOutDate:this.inOutDate
         })
-      }else if(id2==2){   
-      completeList({
-        baseId: id,
-        positionId: id1,
-        pageSize: this.pageSize,
-        currentPage: this.currentPage,
-      })
-        .toPromise()
-        .then((response) => {
-          this.improved = response
+          .toPromise()
+          .then((response) => {
+            this.improved = response
+          })
+      } else if (id2 == 2) {
+        completeList({
+          baseId: id,
+          positionId: id1,
+          pageSize: this.pageSize,
+          currentPage: this.currentPage,
         })
+          .toPromise()
+          .then((response) => {
+            this.improved = response
+          })
       }
     },
     handleExamine(row) {
@@ -342,29 +351,32 @@ export default {
       })
     },
     //删除
-      handleDelete(row) {
+    handleDelete(row) {
       this.$confirm(`删除后不可恢复,确认删除?`, {
         cancelButtonText: '取消',
         confirmButtonText: '确定',
         type: 'warning',
       })
         .then(() => {
-       delInOut({id:row.id})
+          delInOut({ id: row.id })
             .toPromise()
             .then((response) => {
               this.$notify.success({
                 title: '成功',
                 message: '删除成功',
               })
-              this.getList(row.baseId,row.positionId,this.$route.query.warehouseType)
-            })
-            .catch((response) => {
+              this.getList(
+                row.baseId,
+                row.positionId,
+                this.$route.query.warehouseType
+              )
             })
+            .catch((response) => {})
         })
         .catch(() => {
           return false
         })
-      }
+    },
   },
   find() {
     this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])

+ 2 - 1
src/views/warehouse/warehouseManagementPerfectput.vue

@@ -186,7 +186,7 @@
             </ws-select>
           </ws-form-item>
         </ws-info-table>
-        <div warehouseType>
+        <div  v-show="this.$route.query.warehouseType == 2 && this.$route.query.createType == 2">
           <el-checkbox v-model="checked" checked>退库并出库</el-checkbox>
           <ws-info-table v-show="checked == true">
             <!-- 出库类型 -->
@@ -462,6 +462,7 @@ export default {
     this.dataList.statusFlag = this.$route.statusFlag
     this.dataList.warehouseInOutDetail = this.$route.query.warehouseInOutDetail
     this.deptBudgetList.warehouseType = this.$route.query.warehouseType
+    this.deptBudgetList.createType = this.$route.query.createType
   },
   methods: {
     //返回按钮

+ 1 - 1
src/views/warehouse/warehouseManagementPut.vue

@@ -183,7 +183,7 @@
             </ws-select>
           </ws-form-item>
         </ws-info-table>
-        <div v-show="this.$route.query.warehouseType == 2">
+        <div v-show="this.$route.query.warehouseType == 2 && this.deptBudgetList.createType == 2">
           <el-checkbox v-model="checked" checked>退库并出库</el-checkbox>
           <ws-info-table
             v-show="checked == true && this.deptBudgetList.createType == 2"

+ 6 - 4
src/views/warehouse/warehouseManagementRecord.vue

@@ -10,6 +10,7 @@
           type="primary"
           size="small"
           @click="iossrecord()"
+          v-show="this.warehouseType != 2"
           >盘损记录</el-button
         >
         <el-button
@@ -69,7 +70,7 @@
         <div
           class="record"
           :class="{ active: status == 2 }"
-          @click="record(1, 2)"
+          @click="record(2, 2)"
         >
           <img
             v-if="status != 2"
@@ -89,7 +90,7 @@
         <div
           class="record"
           :class="{ active: status == 3 }"
-          @click="record(2, 3)"
+          @click="record(3, 3)"
         >
           <img
             v-if="status != 3"
@@ -190,7 +191,8 @@
           </el-table-column>
           <el-table-column prop="agent" label="经办人">
           </el-table-column>
-          <el-table-column prop="buyer" label="内勤"> </el-table-column>
+          <el-table-column prop="buyer" label="内勤">
+             </el-table-column>
           <el-table-column prop="addressUrl" label="附件">
             <template slot-scope="scope">
               <img
@@ -298,7 +300,7 @@
           </el-table-column>
           <el-table-column prop="agent" label="经办人">
           </el-table-column>
-          <el-table-column prop="buyer" label="内勤"> </el-table-column>
+          <el-table-column prop="backOffice" label="内勤"> </el-table-column>
           <el-table-column prop="addressUrl" label="附件">
             <template slot-scope="scope">
               <img

+ 1 - 1
vue.config.js

@@ -144,7 +144,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.119:8090/',
+        target: 'http://192.168.1.115:8090/',
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://product-server.winsea.com/',

部分文件因为文件数量过多而无法显示