Prechádzať zdrojové kódy

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

# Conflicts:
#	vue.config.js
ccjgmwz 4 rokov pred
rodič
commit
e354f33faf
44 zmenil súbory, kde vykonal 1198 pridanie a 1281 odobranie
  1. BIN
      public/img/logo.ico
  2. 3 3
      public/index.html
  3. 4 4
      public/manifest.json
  4. BIN
      public/winseaLogo.ico
  5. 3 3
      src/components/base/BaseTabsRouterLayout/index-V2.vue
  6. 5 4
      src/enums/permissions.js
  7. 2 1
      src/lang/zh.js
  8. 0 1
      src/layout/index/sidebar/index.vue
  9. 0 29
      src/layout/index/top/index.vue
  10. 9 3
      src/store/modules/permission.js
  11. 9 9
      src/views/contractManagement/component/routers/route.js
  12. 16 3
      src/views/contractManagement/purchaseContract.vue
  13. 2 2
      src/views/contractManagement/purchaseContractAdd.vue
  14. 2 2
      src/views/contractManagement/purchaseContractEdit.vue
  15. 1 6
      src/views/contractManagement/purchaseContractExamine.vue
  16. 13 1
      src/views/contractManagement/salesContract.vue
  17. 15 14
      src/views/taskManagement/component/routers/route.js
  18. 24 24
      src/views/taskManagement/inOutWarehouseTaskEdit.vue
  19. 101 149
      src/views/taskManagement/tranManagementTransport.vue
  20. 0 12
      src/views/taskManagement/tranManagementTransportAdd.vue
  21. 2 2
      src/views/taskManagement/tranManagementTransportEdit.vue
  22. 157 85
      src/views/taskManagement/tranManagementWarehouseInOutTask.vue
  23. 24 15
      src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue
  24. 53 68
      src/views/tranManagement/component/routers/route.js
  25. 6 31
      src/views/tranManagement/tranManagementDriver.vue
  26. 2 2
      src/views/tranManagement/tranManagementDriverAdd.vue
  27. 2 2
      src/views/tranManagement/tranManagementDriverEdit.vue
  28. 1 1
      src/views/tranManagement/tranManagementDriverLook.vue
  29. 44 45
      src/views/tranManagement/tranManagementReceivingFeedback.vue
  30. 48 24
      src/views/tranManagement/tranManagementReceivingloading.vue
  31. 11 7
      src/views/tranManagement/tranManagementReceivingloadingLook.vue
  32. 87 142
      src/views/tranManagement/tranManagementShipping.vue
  33. 98 79
      src/views/tranManagement/tranManagementShippingArrangemen.vue
  34. 157 263
      src/views/tranManagement/tranManagementShippingLook.vue
  35. 65 35
      src/views/tranManagement/tranManagementTransporHairRespond.vue
  36. 86 27
      src/views/tranManagement/tranManagementTransporTationFire.vue
  37. 24 53
      src/views/tranManagement/tranManagementTransporTrainDetails.vue
  38. 4 38
      src/views/tranManagement/tranManagementTransporTrainNo.vue
  39. 50 59
      src/views/tranManagement/tranManagementVehicle.vue
  40. 2 1
      src/views/tranManagement/tranManagementVehicleDispatching.vue
  41. 16 5
      src/views/tranManagement/tranManagementVehicleLook.vue
  42. 15 16
      src/views/warehouse/component/router/index.js
  43. 31 10
      src/views/warehouse/warehouseManagementList.vue
  44. 4 1
      vue.config.js

BIN
public/img/logo.ico


+ 3 - 3
public/index.html

@@ -8,18 +8,18 @@
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
   <!-- 强制Chromium内核,作用于360浏览器、QQ浏览器等国产双核浏览器 -->
   <!-- 强制Chromium内核,作用于360浏览器、QQ浏览器等国产双核浏览器 -->
   <meta name="renderer" content="webkit" />
   <meta name="renderer" content="webkit" />
-
+  <link rel="icon" href="<%= BASE_URL %>logo.ico">
   <!-- 强制Chromium内核,作用于其他双核浏览器 -->
   <!-- 强制Chromium内核,作用于其他双核浏览器 -->
   <meta name="force-rendering" content="webkit" />
   <meta name="force-rendering" content="webkit" />
 
 
   <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
   <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
   <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
   <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
   <link rel="manifest" href="<%= BASE_URL %>/manifest.json" />
   <link rel="manifest" href="<%= BASE_URL %>/manifest.json" />
-  <link rel="icon" href="<%= BASE_URL %>/winseaLogo.ico" />
+  <link rel="icon" href="<%= BASE_URL %>logo.ico">
   <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
   <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
       <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">
       <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">
   <% } %>
   <% } %>
-  <title>WinSea | 专注船舶管理服务</title>
+  <title>易粮易运</title>
   <% if (process.env.NODE_ENV === 'production') { %>
   <% if (process.env.NODE_ENV === 'production') { %>
     <script>
     <script>
     !(function(c,i,e,b){var h = i.createElement("script");var f = i.getElementsByTagName("script")[0];h.type = "text/javascript";h.crossorigin = true;h.onload = function(){try {c[b]||(c[b] = new c.wpkReporter({bid: 'qj3rmxes-10jz7agi',spa: true,  plugins: []}));c[b].installAll();} catch (e) {console.error('init wpkReporter fail', e);}};f.parentNode.insertBefore(h, f);h.src = e})(window, document, "https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js", "__wpk");
     !(function(c,i,e,b){var h = i.createElement("script");var f = i.getElementsByTagName("script")[0];h.type = "text/javascript";h.crossorigin = true;h.onload = function(){try {c[b]||(c[b] = new c.wpkReporter({bid: 'qj3rmxes-10jz7agi',spa: true,  plugins: []}));c[b].installAll();} catch (e) {console.error('init wpkReporter fail', e);}};f.parentNode.insertBefore(h, f);h.src = e})(window, document, "https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js", "__wpk");

+ 4 - 4
public/manifest.json

@@ -3,13 +3,13 @@
   "short_name": "Winsea",
   "short_name": "Winsea",
   "icons": [
   "icons": [
     {
     {
-      "src": "/img/icons/winseaLogo_16x16.png",
-      "type": "image/png",
+      "src": "/img/logo.ico",
+      "type": "image/x-icon",
       "sizes": "16x16"
       "sizes": "16x16"
     },
     },
     {
     {
-      "src": "/img/icons/winseaLogo_144x144.png",
-      "type": "image/png",
+      "src": "/img/logo.ico",
+      "type": "image/x-icon",
       "sizes": "144x144"
       "sizes": "144x144"
     }
     }
   ],
   ],

BIN
public/winseaLogo.ico


+ 3 - 3
src/components/base/BaseTabsRouterLayout/index-V2.vue

@@ -114,10 +114,10 @@ export default {
       </BaseTabPane>
       </BaseTabPane>
     </BaseTabs>
     </BaseTabs>
     <section v-if="isRouter">
     <section v-if="isRouter">
-      <keep-alive>
+      <!-- <keep-alive> -->
         <router-view v-if="$route.meta.keepAlive"></router-view>
         <router-view v-if="$route.meta.keepAlive"></router-view>
-      </keep-alive>
-      <router-view v-if="!$route.meta.keepAlive"></router-view>
+      <!-- </keep-alive> -->
+      <!-- <router-view v-if="!$route.meta.keepAlive"></router-view> -->
     </section>
     </section>
   </section>
   </section>
 </template>
 </template>

+ 5 - 4
src/enums/permissions.js

@@ -7,10 +7,11 @@
  */
  */
 
 
 export default {
 export default {
-  PURSPPURCHASINFO_UPDATEPURCHASINFO: 'procurement.sparepart.purchasDetail.save',
-  PURSPAPPLINFO_SUBMITTOENQUIRY: 'procurement.sparepart.purSpApplInfo.enquiry',
-  PURSPQUOTESINFO_UPDATEQUOTES: 'procurement.sparepart.quotesDetail.saveQuotation',
-  PURSPPARITYINFO_UPDATEPARITYINFO: 'procurement.sparepart.spparity.save',
+  // 合同管理
+  BUYCONTRACTINFO_ADD: 'contractManagement.buyContract.buyContractInfo.add',
+  BUYCONTRACTINFO_DELETE: 'contractManagement.buyContract.buyContractInfo.delete',
+  BUYCONTRACTINFO_EDIT: 'contractManagement.buyContract.buyContractInfo.edit',
+  BUYCONTRACTINFO_EDIT_VIEW: 'contractManagement.buyContract.buyContractInfo.view',
   PURSPBILLINFO_UPDATEBILL: 'procurement.sparepart.billDetail.save',
   PURSPBILLINFO_UPDATEBILL: 'procurement.sparepart.billDetail.save',
   PURMAPARITYINFO_UPDATEPARITYINFO: 'procurement.spareMaterial.spparityMa.save',
   PURMAPARITYINFO_UPDATEPARITYINFO: 'procurement.spareMaterial.spparityMa.save',
   PURMABILLINFO_UPDATEBILL: 'procurement.spareMaterial.billDetailMa.save',
   PURMABILLINFO_UPDATEBILL: 'procurement.spareMaterial.billDetailMa.save',

+ 2 - 1
src/lang/zh.js

@@ -4781,8 +4781,9 @@
 
 
   },
   },
   // 任务管理
   // 任务管理
-  tranManagement: '任务管理',
+  taskManagement: '任务管理',
   tranManagementWarehouseInOutTaskEdit:'编辑',
   tranManagementWarehouseInOutTaskEdit:'编辑',
+  moveWarehouseTask :'移库任务',
   // 年度培训
   // 年度培训
   annualTraining: {
   annualTraining: {
     trainingResults: '培训结果',
     trainingResults: '培训结果',

+ 0 - 1
src/layout/index/sidebar/index.vue

@@ -39,7 +39,6 @@ export default {
     return {}
     return {}
   },
   },
   created() {
   created() {
-    console.log(this.menu)
   },
   },
   computed: {
   computed: {
     ...mapGetters(['website', 'menu', 'tag', 'keyCollapse', 'screen']),
     ...mapGetters(['website', 'menu', 'tag', 'keyCollapse', 'screen']),

+ 0 - 29
src/layout/index/top/index.vue

@@ -406,35 +406,6 @@ export default {
 </script>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
-.taskType {
-  width: 100%;
-  background-color: #fff;
-  margin-top: 2px;
-  margin-bottom: 10px;
-  // padding-bottom: 20px;
-  li {
-    float: left;
-    border: 1px solid #6ea0f3;
-    border-radius: 5px;
-    max-width: 190px;
-    padding: 0 5px;
-    text-align: center;
-    margin-top: 20px;
-    margin-left: 20px;
-    cursor: pointer;
-    font-size: 14px;
-    p {
-      margin: 8px 0px;
-      span {
-        color: #e74c3c;
-      }
-    }
-  }
-  li:hover {
-    background-color: #e4eeff;
-    color: #1d6ced;
-  }
-}
 .dayClass {
 .dayClass {
   font-size: 14px !important;
   font-size: 14px !important;
   span {
   span {

+ 9 - 3
src/store/modules/permission.js

@@ -19,12 +19,13 @@ function filterAsyncRoutes(routes, roles) {
     };
     };
     if (currentRoute.meta && currentRoute.meta.module) {
     if (currentRoute.meta && currentRoute.meta.module) {
       const routeModule = currentRoute.meta.module;
       const routeModule = currentRoute.meta.module;
-      // if (roles.some(role => role.indexOf(routeModule) === 0)) {
+      // console.log(roles)
+      if (roles.some(role => role.indexOf(routeModule) === 0)) {
       if (Array.isArray(currentRoute.children) && currentRoute.children.length > 0) {
       if (Array.isArray(currentRoute.children) && currentRoute.children.length > 0) {
         currentRoute.children = filterAsyncRoutes(currentRoute.children, roles);
         currentRoute.children = filterAsyncRoutes(currentRoute.children, roles);
       }
       }
       res.push(currentRoute);
       res.push(currentRoute);
-      // }
+      }
     } else {
     } else {
       res.push(currentRoute);
       res.push(currentRoute);
     }
     }
@@ -40,12 +41,17 @@ function filterAsyncRoutes(routes, roles) {
  * @param {*} parentModule
  * @param {*} parentModule
  */
  */
 function handleRoles(roles, res, parentModule) {
 function handleRoles(roles, res, parentModule) {
+  console.log(roles, res, parentModule)
   roles.forEach((role) => {
   roles.forEach((role) => {
     if (Array.isArray(role.children) && role.children.length > 0) {
     if (Array.isArray(role.children) && role.children.length > 0) {
       handleRoles(role.children, res, parentModule + role.name + '.')
       handleRoles(role.children, res, parentModule + role.name + '.')
     } else {
     } else {
       const lastIndex = role.name.lastIndexOf('.');
       const lastIndex = role.name.lastIndexOf('.');
-      res.push(`${parentModule}${role.name.substring(lastIndex + 1)}`)
+      if(parentModule.indexOf(role.name.split('.')[0])!=-1){
+        res.push(`${parentModule}${role.name.substring(lastIndex + 1)}`)
+      }else{
+        res.push(`${parentModule}${role.name}`)
+      } 
     }
     }
   })
   })
 }
 }

+ 9 - 9
src/views/contractManagement/component/routers/route.js

@@ -28,14 +28,14 @@ const contractManagementRouter = {
     },
     },
     // 采购合同
     // 采购合同
     {
     {
-      path: 'purchaseContract',
+      path: 'buyContract',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/purchaseContract'),
         import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/purchaseContract'),
-      name: 'purchaseContract',
+      name: 'buyContract',
       meta: {
       meta: {
         title: 'purchaseContract',
         title: 'purchaseContract',
         shortcutEntrance: 'contractManagement',
         shortcutEntrance: 'contractManagement',
-        module: 'contractManagement.purchaseContract',
+        module: 'contractManagement.buyContract',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       }
       }
@@ -48,7 +48,7 @@ const contractManagementRouter = {
       meta: {
       meta: {
         title: 'purchaseContractExamine',
         title: 'purchaseContractExamine',
         shortcutEntrance: 'contractManagement',
         shortcutEntrance: 'contractManagement',
-        module: 'contractManagement.salesContract.purchaseContractExamine',
+        module: 'contractManagement.buyContract.buyContractInfo.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -63,7 +63,7 @@ const contractManagementRouter = {
       meta: {
       meta: {
         title: 'purchaseContractEdit',
         title: 'purchaseContractEdit',
         shortcutEntrance: 'contractManagement',
         shortcutEntrance: 'contractManagement',
-        module: 'contractManagement.salesContract.purchaseContractEdit',
+        module: 'contractManagement.buyContract.buyContractInfo.edit',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -78,7 +78,7 @@ const contractManagementRouter = {
       meta: {
       meta: {
         title: 'purchaseContractAdd',
         title: 'purchaseContractAdd',
         shortcutEntrance: 'contractManagement',
         shortcutEntrance: 'contractManagement',
-        module: 'contractManagement.salesContract.purchaseContractAdd',
+        module: 'contractManagement.buyContract.buyContractInfo.add',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -93,7 +93,7 @@ const contractManagementRouter = {
       meta: {
       meta: {
         title: 'salesContractExamine',
         title: 'salesContractExamine',
         shortcutEntrance: 'contractManagement',
         shortcutEntrance: 'contractManagement',
-        module: 'contractManagement.salesContract.salesContractExamine',
+        module: 'contractManagement.salesContract.salesContractInfo.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -108,7 +108,7 @@ const contractManagementRouter = {
       meta: {
       meta: {
         title: 'salesContractEdit',
         title: 'salesContractEdit',
         shortcutEntrance: 'contractManagement',
         shortcutEntrance: 'contractManagement',
-        module: 'contractManagement.salesContract.salesContractEdit',
+        module: 'contractManagement.salesContract.salesContractInfo.edit',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -123,7 +123,7 @@ const contractManagementRouter = {
       meta: {
       meta: {
         title: 'salesContractAdd',
         title: 'salesContractAdd',
         shortcutEntrance: 'contractManagement',
         shortcutEntrance: 'contractManagement',
-        module: 'contractManagement.salesContract.salesContractAdd',
+        module: 'contractManagement.salesContract.salesContractInfo.add',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'

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

@@ -5,6 +5,9 @@
     <BaseHeaderLayout :leftSpan="10">
     <BaseHeaderLayout :leftSpan="10">
       <template slot="left">
       <template slot="left">
         <ws-button type="primary" @click="handleAdd()"
         <ws-button type="primary" @click="handleAdd()"
+        v-hasPermission="
+            `contractManagement.buyContract.buyContractInfo.add`
+          "
           ><img
           ><img
             width="13"
             width="13"
             height="13"
             height="13"
@@ -21,7 +24,7 @@
         <ws-button
         <ws-button
           @click="exportlist()"
           @click="exportlist()"
           v-hasPermission="
           v-hasPermission="
-            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
+           `contractManagement.buyContract.buyContractInfo.view`
           "
           "
           >导出</ws-button
           >导出</ws-button
         >
         >
@@ -150,7 +153,7 @@
             </template>
             </template>
             <div>
             <div>
               <p style="margin-top: 0; padding-left: 10px">操作历史</p>
               <p style="margin-top: 0; padding-left: 10px">操作历史</p>
-              <div v-for="(item, index) in historyList" class="flex">
+              <div v-for="(item, index) in historyList" :key='index' class="flex">
                 <div class="vertical-text vertical-text-left">
                 <div class="vertical-text vertical-text-left">
                   {{ item.updateDate }}
                   {{ item.updateDate }}
                 </div>
                 </div>
@@ -205,6 +208,9 @@
             style="vertical-align: text-top; margin: 0 6px"
             style="vertical-align: text-top; margin: 0 6px"
             src="../../../public/img/chakan.png"
             src="../../../public/img/chakan.png"
             @click="handleExamine(scope.row)"
             @click="handleExamine(scope.row)"
+            v-hasPermission="
+           `contractManagement.buyContract.buyContractInfo.view`
+          "
             alt=""
             alt=""
           />
           />
           <img
           <img
@@ -213,6 +219,9 @@
             style="vertical-align: text-top; margin: 0 6px"
             style="vertical-align: text-top; margin: 0 6px"
             src="../../../public/img/bianji.png"
             src="../../../public/img/bianji.png"
             @click="handleEdit(scope.row)"
             @click="handleEdit(scope.row)"
+            v-hasPermission="
+           `contractManagement.buyContract.buyContractInfo.edit`
+          "
             alt=""
             alt=""
           />
           />
           <img
           <img
@@ -225,6 +234,9 @@
               margin: 0 6px;
               margin: 0 6px;
             "
             "
             src="../../../public/img/shanchu.png"
             src="../../../public/img/shanchu.png"
+            v-hasPermission="
+           `contractManagement.buyContract.buyContractInfo.delete`
+          "
             @click="handleDelete(scope.row)"
             @click="handleDelete(scope.row)"
             alt=""
             alt=""
           />
           />
@@ -272,7 +284,7 @@ import {
 import { downloadFile } from '@/utils/batchDown'
 import { downloadFile } from '@/utils/batchDown'
 import Pagination from '@/components/Pagination'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
-import { dayjs, fmoney, EventBus } from 'base-core-lib'
+import { dayjs,  EventBus } from 'base-core-lib'
 export default {
 export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
@@ -383,6 +395,7 @@ export default {
     }
     }
   },
   },
   activated() {
   activated() {
+    console.log(this.$permission('PERMISSIONS.BUYCONTRACTINFO_ADD'))
     //cg.viewBudget
     //cg.viewBudget
     //cg.viewSpareMoney
     //cg.viewSpareMoney
     // this.getVesselData();
     // this.getVesselData();

+ 2 - 2
src/views/contractManagement/purchaseContractAdd.vue

@@ -713,7 +713,7 @@ export default {
       this.deptBudgetList.finalTradingVolume = e
       this.deptBudgetList.finalTradingVolume = e
     },
     },
     returnsales() {
     returnsales() {
-      this.$router.push({ path: 'purchaseContract' })
+      this.$router.push({ path: 'buyContract' })
     },
     },
     loaddata() {
     loaddata() {
       // 包装方式
       // 包装方式
@@ -1252,7 +1252,7 @@ export default {
                 },
                 },
                 contractProcessInfo: {},
                 contractProcessInfo: {},
               }
               }
-              this.$router.push({ path: 'purchaseContract' })
+              this.$router.push({ path: 'buyContract' })
             })
             })
             .catch((req) => {
             .catch((req) => {
               EventBus.$emit('error', req.message)
               EventBus.$emit('error', req.message)

+ 2 - 2
src/views/contractManagement/purchaseContractEdit.vue

@@ -759,7 +759,7 @@ export default {
     handleExamine() {},
     handleExamine() {},
     approve() {},
     approve() {},
     returnsales() {
     returnsales() {
-      this.$router.push({ path: 'purchaseContract' })
+      this.$router.push({ path: 'buyContract' })
     },
     },
     selectChapterTwo(e) {
     selectChapterTwo(e) {
       for (var i = 0; i < this.ChapterTwoList.length; i++) {
       for (var i = 0; i < this.ChapterTwoList.length; i++) {
@@ -1322,7 +1322,7 @@ export default {
             .toPromise()
             .toPromise()
             .then((response) => {
             .then((response) => {
               this.$message.success('编辑成功')
               this.$message.success('编辑成功')
-              this.$router.push({ path: 'purchaseContract' })
+              this.$router.push({ path: 'buyContract' })
             })
             })
         } else {
         } else {
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))

+ 1 - 6
src/views/contractManagement/purchaseContractExamine.vue

@@ -203,14 +203,9 @@
 <script>
 <script>
 import {
 import {
   packList,
   packList,
-  addList,
   xiala,
   xiala,
-  addxiala,
-  editxiala,
-  delxiala,
   examineList,
   examineList,
 } from '@/model/contarct/index'
 } from '@/model/contarct/index'
-import { dayjs } from 'base-core-lib'
 export default {
 export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   watch: {
   watch: {
@@ -321,7 +316,7 @@ export default {
     handleExamine() {},
     handleExamine() {},
     approve() {},
     approve() {},
     returnsales() {
     returnsales() {
-      this.$router.push({ path: 'purchaseContract' })
+      this.$router.push({ path: 'buyContract' })
     },
     },
   },
   },
 }
 }

+ 13 - 1
src/views/contractManagement/salesContract.vue

@@ -8,6 +8,9 @@
         <ws-button
         <ws-button
           type="primary"
           type="primary"
           @click="handleAdd()"
           @click="handleAdd()"
+          v-hasPermission="
+            `contractManagement.salesContract.salesContractInfo.add`
+          "
           ><img
           ><img
             width="13"
             width="13"
             height="13"
             height="13"
@@ -24,7 +27,7 @@
         <ws-button
         <ws-button
           @click="exportlist()"
           @click="exportlist()"
           v-hasPermission="
           v-hasPermission="
-            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
+            `contractManagement.salesContract.salesContractInfo.view`
           "
           "
           >导出</ws-button
           >导出</ws-button
         >
         >
@@ -215,6 +218,9 @@
             style="vertical-align: text-top; margin: 0 6px"
             style="vertical-align: text-top; margin: 0 6px"
             src="../../../public/img/chakan.png"
             src="../../../public/img/chakan.png"
             @click="handleExamine(scope.row)"
             @click="handleExamine(scope.row)"
+            v-hasPermission="
+            `contractManagement.salesContract.salesContractInfo.view`
+          "
             alt=""
             alt=""
           />
           />
           <img
           <img
@@ -222,6 +228,9 @@
             height="16"
             height="16"
             style="vertical-align: text-top; margin: 0 6px"
             style="vertical-align: text-top; margin: 0 6px"
             src="../../../public/img/bianji.png"
             src="../../../public/img/bianji.png"
+            v-hasPermission="
+            `contractManagement.salesContract.salesContractInfo.edit`
+          "
             @click="handleEdit(scope.row)"
             @click="handleEdit(scope.row)"
             alt=""
             alt=""
           />
           />
@@ -235,6 +244,9 @@
               margin: 0 6px;
               margin: 0 6px;
             "
             "
             src="../../../public/img/shanchu.png"
             src="../../../public/img/shanchu.png"
+            v-hasPermission="
+            `contractManagement.salesContract.salesContractInfo.delete`
+          "
             @click="handleDelete(scope.row)"
             @click="handleDelete(scope.row)"
             alt=""
             alt=""
           />
           />

+ 15 - 14
src/views/taskManagement/component/routers/route.js

@@ -2,14 +2,14 @@ import Layout from '@/layout/index';
 
 
 const tranManagementRouter = {
 const tranManagementRouter = {
 
 
-  path: '/taskManagement',
+  path: '/transportationTask',
   component: Layout,
   component: Layout,
   redirect: '/taskManagement',
   redirect: '/taskManagement',
-  name: 'taskManagement',
+  name: 'transportationTask',
   alwaysShow: true, // will always show the root menu
   alwaysShow: true, // will always show the root menu
   meta: {
   meta: {
     title: 'taskManagement',
     title: 'taskManagement',
-    module: 'taskManagement',
+    module: 'transportationTask',
     icon: 'cg'
     icon: 'cg'
   },
   },
   children: [
   children: [
@@ -22,7 +22,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementTransport',
         title: 'tranManagementTransport',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementTransport',
+        module: 'transportationTask.transportation.transportationInfo',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -38,7 +38,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementLook',
         title: 'tranManagementLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementLook',
+        module: 'transportationTask.transportation.transportationInfo.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -53,7 +53,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementTransportAdd',
         title: 'tranManagementTransportAdd',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementTransportAdd',
+        module: 'transportationTask.transportation.transportationInfo.add',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -68,7 +68,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementTransportEdit',
         title: 'tranManagementTransportEdit',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementTransportEdit',
+        module: 'transportationTask.transportation.transportationInfo.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -85,7 +85,9 @@ const tranManagementRouter = {
         title: 'moveWarehouseTask',
         title: 'moveWarehouseTask',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
         module: 'tranManagement.tranManagementDriver.moveWarehouseTask',
         module: 'tranManagement.tranManagementDriver.moveWarehouseTask',
-      }
+        permissicon: [],
+        keepAlive: true
+      },
     },
     },
     //移库查看
     //移库查看
     {
     {
@@ -96,9 +98,8 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'moveWarehouseTaskLook',
         title: 'moveWarehouseTaskLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.moveWarehouseTaskLook',
+        module: 'warehouseManagement.warehouse.warehouseInfoTask.view',
       },
       },
-      hidden: true
     },
     },
     //出入库任务
     //出入库任务
     {
     {
@@ -109,7 +110,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementWarehouseInOutTask',
         title: 'tranManagementWarehouseInOutTask',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementWarehouseInOutTask',
+        module: 'warehouseManagement.warehouse.warehouseInfoTask',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -123,7 +124,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'inOutWarehouseTaskEdit',
         title: 'inOutWarehouseTaskEdit',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.inOutWarehouseTaskEdit',
+        module: 'warehouseManagement.warehouse.warehouseInfoTask.view',
       },
       },
       hidden: true
       hidden: true
     },
     },
@@ -136,7 +137,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementWarehouseInOutTaskAdd',
         title: 'tranManagementWarehouseInOutTaskAdd',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementWarehouseInOutTaskAdd',
+        module: 'warehouseManagement.warehouse.warehouseInfoTask.add',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -151,7 +152,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementWarehouseInOutTaskEdit',
         title: 'tranManagementWarehouseInOutTaskEdit',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementWarehouseInOutTaskEdit',
+        module: 'warehouseManagement.warehouse.warehouseInfoTask.edit',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },

+ 24 - 24
src/views/taskManagement/inOutWarehouseTaskEdit.vue

@@ -25,10 +25,10 @@
         <el-radio label="4">退库并出库</el-radio>-->
         <el-radio label="4">退库并出库</el-radio>-->
       </el-radio-group>
       </el-radio-group>
       <div class="nav">
       <div class="nav">
-      <span class="ziti">
-        任务类型:
-        <h1 class="ziti1">{{dataList.inOutType}}</h1>
-      </span>
+        <span class="ziti">
+          任务类型:
+          <h1 class="ziti1">{{dataList.inOutType}}</h1>
+        </span>
       </div>
       </div>
       <div class="nav2"></div>
       <div class="nav2"></div>
       <div v-if="dataList.taskTypeKey != 2" class="center1">
       <div v-if="dataList.taskTypeKey != 2" class="center1">
@@ -912,27 +912,27 @@ export default {
   background: #e8ecf6;
   background: #e8ecf6;
   margin-top: 15px;
   margin-top: 15px;
 }
 }
-.ziti[data-v-492ee0c6] {
-    width: 72px;
-    height: 20px;
-    font-size: 14px;
-    font-family: PingFangSC-Regular, PingFang SC;
-    font-weight: 400;
-    color: #8890b1;
-    line-height: 20px;
-    margin-left: 130px;
-    /* margin-top: 112px; */
+.ziti {
+  width: 72px;
+  height: 20px;
+  font-size: 14px;
+  font-family: PingFangSC-Regular, PingFang SC;
+  font-weight: 400;
+  color: #8890b1;
+  line-height: 20px;
+  margin-left: 130px;
+  /* margin-top: 112px; */
 }
 }
 /deep/.ziti1 {
 /deep/.ziti1 {
-    height: 40px;
-    font-size: 16px;
-    font-family: PingFangSC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #262626;
-    line-height: 20px;
-    margin-left: 206px;
-    margin-top: -23px;
-    width: 100px;
+  height: 40px;
+  font-size: 16px;
+  font-family: PingFangSC-Medium, PingFang SC;
+  font-weight: 500;
+  color: #262626;
+  line-height: 20px;
+  margin-left: 206px;
+  margin-top: -23px;
+  width: 100px;
 }
 }
 .winseaview-view {
 .winseaview-view {
   padding: 0 0 20px;
   padding: 0 0 20px;
@@ -960,7 +960,7 @@ export default {
   color: #232323;
   color: #232323;
   line-height: 14px;
   line-height: 14px;
 }
 }
-.nav{
+.nav {
   width: 200px;
   width: 200px;
   height: 20px;
   height: 20px;
 }
 }

+ 101 - 149
src/views/taskManagement/tranManagementTransport.vue

@@ -1,24 +1,25 @@
 <!--运输任务-->
 <!--运输任务-->
 <template>
 <template>
   <div>
   <div>
-    <BaseHeaderLayout :leftSpan="15">
+    <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
       <template slot="left">
+        <ws-button
+          class="but"
+          type="primary"
+          @click="handleAdd()"
+          v-hasPermission="
+           `transportationTask.transportation.transportationInfo.add`
+          "
+        >添加</ws-button>
+        <ws-button class="but" :type="primary == 1 ? 'primary' : ''" @click="handlestatus(1)">执行中</ws-button>
+        <ws-button class="but" :type="primary == 2 ? 'primary' : ''" @click="handlestatus(2)">已完成</ws-button>
+        <ws-button class="but" :type="primary == 3 ? 'primary' : ''" @click="handlestatus('')">全部任务</ws-button>
+      </template>
+      <template slot="right">
         <span style="width: 134px; display: inline-block">起点:</span>
         <span style="width: 134px; display: inline-block">起点:</span>
-        <el-input
-          label="起点"
-          placeholder="请输入起点"
-          clearable
-          maxlength="200"
-          type="input"
-        ></el-input>
+        <el-input label="起点" placeholder="请输入起点" clearable maxlength="200" type="input"></el-input>
         <span style="width: 134px; display: inline-block">终点:</span>
         <span style="width: 134px; display: inline-block">终点:</span>
-        <el-input
-          label="终点"
-          placeholder="请输入终点"
-          clearable
-          maxlength="200"
-          type="input"
-        ></el-input>
+        <el-input label="终点" placeholder="请输入终点" clearable maxlength="200" type="input"></el-input>
         <el-input
         <el-input
           v-model="warehouseName"
           v-model="warehouseName"
           placeholder="可按合同编号或运输任务编号查找"
           placeholder="可按合同编号或运输任务编号查找"
@@ -29,8 +30,8 @@
         ></el-input>
         ></el-input>
         <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
         <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
         <div class="search">
         <div class="search">
-          <ws-button class="find" type="primary" @click="lookUp()"
-            ><img
+          <ws-button class="find" type="primary" @click="lookUp()">
+            <img
               width="16"
               width="16"
               height="16"
               height="16"
               style="
               style="
@@ -40,40 +41,18 @@
                 left: -8px;
                 left: -8px;
               "
               "
               src="../../../public/img/sousuo.png"
               src="../../../public/img/sousuo.png"
-              alt=""
-          /></ws-button>
+              alt
+            />
+          </ws-button>
         </div>
         </div>
       </template>
       </template>
-      <template slot="right">
-        <ws-button class="but" type="primary" @click="handleAdd()"
-          >添加</ws-button
-        >
-      </template>
     </BaseHeaderLayout>
     </BaseHeaderLayout>
+
     <div>
     <div>
-      <ws-button
-        class="but"
-        :type="primary == 1 ? 'primary' : ''"
-        @click="handlestatus(1)"
-      >
-        执行中</ws-button
-      >
-      <ws-button
-        class="but"
-        :type="primary == 2 ? 'primary' : ''"
-        @click="handlestatus(2)"
-        >已完成</ws-button
-      >
-      <ws-button
-        class="but"
-        :type="primary == 3 ? 'primary' : ''"
-        @click="handlestatus('')"
-        >全部任务</ws-button
-      >
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="gainList.records"
         :data="gainList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%; "
         height="780"
         height="780"
       >
       >
         <el-table-column type="index" label="序号">
         <el-table-column type="index" label="序号">
@@ -82,34 +61,19 @@
             <span v-else>{{ scope.$index + 1 }}</span>
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="taskNo" label="运输任务编号" width="160">
-        </el-table-column>
-        <el-table-column prop="contractNo" label="合同编号" width="160">
-        </el-table-column>
+        <el-table-column prop="taskNo" label="运输任务编号" width="140"></el-table-column>
+        <el-table-column prop="contractNo" label="合同编号" width="160"></el-table-column>
         <el-table-column prop=" weight" class="table_td" label="货物(吨数)">
         <el-table-column prop=" weight" class="table_td" label="货物(吨数)">
-          <template slot-scope="scope">
-            {{ scope.row.goodsName }}({{ scope.row.weight }})
-          </template>
+          <template slot-scope="scope">{{ scope.row.goodsName }}({{ scope.row.weight }})</template>
         </el-table-column>
         </el-table-column>
-        <el-table-column
-          prop="tranType"
-          class="table_td"
-          label="运输方式"
-          width="120"
-        >
-        </el-table-column>
-        <el-table-column prop="" class="table_td" label="起点">
+        <el-table-column prop="tranType" class="table_td" label="运输方式" width="120"></el-table-column>
+        <el-table-column prop class="table_td" label="起点">
           <template slot-scope="scope">
           <template slot-scope="scope">
             {{ scope.row.startPrivate }}{{ scope.row.startCity
             {{ scope.row.startPrivate }}{{ scope.row.startCity
             }}{{ scope.row.startArea }}{{ scope.row.startDetailedAddress }}
             }}{{ scope.row.startArea }}{{ scope.row.startDetailedAddress }}
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column
-          prop="currentTransferAddress"
-          class="table_td"
-          label="当前中转"
-        >
-        </el-table-column>
+        <el-table-column prop="currentTransferAddress" class="table_td" label="当前中转"></el-table-column>
         <el-table-column prop="end" class="table_td" label="终点">
         <el-table-column prop="end" class="table_td" label="终点">
           <template slot-scope="scope">
           <template slot-scope="scope">
             {{ scope.row.endPrivate }}{{ scope.row.endCity
             {{ scope.row.endPrivate }}{{ scope.row.endCity
@@ -128,33 +92,24 @@
             >
             >
               <template>
               <template>
                 <span slot="reference">
                 <span slot="reference">
-                  <span
-                    v-if="scope.row.status == '待执行'"
-                    class="executory"
-                  ></span>
-                  <span
-                    v-if="scope.row.status == '执行中'"
-                    class="inExecution"
-                  ></span>
-                  <span v-if="scope.row.status == '已完成'" class="done"></span
-                  >{{ scope.row.status }}
+                  <span v-if="scope.row.status == '待执行'" class="executory"></span>
+                  <span v-if="scope.row.status == '执行中'" class="inExecution"></span>
+                  <span v-if="scope.row.status == '已完成'" class="done"></span>
+                  {{ scope.row.status }}
                 </span>
                 </span>
               </template>
               </template>
               <div>
               <div>
                 <p style="margin-top: 0; padding-left: 10px">操作历史</p>
                 <p style="margin-top: 0; padding-left: 10px">操作历史</p>
                 <div v-for="(item, index) in historyList" class="flex">
                 <div v-for="(item, index) in historyList" class="flex">
-                  <div class="vertical-text vertical-text-left">
-                    {{ item.updateDate }}
-                  </div>
+                  <div class="vertical-text vertical-text-left">{{ item.updateDate }}</div>
                   <div>
                   <div>
                     <div class="vertical-circle"></div>
                     <div class="vertical-circle"></div>
-                    <div
-                      v-if="index != historyList.length - 1"
-                      class="vertical-line"
-                    ></div>
+                    <div v-if="index != historyList.length - 1" class="vertical-line"></div>
                   </div>
                   </div>
                   <div class="vertical-text">
                   <div class="vertical-text">
-                    {{ item.operateUser }}<br />{{ item.dealMsg }}
+                    {{ item.operateUser }}
+                    <br />
+                    {{ item.dealMsg }}
                   </div>
                   </div>
                 </div>
                 </div>
               </div>
               </div>
@@ -165,7 +120,7 @@
               style="vertical-align: text-top; position: relative; top: -1px"
               style="vertical-align: text-top; position: relative; top: -1px"
               src="../../../public/img/edit.png"
               src="../../../public/img/edit.png"
               @click="editClick(scope.row)"
               @click="editClick(scope.row)"
-              alt=""
+              alt
             />
             />
           </template>
           </template>
         </el-table-column>
         </el-table-column>
@@ -177,16 +132,28 @@
             <ws-button class="putstorage" @click="delivery(scope.row)">
             <ws-button class="putstorage" @click="delivery(scope.row)">
               编辑
               编辑
             </ws-button>
             </ws-button>
-            <ws-button @click="deleteclick(scope.row)"> 删除 </ws-button> -->
-            <div class="record" @click="nocomplete(scope.row)">
-              查看
-            </div>
-            <div class="record" @click="delivery(scope.row)">
-              编辑
-            </div>
-            <div class="record" @click="deleteclick(scope.row)">
-              删除
-            </div>
+            <ws-button @click="deleteclick(scope.row)"> 删除 </ws-button>-->
+            <div
+              class="record"
+              @click="nocomplete(scope.row)"
+              v-hasPermission="
+           `transportationTask.transportation.transportationInfo.view`
+          "
+            >查看</div>
+            <div
+              class="record"
+              @click="delivery(scope.row)"
+              v-hasPermission="
+           `transportationTask.transportation.transportationInfo.edit`
+          "
+            >编辑</div>
+            <div
+              class="record"
+              @click="deleteclick(scope.row)"
+              v-hasPermission="
+           `transportationTask.transportation.transportationInfo.delete`
+          "
+            >删除</div>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
@@ -203,7 +170,7 @@ export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
     WsUpload,
     WsUpload,
-    Pagination,
+    Pagination
   },
   },
   watch: {
   watch: {
     vesselId(val) {
     vesselId(val) {
@@ -211,7 +178,7 @@ export default {
     },
     },
     isShow(val) {
     isShow(val) {
       this.showType = val
       this.showType = val
-    },
+    }
   },
   },
   data() {
   data() {
     return {
     return {
@@ -244,11 +211,11 @@ export default {
       deptCircularPage: {},
       deptCircularPage: {},
       historyList: [],
       historyList: [],
       pickerBeginDateBefore: {
       pickerBeginDateBefore: {
-        disabledDate: (time) => {
+        disabledDate: time => {
           return time.getTime() > Date.now()
           return time.getTime() > Date.now()
-        },
+        }
       },
       },
-      accessoryTFs: false,
+      accessoryTFs: false
     }
     }
   },
   },
   activated() {
   activated() {
@@ -270,15 +237,15 @@ export default {
       this.$confirm(`运输任务删除后不可恢复,是否确定删除?`, {
       this.$confirm(`运输任务删除后不可恢复,是否确定删除?`, {
         confirmButtonText: '确定',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         cancelButtonText: '取消',
-        type: 'warning',
+        type: 'warning'
       })
       })
         .then(() => {
         .then(() => {
           console.log(row)
           console.log(row)
           deltran({
           deltran({
-            id: row.id,
+            id: row.id
           })
           })
             .toPromise()
             .toPromise()
-            .then((response) => {
+            .then(response => {
               this.getList()
               this.getList()
             })
             })
         })
         })
@@ -292,10 +259,10 @@ export default {
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
         searchType: this.searchType,
         searchType: this.searchType,
-        searchKeyWord: this.searchKeyWord,
+        searchKeyWord: this.searchKeyWord
       })
       })
         .toPromise()
         .toPromise()
-        .then((response) => {
+        .then(response => {
           this.gainList = response
           this.gainList = response
         })
         })
     },
     },
@@ -308,7 +275,6 @@ export default {
       } else {
       } else {
         this.primary = 3
         this.primary = 3
       }
       }
-
       this.getList()
       this.getList()
     },
     },
     //编辑
     //编辑
@@ -316,8 +282,8 @@ export default {
       this.$router.push({
       this.$router.push({
         path: 'tranManagementTransportEdit',
         path: 'tranManagementTransportEdit',
         query: {
         query: {
-          id: item.id,
-        },
+          id: item.id
+        }
       })
       })
     },
     },
     //查看
     //查看
@@ -333,8 +299,8 @@ export default {
           positionId: item.binNumberId,
           positionId: item.binNumberId,
           warehouseName: item.warehouseName,
           warehouseName: item.warehouseName,
           binNumber: item.binNumber,
           binNumber: item.binNumber,
-          capacity: item.capacity - free,
-        },
+          capacity: item.capacity - free
+        }
       })
       })
     },
     },
     getSpanArr(data) {
     getSpanArr(data) {
@@ -373,8 +339,8 @@ export default {
       this.$router.push({
       this.$router.push({
         path: 'tranManagementLook',
         path: 'tranManagementLook',
         query: {
         query: {
-          id: row.id,
-        },
+          id: row.id
+        }
       })
       })
     },
     },
     //查看
     //查看
@@ -395,7 +361,7 @@ export default {
         'Y+': date.getFullYear().toString(), // 年
         'Y+': date.getFullYear().toString(), // 年
         'm+': (date.getMonth() + 1).toString(), // 月
         'm+': (date.getMonth() + 1).toString(), // 月
         'd+': date.getDate().toString(), // 日
         'd+': date.getDate().toString(), // 日
-        'H+': date.getHours().toString(), // 时
+        'H+': date.getHours().toString() // 时
         // "M+": date.getMinutes().toString(),         // 分
         // "M+": date.getMinutes().toString(),         // 分
         // "S+": date.getSeconds().toString()          // 秒
         // "S+": date.getSeconds().toString()          // 秒
         // 有其他格式化字符需求可以继续添加,必须转化成字符串
         // 有其他格式化字符需求可以继续添加,必须转化成字符串
@@ -435,19 +401,19 @@ export default {
       this.$confirm(`是否将状态改为${status}`, {
       this.$confirm(`是否将状态改为${status}`, {
         confirmButtonText: '确定',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         cancelButtonText: '取消',
-        type: 'warning',
+        type: 'warning'
       })
       })
         .then(() => {
         .then(() => {
           editstatus({ id: row.id })
           editstatus({ id: row.id })
             .toPromise()
             .toPromise()
-            .then((response) => {
+            .then(response => {
               this.$notify.success({
               this.$notify.success({
                 title: '成功',
                 title: '成功',
-                message: '状态修改成功',
+                message: '状态修改成功'
               })
               })
               this.getList()
               this.getList()
             })
             })
-            .catch((response) => {
+            .catch(response => {
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
             })
             })
         })
         })
@@ -465,48 +431,19 @@ export default {
     handleExamine(row) {
     handleExamine(row) {
       this.$router.push({
       this.$router.push({
         name: 'salesContractExamine',
         name: 'salesContractExamine',
-        query: { id: row.id },
+        query: { id: row.id }
       })
       })
     },
     },
     // 关闭 dialog时 处理文件url 初始化upload组件
     // 关闭 dialog时 处理文件url 初始化upload组件
     handleCloe() {
     handleCloe() {
       this.dialogViewSpareMoney = false
       this.dialogViewSpareMoney = false
     },
     },
-    history(row) {
-      billoperatehis({ id: row.id })
-        .toPromise()
-        .then((response) => {
-          this.historyList = response
-        })
-    },
+
     find() {
     find() {
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       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>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>
@@ -577,11 +514,12 @@ export default {
   text-align: center;
   text-align: center;
 }
 }
 .findValue.el-input {
 .findValue.el-input {
-  width: 50%;
+  width: 100%;
   margin: 0;
   margin: 0;
 }
 }
 .el-input {
 .el-input {
   margin: 0 10px;
   margin: 0 10px;
+  width: 70%;
 }
 }
 /deep/.search .el-button--small {
 /deep/.search .el-button--small {
   padding: 0;
   padding: 0;
@@ -626,4 +564,18 @@ export default {
 .done {
 .done {
   background: #50cad4;
   background: #50cad4;
 }
 }
+/deep/.el-row {
+    -webkit-box-sizing: border-box;
+    height: 50px;
+    box-sizing: border-box;
+}
+/deep/.el-col-12 {
+    width: 50%;
+    height: 50px;
+}
+.el-button--primary {
+    background-color: #5878e8;
+    border-color: #5878e8;
+    margin-left: 6px;
+}
 </style>
 </style>

+ 0 - 12
src/views/taskManagement/tranManagementTransportAdd.vue

@@ -538,18 +538,6 @@ export default {
         .then((response) => {
         .then((response) => {
           this.contractNoList = response
           this.contractNoList = response
         })
         })
-      // // 车型
-      // packList({ constId: 'TRAN1' })
-      //   .toPromise()
-      //   .then((response) => {
-      //     this.carModelList = response
-      //   })
-      // // 车长
-      // packList({ constId: 'TRAN2' })
-      //   .toPromise()
-      //   .then((response) => {
-      //     this.carLengthList = response
-      //   })
     },
     },
     confirmPositioncity() {
     confirmPositioncity() {
       this.listDate.level = 'city'
       this.listDate.level = 'city'

+ 2 - 2
src/views/taskManagement/tranManagementTransportEdit.vue

@@ -142,7 +142,6 @@
         >
         >
           <el-select
           <el-select
             v-model="deptBudgetList.receiveWarehouse"
             v-model="deptBudgetList.receiveWarehouse"
-            :disabled="warehouse"
             placeholder="请输入收货库点"
             placeholder="请输入收货库点"
             class="typeselect"
             class="typeselect"
             style="width: 100%"
             style="width: 100%"
@@ -392,6 +391,7 @@ export default {
       radio: '1',
       radio: '1',
       carModelList: [],
       carModelList: [],
       carLengthList: [],
       carLengthList: [],
+      warehouseType: '1',
       options_: regionData,
       options_: regionData,
       heightData: '600px',
       heightData: '600px',
       selectedOptions: [],
       selectedOptions: [],
@@ -496,7 +496,7 @@ export default {
         })
         })
       getwarehousename({
       getwarehousename({
         compId: this.compId,
         compId: this.compId,
-        warehouseType: this.deptBudgetList.warehouseType,
+        warehouseType: this.warehouseType,
       })
       })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {

+ 157 - 85
src/views/taskManagement/tranManagementWarehouseInOutTask.vue

@@ -1,9 +1,16 @@
 <!--出入库任务-->
 <!--出入库任务-->
 <template>
 <template>
-   <div class="container">
-      <div class="nav">
-        <ws-button class="butt" type="primary" @click="handleAdd()"
-          ><img
+  <div class="container">
+    <BaseHeaderLayout :leftSpan="14">
+      <template slot="left">
+        <ws-button
+          type="primary"
+          @click="handleAdd()"
+          v-hasPermission="
+            `warehouseManagement.warehouse.warehouseInfoTask.add`
+          "
+        >
+          <img
             width="13"
             width="13"
             height="13"
             height="13"
             style="
             style="
@@ -13,48 +20,70 @@
               left: -4px;
               left: -4px;
             "
             "
             src="../../../public/img/header-add.png"
             src="../../../public/img/header-add.png"
-            alt=""
-          />添加</ws-button
+            alt
+          />添加
+        </ws-button>
+        <ws-button
+          class="but"
+          :type="primary == 1 ? 'primary' : ''"
+          @click="handlestatus(1)"
+          >待审核</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 2 ? 'primary' : ''"
+          @click="handlestatus(2)"
+          >已驳回</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 3 ? 'primary' : ''"
+          @click="handlestatus(3)"
+          >执行中</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 4 ? 'primary' : ''"
+          @click="handlestatus(4)"
+          >已完成</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 5 ? 'primary' : ''"
+          @click="handlestatus('')"
+          >全部任务</ws-button
         >
         >
+      </template>
+      <template slot="right">
         <ws-input
         <ws-input
           v-model="warehouseName"
           v-model="warehouseName"
           placeholder="可按合同编号或任务编号查找"
           placeholder="可按合同编号或任务编号查找"
           clearable
           clearable
           maxlength="500"
           maxlength="500"
           type="input"
           type="input"
-          class="Value"
-        ></ws-input> 
-          <ws-button class="find" type="primary" @click="lookUp()"
-            ><img
-              width="16"
-              height="16"
-              style="
-                vertical-align: text-top;
-                position: relative;
-                top: 0px;
-                left: -1px;
-              "
-              src="../../../public/img/sousuo.png"
-              alt=""
-          /></ws-button> 
-      </div>
-    <div class="nav2" >
-       </div> 
+        ></ws-input>
+        <ws-button class="find" type="primary" @click="lookUp()">
+          <img
+            width="16"
+            height="16"
+            style="
+              vertical-align: text-top;
+              position: relative;
+              top: 0px;
+              left: -1px;
+            "
+            src="../../../public/img/sousuo.png"
+            alt
+          />
+        </ws-button>
+      </template>
+    </BaseHeaderLayout>
     <div class="navv">
     <div class="navv">
-        <ws-button class="but"  @click="handlestatus()">
-          待审核</ws-button>
-          <ws-button class="but"  @click="handlestatus()">
-          已驳回</ws-button>
-        <ws-button class="but"  @click="handlestatus(1)">
-          执行中</ws-button
-        >
-        <ws-button class="but" @click="handlestatus(2)">已完成</ws-button>
-        <ws-button class="but" type="primary" @click="handlestatus('')">全部任务</ws-button>
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="gainList.records"
         :data="gainList.records"
         style="width: 100%; margin-top: 20px"
         style="width: 100%; margin-top: 20px"
-        height="650"
+        height="780"
       >
       >
         <el-table-column type="index" label="序号">
         <el-table-column type="index" label="序号">
           <template scope="scope">
           <template scope="scope">
@@ -62,21 +91,42 @@
             <span v-else>{{ scope.$index + 1 }}</span>
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="contractNo" label="合同编号" width="80">
-        </el-table-column>
-        <el-table-column prop="inOutTaskNo" label="任务编号"> </el-table-column>
-        <el-table-column prop="warehouseName" class="table_td" label="库房名">
-        </el-table-column>
-        <el-table-column prop="inOutType" class="table_td" label="出入库类型">
-        </el-table-column>
-        <el-table-column prop="goodsName" class="table_td" label="货名">
-        </el-table-column>
-        <el-table-column prop="weight" class="table_td" label="重量(吨)">
-        </el-table-column>
-        <el-table-column prop="predictDate" class="table_td" label="预计日期">
-        </el-table-column>
-        <el-table-column prop="publisher" class="table_td" label="发布者">
-        </el-table-column>
+        <el-table-column
+          prop="contractNo"
+          label="合同编号"
+          width="80"
+        ></el-table-column>
+        <el-table-column prop="inOutTaskNo" label="任务编号"></el-table-column>
+        <el-table-column
+          prop="warehouseName"
+          class="table_td"
+          label="库房名"
+        ></el-table-column>
+        <el-table-column
+          prop="inOutType"
+          class="table_td"
+          label="出入库类型"
+        ></el-table-column>
+        <el-table-column
+          prop="goodsName"
+          class="table_td"
+          label="货名"
+        ></el-table-column>
+        <el-table-column
+          prop="weight"
+          class="table_td"
+          label="重量(吨)"
+        ></el-table-column>
+        <el-table-column
+          prop="predictDate"
+          class="table_td"
+          label="预计日期"
+        ></el-table-column>
+        <el-table-column
+          prop="publisher"
+          class="table_td"
+          label="发布者"
+        ></el-table-column>
         <el-table-column prop="taskStatus" label="状态">
         <el-table-column prop="taskStatus" label="状态">
           <template slot-scope="scope">
           <template slot-scope="scope">
             <el-popover
             <el-popover
@@ -99,8 +149,8 @@
                   <span
                   <span
                     v-if="scope.row.taskStatus == '已完成'"
                     v-if="scope.row.taskStatus == '已完成'"
                     class="done"
                     class="done"
-                  ></span
-                  >{{ scope.row.taskStatus }}
+                  ></span>
+                  {{ scope.row.taskStatus }}
                 </span>
                 </span>
               </template>
               </template>
               <div>
               <div>
@@ -117,7 +167,9 @@
                     ></div>
                     ></div>
                   </div>
                   </div>
                   <div class="vertical-text">
                   <div class="vertical-text">
-                    {{ item.operateUser }}<br />{{ item.dealMsg }}
+                    {{ item.operateUser }}
+                    <br />
+                    {{ item.dealMsg }}
                   </div>
                   </div>
                 </div>
                 </div>
               </div>
               </div>
@@ -128,18 +180,30 @@
               style="vertical-align: text-top; position: relative; top: -1px"
               style="vertical-align: text-top; position: relative; top: -1px"
               src="../../../public/img/edit.png"
               src="../../../public/img/edit.png"
               @click="editClick(scope.row)"
               @click="editClick(scope.row)"
-              alt=""
+              alt
             />
             />
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="establishDate" class="table_td" label="创建时间">
-        </el-table-column>
+        <el-table-column
+          prop="establishDate"
+          class="table_td"
+          label="创建时间"
+        ></el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
         <el-table-column prop="seller" label="操作" width="300">
           <template slot-scope="scope">
           <template slot-scope="scope">
-            <div class="record" @click="nocomplete(scope.row)">
+            <div
+              class="record"
+              @click="nocomplete(scope.row)"
+              v-hasPermission="
+                `warehouseManagement.warehouse.warehouseInfoTask.view`
+              "
+            >
               查看
               查看
             </div>
             </div>
             <div
             <div
+              v-hasPermission="
+                `warehouseManagement.warehouse.warehouseInfoTask.audit`
+              "
               v-if="scope.row.taskStatus == '待审核'"
               v-if="scope.row.taskStatus == '待审核'"
               class="adjustment"
               class="adjustment"
               @click="delivery(scope.row)"
               @click="delivery(scope.row)"
@@ -147,6 +211,9 @@
               审核
               审核
             </div>
             </div>
             <div
             <div
+              v-hasPermission="
+                `warehouseManagement.warehouse.warehouseInfoTask.edit`
+              "
               v-if="
               v-if="
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '已驳回'
                 scope.row.taskStatus == '已驳回'
@@ -157,6 +224,9 @@
               编辑
               编辑
             </div>
             </div>
             <div
             <div
+              v-hasPermission="
+                `warehouseManagement.warehouse.warehouseInfoTask.delete`
+              "
               v-if="
               v-if="
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '已驳回'
                 scope.row.taskStatus == '已驳回'
@@ -176,8 +246,7 @@
         :page-size="pageSize"
         :page-size="pageSize"
         layout="total, sizes, prev, pager, next, jumper"
         layout="total, sizes, prev, pager, next, jumper"
         :total="deptBudgetTotal"
         :total="deptBudgetTotal"
-      >
-      </el-pagination>
+      ></el-pagination>
     </div>
     </div>
   </div>
   </div>
 </template>
 </template>
@@ -217,6 +286,7 @@ export default {
       year: '',
       year: '',
       gainList: [],
       gainList: [],
       currentPage: 1,
       currentPage: 1,
+      primary: '1',
       pageSize: 10,
       pageSize: 10,
       searchType: 1,
       searchType: 1,
       searchTypeText: '未完成',
       searchTypeText: '未完成',
@@ -274,7 +344,7 @@ export default {
           outdelete({
           outdelete({
             id: row.id,
             id: row.id,
             relevanceId: row.relevanceId,
             relevanceId: row.relevanceId,
-            inOutFlag:row.inOutFlag
+            inOutFlag: row.inOutFlag,
           })
           })
             .toPromise()
             .toPromise()
             .then((response) => {
             .then((response) => {
@@ -290,7 +360,7 @@ export default {
         compId: sessionStorage.getItem('ws-pf_compId'),
         compId: sessionStorage.getItem('ws-pf_compId'),
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
-        // searchType: this.searchType,
+        searchType: this.searchType,
         searchKeyWord: this.searchKeyWord,
         searchKeyWord: this.searchKeyWord,
       })
       })
         .toPromise()
         .toPromise()
@@ -303,6 +373,17 @@ export default {
         })
         })
     },
     },
     handlestatus(status) {
     handlestatus(status) {
+      if (status == 1) {
+        this.primary = 1
+      } else if (status == 2) {
+        this.primary = 2
+      } else if (status == 3) {
+        this.primary = 3
+      } else if (status == 4) {
+        this.primary = 4
+      } else {
+        this.primary = 5
+      }
       this.searchType = status
       this.searchType = status
       this.getList()
       this.getList()
     },
     },
@@ -541,44 +622,35 @@ export default {
   background: #e9ecf7;
   background: #e9ecf7;
 }
 }
 .el-row {
 .el-row {
-  height: 80px;
-}
-.base_header_layout .grid-content {
-  margin-top: 80px;
-}
-.but {
-  margin-left: 55px;
-  margin-top: 30px;
+  height: 50px;
 }
 }
+
 .findValue {
 .findValue {
   width: 0%;
   width: 0%;
   margin-left: 25%;
   margin-left: 25%;
 }
 }
-
 .search {
 .search {
   margin-left: -250px;
   margin-left: -250px;
 }
 }
-.butt{
- margin-left: 60px;
- margin-top: 20px;
-}
-.Value{
+.Value {
   width: 300px;
   width: 300px;
+  margin-left: 766px;
 }
 }
 .el-pagination {
 .el-pagination {
   margin-bottom: 20px;
   margin-bottom: 20px;
   margin-left: 40%;
   margin-left: 40%;
 }
 }
-.winseaview-main{
- background: #E8ECF6;
-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
+.winseaview-main {
+  background: #e8ecf6;
+  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
 }
 }
-.nav{
-  background: white
-  
-}
-.navv{
-  background: #FFFFFF;
+// .nav {
+//   background: white;
+//   height: 60px;
+//   margin-top: -20px;
+// }
+.navv {
+  background: #ffffff;
   border-radius: 4px;
   border-radius: 4px;
   margin-top: -8px;
   margin-top: -8px;
 }
 }
@@ -587,9 +659,9 @@ box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
 //   height: 5px;
 //   height: 5px;
 //   background-color: #e8eaf1;
 //   background-color: #e8eaf1;
 // }
 // }
-.nav2{
+.nav2 {
   height: 25px;
   height: 25px;
-  background: #E8ECF6;
+  background: #e8ecf6;
   margin-top: 15px;
   margin-top: 15px;
 }
 }
 .spans {
 .spans {

+ 24 - 15
src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue

@@ -29,7 +29,12 @@
         <el-radio label="3" class="a">移库</el-radio>
         <el-radio label="3" class="a">移库</el-radio>
         <el-radio label="4" class="a">退库并出库</el-radio> -->
         <el-radio label="4" class="a">退库并出库</el-radio> -->
       </el-radio-group>
       </el-radio-group>
-        <span class="ziti">任务类型:<b><h1 class="ziti1">{{dataList.inOutType}}</h1></b></span>
+        <div class="nav">
+        <span class="ziti">
+          任务类型:
+          <h1 class="ziti1">{{dataList.inOutType}}</h1>
+        </span>
+      </div>
       </div>
       </div>
       <div class="ding"></div>
       <div class="ding"></div>
        <div v-if="dataList.taskTypeKey != 2&&dataList.taskTypeKey != 4" class="center1">
        <div v-if="dataList.taskTypeKey != 2&&dataList.taskTypeKey != 4" class="center1">
@@ -1407,26 +1412,26 @@ export default {
   background: #E8ECF6;
   background: #E8ECF6;
   box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
   box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
 }
 }
-.ziti{
-  width: 70px;
+.ziti {
+  width: 72px;
   height: 20px;
   height: 20px;
   font-size: 14px;
   font-size: 14px;
   font-family: PingFangSC-Regular, PingFang SC;
   font-family: PingFangSC-Regular, PingFang SC;
   font-weight: 400;
   font-weight: 400;
-  color: #8890B1;
+  color: #8890b1;
   line-height: 20px;
   line-height: 20px;
-  margin-left: 80px;
-  margin-top: 5px;
+  margin-left: 130px;
+  /* margin-top: 112px; */
 }
 }
-.ziti1{
-  font-size: 16px;
-  font-family: PingFangSC-Medium, PingFang SC;
-  font-weight: 500;
-  color: #262626;
-  line-height: 22px;
-  margin-left: 240px;
-  margin-top: -27px;
-
+.ziti1 {
+    width: 100px;
+    font-size: 16px;
+    font-family: PingFangSC-Medium, PingFang SC;
+    font-weight: 500;
+    color: #262626;
+    line-height: 22px;
+    margin-left: 197px;
+    margin-top: -22px;
 }
 }
 .winseaview-view {
 .winseaview-view {
   padding: 0 0 20px;
   padding: 0 0 20px;
@@ -1435,4 +1440,8 @@ export default {
   overflow: scroll;
   overflow: scroll;
   height: 93vh;
   height: 93vh;
 }
 }
+.nav {
+  width: 200px;
+  height: 20px;
+}
 </style>
 </style>

+ 53 - 68
src/views/tranManagement/component/routers/route.js

@@ -1,42 +1,42 @@
 import Layout from '@/layout/index';
 import Layout from '@/layout/index';
 
 
 const tranManagementRouter = {
 const tranManagementRouter = {
-  path: '/tranManagement',
+  path: '/transportationTask/transportation',
   component: Layout,
   component: Layout,
-  redirect: '/tranManagement',
-  name: 'tranManagement',
+  redirect: '/transportationTask',
+  name: 'transportationTask',
   alwaysShow: true, // will always show the root menu
   alwaysShow: true, // will always show the root menu
   meta: {
   meta: {
     title: 'tranManagement',
     title: 'tranManagement',
-    module: 'tranManagement',
+    module: 'transportationTask.transportation',
     icon: 'cg'
     icon: 'cg'
   },
   },
   children: [
   children: [
 
 
     //火运调度
     //火运调度
     {
     {
-      path: 'tranManagementTransporTationFire',
+      path: 'fireDispatching',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementTransporTationFire'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementTransporTationFire'),
-      name: 'tranManagementTransporTationFire',
+      name: 'fireDispatching',
       meta: {
       meta: {
         title: 'tranManagementTransporTationFire',
         title: 'tranManagementTransporTationFire',
-        shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementTransporTationFire',
+        shortcutEntrance: 'transportationTask',
+        module: 'transportationTask.transportation.fireDispatching',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
     },
     },
     //车次安排
     //车次安排
     {
     {
-      path: 'tranManagementTransporTrainNo',
+      path: 'fireDispatching/car',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementTransporTrainNo'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementTransporTrainNo'),
-      name: 'tranManagementTransporTrainNo',
+      name: 'fireDispatchingcar',
       meta: {
       meta: {
         title: 'tranManagementTransporTrainNo',
         title: 'tranManagementTransporTrainNo',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementTransporTrainNo',
+        module: 'transportationTask.transportation.fireDispatching.car',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -44,14 +44,14 @@ const tranManagementRouter = {
     },
     },
     //火运调度详情
     //火运调度详情
     {
     {
-      path: 'tranManagementTransporTrainDetails',
+      path: 'fireDispatching/view',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementTransporTrainDetails'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementTransporTrainDetails'),
-      name: 'tranManagementTransporTrainDetails',
+      name: 'fireDispatchingview',
       meta: {
       meta: {
         title: 'tranManagementTransporTrainDetails',
         title: 'tranManagementTransporTrainDetails',
-        shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementTransporTrainDetails',
+        shortcutEntrance: 'transportationTask',
+        module: 'transportationTask.transportation.fireDispatching.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -59,14 +59,14 @@ const tranManagementRouter = {
     },
     },
     //船次安排
     //船次安排
     {
     {
-      path: 'tranManagementShippingArrangemen',
+      path: 'shippingDispatching/car',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementShippingArrangemen'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementShippingArrangemen'),
-      name: 'tranManagementShippingArrangemen',
+      name: 'shippingDispatchingcar',
       meta: {
       meta: {
         title: 'tranManagementShippingArrangemen',
         title: 'tranManagementShippingArrangemen',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementShippingArrangemen',
+        module: 'transportationTask.transportation.shippingDispatching.car',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -75,14 +75,14 @@ const tranManagementRouter = {
     },
     },
     //船运调度详情
     //船运调度详情
     {
     {
-      path: 'tranManagementShippingLook',
+      path: 'tshippingDispatching/view',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementShippingLook'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementShippingLook'),
-      name: 'tranManagementShippingLook',
+      name: 'tshippingDispatchingview',
       meta: {
       meta: {
         title: 'tranManagementShippingLook',
         title: 'tranManagementShippingLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementShippingLook',
+        module: 'transportationTask.transportation.shippingDispatching.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -104,31 +104,16 @@ const tranManagementRouter = {
       },
       },
       hidden: true
       hidden: true
     },
     },
-    //编辑司机
-    {
-      path: 'tranManagementDriverEdit',
-      component: () =>
-        import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriverEdit'),
-      name: 'tranManagementDriverEdit',
-      meta: {
-        title: 'tranManagementDriverEdit',
-        shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementDriverEdit',
-        permissicon: [],
-        keepAlive: true
-      },
-      hidden: true
-    },
     //汽运调度
     //汽运调度
     {
     {
-      path: 'tranManagementVehicle',
+      path: 'vehicleDispatching',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementVehicle'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementVehicle'),
-      name: 'tranManagementVehicle',
+      name: 'vehicleDispatching',
       meta: {
       meta: {
         title: 'tranManagementVehicle',
         title: 'tranManagementVehicle',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementVehicle',
+        module: 'transportationTask.transportation.vehicleDispatching',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -136,14 +121,14 @@ const tranManagementRouter = {
     },
     },
     //船运调度
     //船运调度
     {
     {
-      path: 'tranManagementShipping',
+      path: 'shippingDispatching',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementShipping'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementShipping'),
-      name: 'tranManagementShipping',
+      name: 'shippingDispatching',
       meta: {
       meta: {
         title: 'tranManagementShipping',
         title: 'tranManagementShipping',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementShipping',
+        module: 'transportationTask.transportation.shippingDispatching',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -151,14 +136,14 @@ const tranManagementRouter = {
     },
     },
     //编辑司机
     //编辑司机
     {
     {
-      path: 'tranManagementDriverEdit',
+      path: 'driverManagement/edit',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriverEdit'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriverEdit'),
-      name: 'tranManagementDriverEdit',
+      name: 'driverManagementedit',
       meta: {
       meta: {
         title: 'tranManagementDriverEdit',
         title: 'tranManagementDriverEdit',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementDriverEdit',
+        module: 'transportationTask.transportation.driverManagement.edit',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -166,28 +151,28 @@ const tranManagementRouter = {
     },
     },
     //司机查看
     //司机查看
     {
     {
-      path: 'tranManagementDriverLook',
+      path: 'driverManagement/view',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriverLook'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriverLook'),
-      name: 'tranManagementDriverLook',
+      name: 'driverManagementview',
       meta: {
       meta: {
         title: 'tranManagementDriverLook',
         title: 'tranManagementDriverLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementDriverLook',
+        module: 'transportationTask.transportation.driverManagement.edit',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
       hidden: true
       hidden: true
     }, //司机添加
     }, //司机添加
     {
     {
-      path: 'tranManagementDriverAdd',
+      path: 'driverManagement/add',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriverAdd'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriverAdd'),
-      name: 'tranManagementDriverAdd',
+      name: 'driverManagementadd',
       meta: {
       meta: {
         title: 'tranManagementDriverAdd',
         title: 'tranManagementDriverAdd',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementDriverAdd',
+        module: 'transportationTask.transportation.driverManagement.add',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -195,14 +180,14 @@ const tranManagementRouter = {
     },
     },
     //汽车调度
     //汽车调度
     {
     {
-      path: 'tranManagementVehicleDispatching',
+      path: 'vehicleDispatching/car',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementVehicleDispatching'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementVehicleDispatching'),
-      name: 'tranManagementVehicleDispatching',
+      name: 'vehicleDispatchingcar',
       meta: {
       meta: {
         title: 'tranManagementVehicleDispatching',
         title: 'tranManagementVehicleDispatching',
-        shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementVehicleDispatching',
+        shortcutEntrance: 'transportationTask',
+        module: 'transportationTask.transportation.vehicleDispatching.car',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -210,14 +195,14 @@ const tranManagementRouter = {
     },
     },
     //查看派车详情
     //查看派车详情
     {
     {
-      path: 'tranManagementVehicleLook',
+      path: 'vehicleDispatching/view',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementVehicleLook'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementVehicleLook'),
-      name: 'tranManagementVehicleLook',
+      name: 'vehicleDispatchingview',
       meta: {
       meta: {
         title: 'tranManagementVehicleLook',
         title: 'tranManagementVehicleLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementVehicleLook',
+        module: 'transportationTask.transportation.vehicleDispatching.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -225,14 +210,14 @@ const tranManagementRouter = {
     },
     },
     //司机管理
     //司机管理
     {
     {
-      path: 'tranManagementDriver',
+      path: 'driverManagement',
       component: () =>
       component: () =>
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriver'),
         import(/* webpackChunkName: "applDetail" */ '@/views/tranManagement/tranManagementDriver'),
-      name: 'tranManagementDriver',
+      name: 'driverManagement',
       meta: {
       meta: {
         title: 'tranManagementDriver',
         title: 'tranManagementDriver',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver',
+        module: 'transportationTask.transportation.driverManagement',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       }
       }
@@ -246,7 +231,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementTransporHairRespond',
         title: 'tranManagementTransporHairRespond',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementTransporHairRespond',
+        module: 'transportationTask.transportation',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       }
       }
@@ -260,7 +245,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementTransporFeedback',
         title: 'tranManagementTransporFeedback',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementTransporFeedback',
+        module: 'transportationTask.transportation',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -276,7 +261,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementTransporFeedbackLook',
         title: 'tranManagementTransporFeedbackLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementTransporFeedbackLook',
+        module: 'transportationTask.transportation',
       },
       },
       hidden: true
       hidden: true
     },
     },
@@ -290,7 +275,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementReceivingFeedback',
         title: 'tranManagementReceivingFeedback',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.tranManagementReceivingFeedback',
+        module: 'transportationTask.transportation',
         permissicon: [],
         permissicon: [],
 
 
       },
       },
@@ -304,7 +289,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementReceivingloading',
         title: 'tranManagementReceivingloading',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementReceivingloading',
+        module: 'transportationTask.transportation',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -319,7 +304,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'tranManagementReceivingloadingLook',
         title: 'tranManagementReceivingloadingLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementReceivingloadingLook',
+        module: 'transportationTask.transportation',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -327,4 +312,4 @@ const tranManagementRouter = {
     },
     },
   ],
   ],
 };
 };
-export default tranManagementRouter;
+export default tranManagementRouter;  

+ 6 - 31
src/views/tranManagement/tranManagementDriver.vue

@@ -2,10 +2,10 @@
 <template>
 <template>
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="12">
     <BaseHeaderLayout :leftSpan="12">
-      <template slot="right">
+      <template slot="left">
         <ws-button type="primary" @click="handleAdd()">添加</ws-button>
         <ws-button type="primary" @click="handleAdd()">添加</ws-button>
       </template>
       </template>
-      <template slot="left">
+      <template slot="right">
         <span style="display: inline-block; width: 60px; color: #8890b1"
         <span style="display: inline-block; width: 60px; color: #8890b1"
           >城市</span
           >城市</span
         >
         >
@@ -26,7 +26,6 @@
           type="input"
           type="input"
           class="findValue"
           class="findValue"
         ></ws-input>
         ></ws-input>
-
         <ws-button type="primary" @click="handleLook()">
         <ws-button type="primary" @click="handleLook()">
           <img
           <img
             width="14"
             width="14"
@@ -237,7 +236,6 @@
             <el-button
             <el-button
               v-if="scope.row.disableStatusFlag != 1"
               v-if="scope.row.disableStatusFlag != 1"
               size="medium"
               size="medium"
-              class="record"
               type="text"
               type="text"
               @click="stop(scope.row)"
               @click="stop(scope.row)"
               >禁用</el-button
               >禁用</el-button
@@ -324,26 +322,6 @@
       <p>查看附件</p>
       <p>查看附件</p>
       <img width="100" height="100" :src="accessurl" alt="" />
       <img width="100" height="100" :src="accessurl" alt="" />
     </WinseaContentModal>
     </WinseaContentModal>
-    <!-- <WinseaContentModal
-      v-model="accessoryTFs"
-      :title="$t('system.noticeCircular.information')"
-      @on-cancel="handleClose"
-    >
-      <el-upload
-        class="upload-demo"
-        action="https://jsonplaceholder.typicode.com/posts/"
-        :file-list="fileList"
-        list-type="picture"
-        accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
-      >
-        <el-button size="small" type="primary">点击上传</el-button>
-        <template #tip>
-          <div class="el-upload__tip">
-            只能上传 jpg/png 文件,且不超过 500kb
-          </div>
-        </template>
-      </el-upload>
-    </WinseaContentModal> -->
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -354,7 +332,6 @@ import {
   disableDriver,
   disableDriver,
 } from '@/model/transport/index'
 } from '@/model/transport/index'
 import Pagination from '@/components/Pagination'
 import Pagination from '@/components/Pagination'
-// provinceAndCityData省市二级
 import { provinceAndCityData, CodeToText } from 'element-china-area-data'
 import { provinceAndCityData, CodeToText } from 'element-china-area-data'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
 import { dayjs, fmoney, EventBus } from 'base-core-lib'
 import { dayjs, fmoney, EventBus } from 'base-core-lib'
@@ -441,7 +418,7 @@ export default {
     },
     },
     edit(row) {
     edit(row) {
       this.$router.push({
       this.$router.push({
-        name: 'tranManagementDriverEdit',
+        name: 'driverManagementedit',
         query: { id: row.id },
         query: { id: row.id },
       })
       })
     },
     },
@@ -459,16 +436,14 @@ export default {
     },
     },
     look(row) {
     look(row) {
       this.$router.push({
       this.$router.push({
-        name: 'tranManagementDriverLook',
+        name: 'driverManagementview',
         query: { id: row.id },
         query: { id: row.id },
       })
       })
     },
     },
     //添加
     //添加
     handleAdd() {
     handleAdd() {
-      this.$router.push({ path: 'tranManagementDriverAdd' })
-    },
-    handleDelete() {
-      this.$router.push({ path: 'warehouseManagementDelete' })
+      console.log(11111)
+      this.$router.push({ name: 'driverManagementadd' })
     },
     },
     selectcar(e, row) {
     selectcar(e, row) {
       console.log(e, row)
       console.log(e, row)

+ 2 - 2
src/views/tranManagement/tranManagementDriverAdd.vue

@@ -745,7 +745,7 @@ export default {
       this.selectedOptions = value
       this.selectedOptions = value
     },
     },
     returnsales() {
     returnsales() {
-      this.$router.push({ path: 'tranManagementDriver' })
+      this.$router.go(-1)
     },
     },
     // confirmPosition() {
     // confirmPosition() {
     //   this.draggable = false
     //   this.draggable = false
@@ -964,7 +964,7 @@ export default {
                   bankCard: '',
                   bankCard: '',
                 },
                 },
               ]
               ]
-              this.$router.push({ path: 'tranManagementDriver' })
+              this.$router.go(-1)
             })
             })
         } else {
         } else {
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))

+ 2 - 2
src/views/tranManagement/tranManagementDriverEdit.vue

@@ -810,7 +810,7 @@ export default {
       console.log(this.selectedOptions)
       console.log(this.selectedOptions)
     },
     },
     returnsales() {
     returnsales() {
-      this.$router.push({ path: 'tranManagementDriver' })
+      this.$router.go(-1)
     },
     },
     // confirmPosition() {
     // confirmPosition() {
     //   this.draggable = false
     //   this.draggable = false
@@ -864,7 +864,7 @@ export default {
             .toPromise()
             .toPromise()
             .then((response) => {
             .then((response) => {
               this.$message.success('添加成功')
               this.$message.success('添加成功')
-              this.$router.push({ path: 'tranManagementDriver' })
+              this.$router.go(-1)
             })
             })
         } else {
         } else {
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))

+ 1 - 1
src/views/tranManagement/tranManagementDriverLook.vue

@@ -348,7 +348,7 @@ export default {
       this.selectedOptions = value
       this.selectedOptions = value
     },
     },
     returnsales() {
     returnsales() {
-      this.$router.push({ path: 'tranManagementDriver' })
+      this.$router.go(-1)
     },
     },
     resetForm(deptBudgetList) {
     resetForm(deptBudgetList) {
       this.$refs[deptBudgetList].resetFields()
       this.$refs[deptBudgetList].resetFields()

+ 44 - 45
src/views/tranManagement/tranManagementReceivingFeedback.vue

@@ -1,21 +1,21 @@
-//收反馈
+//收反馈
 <template>
 <template>
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="13">
     <BaseHeaderLayout :leftSpan="13">
       <template slot="left">
       <template slot="left">
-        <ws-button class="but"  @click="statusquery(1)">
+        <ws-button class="but" :type="primary == 1 ? 'primary' : ''" @click="statusquery(1)">
           执行中</ws-button
           执行中</ws-button
         >
         >
-        <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
-        <ws-button class="but" @click="statusquery()">全部任务</ws-button>
+        <ws-button class="but" :type="primary == 2 ? 'primary' : ''" @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but" :type="primary == 3 ? 'primary' : ''" @click="statusquery()">全部任务</ws-button>
       </template>
       </template>
       <!-- 接单开始 -->
       <!-- 接单开始 -->
       <template slot="right">
       <template slot="right">
        <div>
        <div>
-          <span style="display: inline-block; width: 239px;color: #8890B1;">接单日期</span>
+          <span style="display: inline-block; width: 60px;color: #8890B1;">接单日期</span>
         </div>
         </div>
         <el-date-picker
         <el-date-picker
-          v-model="deptBudgetList.inOutDate"
+          v-model="inOutDate"
           type="daterange"
           type="daterange"
           align="right"
           align="right"
           unlink-panels
           unlink-panels
@@ -53,7 +53,7 @@
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="warehouseList.records"
         :data="warehouseList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%;"
         height="780"
         height="780"
       >
       >
         <el-table-column type="index" label="序号" width="80">
         <el-table-column type="index" label="序号" width="80">
@@ -64,7 +64,7 @@
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" prop="processNo" label="运输任务编号">
         <el-table-column class="table_td" prop="processNo" label="运输任务编号">
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="tranType" label="运输方式" width="80">
+        <el-table-column prop="tranType" label="运输方式">
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" prop="goodsName" label="货名">
         <el-table-column class="table_td" prop="goodsName" label="货名">
 
 
@@ -72,10 +72,10 @@
         <el-table-column class="table_td" label="重量(吨)" prop="weight">
         <el-table-column class="table_td" label="重量(吨)" prop="weight">
          
          
         </el-table-column>
         </el-table-column>
-        <el-table-column class="table_td" label="发货" prop="send">
+        <el-table-column class="table_td" label="发货" prop="send" width="240">
           
           
         </el-table-column>
         </el-table-column>
-        <el-table-column class="table_td" label="收货" prop="receive">
+        <el-table-column class="table_td" label="收货" prop="receive" width="240">
           
           
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" label="运输周期" prop="tranCycle">
         <el-table-column class="table_td" label="运输周期" prop="tranCycle">
@@ -110,7 +110,7 @@
                 </span>
                 </span>
               </template>
               </template>
           <div>
           <div>
-              <p style="margin-top: 0; padding-left: 10px">XXXXX</p>
+              <p style="margin-top: 0; padding-left: 10px">历史记录</p>
               <div v-for="(item, index) in historyList" class="flex">
               <div v-for="(item, index) in historyList" class="flex">
                 <div class="vertical-text vertical-text-left">
                 <div class="vertical-text vertical-text-left">
                   {{ item.updateDate }}
                   {{ item.updateDate }}
@@ -207,7 +207,7 @@ export default {
       year: '',
       year: '',
       currentPage: 1,
       currentPage: 1,
       pageSize: 10,
       pageSize: 10,
-      searchType: 1,
+      feedbackFlag: 1,
       searchTypeText: '未完成',
       searchTypeText: '未完成',
       searchKeyWord: '',
       searchKeyWord: '',
       contractType: 2,
       contractType: 2,
@@ -215,6 +215,7 @@ export default {
       // 提交类型
       // 提交类型
       submitType: true,
       submitType: true,
       size: 10,
       size: 10,
+      primary:'1',
       spanArr: [],
       spanArr: [],
       warehouseName: '',
       warehouseName: '',
       deptBudgetTotal: 0,
       deptBudgetTotal: 0,
@@ -224,6 +225,7 @@ export default {
       deptBudgetList: {},
       deptBudgetList: {},
       historyList: [],
       historyList: [],
       value2:'',
       value2:'',
+      inOutDate:[],
       pickerOptions:[],
       pickerOptions:[],
       pickerBeginDateBefore: {
       pickerBeginDateBefore: {
         disabledDate: (time) => {
         disabledDate: (time) => {
@@ -239,13 +241,14 @@ export default {
   methods: {
   methods: {
       //接口
       //接口
     getList() {
     getList() {
-        console.log(765)
       shippingList({
       shippingList({
         compId: sessionStorage.getItem('ws-pf_compId'),
         compId: sessionStorage.getItem('ws-pf_compId'),
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
-        contractType: this.contractType,
-        searchType: this.searchType,
+        feedbackFlag: this.feedbackFlag,
+         startDate: this.startDate ,
+        endDate:this.endDate,
+        searchKeyWord : this.searchKeyWord
         
         
       })
       })
         .toPromise()
         .toPromise()
@@ -257,7 +260,14 @@ export default {
         })
         })
     },
     },
     statusquery(status){
     statusquery(status){
-      this.searchType = status
+      if (status == 1) {
+        this.primary = 1
+      } else if (status == 2) {
+        this.primary = 2
+      } else {
+        this.primary = 3
+      }
+      this.feedbackFlag = status
       this.getList()
       this.getList()
     },
     },
     delivery(item) {
     delivery(item) {
@@ -429,32 +439,16 @@ export default {
         })
         })
     },
     },
     find() {
     find() {
+     if (this.inOutDate.length > 0) {
+        this.startDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[0])
+        this.endDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[1])
+      } else {
+        this.startDate = ''
+        this.endDate = ''
+      }
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       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>
 </script>
@@ -523,21 +517,18 @@ export default {
   background: #e9ecf7;
   background: #e9ecf7;
 }
 }
 .el-row{
 .el-row{
-    height: 150px;
+    height: 60px;
 }
 }
 .base_header_layout .grid-content{
 .base_header_layout .grid-content{
     margin-top: 80px;
     margin-top: 80px;
 }
 }
-.but{
-    margin-top: 150px;
-    margin-left: 110px;
-}
+
 .el-input--small .el-input__inner{
 .el-input--small .el-input__inner{
     margin-left: 20px;
     margin-left: 20px;
 }
 }
 .el-range-editor--small.el-input__inner {
 .el-range-editor--small.el-input__inner {
     height: 32px;
     height: 32px;
-    margin-left: -20%;
+    margin: 0 10px;
 }
 }
 //状态样式
 //状态样式
 .executory,
 .executory,
@@ -567,4 +558,12 @@ export default {
     position: relative;
     position: relative;
     font-size: 14px;
     font-size: 14px;
 }
 }
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
+}
 </style>
 </style>

+ 48 - 24
src/views/tranManagement/tranManagementReceivingloading.vue

@@ -133,24 +133,36 @@
               </ws-form-item>
               </ws-form-item>
               <!--磅单-->
               <!--磅单-->
               <ws-form-item label="磅单:" span="1" prop="loadPoundImg">
               <ws-form-item label="磅单:" span="1" prop="loadPoundImg">
-                <template slot-scope="scope">
-                  <img
+              <template slot-scope="scope">
+                <el-upload
+                  action="https://www.zthymaoyi.com/upload/admin"
+                  :show-file-list="false"
+                  :on-success="
+                    (res, file) => {
+                      uploadSuccessHandle1(index, res, file)
+                    }
+                  "
+                  class="avatar-uploader"
+                  accept=".jpg, .jpeg, .png, .gif"
+                  ><img
                     width="18"
                     width="18"
                     height="20"
                     height="20"
                     style="
                     style="
-                    vertical-align: text-top;
-                    position: relative;
-                    top: -1px;
-                  "
+                      vertical-align: text-top;
+                      position: relative;
+                    "
                     src="../../../public/img/fujian.png"
                     src="../../../public/img/fujian.png"
-                    @click="fujian(scope.row)"
-                    alt
+                    alt=""
                   />
                   />
-                  <span
-                    v-if="scope.row.loadPoundImgArray.length >0"
-                  >{{scope.row.loadPoundImgArray.length}}</span>
-                </template>
-              </ws-form-item>
+                </el-upload>
+                <!-- <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '未上传'" class="signStatus">
+                  {{ item.signStatus }}
+                </div>
+                <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '已上传'" class="signStatus1">
+                  {{ item.signStatus }}
+                </div> -->
+              </template>
+            </ws-form-item>
             </ws-info-table>
             </ws-info-table>
           </div>
           </div>
           <div
           <div
@@ -167,7 +179,7 @@
 <script>
 <script>
 import Pagination from '@/components/Pagination'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
-import { seeCat, packList, feedback } from '@/model/transport/index'
+import { seeCat, packList, feedback,getbank } from '@/model/transport/index'
 // import { dayjs, fmoney, EventBus } from 'base-core-lib'
 // import { dayjs, fmoney, EventBus } from 'base-core-lib'
 import { dayjs, EventBus } from 'base-core-lib'
 import { dayjs, EventBus } from 'base-core-lib'
 export default {
 export default {
@@ -229,13 +241,14 @@ export default {
     }
     }
   },
   },
   activated() {
   activated() {
+    this.deptBudgetList.id = this.$route.query.id
     this.getList()
     this.getList()
   },
   },
   computed: {
   computed: {
     total: function() {
     total: function() {
       var maxStorage = 0
       var maxStorage = 0
       for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
       for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
-        maxStorage == Number(this.deptBudgetList.tranCarInfoList[i].loadWeight)
+        maxStorage += Number(this.deptBudgetList.tranCarInfoList[i].unloadNetWeight)
       }
       }
       return maxStorage
       return maxStorage
     }
     }
@@ -254,15 +267,21 @@ export default {
         this.deptBudgetList.tranCarInfoList.splice(index, 1)
         this.deptBudgetList.tranCarInfoList.splice(index, 1)
       }
       }
     },
     },
-    fujian(row) {
-      if (row.loadPoundImg === null || row.loadPoundImg === '') {
-        EventBus.$emit(
-          'warning',
-          this.$t('system.noticeCircular.NoInformation')
-        )
-      } else {
-        this.accessoryTFs = true
-      }
+    uploadSuccessHandle1(index, e, fileList) {
+      const that = this
+      getbank({ bankImg: e.url })
+        .toPromise()
+        .then((response) => {
+          for (var i = 0; i < this.freightspace1.length; i++) {
+            if (i == index) {
+              this.freightspace1[i].payeeAddressUrl = e.url
+              this.freightspace1[i].bankCard = response.bankNo
+              this.freightspace1[i].bankDeposit = response.bankName
+              this.freightspace1[i].bankDepositBranchList =
+                response.bankNameZhihang
+            }
+          }
+        })
     },
     },
     selectwaterContent() {},
     selectwaterContent() {},
     //提交按钮
     //提交按钮
@@ -294,6 +313,7 @@ export default {
               this.tranCarInfoList.loadNetWeight = this.deptBudgetList.loadNetWeight
               this.tranCarInfoList.loadNetWeight = this.deptBudgetList.loadNetWeight
               this.tranCarInfoList.tranType = this.tranType
               this.tranCarInfoList.tranType = this.tranType
               this.tranCarInfoList.loadPoundImg = this.deptBudgetList.loadPoundImg
               this.tranCarInfoList.loadPoundImg = this.deptBudgetList.loadPoundImg
+              this.tranCarInfoList.unloadNetWeight = this.deptBudgetList.unloadNetWeight
               for (var i = 0; i < this.tranCarInfoList.length; i++) {
               for (var i = 0; i < this.tranCarInfoList.length; i++) {
                 this.tranCarInfoList[i].id = this.freightspace[i].id
                 this.tranCarInfoList[i].id = this.freightspace[i].id
                 if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
                 if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
@@ -604,4 +624,8 @@ export default {
   height: 20px;
   height: 20px;
   line-height: 18px;
   line-height: 18px;
 }
 }
+.container {
+  overflow: scroll;
+  height: 93vh;
+}
 </style>
 </style>

+ 11 - 7
src/views/tranManagement/tranManagementReceivingloadingLook.vue

@@ -137,9 +137,9 @@
                   @click="fujian(scope.row)"
                   @click="fujian(scope.row)"
                   alt=""
                   alt=""
                 />
                 />
-                <div v-show="item.temporaryDriverFlag == 0">
+                <!-- <div v-show="item.temporaryDriverFlag == 0">
                   {{ item.signStatus }}
                   {{ item.signStatus }}
-                </div>
+                </div> -->
               </template>
               </template>
             </ws-form-item>
             </ws-form-item>
            
            
@@ -257,11 +257,14 @@ export default {
       arr: [],
       arr: [],
     }
     }
   },
   },
-  mounted() {
-    this.deptBudgetList.id = this.$route.query.id
-    this.getList()
-  },
-
+  // mounted() {
+   
+  //   this.getList()
+  // },
+activated(){
+   this.deptBudgetList.id = this.$route.query.id
+  this.getList()
+},
   computed: {
   computed: {
     totalStorage: function () {
     totalStorage: function () {
       var maxStorage = 0
       var maxStorage = 0
@@ -764,6 +767,7 @@ export default {
   background: #F6F7FC;
   background: #F6F7FC;
 border-radius: 4px;
 border-radius: 4px;
 border: 1px solid #D8DCE6;
 border: 1px solid #D8DCE6;
+margin-top: 20px;
 }
 }
 .catNos{
 .catNos{
   width: 100%;
   width: 100%;

+ 87 - 142
src/views/tranManagement/tranManagementShipping.vue

@@ -3,26 +3,25 @@
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="12">
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
       <template slot="left">
-        <ws-button class="but" @click="statusquery(1)">
-          执行中</ws-button
-        >
-        <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
-        <ws-button class="but" @click="statusquery()">全部任务</ws-button>
+        <ws-button class="but" :type="searchType == 1 ?'primary':''"  @click="statusquery(1)"> 执行中</ws-button>
+        <ws-button class="but" :type="searchType == 2 ?'primary':''"  @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but" :type="searchType == undefined ?'primary':''"  @click="statusquery()">全部任务</ws-button>
       </template>
       </template>
       <!-- 接单开始 -->
       <!-- 接单开始 -->
       <template slot="right">
       <template slot="right">
         <div>
         <div>
-        <span style="display: inline-block; width: 239px;color: #8890B1;">接单日期</span>
+          <span style="display: inline-block; width: 60px; color: #8890b1"
+            >接单日期</span
+          >
         </div>
         </div>
         <el-date-picker
         <el-date-picker
-          v-model="deptBudgetList.inOutDate"
+          v-model="inOutDate"
           type="daterange"
           type="daterange"
           align="right"
           align="right"
           unlink-panels
           unlink-panels
           range-separator="至"
           range-separator="至"
           start-placeholder="开始日期"
           start-placeholder="开始日期"
           end-placeholder="结束日期"
           end-placeholder="结束日期"
-
         >
         >
         </el-date-picker>
         </el-date-picker>
         <ws-input
         <ws-input
@@ -47,38 +46,33 @@
             src="../../../public/img/sousuo.png"
             src="../../../public/img/sousuo.png"
             alt=""
             alt=""
         /></ws-button>
         /></ws-button>
-       
       </template>
       </template>
     </BaseHeaderLayout>
     </BaseHeaderLayout>
     <div>
     <div>
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="warehouseList.records"
         :data="warehouseList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%;"
         height="780"
         height="780"
       >
       >
-        <el-table-column type="index" label="序号" width="80" >
+        <el-table-column type="index" label="序号" width="80">
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" prop="processNo" label="运输任务编号">
         <el-table-column class="table_td" prop="processNo" label="运输任务编号">
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" prop="goodsName" label="货名">
         <el-table-column class="table_td" prop="goodsName" label="货名">
-
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" label="重量(吨)" prop="weight">
         <el-table-column class="table_td" label="重量(吨)" prop="weight">
-         
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" label="发货" prop="send">
         <el-table-column class="table_td" label="发货" prop="send">
-          
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" label="收货" prop="receive">
         <el-table-column class="table_td" label="收货" prop="receive">
-          
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" label="运输周期" prop="tranCycle">
         <el-table-column class="table_td" label="运输周期" prop="tranCycle">
-         <template scope="scope">
-               {{scope.row.deliveryDateStart}} ~ {{scope.row.deliveryDateEnd}}
-             </template>
+          <template scope="scope">
+            {{ scope.row.deliveryDateStart }} ~ {{ scope.row.deliveryDateEnd }}
+          </template>
         </el-table-column>
         </el-table-column>
-      <el-table-column prop="status" label="状态">
+        <el-table-column prop="status" label="状态">
           <template slot-scope="scope">
           <template slot-scope="scope">
             <el-popover
             <el-popover
               placement="left"
               placement="left"
@@ -97,13 +91,20 @@
                     v-if="scope.row.processStatus == '执行中'"
                     v-if="scope.row.processStatus == '执行中'"
                     class="inExecution"
                     class="inExecution"
                   ></span>
                   ></span>
-                  <span v-if="scope.row.processStatus == '已完成'" class="done"></span
+                  <span
+                    v-if="scope.row.processStatus == '已完成'"
+                    class="done"
+                  ></span
                   >{{ scope.row.processStatus }}
                   >{{ scope.row.processStatus }}
                 </span>
                 </span>
               </template>
               </template>
               <div>
               <div>
                 <p style="margin-top: 0; padding-left: 10px">历史记录</p>
                 <p style="margin-top: 0; padding-left: 10px">历史记录</p>
-                <div v-for="(item, index) in historyList" class="flex" :key="index">
+                <div
+                  v-for="(item, index) in historyList"
+                  class="flex"
+                  :key="index"
+                >
                   <div class="vertical-text vertical-text-left">
                   <div class="vertical-text vertical-text-left">
                     {{ item.updateDate }}
                     {{ item.updateDate }}
                   </div>
                   </div>
@@ -129,17 +130,13 @@
               alt=""
               alt=""
             />
             />
           </template>
           </template>
-      </el-table-column>
-      <el-table-column class="table_td" label="接单日期" prop="receivingDate">
+        </el-table-column>
+        <el-table-column class="table_td" label="接单日期" prop="receivingDate">
         </el-table-column>
         </el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
         <el-table-column prop="seller" label="操作" width="300">
           <template slot-scope="scope">
           <template slot-scope="scope">
-            <div class="record" @click="handleLook(scope.row)">
-              查看
-            </div>
-            <div class="adjustment" @click="shipping(scope.row)">
-              船次
-            </div>
+            <div class="record" @click="handleLook(scope.row)">查看</div>
+            <div class="adjustment" @click="shipping(scope.row)">船次</div>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
@@ -157,11 +154,7 @@
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
-import {
-  getList,
-  shippingList,
-  alsostate,
-} from '@/model/transport/index'
+import { getList, shippingList, alsostate } from '@/model/transport/index'
 import { downloadFile } from '@/utils/batchDown'
 import { downloadFile } from '@/utils/batchDown'
 import Pagination from '@/components/Pagination'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
@@ -194,19 +187,18 @@ export default {
       showType: true,
       showType: true,
       // 年
       // 年
       year: '',
       year: '',
-      pickerOptions:{
-        
-      },
+      pickerOptions: {},
       value2: '',
       value2: '',
-      deptBudgetTotal:0,
+      deptBudgetTotal: 0,
       currentPage: 1,
       currentPage: 1,
-      tranTypeKey:3,
+      tranTypeKey: 3,
       pageSize: 10,
       pageSize: 10,
       searchType: 1,
       searchType: 1,
       searchTypeText: '未完成',
       searchTypeText: '未完成',
       searchKeyWord: '',
       searchKeyWord: '',
       contractType: 2,
       contractType: 2,
-      
+      inOutDate: [],
+
       // 提交类型
       // 提交类型
       submitType: true,
       submitType: true,
       size: 10,
       size: 10,
@@ -233,28 +225,27 @@ export default {
     this.showType = this.isShow
     this.showType = this.isShow
   },
   },
   methods: {
   methods: {
-    getList(){
-      console.log(123456)
+    getList() {
       shippingList({
       shippingList({
         compId: sessionStorage.getItem('ws-pf_compId'),
         compId: sessionStorage.getItem('ws-pf_compId'),
-        currentPage:this.currentPage,
-        pageSize:this.pageSize,
-        contractType:this.contractType,
-        tranTypeKey: this.tranTypeKey, 
-        searchType:this.searchType,
-
-      })
-      .toPromise()
-      .then((response)=>{
-        this.warehouseList = response
-        this.deptCircularPage.currentPage = response.current
-        this.deptCircularPage.pageSize = response.size
-        this.deptBudgetTotal = response.total
-        
-        
+        currentPage: this.currentPage,
+        pageSize: this.pageSize,
+        contractType: this.contractType,
+        tranTypeKey: this.tranTypeKey,
+        searchType: this.searchType,
+        startDate: this.startDate,
+        endDate: this.endDate,
+        searchKeyWord: this.searchKeyWord,
       })
       })
+        .toPromise()
+        .then((response) => {
+          this.warehouseList = response
+          this.deptCircularPage.currentPage = response.current
+          this.deptCircularPage.pageSize = response.size
+          this.deptBudgetTotal = response.total
+        })
     },
     },
-    statusquery(state){
+    statusquery(state) {
       this.searchType = state
       this.searchType = state
       this.getList()
       this.getList()
     },
     },
@@ -288,62 +279,35 @@ export default {
           this.spanArr.push(1)
           this.spanArr.push(1)
           this.pos = 0
           this.pos = 0
         } else {
         } else {
-        //不是第一项时,就根据标识去存储
-        if (data[index].warehouseNumViewList.length > 1) {
-          查找到符合条件的数据时每次要把之前存储的数据+1
-          this.spanArr[this.pos] = data[index].warehouseNumViewList.length
-          this.spanArr.push(0)
-        } else {
-          // 没有符合的数据时,要记住当前的index
-          this.spanArr.push(1)
-          this.pos = index
-        }
+          //不是第一项时,就根据标识去存储
+          if (data[index].warehouseNumViewList.length > 1) {
+            查找到符合条件的数据时每次要把之前存储的数据 + 1
+            this.spanArr[this.pos] = data[index].warehouseNumViewList.length
+            this.spanArr.push(0)
+          } else {
+            // 没有符合的数据时,要记住当前的index
+            this.spanArr.push(1)
+            this.pos = index
+          }
         }
         }
       })
       })
     },
     },
-    //查看//传参
-    // nocomplete(row) {
-    //   this.$router.push({
-    //     path: 'tranManagementVehicleLook',
-        // query: {
-        //   baseId: row.warehouseId,
-        //   positionId: row.binNumberId,
-        //   warehouseName: row.warehouseName,
-        //   binNumber: row.binNumber,
-    //     // },
-    //   })
-    // },
-    
-    
     //查看
     //查看
     handleLook(row) {
     handleLook(row) {
-      this.$router.push({ 
-        name: 'tranManagementShippingLook',
+      this.$router.push({
+        name: 'tshippingDispatchingview',
         query: { id: row.id },
         query: { id: row.id },
-         })
+      })
     },
     },
 
 
     // 派船
     // 派船
-    shipping(row){
-        this.$router.push({
-           name: 'tranManagementShippingArrangemen',
-           query:{
-                 id: row.id , 
-              // infoId:row.infoId,
-              // processId:row.processId,
-              //  driver:row.driver,
-              //  driverType:row.driver,
-              //  driverPhone:row.driverPhone,
-              //  shipNo:row.shipNo,
-              //   loadWeight:row.loadWeight,
-              //   shipName:row.shipName,
-              //   shipType:row.shipType,
-              //   boxNumber:row.boxNumber,
-              //    positionWeight:row.positionWeight,
-              //    sendDateStart:row.sendDateStart,
-              //     receiveDateEnd:row.receiveDateEnd,      
-           }
-           })
+    shipping(row) {
+      this.$router.push({
+        name: 'shippingDispatchingcar',
+        query: {
+          id: row.id,
+        },
+      })
     },
     },
     dateFormat(fmt, date) {
     dateFormat(fmt, date) {
       let ret
       let ret
@@ -450,33 +414,16 @@ export default {
         })
         })
     },
     },
     find() {
     find() {
+      if (this.inOutDate.length > 0) {
+        this.startDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[0])
+        this.endDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[1])
+      } else {
+        this.startDate = ''
+        this.endDate = ''
+      }
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       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',
-      })
-    },
-    total(){},
   },
   },
 }
 }
 </script>
 </script>
@@ -558,22 +505,19 @@ export default {
   height: 12px;
   height: 12px;
   background: #e9ecf7;
   background: #e9ecf7;
 }
 }
-.el-row{
-    height: 150px;
+.el-row {
+  height: 60px;
 }
 }
-.base_header_layout .grid-content{
-    margin-top: 80px;
+.base_header_layout .grid-content {
+  margin-top: 80px;
 }
 }
-.but{
-    margin-top: 150px;
-    margin-left: 110px;
-    }
-.el-input--small .el-input__inner{
-    margin-left: 20px;
+
+.el-input--small .el-input__inner {
+  margin-left: 20px;
 }
 }
 .el-range-editor--small.el-input__inner {
 .el-range-editor--small.el-input__inner {
-    height: 32px;
-    margin-left: -20%;
+  height: 32px;
+  margin: 0 10px;
 }
 }
 //执行样式
 //执行样式
 .executory,
 .executory,
@@ -596,7 +540,8 @@ export default {
 .done {
 .done {
   background: #50cad4;
   background: #50cad4;
 }
 }
-.record, .adjustment{
+.record,
+.adjustment {
   display: inline-block;
   display: inline-block;
   color: #5878e8;
   color: #5878e8;
   padding: 0 4px !important;
   padding: 0 4px !important;

+ 98 - 79
src/views/tranManagement/tranManagementShippingArrangemen.vue

@@ -22,127 +22,112 @@
         <div class="basicInformation">
         <div class="basicInformation">
           <div class="small-title">任务详情</div>
           <div class="small-title">任务详情</div>
           <ws-info-table>
           <ws-info-table>
-            <!-- 任务编号 -->
-            <ws-form-item label="任务编号" span="1" prop="processNo">{{deptBudgetList.processNo}}</ws-form-item>
-            <!-- 货名 -->
+             <ws-form-item label="任务编号" span="1" prop="processNo">{{deptBudgetList.processNo}}</ws-form-item>
             <ws-form-item label="货名" span="1" prop="goodsName">{{deptBudgetList.goodsName}}</ws-form-item>
             <ws-form-item label="货名" span="1" prop="goodsName">{{deptBudgetList.goodsName}}</ws-form-item>
-            <!--重量(吨)-->
             <ws-form-item label="重量(吨)" span="1" prop="weight">{{deptBudgetList.weight}}</ws-form-item>
             <ws-form-item label="重量(吨)" span="1" prop="weight">{{deptBudgetList.weight}}</ws-form-item>
-            <!--发货地址-->
             <ws-form-item
             <ws-form-item
               label="发货地址"
               label="发货地址"
               span="1"
               span="1"
               prop="sendDetailedAddress"
               prop="sendDetailedAddress"
-            >{{deptBudgetList.sendPrivate}}{{deptBudgetList.sendCity}}{{deptBudgetList.sendArea}}</ws-form-item>
-            <!--发货人-->
-            <ws-form-item label="发货人" span="1" prop="sender">{{deptBudgetList.sender}}</ws-form-item>
-
-            <!--发货人电话-->
+            >{{deptBudgetList.sendDetailedAddress}}</ws-form-item>
+           <ws-form-item label="发货人" span="1" prop="sender">{{deptBudgetList.sender}}</ws-form-item>
             <ws-form-item label="发货人电话" span="1" prop="senderPhone">{{deptBudgetList.senderPhone}}</ws-form-item>
             <ws-form-item label="发货人电话" span="1" prop="senderPhone">{{deptBudgetList.senderPhone}}</ws-form-item>
-            <!--收货地址-->
             <ws-form-item
             <ws-form-item
               label="收货地址"
               label="收货地址"
               span="1"
               span="1"
               prop="receiveDetailedAddress"
               prop="receiveDetailedAddress"
-            >{{deptBudgetList.receivePrivate}}{{deptBudgetList.receiveCity}}{{deptBudgetList.receiveArea}}</ws-form-item>
-            <!--收货人-->
+            >{{deptBudgetList.receiveDetailedAddress}}</ws-form-item>
             <ws-form-item label="收货人" span="1" prop="receiver">{{deptBudgetList.receiver}}</ws-form-item>
             <ws-form-item label="收货人" span="1" prop="receiver">{{deptBudgetList.receiver}}</ws-form-item>
-
-            <!--收货人电话-->
             <ws-form-item
             <ws-form-item
               label="收货人电话"
               label="收货人电话"
               span="1"
               span="1"
               prop="receiverPhone"
               prop="receiverPhone"
             >{{deptBudgetList.receiverPhone}}</ws-form-item>
             >{{deptBudgetList.receiverPhone}}</ws-form-item>
-            <!--发货日期-->
             <ws-form-item
             <ws-form-item
               label="发货日期"
               label="发货日期"
               span="1"
               span="1"
               prop="deliveryDateStart"
               prop="deliveryDateStart"
             >{{deptBudgetList.deliveryDateStart}}</ws-form-item>
             >{{deptBudgetList.deliveryDateStart}}</ws-form-item>
-            <!--最晚发货日期-->
             <ws-form-item
             <ws-form-item
               label="最晚到货日期"
               label="最晚到货日期"
               span="1"
               span="1"
               prop="deliveryDateEnd"
               prop="deliveryDateEnd"
             >{{deptBudgetList.deliveryDateEnd}}</ws-form-item>
             >{{deptBudgetList.deliveryDateEnd}}</ws-form-item>
-            <!--合同编号-->
-            <ws-form-item label="合同编号" span="1" prop="contractNo">{{deptBudgetList.contractNo}}</ws-form-item>
+            <ws-form-item label="合同编号" span="1" prop="contractNo">{{deptBudgetList.contractNo}}</ws-form-item> 
           </ws-info-table>
           </ws-info-table>
+          <div class="small-title">联络员及航次</div>
           <div
           <div
             class="position siji"
             class="position siji"
-            v-for="(item,index) in deptBudgetList.tranCarInfoList"
-            :key="index+'siji'"
+            v-for="(item, index) in deptBudgetList.tranCarInfoList"
+            :key="index"
           >
           >
-            <div class="small-title">联络员及航次</div>
             <div class="zhong">
             <div class="zhong">
-              <ws-info-table>
-                <!--姓名-->
-                <ws-form-item label="姓名" span="1" prop="driver" class="siji">
+                <ws-form-item label="姓名" span="1" prop="driver" >
                   <el-select
                   <el-select
                     v-model="item.driver"
                     v-model="item.driver"
                     placeholder="请选择姓名"
                     placeholder="请选择姓名"
                     filterable
                     filterable
                     :filter-method="dataFilter"
                     :filter-method="dataFilter"
                     @change="selectstaff"
                     @change="selectstaff"
+                    class="small"
                   >
                   >
                     <el-option
                     <el-option
                       v-for="item in options"
                       v-for="item in options"
                       :key="item.value"
                       :key="item.value"
                       :label="item.staffName"
                       :label="item.staffName"
                       :value="item.staffName"
                       :value="item.staffName"
+                       
                     />
                     />
                   </el-select>
                   </el-select>
                 </ws-form-item>
                 </ws-form-item>
-                <!--电话-->
-                <ws-form-item label="电话" span="1" prop="driverPhone" class="siji">
+                <ws-form-item label="电话" span="1" prop="driverPhone" class="biao">
                   <ws-input
                   <ws-input
                     :readonly="true"
                     :readonly="true"
                     v-model="item.driverPhone"
                     v-model="item.driverPhone"
                     placeholder="请输入电话"
                     placeholder="请输入电话"
                     maxlength="20"
                     maxlength="20"
                     size="small"
                     size="small"
+                    class="ys"
                   />
                   />
                 </ws-form-item>
                 </ws-form-item>
-                <!--发船日期-->
-                <ws-form-item label="发船日期" span="1" prop="sendDateStart" class="siji">
+                <ws-form-item label="发船日期" span="1" prop="sendDateStart" class="biao2">
                   <ws-date-picker
                   <ws-date-picker
                     v-model="item.sendDateStart"
                     v-model="item.sendDateStart"
                     type="date"
                     type="date"
                     placeholder="请选择发货日期"
                     placeholder="请选择发货日期"
                     value-format="yyyy-MM-dd"
                     value-format="yyyy-MM-dd"
+                    class="small"
                   />
                   />
                 </ws-form-item>
                 </ws-form-item>
-                <!--预计到港日-->
-                <ws-form-item label="预计到港日期" span="1" prop="receiveDateEnd" class="siji">
+                <ws-form-item label="预计到港日期" span="1" prop="receiveDateEnd" class="biao3">
                   <ws-date-picker
                   <ws-date-picker
                     v-model="item.receiveDateEnd"
                     v-model="item.receiveDateEnd"
                     type="date"
                     type="date"
                     placeholder="请选择发货日期"
                     placeholder="请选择发货日期"
                     value-format="yyyy-MM-dd"
                     value-format="yyyy-MM-dd"
+                    class="small"
                   />
                   />
                 </ws-form-item>
                 </ws-form-item>
-                <!-- 船名 -->
-                <ws-form-item label="船名" span="1" prop="shipName" class="siji">
+                 <ws-form-item label="航次" span="1" prop="shipNo" class="biao4">
+                  <ws-input v-model="item.shipNo" placeholder="请选择航次" maxlength="100" size="small" class="ys"></ws-input>
+                </ws-form-item>
+                <ws-form-item label="船名" span="1" prop="shipName" class="">
                   <ws-input
                   <ws-input
                     v-model="item.shipName"
                     v-model="item.shipName"
                     placeholder="请输入船名"
                     placeholder="请输入船名"
                     maxlength="100"
                     maxlength="100"
                     size="small"
                     size="small"
+                    class="ys"
                   ></ws-input>
                   ></ws-input>
                 </ws-form-item>
                 </ws-form-item>
-                <!-- 航次 -->
-                <ws-form-item label="航次" span="1" prop="shipNo" class="siji">
-                  <ws-input v-model="item.shipNo" placeholder="请选择航次" maxlength="100" size="small"></ws-input>
-                </ws-form-item>
-                <!-- 类型 -->
-                <ws-form-item label="类型" span="1" prop="shipType" class="siji">
-                  <ws-select v-model="item.shipType" placeholder="请输入" class="typeselect">
+                <ws-form-item label="类型" span="1" prop="shipType" class="biao5">
+                  <ws-select v-model="item.shipType" placeholder="请输入" class="ys">
                     <ws-option
                     <ws-option
                       v-for="items in shipType"
                       v-for="items in shipType"
                       :key="items.constKey"
                       :key="items.constKey"
                       :label="items.constValue"
                       :label="items.constValue"
                       :value="items.constValue"
                       :value="items.constValue"
+                       
                     />
                     />
                   </ws-select>
                   </ws-select>
                 </ws-form-item>
                 </ws-form-item>
@@ -150,10 +135,10 @@
                   label="数量"
                   label="数量"
                   span="1"
                   span="1"
                   prop="boxNumber"
                   prop="boxNumber"
-                  class="siji"
+                  class="biao6"
                   v-show="item.shipType=='集装箱'"
                   v-show="item.shipType=='集装箱'"
                 >
                 >
-                  <ws-input v-model="item.boxNumber" placeholder="请输入数量" size="small"></ws-input>
+                  <ws-input v-model="item.boxNumber" placeholder="请输入数量" class="ys"></ws-input>
                 </ws-form-item>
                 </ws-form-item>
               </ws-info-table>
               </ws-info-table>
             </div>
             </div>
@@ -161,29 +146,15 @@
               style="width: 530px"
               style="width: 530px"
               class="xia"
               class="xia"
               v-for="(items, index) in freightspace"
               v-for="(items, index) in freightspace"
-              :key="index"
               v-show="item.shipType=='散船'"
               v-show="item.shipType=='散船'"
+              :key="index"
             >
             >
               <ws-info-table>
               <ws-info-table>
-                <ws-form-item
-                  :label="'仓位号-'+ (index +1 )"
-                  span="1"
-                  prop="impurity"
-                  class="bot"
-                >
-                <el-input
-                  v-model="items.impurity"
-                ></el-input>
+                <ws-form-item :label="'仓位号-'+ (index +1 )" span="1" prop="impurity" class="bot">
+                  <el-input v-model="items.impurity"></el-input>
                 </ws-form-item>
                 </ws-form-item>
-                <ws-form-item
-                  label="重量(吨)"
-                  span="1"
-                  prop="positionWeight"
-                  class="bot"
-                >
-                <el-input
-                  v-model="items.positionWeight"
-                ></el-input>
+                <ws-form-item label="重量(吨)" span="1" prop="positionWeight" class="bot">
+                  <el-input v-model="items.positionWeight"></el-input>
                 </ws-form-item>
                 </ws-form-item>
                 <span
                 <span
                   width="22"
                   width="22"
@@ -209,7 +180,7 @@
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>
-      </ws-form>
+      </ws-form> 
       <div style="text-align: right; padding: 10px">
       <div style="text-align: right; padding: 10px">
         <el-button class="bg-bottom-up" type="primary" size="small" @click="submit()">提交</el-button>
         <el-button class="bg-bottom-up" type="primary" size="small" @click="submit()">提交</el-button>
       </div>
       </div>
@@ -231,9 +202,9 @@ export default {
     Pagination
     Pagination
   },
   },
   watch: {
   watch: {
-    // vesselId(val) {
-    //   this.getList()
-    // },
+    vesselId(val) {
+      this.getList()
+    },
     isShow(val) {
     isShow(val) {
       this.showType = val
       this.showType = val
     }
     }
@@ -392,7 +363,7 @@ export default {
     //返回按钮
     //返回按钮
     revert() {
     revert() {
       this.freightspace = []
       this.freightspace = []
-      this.$router.push({ name: 'tranManagementShipping' })
+      this.$router.go(-1)
     },
     },
     del(index) {
     del(index) {
       if (this.freightspace.length > 1) {
       if (this.freightspace.length > 1) {
@@ -475,14 +446,14 @@ export default {
         }
         }
         if (!this.deptBudgetList.tranCarInfoList[i].impurity) {
         if (!this.deptBudgetList.tranCarInfoList[i].impurity) {
           this.$message({
           this.$message({
-            message:'仓位号不能为空',
+            message: '仓位号不能为空',
             type: 'warning'
             type: 'warning'
           })
           })
         }
         }
         if (!this.deptBudgetList.tranCarInfoList[i].positionWeight) {
         if (!this.deptBudgetList.tranCarInfoList[i].positionWeight) {
           this.$message({
           this.$message({
-            message:'重量不能为空',
-            type : 'warning'
+            message: '重量不能为空',
+            type: 'warning'
           })
           })
         }
         }
         if (
         if (
@@ -540,9 +511,7 @@ export default {
                   this.deptBudgetList = {}
                   this.deptBudgetList = {}
                   this.freightspace = {}
                   this.freightspace = {}
                   this.selectedOptions = ''
                   this.selectedOptions = ''
-                  this.$router.push({
-                    path: 'tranManagementShipping'
-                  })
+                  this.$router.go(-1)
                 })
                 })
             } else {
             } else {
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
@@ -573,9 +542,9 @@ export default {
           this.searchType = this.taskTypeList[i].type
           this.searchType = this.taskTypeList[i].type
         }
         }
       }
       }
-    },
-    approve() {},
-    listQuery() {}
+    }
+    // approve() {},
+    // listQuery() {}
   }
   }
 }
 }
 </script>
 </script>
@@ -725,6 +694,7 @@ export default {
   border-radius: 4px;
   border-radius: 4px;
   /* border: 1px solid #d8dce6; */
   /* border: 1px solid #d8dce6; */
   width: 1010px;
   width: 1010px;
+  
 }
 }
 /deep/.zi {
 /deep/.zi {
   width: 64px;
   width: 64px;
@@ -811,12 +781,61 @@ export default {
   border: none;
   border: none;
   width: 1000px;
   width: 1000px;
 }
 }
-.el-input--small .el-input__inner {
-  border-block-color: #f6f7fc;
-  background: #f6f7fc;
-}
+/deep/.el-select .el-input__inner {
+    border: 1px solid #ccc !important;
+    padding: 0 15px !important;
+    font-size: 12px !important;
+    width: 150px;
+}
+// .el-input--small .el-input__inner {
+//   height: 32px;
+//     line-height: 32px;
+//     width: 150px;
+//   border-block-color: #f6f7fc;
+//   background: #f6f7fc;
+  
+// }
 .zhong {
 .zhong {
   background: #f6f7fc;
   background: #f6f7fc;
   border: 1px solid #d8dce6;
   border: 1px solid #d8dce6;
 }
 }
+.bg-left {
+  padding-left: 30px;
+}
+/deep/.el-icon-arrow-up:before {
+    margin-left: 116px;
+}
+/deep/.el-input--prefix .el-input__inner {
+    padding-left: 30px;
+    width: 150px;
+}
+.ys{
+  // margin-left: 300px;
+  width: 100px;
+
+}
+.biao{
+  margin-left: 200px;
+  margin-top: -57px;
+}
+.biao2{
+  margin-left: 350px;
+  margin-top: -57px;
+}
+.biao3{
+   margin-left: 580px;
+  margin-top: -57px;
+}
+.biao4{
+  margin-left: 850px;
+  margin-top: -57px;
+}
+.biao5{
+  margin-left: 200px;
+  margin-top: -57px;
+}
+.biao6{
+  margin-left: 400px;
+  margin-top: -57px;
+}
 </style>
 </style>

+ 157 - 263
src/views/tranManagement/tranManagementShippingLook.vue

@@ -6,7 +6,12 @@
         <h2 class="bg-left title">船运调度详情</h2>
         <h2 class="bg-left title">船运调度详情</h2>
       </el-col>
       </el-col>
       <el-col :span="4" class="bg-right">
       <el-col :span="4" class="bg-right">
-        <el-button class="bg-bottom" type="primary" size="small" @click="revert()">
+        <el-button
+          class="bg-bottom"
+          type="primary"
+          size="small"
+          @click="revert()"
+        >
           <img
           <img
             width="6"
             width="6"
             height="10"
             height="10"
@@ -20,225 +25,141 @@
     <div class="center">
     <div class="center">
       <ws-form ref="deptBudgetList" :model="deptBudgetList">
       <ws-form ref="deptBudgetList" :model="deptBudgetList">
         <div class="basicInformation">
         <div class="basicInformation">
-          <h2>任务编号</h2>
+          <div class="small-title">任务详情</div>
           <ws-info-table>
           <ws-info-table>
             <!-- 任务编号 -->
             <!-- 任务编号 -->
             <ws-form-item label="任务编号" span="1" prop="processNo">
             <ws-form-item label="任务编号" span="1" prop="processNo">
-              <!-- <ws-input
-              v-model="deptBudgetList.processNo" 
-              placeholder="请输入任务编号"
-              maxlength="20"
-              size="small"
-              />-->
-              {{deptBudgetList.processNo}}
+              {{ deptBudgetList.processNo }}
             </ws-form-item>
             </ws-form-item>
             <!-- 货名 -->
             <!-- 货名 -->
             <ws-form-item label="货名" span="1" prop="goodsName">
             <ws-form-item label="货名" span="1" prop="goodsName">
-              <!-- <ws-input
-              v-model="deptBudgetList.goodsName"
-              placeholder="请输入货名"
-              maxlength="20"
-              size="small"
-              />-->
-              {{deptBudgetList.goodsName}}
+              {{ deptBudgetList.goodsName }}
             </ws-form-item>
             </ws-form-item>
             <!--重量(吨)-->
             <!--重量(吨)-->
-            <ws-form-item label="重量(吨)" span="1" prop="weight" class="readonly">
-              <!-- <ws-input
-              v-model="deptBudgetList.weight"
-              placeholder="请输入重重"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.weight}}
+            <ws-form-item
+              label="重量(吨)"
+              span="1"
+              prop="weight"
+              class="readonly"
+            >
+              {{ deptBudgetList.weight }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--发货地址-->
             <!--发货地址-->
             <ws-form-item label="发货地址" span="1">
             <ws-form-item label="发货地址" span="1">
-              <!-- <ws-input
-              readonly="readonly"
-              v-model="deptBudgetList.sendDetailedAddress"
-              placeholder=""
-              maxlength="120"
-              size="small"
-              />-->
-              {{deptBudgetList.sendPrivate}}{{deptBudgetList.sendCity}}{{deptBudgetList.sendArea}}
+              {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
+              }}{{ deptBudgetList.sendArea }}
             </ws-form-item>
             </ws-form-item>
             <!--发货人-->
             <!--发货人-->
             <ws-form-item label="发货人" span="1" prop="sender">
             <ws-form-item label="发货人" span="1" prop="sender">
-              <!-- <ws-input
-              v-model="deptBudgetList.sender"
-              placeholder="请输入发货人姓名"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.sender}}
+              {{ deptBudgetList.sender }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--发货人电话-->
             <!--发货人电话-->
             <ws-form-item label="发货人电话" span="1" prop="senderPhone">
             <ws-form-item label="发货人电话" span="1" prop="senderPhone">
-              <!-- <ws-input
-              v-model="deptBudgetList.senderPhone"
-              placeholder="请输入发货人电话"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.senderPhone}}
+              {{ deptBudgetList.senderPhone }}
             </ws-form-item>
             </ws-form-item>
             <!--收货地址-->
             <!--收货地址-->
-            <ws-form-item label="收货地址" span="1" prop="receiveDetailedAddress">
-              <!-- <el-cascader
-            v-model="deptBudgetList.receiveDetailedAddress"
-            clearable
-            size="large"
-            placeholder="请选择发货地址"
-            style="width: 200%"
-              />-->
-              {{deptBudgetList.receivePrivate}}{{deptBudgetList.receiveCity}}{{deptBudgetList.receiveArea}}
+            <ws-form-item
+              label="收货地址"
+              span="1"
+              prop="receiveDetailedAddress"
+            >
+              {{ deptBudgetList.receivePrivate }}{{ deptBudgetList.receiveCity
+              }}{{ deptBudgetList.receiveArea }}
             </ws-form-item>
             </ws-form-item>
             <!--收货人-->
             <!--收货人-->
             <ws-form-item label="收货人" span="1" prop="receiver">
             <ws-form-item label="收货人" span="1" prop="receiver">
-              <!-- <ws-input
-              v-model="deptBudgetList.receiver"
-              placeholder="请输入发货人"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.receiver}}
+              {{ deptBudgetList.receiver }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--收货人电话-->
             <!--收货人电话-->
             <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
             <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
-              <!-- <ws-input
-              v-model="deptBudgetList.receiverPhone"
-              placeholder="请输入收货人电话"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.receiverPhone}}
+              {{ deptBudgetList.receiverPhone }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--发船日期-->
             <!--发船日期-->
             <ws-form-item label="发船日期" span="1" prop="deliveryDateStart">
             <ws-form-item label="发船日期" span="1" prop="deliveryDateStart">
-              <!-- <ws-input
-            v-model="deptBudgetList.deliveryDateStart"
-            placeholder=""
-            maxlength="20"
-            size="small"
-              />-->
-              {{deptBudgetList.deliveryDateStart}}
+              {{ deptBudgetList.deliveryDateStart }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--最晚发货日期-->
             <!--最晚发货日期-->
             <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
             <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
-              <!-- <ws-input
-            v-model="deptBudgetList.deliveryDateEnd"
-            placeholder=""
-            maxlength="20"
-            size="small"
-              />-->
-              {{deptBudgetList.deliveryDateEnd}}
+              {{ deptBudgetList.deliveryDateEnd }}
             </ws-form-item>
             </ws-form-item>
             <!--合同编号-->
             <!--合同编号-->
             <ws-form-item label="合同编号" span="1" prop="contractNo">
             <ws-form-item label="合同编号" span="1" prop="contractNo">
-              <!-- <ws-input
-            v-model="deptBudgetList.contractNo"
-            placeholder="请输入合同编号"
-            maxlength="20"
-            size="small"
-              />-->
-              {{deptBudgetList.contractNo}}
+              {{ deptBudgetList.contractNo }}
             </ws-form-item>
             </ws-form-item>
           </ws-info-table>
           </ws-info-table>
           <div class="small-title">联络员及航次</div>
           <div class="small-title">联络员及航次</div>
-          <div class="aa">
-            <div class="small-title">航次信息</div>
-            <div
-              style="width: 100%"
-              class="flex position"
-              v-for="(item, index) in deptBudgetList.tranCarInfoList"
-            >
-              <ws-info-table>
-                <!-- 姓名 -->
-                <ws-form-item label="姓名" span="1" prop="driver" class="siji">
-                  <!-- <ws-input
-                  v-model="item.driver"
-                  placeholder="请选择联络员"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.driver}}
-                </ws-form-item>
-                <!-- 电话 -->
-                <ws-form-item label="电话" span="1" prop="driverPhone" class="siji">
-                  <!-- <ws-input
-                  v-model="item.driverPhone"
-                  placeholder="联络员电话"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.driverPhone}}
-                </ws-form-item>
-                <!--发船日期-->
-                <ws-form-item label="发船日期" span="1" prop="sendDateStart" class="siji">
-                  <!-- <ws-input
-                  v-model="item.sendDateStart"
-                  placeholder="请选择日期"
-                  ></ws-input>-->
-                  {{item.sendDateStart}}
-                </ws-form-item>
-                <ws-form-item label="预计到港日期" span="1" prop="receiveDateEnd" class="siji">
-                  <!-- <ws-input
-                  v-model="item.receiveDateEnd"
-                  placeholder="请选择日期"
-                  value-format="yyyy-MM-dd"
-                  size="small"
-                  />-->
-                  {{item.receiveDateEnd}}
-                </ws-form-item>
-                <!-- 船名 -->
-                <ws-form-item label="船名" span="1" prop="shipName" class="siji">
-                  <!-- <ws-input 
-                  v-model="item.shipName"
-                  placeholder="请输入船名"
-                  maxlength="100"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.shipName}}
-                </ws-form-item>
-                <!-- 航次 -->
-                <ws-form-item label="航次" span="1" prop="shipNo" class="siji">
-                  <!-- <ws-input 
-                  v-model="item.shipNo"
-                  placeholder="请选择航次"
-                  maxlength="100"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.shipNo}}
-                </ws-form-item>
-                <!-- 类型 -->
-                <ws-form-item label="类型" span="1" prop="shipType" class="siji">
-                  <!-- <ws-input
-                  v-model="item.shipType"
-                  placeholder=""
-                  size="small"
-                  ></ws-input>-->
-                  {{item.shipType}}
-                </ws-form-item>
-                <ws-form-item
-                  label="数量"
-                  span="1"
-                  prop="boxNumber"
-                  class="siji"
-                  v-show="item.shipType=='集装箱'"
-                >
-                  <!-- <ws-input
-          v-model="item.boxNumber"
-          placeholder="请输入数量"
-          size="small"
-                  ></ws-input>-->
-                  {{item.boxNumber}}
-                </ws-form-item>
-              </ws-info-table>
-            </div>
+          <div
+            style="width: 100%"
+            class="flex position middle"
+            v-for="(item, index) in deptBudgetList.tranCarInfoList"
+          >
+        <div style="margin: 18px;color: #69708C;">航次信息</div>
+            <ws-info-table>
+              <!-- 姓名 -->
+              <ws-form-item label="姓名" span="1" prop="driver" class="siji">
+                {{ item.driver }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 电话 -->
+              <ws-form-item
+                label="电话"
+                span="1"
+                prop="driverPhone"
+                class="siji"
+              >
+                {{ item.driverPhone }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!--发船日期-->
+              <ws-form-item
+                label="发船日期"
+                span="1"
+                prop="sendDateStart"
+                class="siji"
+              >
+                {{ item.sendDateStart }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <ws-form-item
+                label="预计到港日期"
+                span="1"
+                prop="receiveDateEnd"
+                class="siji"
+              >
+                {{ item.receiveDateEnd }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 船名 -->
+              <ws-form-item label="船名" span="1" prop="shipName" class="siji">
+                {{ item.shipName }}
+              </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 航次 -->
+              <ws-form-item label="航次" span="1" prop="shipNo" class="siji">
+                {{ item.shipNo }}
+              </ws-form-item>
+
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 类型 -->
+              <ws-form-item label="类型" span="1" prop="shipType" class="siji">
+                {{ item.shipType }}
+              </ws-form-item>
+              <ws-form-item
+                label="数量"
+                span="1"
+                prop="boxNumber"
+                class="siji"
+                v-show="item.shipType == '集装箱'"
+              >
+                {{ item.boxNumber }}
+              </ws-form-item>
+               
+            </ws-info-table>
           </div>
           </div>
           <div class="xia">
           <div class="xia">
             <div
             <div
@@ -248,43 +169,34 @@
               :key="index"
               :key="index"
             >
             >
               <ws-info-table>
               <ws-info-table>
-                <ws-form-item :label="'仓位号-'+ (index + 1 )" span="1" prop="impurity" class="bot">
-                  <!-- <ws-input
-          v-model="item.impurity"
-          placeholder="请输入仓位号"
-          size="small"
-                  ></ws-input>-->
-                  {{items.impurity}}
+                <ws-form-item
+                  :label="'仓位号-' + (index + 1)"
+                  span="1"
+                  prop="impurity"
+                  class="bot"
+                >
+                  {{ items.impurity }}
                 </ws-form-item>
                 </ws-form-item>
                 <!-- 重量(吨) -->
                 <!-- 重量(吨) -->
-                <ws-form-item label="重量(吨)" span="1" prop="positionWeight" class="bot">
-                  <!-- <ws-input
-          v-model="item.positionWeight"
-          placeholder="请输入装仓重量"
-          size="small"
-                  ></ws-input>-->
-                  {{items.positionWeight}}
+                <ws-form-item
+                  label="重量(吨)"
+                  span="1"
+                  prop="positionWeight"
+                  class="bot"
+                >
+                  {{ items.positionWeight }}
                 </ws-form-item>
                 </ws-form-item>
               </ws-info-table>
               </ws-info-table>
-              <!-- <img
-            width="22"
-            height="22"
-            class="del"
-            @click="del(index)"
-            src="../../../public/img/del.png"
-            alt=""
-              />-->
             </div>
             </div>
           </div>
           </div>
-          <!-- <el-button
-          class="add"
-          type="primary"
-          size="small"
-          @click="add()"
-          >添加仓位</el-button
-          >-->
           <div style="text-align: right; padding: 10px">
           <div style="text-align: right; padding: 10px">
-            <el-button class="bg-bottom-up" type="primary" size="small" @click="returnsales()">关闭</el-button>
+            <el-button
+              class="bg-bottom-up"
+              type="primary"
+              size="small"
+              @click="returnsales()"
+              >关闭</el-button
+            >
           </div>
           </div>
         </div>
         </div>
       </ws-form>
       </ws-form>
@@ -301,7 +213,7 @@ export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
     WsUpload,
     WsUpload,
-    Pagination
+    Pagination,
   },
   },
   watch: {
   watch: {
     // vesselId(val) {
     // vesselId(val) {
@@ -309,7 +221,7 @@ export default {
     // },
     // },
     isShow(val) {
     isShow(val) {
       this.showType = val
       this.showType = val
-    }
+    },
   },
   },
   data() {
   data() {
     return {
     return {
@@ -344,16 +256,16 @@ export default {
       tranCarInfoList: [],
       tranCarInfoList: [],
       list: [],
       list: [],
       arr: [],
       arr: [],
-      freightspace: [{ binNumber: '', maxStorage: '', remark: '' }],
+      freightspace: [],
       rules: {
       rules: {
         netWeight: [
         netWeight: [
           {
           {
             required: true,
             required: true,
             type: 'number',
             type: 'number',
             message: '请输入活动名称',
             message: '请输入活动名称',
-            trigger: 'blur'
-          }
-        ]
+            trigger: 'blur',
+          },
+        ],
       },
       },
       size: 10,
       size: 10,
       compId: sessionStorage.getItem('ws-pf_compId'),
       compId: sessionStorage.getItem('ws-pf_compId'),
@@ -361,21 +273,21 @@ export default {
       packtypeList: {},
       packtypeList: {},
       date: {
       date: {
         year: dayjs().format('YYYY'),
         year: dayjs().format('YYYY'),
-        month: dayjs().format('MM')
+        month: dayjs().format('MM'),
       },
       },
       contractList: [],
       contractList: [],
       deptBudgetList: {
       deptBudgetList: {
         warehouseInOutDetail: {},
         warehouseInOutDetail: {},
-        tranCarInfoList: []
+        tranCarInfoList: [],
       },
       },
       historyList: [],
       historyList: [],
 
 
       pickerBeginDateBefore: {
       pickerBeginDateBefore: {
-        disabledDate: time => {
+        disabledDate: (time) => {
           return time.getTime() > Date.now()
           return time.getTime() > Date.now()
-        }
+        },
       },
       },
-      accessoryTFs: false
+      accessoryTFs: false,
     }
     }
   },
   },
   mounted() {
   mounted() {
@@ -392,26 +304,16 @@ export default {
     loaddata() {
     loaddata() {
       shippingLook({ id: this.$route.query.id })
       shippingLook({ id: this.$route.query.id })
         .toPromise()
         .toPromise()
-        .then(response => {
+        .then((response) => {
           this.deptBudgetList = response
           this.deptBudgetList = response
-          // this.deptBudgetList.driver = this.deptBudgetList.tranCarInfoList[0].driver
-          // this.deptBudgetList.driverPhone = this.deptBudgetList.tranCarInfoList[0].driverPhone
-          // this.deptBudgetList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
-          //   this.deptBudgetList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
-          //    this.deptBudgetList.receiveDateEnd = this.deptBudgetList.tranCarInfoList[0].receiveDateEnd
-          //   this.deptBudgetList.shipName = this.deptBudgetList.tranCarInfoList[0].shipName
-          //    this.deptBudgetList.shipNo = this.deptBudgetList.tranCarInfoList[0].shipNo
-          //     this.deptBudgetList.shipType = this.deptBudgetList.tranCarInfoList[0].shipType
-          //    this.deptBudgetList. boxNumber =this.deptBudgetList.tranCarInfoList[0].boxNumber
           for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
           for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
-            var num = this.deptBudgetList.tranCarInfoList[
-              i
-            ].positionWeight.split(',')
+            var num =
+              this.deptBudgetList.tranCarInfoList[i].positionWeight.split(',')
             for (var j = 0; j < num.length; j++) {
             for (var j = 0; j < num.length; j++) {
               var num2 = num[j].split('/')
               var num2 = num[j].split('/')
               this.freightspace.push({
               this.freightspace.push({
                 impurity: num2[i],
                 impurity: num2[i],
-                positionWeight: num2[num2.length - 1]
+                positionWeight: num2[num2.length - 1],
               })
               })
             }
             }
           }
           }
@@ -423,17 +325,17 @@ export default {
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
         contractType: this.contractType,
         contractType: this.contractType,
-        tranTypeKey: this.tranTypeKey
+        tranTypeKey: this.tranTypeKey,
       })
       })
         .toPromise()
         .toPromise()
-        .then(response => {
+        .then((response) => {
           this.warehouseList = response
           this.warehouseList = response
         })
         })
     },
     },
     //返回按钮
     //返回按钮
     revert() {
     revert() {
       this.freightspace = []
       this.freightspace = []
-      this.$router.push({ path: 'tranManagementShipping' })
+      this.$router.go(-1)
     },
     },
     del(index) {
     del(index) {
       if (this.freightspace.length > 1) {
       if (this.freightspace.length > 1) {
@@ -444,7 +346,7 @@ export default {
       this.freightspace.push({
       this.freightspace.push({
         binNumber: '',
         binNumber: '',
         maxStorage: '',
         maxStorage: '',
-        remark: ''
+        remark: '',
       })
       })
     },
     },
     //提交按钮
     //提交按钮
@@ -452,19 +354,18 @@ export default {
       this.$confirm(`暂存后可在待完成页面查看,确定暂存`, {
       this.$confirm(`暂存后可在待完成页面查看,确定暂存`, {
         cancelButtonText: '取消',
         cancelButtonText: '取消',
         confirmButtonText: '确定',
         confirmButtonText: '确定',
-        type: 'warning'
+        type: 'warning',
       })
       })
         .then(() => {
         .then(() => {
-          this.$refs.deptBudgetList.validate(valid => {
+          this.$refs.deptBudgetList.validate((valid) => {
             if (valid) {
             if (valid) {
-              this.deptBudgetList.compId = sessionStorage.getItem(
-                'ws-pf_compId'
-              )
+              this.deptBudgetList.compId =
+                sessionStorage.getItem('ws-pf_compId')
               this.deptBudgetList.inOutFlag = 2
               this.deptBudgetList.inOutFlag = 2
               this.deptBudgetList.statusFlag = 1
               this.deptBudgetList.statusFlag = 1
               addstorageputList(this.deptBudgetList)
               addstorageputList(this.deptBudgetList)
                 .toPromise()
                 .toPromise()
-                .then(response => {
+                .then((response) => {
                   this.$message.success('暂存成功')
                   this.$message.success('暂存成功')
                   this.$router.push({ path: 'warehouseManagementList' })
                   this.$router.push({ path: 'warehouseManagementList' })
                 })
                 })
@@ -522,8 +423,8 @@ export default {
       }
       }
     },
     },
     approve() {},
     approve() {},
-    listQuery() {}
-  }
+    listQuery() {},
+  },
 }
 }
 </script>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>
@@ -695,23 +596,6 @@ export default {
     border: none;
     border: none;
   }
   }
 }
 }
-//联络员及航次样式
-.aa {
-  width: 100%;
-  height: 90px;
-  background: #f5f7fa;
-  border-radius: 4px;
-  border: 1px solid #d8dce6;
-}
-// .xia{
-//   width:500px;
-//   // height: 46px;
-//   background: #F5F7FA;
-//   border-radius: 4px;
-//   // border: 1px solid #D8DCE6;
-//   margin-top: 10px;
-//   border: none;
-// }
 .xia {
 .xia {
   width: 700px;
   width: 700px;
   // height: 50px;
   // height: 50px;
@@ -729,7 +613,7 @@ export default {
   line-height: 16px;
   line-height: 16px;
 }
 }
 .position .siji {
 .position .siji {
-  width: 14.2%;
+  width: 13%;
 }
 }
 .el-form {
 .el-form {
   height: 1000px;
   height: 1000px;
@@ -740,4 +624,14 @@ export default {
 /deep/.position .ws-info-table .el-form-item .el-form-item__label {
 /deep/.position .ws-info-table .el-form-item .el-form-item__label {
   background-color: #f5f7fa;
   background-color: #f5f7fa;
 }
 }
+.middle {
+  background: #f6f7fc;
+  border-radius: 4px;
+  border: 1px solid #d8dce6;
+}
+.line{
+  height: 26px;
+  margin-top: 6px;
+  left: -20px;
+}
 </style>
 </style>

+ 65 - 35
src/views/tranManagement/tranManagementTransporHairRespond.vue

@@ -3,11 +3,11 @@
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="12">
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
       <template slot="left">
-        <ws-button class="but" type="primary" @click="statusquery(1)">
+         <ws-button class="but"  :type="primary == 1 ? 'primary' : ''" @click="statusquery(1)">
           执行中</ws-button
           执行中</ws-button
         >
         >
-        <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
-        <ws-button class="but" @click="statusquery()">全部任务</ws-button>
+        <ws-button class="but"  :type="primary == 2 ? 'primary' : ''" @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but"  :type="primary == 3 ? 'primary' : ''" @click="statusquery()">全部任务</ws-button>
       </template>
       </template>
       <!-- 接单开始 -->
       <!-- 接单开始 -->
       <template slot="right">
       <template slot="right">
@@ -17,7 +17,7 @@
           >
           >
         </div>
         </div>
         <el-date-picker
         <el-date-picker
-          v-model="deptBudgetList.inOutDate"
+          v-model="inOutDate"
           type="daterange"
           type="daterange"
           align="right"
           align="right"
           unlink-panels
           unlink-panels
@@ -28,7 +28,7 @@
         </el-date-picker>
         </el-date-picker>
         <ws-input
         <ws-input
           v-model="searchKeyWord"
           v-model="searchKeyWord"
-          placeholder="可按照合同编号、买方名称、卖方名称进行查找"
+          placeholder="可按发货人、收货人、任务编号查找"
           clearable
           clearable
           maxlength="500"
           maxlength="500"
           type="input"
           type="input"
@@ -50,6 +50,7 @@
       </template>
       </template>
     </BaseHeaderLayout>
     </BaseHeaderLayout>
     <div class="container">
     <div class="container">
+      
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="tranManagementList.records"
         :data="tranManagementList.records"
@@ -62,17 +63,17 @@
             <span v-else>{{ scope.$index + 1 }}</span>
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="processNo" label="运输任务编号" width="120">
+        <el-table-column prop="processNo" label="运输任务编号" >
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="tranType" label="运输方式" width="80">
+        <el-table-column prop="tranType" label="运输方式" >
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="goodsName" label="货名" width="80">
+        <el-table-column prop="goodsName" label="货名" >
         </el-table-column>
         </el-table-column>
         <el-table-column prop="weight" label="重量(吨)" width="120">
         <el-table-column prop="weight" label="重量(吨)" width="120">
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="send" label="发货" width="200">
+        <el-table-column prop="send" label="发货" width="240">
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="receive" label="收货" width="200">
+        <el-table-column prop="receive" label="收货" width="240">
         </el-table-column>
         </el-table-column>
         <el-table-column prop="tranCycle" label="运输周期" width="160">
         <el-table-column prop="tranCycle" label="运输周期" width="160">
           <template scope="scope">
           <template scope="scope">
@@ -141,21 +142,29 @@
         <el-table-column prop="receivingDate" class="table_td" label="接单日期">
         <el-table-column prop="receivingDate" class="table_td" label="接单日期">
         </el-table-column>
         </el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
         <el-table-column prop="seller" label="操作" width="300">
-          <template slot-scope="scope">
-            <div class="record" @click="trainSee(scope.row)">查看</div>
-            <div
-              class="adjustment"
-              @click="feedback(scope.row)"
-              v-show="
+          <template  slot-scope="scope">
+              <template v-if="
                 scope.row.tranType == '汽运' &&
                 scope.row.tranType == '汽运' &&
                 scope.row.feedbackStatus != '已完成'
                 scope.row.feedbackStatus != '已完成'
-              "
-            >
-              反馈
-            </div>
+              ">
+                <div class="record" @click="trainSee(scope.row)">查看</div>
+                <div class="adjustment" @click="feedback(scope.row)">反馈</div>
+              </template>
+              <template v-else>
+                <div class="record1" @click="trainSee(scope.row)">查看</div>
+              </template>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
+       <el-pagination
+        @size-change="handleSizeChange"
+        @current-change="handleCurrentChange"
+        :current-page="currentPage"
+        :page-size="deptCircularPage.pageSize"
+        layout="total, sizes, prev, pager, next, jumper"
+        :total="deptBudgetTotal"
+      >
+      </el-pagination>
     </div>
     </div>
   </div>
   </div>
 </template>
 </template>
@@ -195,16 +204,19 @@ export default {
       year: '',
       year: '',
       currentPage: 1,
       currentPage: 1,
       pageSize: 10,
       pageSize: 10,
+      deptBudgetTotal: 0,
       searchTypeText: '未完成',
       searchTypeText: '未完成',
       searchKeyWord: '',
       searchKeyWord: '',
       contractType: 2,
       contractType: 2,
       tranTypeKey: 2,
       tranTypeKey: 2,
-      searchTypeFeedback: 1,
+      feedbackFlag: 1,
       searchTypeOne: 1,
       searchTypeOne: 1,
       // 提交类型
       // 提交类型
       submitType: true,
       submitType: true,
       size: 10,
       size: 10,
+      primary:'1',
       spanArr: [],
       spanArr: [],
+      inOutDate:[],
       warehouseName: '',
       warehouseName: '',
       compId: sessionStorage.getItem('ws-pf_compId'),
       compId: sessionStorage.getItem('ws-pf_compId'),
       deptCircularPage: {},
       deptCircularPage: {},
@@ -272,7 +284,14 @@ export default {
       })
       })
     },
     },
     statusquery(status) {
     statusquery(status) {
-      this.searchTypeFeedback = status
+       if (status == 1) {
+        this.primary = 1
+      } else if (status == 2) {
+        this.primary = 2
+      } else {
+        this.primary = 3
+      }
+      this.feedbackFlag = status
       this.getList()
       this.getList()
     },
     },
     dateFormat(fmt, date) {
     dateFormat(fmt, date) {
@@ -313,13 +332,18 @@ export default {
     getList() {
     getList() {
       automobileList({
       automobileList({
         compId: sessionStorage.getItem('ws-pf_compId'),
         compId: sessionStorage.getItem('ws-pf_compId'),
-        contractType: this.contractType,
-        searchTypeFeedback: this.searchTypeFeedback,
+        feedbackFlag: this.feedbackFlag,
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
+         startDate:this.startDate,
+        endDate:this.endDate,
+        searchKeyWord : this.searchKeyWord,
       })
       })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {
+            this.deptCircularPage.currentPage = response.current
+          this.deptCircularPage.pageSize = response.size
+          this.deptBudgetTotal = response.total
           this.tranManagementList = response
           this.tranManagementList = response
         })
         })
     },
     },
@@ -364,6 +388,13 @@ export default {
       }
       }
     },
     },
     find() {
     find() {
+     if (this.inOutDate.length > 0) {
+        this.startDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[0])
+        this.endDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[1])
+      } else {
+        this.startDate = ''
+        this.endDate = ''
+      }
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       this.getList()
     }
     }
@@ -399,7 +430,7 @@ export default {
 }
 }
 
 
 //操作按钮
 //操作按钮
-.record,
+.record,.record1,
 .adjustment {
 .adjustment {
   display: inline-block;
   display: inline-block;
   color: #5878e8;
   color: #5878e8;
@@ -453,23 +484,22 @@ export default {
 /deep/.el-table tr th.is-leaf:first-child {
 /deep/.el-table tr th.is-leaf:first-child {
   border-left: 1px solid #e9ecf7;
   border-left: 1px solid #e9ecf7;
 }
 }
-
-.el-row {
-  height: 150px;
-}
 .base_header_layout .grid-content {
 .base_header_layout .grid-content {
   margin-top: 80px;
   margin-top: 80px;
 }
 }
-//待完成三按钮
-.but {
-  margin-top: 150px;
-  margin-left: 110px;
-}
 .el-input--small .el-input__inner {
 .el-input--small .el-input__inner {
   margin-left: 20px;
   margin-left: 20px;
 }
 }
 .el-range-editor--small.el-input__inner {
 .el-range-editor--small.el-input__inner {
   height: 32px;
   height: 32px;
-  margin: 0 10px;
+margin:0 10px;
+}
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
 }
 }
 </style>
 </style>

+ 86 - 27
src/views/tranManagement/tranManagementTransporTationFire.vue

@@ -3,17 +3,36 @@
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="12">
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
       <template slot="left">
-        <ws-button class="but" :type="searchType==1 ?'primary':''" @click="statusquery(1)"> 执行中</ws-button>
-        <ws-button class="but" :type="searchType==2 ?'primary':''" @click="statusquery(2)">已完成</ws-button>
-        <ws-button class="but" :type="searchType== undefined ?'primary':''" @click="statusquery()">全部任务</ws-button>
+        <ws-button
+          class="but"
+          :type="searchType == 1 ? 'primary' : ''"
+          @click="statusquery(1)"
+        >
+          执行中</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="searchType == 2 ? 'primary' : ''"
+          @click="statusquery(2)"
+          >已完成</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="searchType == undefined ? 'primary' : ''"
+          @click="statusquery()"
+          >全部任务</ws-button
+        >
       </template>
       </template>
       <!-- 接单开始 -->
       <!-- 接单开始 -->
       <template slot="right">
       <template slot="right">
         <div>
         <div>
-           <span style="display: inline-block; width: 60px;color: #8890B1;">接单日期</span>
+          <span style="display: inline-block; width: 60px; color: #8890b1"
+            >接单日期</span
+          >
         </div>
         </div>
-         <el-date-picker
-          v-model="deptBudgetList.inOutDate"
+        <!-- v-model="deptBudgetList.inOutDate" -->
+        <el-date-picker
+          v-model="inOutDate"
           type="daterange"
           type="daterange"
           align="right"
           align="right"
           unlink-panels
           unlink-panels
@@ -24,7 +43,7 @@
         </el-date-picker>
         </el-date-picker>
         <ws-input
         <ws-input
           v-model="searchKeyWord"
           v-model="searchKeyWord"
-          placeholder="可按照合同编号、买方名称、卖方名称进行查找"
+          placeholder="可按发货人、收货人、任务编号查找"
           clearable
           clearable
           maxlength="500"
           maxlength="500"
           type="input"
           type="input"
@@ -51,7 +70,7 @@
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="tranManagementList.records"
         :data="tranManagementList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%;"
         height="780"
         height="780"
       >
       >
         <el-table-column type="index" label="序号" width="80">
         <el-table-column type="index" label="序号" width="80">
@@ -94,13 +113,20 @@
                     v-if="scope.row.processStatus == '执行中'"
                     v-if="scope.row.processStatus == '执行中'"
                     class="inExecution"
                     class="inExecution"
                   ></span>
                   ></span>
-                  <span v-if="scope.row.processStatus == '已完成'" class="done"></span
+                  <span
+                    v-if="scope.row.processStatus == '已完成'"
+                    class="done"
+                  ></span
                   >{{ scope.row.processStatus }}
                   >{{ scope.row.processStatus }}
                 </span>
                 </span>
               </template>
               </template>
               <div>
               <div>
                 <p style="margin-top: 0; padding-left: 10px">XXXXX</p>
                 <p style="margin-top: 0; padding-left: 10px">XXXXX</p>
-                <div v-for="(item, index) in historyList" class="flex" :key="index">
+                <div
+                  v-for="(item, index) in historyList"
+                  class="flex"
+                  :key="index"
+                >
                   <div class="vertical-text vertical-text-left">
                   <div class="vertical-text vertical-text-left">
                     {{ item.updateDate }}
                     {{ item.updateDate }}
                   </div>
                   </div>
@@ -134,26 +160,40 @@
              <div
              <div
               class="record"
               class="record"
               @click="trainSee(scope.row)"
               @click="trainSee(scope.row)"
+              v-hasPermission="'transportationTask.transportation.fireDispatching.view'"
             >
             >
               查看
               查看
             </div>
             </div>
              <div
              <div
               class="adjustment"
               class="adjustment"
               @click="trainNumber(scope.row)"
               @click="trainNumber(scope.row)"
+              v-hasPermission="'transportationTask.transportation.fireDispatching.car'"
             >
             >
               车次
               车次
             </div>
             </div>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
+      <el-pagination
+        @size-change="handleSizeChange"
+        @current-change="handleCurrentChange"
+        :current-page="currentPage"
+        :page-size="deptCircularPage.pageSize"
+        layout="total, sizes, prev, pager, next, jumper"
+        :total="deptBudgetTotal"
+      >
+      </el-pagination>
     </div>
     </div>
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
-import { automobileList ,alsostate} from '@/model/transport/index'
+import { automobileList, alsostate } from '@/model/transport/index'
 import Pagination from '@/components/Pagination'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
-import { dayjs, fmoney, EventBus } from 'base-core-lib'
+import {  EventBus } from 'base-core-lib'
+import {
+  billoperatehis,
+} from '@/model/contarct/index'
 export default {
 export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
@@ -184,9 +224,9 @@ export default {
       year: '',
       year: '',
       currentPage: 1,
       currentPage: 1,
       pageSize: 10,
       pageSize: 10,
+      deptBudgetTotal:0,
       searchTypeText: '未完成',
       searchTypeText: '未完成',
       searchKeyWord: '',
       searchKeyWord: '',
-      contractType: 2,
       tranTypeKey: 2,
       tranTypeKey: 2,
       // 提交类型
       // 提交类型
       submitType: true,
       submitType: true,
@@ -194,11 +234,14 @@ export default {
       spanArr: [],
       spanArr: [],
       warehouseName: '',
       warehouseName: '',
       searchType: 1,
       searchType: 1,
+      startDate: null,
+      endDate: null,
       compId: sessionStorage.getItem('ws-pf_compId'),
       compId: sessionStorage.getItem('ws-pf_compId'),
       deptCircularPage: {},
       deptCircularPage: {},
       tranManagementList: [],
       tranManagementList: [],
       deptBudgetList: {},
       deptBudgetList: {},
       historyList: [],
       historyList: [],
+      inOutDate: [],
       pickerBeginDateBefore: {
       pickerBeginDateBefore: {
         disabledDate: (time) => {
         disabledDate: (time) => {
           return time.getTime() > Date.now()
           return time.getTime() > Date.now()
@@ -244,7 +287,7 @@ export default {
     //查看火运调度详细
     //查看火运调度详细
     trainSee(row) {
     trainSee(row) {
       this.$router.push({
       this.$router.push({
-        path: 'tranManagementTransporTrainDetails',
+        name: 'fireDispatchingview',
         query: {
         query: {
           id: row.id,
           id: row.id,
         },
         },
@@ -253,13 +296,13 @@ export default {
     //车次
     //车次
     trainNumber(row) {
     trainNumber(row) {
       this.$router.push({
       this.$router.push({
-        path: 'tranManagementTransporTrainNo',
+        name: 'fireDispatchingcar',
         query: {
         query: {
           id: row.id,
           id: row.id,
         },
         },
       })
       })
     },
     },
-    statusquery(state){
+    statusquery(state) {
       this.searchType = state
       this.searchType = state
       this.getList()
       this.getList()
     },
     },
@@ -302,32 +345,36 @@ export default {
     getList() {
     getList() {
       automobileList({
       automobileList({
         compId: sessionStorage.getItem('ws-pf_compId'),
         compId: sessionStorage.getItem('ws-pf_compId'),
-        contractType: this.contractType,
-        searchType : this.searchType,
+        searchType: this.searchType,
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
         tranTypeKey: this.tranTypeKey,
         tranTypeKey: this.tranTypeKey,
+        startDate: this.startDate,
+        endDate: this.endDate,
+        searchKeyWord: this.searchKeyWord,
       })
       })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {
           this.tranManagementList = response
           this.tranManagementList = response
+           this.deptCircularPage.currentPage = response.current
+          this.deptCircularPage.pageSize = response.size
+          this.deptBudgetTotal = response.total
         })
         })
     },
     },
     editClick(row) {
     editClick(row) {
       var status = ''
       var status = ''
-      if (row.status == '待执行' || row.status == '已完成') {
+      if (row.processStatus == '待执行' || row.processStatus == '已完成') {
         status = '执行中'
         status = '执行中'
-      } else if (row.status == '执行中') {
+      } else if (row.processStatus == '执行中') {
         status = '已完成'
         status = '已完成'
       }
       }
-      //cancelButtonClass: "btn-custom-cancel"
       this.$confirm(`是否将状态改为${status}`, {
       this.$confirm(`是否将状态改为${status}`, {
         confirmButtonText: '确定',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         cancelButtonText: '取消',
         type: 'warning',
         type: 'warning',
       })
       })
         .then(() => {
         .then(() => {
-         alsostate({ id: row.id })
+          alsostate({ id: row.id })
             .toPromise()
             .toPromise()
             .then((response) => {
             .then((response) => {
               this.$notify.success({
               this.$notify.success({
@@ -383,6 +430,13 @@ export default {
         })
         })
     },
     },
     find() {
     find() {
+      if (this.inOutDate.length > 0) {
+        this.startDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[0])
+        this.endDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[1])
+      } else {
+        this.startDate = ''
+        this.endDate = ''
+      }
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       this.getList()
     },
     },
@@ -472,15 +526,12 @@ export default {
   border-left: 1px solid #e9ecf7;
   border-left: 1px solid #e9ecf7;
 }
 }
 .el-row {
 .el-row {
-  height: 150px;
+  height: 60px;
 }
 }
 .base_header_layout .grid-content {
 .base_header_layout .grid-content {
   margin-top: 80px;
   margin-top: 80px;
 }
 }
-.but {
-  margin-top: 150px;
-  margin-left: 110px;
-}
+
 .el-input--small .el-input__inner {
 .el-input--small .el-input__inner {
   margin-left: 20px;
   margin-left: 20px;
 }
 }
@@ -488,4 +539,12 @@ export default {
   height: 32px;
   height: 32px;
   margin: 0 10px;
   margin: 0 10px;
 }
 }
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
+}
 </style>
 </style>

+ 24 - 53
src/views/tranManagement/tranManagementTransporTrainDetails.vue

@@ -99,18 +99,22 @@
           <ws-form-item label="姓名:" span="1" prop="driver">
           <ws-form-item label="姓名:" span="1" prop="driver">
             {{ item.driver }}
             {{ item.driver }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--电话-->
           <!--电话-->
           <ws-form-item label="电话:" span="1" prop="driverPhone">
           <ws-form-item label="电话:" span="1" prop="driverPhone">
             {{ item.driverPhone }}
             {{ item.driverPhone }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--发车日期-->
           <!--发车日期-->
           <ws-form-item label="发车日期:" span="1" prop="sendDateStart">
           <ws-form-item label="发车日期:" span="1" prop="sendDateStart">
             {{ item.sendDateStart }}
             {{ item.sendDateStart }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--到站日期-->
           <!--到站日期-->
           <ws-form-item label="到站日期:" span="1" prop="receiveDateEnd">
           <ws-form-item label="到站日期:" span="1" prop="receiveDateEnd">
             {{ item.receiveDateEnd }}
             {{ item.receiveDateEnd }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--车型-->
           <!--车型-->
           <ws-form-item label="车型:" span="1" prop="carModel">
           <ws-form-item label="车型:" span="1" prop="carModel">
             {{ item.carModel }}
             {{ item.carModel }}
@@ -131,6 +135,7 @@
             >
             >
               {{ items.trainNo }}
               {{ items.trainNo }}
             </ws-form-item>
             </ws-form-item>
+               <el-divider direction="vertical" class="line" v-if="(index+1) % 5 != 0"></el-divider>
           </div>
           </div>
         </ws-info-table>
         </ws-info-table>
       </div>
       </div>
@@ -237,29 +242,6 @@ export default {
     },
     },
   },
   },
   methods: {
   methods: {
-    // dataFilter(val) {
-    //   this.deptBudgetList.personCharge = val
-    //   if (val) {
-    //     this.options = this.staffList.filter((item) => {
-    //       if (
-    //         !!~item.staffName.indexOf(val) ||
-    //         !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
-    //       ) {
-    //         return true
-    //       }
-    //     })
-    //   } else {
-    //     this.options = this.staffList
-    //   }
-    // },
-    // selectstaff(e) {
-    //   for (var i = 0; i < this.staffList.length; i++) {
-    //     if (this.staffList[i].staffName == e) {
-    //       this.deptBudgetList.driverPhone = this.staffList[i].staffMobilePhone
-    //       this.deptBudgetList.personChargeKey = this.staffList[i].staffId
-    //     }
-    //   }
-    // },
     marker: function (item) {
     marker: function (item) {
       this.deptBudgetList.warehousePositioning =
       this.deptBudgetList.warehousePositioning =
         item.lnglat.lat + ',' + item.lnglat.lng
         item.lnglat.lat + ',' + item.lnglat.lng
@@ -281,9 +263,9 @@ export default {
     },
     },
     returnsales() {
     returnsales() {
       this.deptBudgetList = {}
       this.deptBudgetList = {}
-      this.freightspace = {}
+      this.freightspace = []
       this.selectedOptions = ''
       this.selectedOptions = ''
-      this.$router.push({ path: 'tranManagementTransporTationFire' })
+      this.$router.go(-1)
     },
     },
     // confirmPosition() {
     // confirmPosition() {
     //   this.draggable = false
     //   this.draggable = false
@@ -302,18 +284,15 @@ export default {
         .then((response) => {
         .then((response) => {
           this.deptBudgetList = response
           this.deptBudgetList = response
           this.deptBudgetList.tranCarInfoList = response.tranCarInfoList
           this.deptBudgetList.tranCarInfoList = response.tranCarInfoList
-          if (this.deptBudgetList.tranCarInfoList.length > 0) {
-            
+          if (this.deptBudgetList.tranCarInfoList.length > 0) {      
             if (response.tranCarInfoList[0].boxNo) {
             if (response.tranCarInfoList[0].boxNo) {
-              // alert("数组拆分")
               this.list = response.tranCarInfoList[0].boxNo.split(',')
               this.list = response.tranCarInfoList[0].boxNo.split(',')
               for (var i = 0; i < this.list.length; i++) {
               for (var i = 0; i < this.list.length; i++) {
                 var num = this.list[i]
                 var num = this.list[i]
                 this.freightspace.push({
                 this.freightspace.push({
-                  trainNo: num,
+                  'trainNo': num,
                 })
                 })
               }
               }
-              console.log(this.freightspace,"拆分车厢号数组")
             }
             }
           }
           }
         })
         })
@@ -468,11 +447,7 @@ export default {
 .el-col {
 .el-col {
   background: #f6f7fc;
   background: #f6f7fc;
 }
 }
-/deep/.ws-info-table .el-form-item .el-form-item__content {
-  padding: 0 25px;
-  border-left: 1px solid transparent;
-  background: #fff;
-}
+
 /deep/.ws-info-table .el-form-item .el-form-item__label {
 /deep/.ws-info-table .el-form-item .el-form-item__label {
   width: 100px;
   width: 100px;
   text-align: center;
   text-align: center;
@@ -666,18 +641,6 @@ export default {
   border: none;
   border: none;
   height: 50px;
   height: 50px;
 }
 }
-/deep/.ws-info-table .el-form-item .el-form-item__content {
-  background: #f5f7fa;
-  border-radius: 4px;
-  border: 1px solid #d8dce6;
-  font-family: PingFangSC-Regular, PingFang SC;
-  margin-bottom: 5px;
-  background-color: #fff;
-  font-size: 14px;
-  font-weight: 400;
-  color: #8890b1;
-  line-height: 16px;
-}
 /deep/.ws-info-table .el-form-item .el-form-item__label {
 /deep/.ws-info-table .el-form-item .el-form-item__label {
   background-color: #fff;
   background-color: #fff;
   font-size: 14px;
   font-size: 14px;
@@ -688,16 +651,21 @@ export default {
 }
 }
 
 
 /deep/.ws-info-table .el-form-item .el-form-item__content {
 /deep/.ws-info-table .el-form-item .el-form-item__content {
-  background: #f5f7fa;
   border-radius: 4px;
   border-radius: 4px;
-  border: 1px solid #d8dce6;
+  margin-bottom: 5px;
+  background-color: #fff;
+  font-size: 14px;
+  color: #8890b1;
+  padding: 0 25px;
+  border-left: 1px solid transparent;
+  background: #F5F7FA;
 }
 }
 /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
 /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
   border: 0px;
   border: 0px;
 }
 }
 //联络员及车次
 //联络员及车次
 /deep/.liaison .ws-info-table .el-form-item {
 /deep/.liaison .ws-info-table .el-form-item {
-  width: 20%;
+  width: 18.7%;
 }
 }
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
   width: 30%;
   width: 30%;
@@ -715,8 +683,11 @@ export default {
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
   // border: 0px solid #d8dce6;
   // border: 0px solid #d8dce6;
   border-radius: 0px;
   border-radius: 0px;
-  border-left: none;
-  border-bottom: none;
-  border-top: none;
+border: none;
+}
+.line{
+  height: 26px;
+  margin-top: 14px;
+  left: -34px;
 }
 }
 </style>
 </style>

+ 4 - 38
src/views/tranManagement/tranManagementTransporTrainNo.vue

@@ -47,12 +47,10 @@
           {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
           {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
           }}{{ deptBudgetList.sendArea }}
           }}{{ deptBudgetList.sendArea }}
         </ws-form-item>
         </ws-form-item>
-
         <!--发货人-->
         <!--发货人-->
         <ws-form-item label="发货人" span="1" prop="sender" class="readonly">
         <ws-form-item label="发货人" span="1" prop="sender" class="readonly">
           {{ deptBudgetList.sender }}
           {{ deptBudgetList.sender }}
         </ws-form-item>
         </ws-form-item>
-
         <!--发货人电话-->
         <!--发货人电话-->
         <ws-form-item
         <ws-form-item
           label="发货人电话"
           label="发货人电话"
@@ -92,6 +90,7 @@
       <div
       <div
         class="liaison"
         class="liaison"
         v-for="(item, index) in deptBudgetList.tranCarInfoList"
         v-for="(item, index) in deptBudgetList.tranCarInfoList"
+        :key='index'
       >
       >
         <ws-info-table>
         <ws-info-table>
           <!--姓名-->
           <!--姓名-->
@@ -214,7 +213,7 @@
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
-import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
+import { regionData } from 'element-china-area-data'
 import { seeCat, dispatchCat, packList } from '@/model/transport/index'
 import { seeCat, dispatchCat, packList } from '@/model/transport/index'
 import { getstaff } from '@/model/warehouse/index'
 import { getstaff } from '@/model/warehouse/index'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
@@ -355,7 +354,7 @@ export default {
       this.deptBudgetList = {}
       this.deptBudgetList = {}
       this.freightspace = []
       this.freightspace = []
       this.selectedOptions = ''
       this.selectedOptions = ''
-      this.$router.push({ path: 'tranManagementTransporTationFire' })
+      this.$router.go(-1)
     },
     },
     // confirmPosition() {
     // confirmPosition() {
     //   this.draggable = false
     //   this.draggable = false
@@ -466,9 +465,7 @@ export default {
                   this.deptBudgetList = {}
                   this.deptBudgetList = {}
                   this.freightspace = {}
                   this.freightspace = {}
                   this.selectedOptions = ''
                   this.selectedOptions = ''
-                  this.$router.push({
-                    path: 'tranManagementTransporTationFire',
-                  })
+                  this.$router.go(-1)
                 })
                 })
             } else {
             } else {
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
@@ -573,36 +570,6 @@ export default {
         }
         }
       }
       }
     },
     },
-    // 编辑
-    editClick(item, index) {
-      const map = JSON.parse(JSON.stringify(item))
-      if (Object.is(item.id, 1)) {
-        return
-      }
-      if (Object.is(this.unitList[index].flag, 'delete')) {
-        map.flag = 'check'
-        this.$set(this.unitList, index, map)
-      } else {
-        map.flag = 'delete'
-        this.$set(this.unitList, index, map)
-      }
-    },
-    // 删除
-    deleteClick(item, index) {
-      if (Object.is(item.constKey, 1)) {
-        return
-      }
-      if (!item.constValue) {
-        this.unitList.splice(index, 1)
-        return
-      }
-      delxiala({ id: this.unitList[index].id })
-        .toPromise()
-        .then((response) => {
-          this.getUnitList()
-          this.pleaseChoose = ''
-        })
-    },
   },
   },
 }
 }
 </script>
 </script>
@@ -889,7 +856,6 @@ export default {
   color: #8890b1;
   color: #8890b1;
   line-height: 16px;
   line-height: 16px;
 }
 }
-
 /deep/.ws-info-table .el-form-item .el-form-item__content {
 /deep/.ws-info-table .el-form-item .el-form-item__content {
   background: #f5f7fa;
   background: #f5f7fa;
   border-radius: 4px;
   border-radius: 4px;

+ 50 - 59
src/views/tranManagement/tranManagementVehicle.vue

@@ -3,26 +3,25 @@
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="12">
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
       <template slot="left">
-        <ws-button class="but" :type="status==1?'primary':''" @click="changestatus(1)">
+        <ws-button class="but" :type="searchType == 1?'primary':''" @click="changestatus(1)">
           执行中</ws-button
           执行中</ws-button
         >
         >
-        <ws-button class="but" :type="status1==1?'primary':''" @click="changestatus(2)">已完成</ws-button>
-        <ws-button class="but" :type="status2==1?'primary':''" @click="changestatus()">全部任务</ws-button>
+        <ws-button class="but" :type="searchType == 2?'primary':''" @click="changestatus(2)">已完成</ws-button>
+        <ws-button class="but" :type="searchType == undefined?'primary':''" @click="changestatus()">全部任务</ws-button>
       </template>
       </template>
       <!-- 接单开始 -->
       <!-- 接单开始 -->
       <template slot="right">
       <template slot="right">
         <div>
         <div>
-          <span style="display: inline-block; width: 300px;color: #8890B1;">接单日期</span>
+          <span style="display: inline-block; width: 60px;color: #8890B1;">接单日期</span>
         </div>
         </div>
         <el-date-picker
         <el-date-picker
-          v-model="deptBudgetList.inOutDate"
+          v-model="inOutDate"
           type="daterange"
           type="daterange"
           align="right"
           align="right"
           unlink-panels
           unlink-panels
           range-separator="至"
           range-separator="至"
           start-placeholder="开始日期"
           start-placeholder="开始日期"
           end-placeholder="结束日期"
           end-placeholder="结束日期"
-
         >
         >
         </el-date-picker>
         </el-date-picker>
         <ws-input
         <ws-input
@@ -53,7 +52,7 @@
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="warehouseList.records"
         :data="warehouseList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%;"
         height="780"
         height="780"
       >
       >
         <el-table-column prop="warehouseName" label="序号" width="80">
         <el-table-column prop="warehouseName" label="序号" width="80">
@@ -98,7 +97,7 @@
               </template>
               </template>
               <div>
               <div>
                 <p style="margin-top: 0; padding-left: 10px">XXXXX</p>
                 <p style="margin-top: 0; padding-left: 10px">XXXXX</p>
-                <div v-for="(item, index) in historyList" class="flex">
+                <div v-for="(item, index) in historyList" :key='index' class="flex">
                   <div class="vertical-text vertical-text-left">
                   <div class="vertical-text vertical-text-left">
                     {{ item.updateDate }}
                     {{ item.updateDate }}
                   </div>
                   </div>
@@ -144,15 +143,26 @@
           </template>
           </template>
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
+       <el-pagination
+        @size-change="handleSizeChange"
+        @current-change="handleCurrentChange"
+        :current-page="currentPage"
+        :page-size="deptCircularPage.pageSize"
+        layout="total, sizes, prev, pager, next, jumper"
+        :total="deptBudgetTotal"
+      >
+      </el-pagination>
     </div>
     </div>
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
 import { automobileList,alsostate } from '@/model/transport/index'
 import { automobileList,alsostate } from '@/model/transport/index'
-import { downloadFile } from '@/utils/batchDown'
 import Pagination from '@/components/Pagination'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
-import { dayjs, fmoney, EventBus } from 'base-core-lib'
+import {  EventBus } from 'base-core-lib'
+import {
+  billoperatehis,
+} from '@/model/contarct/index'
 export default {
 export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
@@ -176,13 +186,13 @@ export default {
       monetaryKey: null,
       monetaryKey: null,
       // 表格显示数据
       // 表格显示数据
       tableDate: [],
       tableDate: [],
-
       // 是否显示
       // 是否显示
       showType: true,
       showType: true,
       // 年
       // 年
       year: '',
       year: '',
       currentPage: 1,
       currentPage: 1,
       pageSize: 10,
       pageSize: 10,
+    deptBudgetTotal :0,
       searchTypeText: '未完成',
       searchTypeText: '未完成',
       searchKeyWord: '',
       searchKeyWord: '',
       contractType: 2,
       contractType: 2,
@@ -191,6 +201,7 @@ export default {
       submitType: true,
       submitType: true,
       size: 10,
       size: 10,
       spanArr: [],
       spanArr: [],
+      inOutDate:[],
       tranTypeKey: '1',
       tranTypeKey: '1',
       warehouseName: '',
       warehouseName: '',
       compId: sessionStorage.getItem('ws-pf_compId'),
       compId: sessionStorage.getItem('ws-pf_compId'),
@@ -214,23 +225,10 @@ export default {
     this.showType = this.isShow
     this.showType = this.isShow
   },
   },
   methods: {
   methods: {
-    //出库
-    delivery(item) {
-      this.$router.push({
-        path: 'warehouseManagementDelivery',
-        query: {
-          baseId: item.warehouseId,
-          positionId: item.binNumberId,
-          warehouseName: item.warehouseName,
-          binNumber: item.binNumber,
-          capacity: item.capacity,
-        },
-      })
-    },
     //派车
     //派车
     warehousing(item) {
     warehousing(item) {
       this.$router.push({
       this.$router.push({
-        path: 'tranManagementVehicleDispatching',
+        name: 'vehicleDispatchingcar',
         query: {
         query: {
           id: item.id,
           id: item.id,
         },
         },
@@ -270,7 +268,7 @@ export default {
     //查看//传参
     //查看//传参
     nocomplete(row) {
     nocomplete(row) {
       this.$router.push({
       this.$router.push({
-        path: 'tranManagementVehicleLook',
+        name: 'vehicleDispatchingview',
         query: {
         query: {
           id: row.id,
           id: row.id,
         },
         },
@@ -330,18 +328,24 @@ export default {
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
         searchType: this.searchType,
         searchType: this.searchType,
+        startDate: this.startDate ,
+       endDate: this.endDate ,
+       searchKeyWord :this.searchKeyWord,
         tranTypeKey: this.tranTypeKey,
         tranTypeKey: this.tranTypeKey,
       })
       })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {
+           this.deptCircularPage.currentPage = response.current
+          this.deptCircularPage.pageSize = response.size
+          this.deptBudgetTotal = response.total
           this.warehouseList = response
           this.warehouseList = response
         })
         })
     },
     },
     editClick(row) {
     editClick(row) {
       var status = ''
       var status = ''
-      if (row.status == '待执行' || row.status == '已完成') {
+      if (row.processStatus == '待执行' || row.processStatus == '已完成') {
         status = '执行中'
         status = '执行中'
-      } else if (row.status == '执行中') {
+      } else if (row.processStatus == '执行中') {
         status = '已完成'
         status = '已完成'
       }
       }
       //cancelButtonClass: "btn-custom-cancel"
       //cancelButtonClass: "btn-custom-cancel"
@@ -407,32 +411,16 @@ export default {
         })
         })
     },
     },
     find() {
     find() {
+       if (this.inOutDate.length > 0) {
+        this.startDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[0])
+        this.endDate = this.dateFormat('YYYY-mm-dd', this.inOutDate[1])
+      } else {
+        this.startDate = ''
+        this.endDate = ''
+      }
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       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>
 </script>
@@ -536,21 +524,24 @@ export default {
   background: #e9ecf7;
   background: #e9ecf7;
 }
 }
 .el-row {
 .el-row {
-  height: 150px;
+  height: 60px;
 }
 }
 .base_header_layout .grid-content {
 .base_header_layout .grid-content {
   margin-top: 80px;
   margin-top: 80px;
 }
 }
-.but {
-  margin-top: 150px;
-  margin-left: 110px;
-}
 .el-input--small .el-input__inner {
 .el-input--small .el-input__inner {
   margin-left: 20px;
   margin-left: 20px;
 }
 }
 .el-range-editor--small.el-input__inner {
 .el-range-editor--small.el-input__inner {
   height: 32px;
   height: 32px;
-  margin-left: -20%;
-  
+  margin:0 10px; 
+}
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
 }
 }
 </style>
 </style>

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

@@ -103,6 +103,7 @@
           <div
           <div
             class="driver position liaison"
             class="driver position liaison"
             v-for="(item, index) in deptBudgetList.tranCarInfoList"
             v-for="(item, index) in deptBudgetList.tranCarInfoList"
+            :key='index'
           >
           >
             <ws-info-table>
             <ws-info-table>
               <div class="catNos">
               <div class="catNos">
@@ -364,7 +365,7 @@ export default {
   methods: {
   methods: {
     //返回按钮
     //返回按钮
     revert() {
     revert() {
-      this.$router.push({ path: 'tranManagementVehicle' })
+      this.$router.go(-1)
     },
     },
     del(index) {
     del(index) {
       if (this.deptBudgetList.tranCarInfoList.length > 1) {
       if (this.deptBudgetList.tranCarInfoList.length > 1) {

+ 16 - 5
src/views/tranManagement/tranManagementVehicleLook.vue

@@ -89,6 +89,7 @@
         style="width: 100%"
         style="width: 100%"
         class="driver"
         class="driver"
         v-for="(item, index) in deptBudgetList.tranCarInfoList"
         v-for="(item, index) in deptBudgetList.tranCarInfoList"
+        :key='index'
       >
       >
         <ws-info-table>
         <ws-info-table>
           <div class="catNos">
           <div class="catNos">
@@ -104,21 +105,27 @@
           <ws-form-item label="姓名" span="1" prop="driver">
           <ws-form-item label="姓名" span="1" prop="driver">
             {{ item.driver }}
             {{ item.driver }}
           </ws-form-item>
           </ws-form-item>
+           <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item class="phone" label="电话" span="1" prop="driverPhone">
           <ws-form-item class="phone" label="电话" span="1" prop="driverPhone">
             {{ item.driverPhone }}
             {{ item.driverPhone }}
           </ws-form-item>
           </ws-form-item>
+           <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="车牌号" span="1" prop="carNo">
           <ws-form-item label="车牌号" span="1" prop="carNo">
             {{ item.carNo }}
             {{ item.carNo }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="装车(吨)" span="1" prop="loadNetWeight">
           <ws-form-item label="装车(吨)" span="1" prop="loadNetWeight">
             {{ item.loadNetWeight }}
             {{ item.loadNetWeight }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="卸车(吨)" span="1" prop="unloadNetWeight">
           <ws-form-item label="卸车(吨)" span="1" prop="unloadNetWeight">
             {{ item.unloadNetWeight }}
             {{ item.unloadNetWeight }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="损耗(吨)" span="1" prop="loss">
           <ws-form-item label="损耗(吨)" span="1" prop="loss">
             {{ item.loss }}
             {{ item.loss }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="合同" span="1" prop="unloadNetWeight" class="hetong">
           <ws-form-item label="合同" span="1" prop="unloadNetWeight" class="hetong">
           </ws-form-item>
           </ws-form-item>
         </ws-info-table>
         </ws-info-table>
@@ -136,12 +143,11 @@
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
-import { pullDown, addstorageputList } from '@/model/warehouse/index'
 import Pagination from '@/components/Pagination'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import WsUpload from '@/components/WsUpload'
 import { seeCat } from '@/model/transport/index'
 import { seeCat } from '@/model/transport/index'
 // import { dayjs, fmoney, EventBus } from 'base-core-lib'
 // import { dayjs, fmoney, EventBus } from 'base-core-lib'
-import { dayjs, EventBus } from 'base-core-lib'
+import { dayjs } from 'base-core-lib'
 export default {
 export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
@@ -225,7 +231,7 @@ export default {
   methods: {
   methods: {
     //返回按钮
     //返回按钮
     revert() {
     revert() {
-      this.$router.push({ path: 'tranManagementVehicle' })
+      this.$router.go(-1)
     },
     },
     del(index) {
     del(index) {
       if (this.freightspace.length > 1) {
       if (this.freightspace.length > 1) {
@@ -425,7 +431,7 @@ export default {
   font-size: 14px;
   font-size: 14px;
 }
 }
 /deep/.driver .ws-info-table .el-form-item {
 /deep/.driver .ws-info-table .el-form-item {
-  width: 14.28%;
+  width: 13.1%;
 }
 }
 /deep/.driver .ws-info-table .el-form-item .el-form-item__label {
 /deep/.driver .ws-info-table .el-form-item .el-form-item__label {
   width: 86px;
   width: 86px;
@@ -444,7 +450,7 @@ export default {
   margin-left: 15px;
   margin-left: 15px;
 }
 }
 /deep/.driver .ws-info-table .el-form-item .el-form-item__content {
 /deep/.driver .ws-info-table .el-form-item .el-form-item__content {
-  border-right: 1px solid #8890b1;
+  // border-right: 1px solid #8890b1;
   background: #f6f7fb;
   background: #f6f7fb;
   font-size: 14px;
   font-size: 14px;
   color: #8890b1;
   color: #8890b1;
@@ -472,4 +478,9 @@ export default {
 /deep/.driver.ws-info-table .el-form-item .el-form-item__content{
 /deep/.driver.ws-info-table .el-form-item .el-form-item__content{
   border:none
   border:none
 }
 }
+.line{
+ height: 26px;
+ margin-top: 6px;
+left: -36px;
+}
 </style>
 </style>

+ 15 - 16
src/views/warehouse/component/router/index.js

@@ -8,7 +8,7 @@ const warehouseManagementRouter = {
   alwaysShow: true, // will always show the root menu
   alwaysShow: true, // will always show the root menu
   meta: {
   meta: {
     title: 'warehouseManagementList',
     title: 'warehouseManagementList',
-    module: 'warehouse',
+    module: 'warehouseManagement',
     icon: 'cg'
     icon: 'cg'
   },
   },
   children: [
   children: [
@@ -20,7 +20,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementList',
         title: 'warehouseManagementList',
         shortcutEntrance: 'warehouseManagementList',
         shortcutEntrance: 'warehouseManagementList',
-        module: 'warehouse.warehouseManagementList',
+        module: 'warehouseManagement.warehouse',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -36,7 +36,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementAdd',
         title: 'warehouseManagementAdd',
         shortcutEntrance: 'warehouseManagementAdd',
         shortcutEntrance: 'warehouseManagementAdd',
-        module: 'warehouse.warehouseManagementAdd',
+        module: 'warehouseManagement.warehouse.warehouseInfo.add',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -53,7 +53,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementEdit',
         title: 'warehouseManagementEdit',
         shortcutEntrance: 'warehouseManagementEdit',
         shortcutEntrance: 'warehouseManagementEdit',
-        module: 'warehouse.warehouseManagementEdit',
+        module: 'warehouseManagement.warehouse.warehouseInfo.edit',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -67,7 +67,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementLook',
         title: 'warehouseManagementLook',
         shortcutEntrance: 'warehouseManagementLook',
         shortcutEntrance: 'warehouseManagementLook',
-        module: 'warehouse.warehouseManagementLook',
+        module: 'warehouseManagement.warehouse.warehouseInfo.view',
 
 
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
@@ -84,7 +84,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementPut',
         title: 'warehouseManagementPut',
         shortcutEntrance: 'warehouseManagementPut',
         shortcutEntrance: 'warehouseManagementPut',
-        module: 'warehouse.warehouseManagementPut',
+        module: 'warehouseManagement.warehouse.warehouseInfo.in',
       },
       },
       hidden: true
       hidden: true
     },
     },
@@ -96,7 +96,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementDelete',
         title: 'warehouseManagementDelete',
         shortcutEntrance: 'warehouseManagementDelete',
         shortcutEntrance: 'warehouseManagementDelete',
-        module: 'warehouse.warehouseManagementDelete',
+        module: 'warehouseManagement.warehouse.warehouseInfo.delete',
 
 
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
@@ -113,7 +113,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementDelivery',
         title: 'warehouseManagementDelivery',
         shortcutEntrance: 'warehouseManagementDelivery',
         shortcutEntrance: 'warehouseManagementDelivery',
-        module: 'warehouse.warehouseManagementDelivery',
+        module: 'warehouseManagement.warehouse.warehouseInfo.out',
       },
       },
       hidden: true
       hidden: true
     },
     },
@@ -125,8 +125,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementIoss',
         title: 'warehouseManagementIoss',
         shortcutEntrance: 'warehouseManagementIoss',
         shortcutEntrance: 'warehouseManagementIoss',
-        module: 'warehouse.warehouseManagementIoss',
-
+        module: 'warehouseManagement.warehouse.warehouseInfo.debit',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -142,7 +141,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementIossRecord',
         title: 'warehouseManagementIossRecord',
         shortcutEntrance: 'warehouseManagementIossRecord',
         shortcutEntrance: 'warehouseManagementIossRecord',
-        module: 'warehouse.warehouseManagementIossRecord',
+        module: 'warehouseManagement.warehouse.warehouseInfo.debit',
 
 
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
@@ -159,7 +158,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementRecord',
         title: 'warehouseManagementRecord',
         shortcutEntrance: 'warehouseManagementRecord',
         shortcutEntrance: 'warehouseManagementRecord',
-        module: 'warehouse.warehouseManagementRecord',
+        module: 'warehouseManagement.warehouse.warehouseInfo.view',
 
 
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
@@ -177,7 +176,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementNoComplete',
         title: 'warehouseManagementNoComplete',
         shortcutEntrance: 'warehouseManagementNoComplete',
         shortcutEntrance: 'warehouseManagementNoComplete',
-        module: 'warehouse.warehouseManagementNoComplete',
+        module: 'warehouseManagement.warehouse.warehouseInfo.view',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       },
       },
@@ -191,7 +190,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementPerfectput',
         title: 'warehouseManagementPerfectput',
         shortcutEntrance: 'warehouseManagementPerfectput',
         shortcutEntrance: 'warehouseManagementPerfectput',
-        module: 'warehouse.warehouseManagementPerfectput',
+        module: 'warehouseManagement.warehouse.warehouseInfo.in',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -206,7 +205,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementPerfectDelivery',
         title: 'warehouseManagementPerfectDelivery',
         shortcutEntrance: 'warehouseManagementPerfectDelivery',
         shortcutEntrance: 'warehouseManagementPerfectDelivery',
-        module: 'warehouse.warehouseManagementPerfectDelivery',
+        module: 'warehouseManagement.warehouse.warehouseInfo.out',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'
@@ -238,7 +237,7 @@ const warehouseManagementRouter = {
       meta: {
       meta: {
         title: 'warehouseManagementPutOutLook',
         title: 'warehouseManagementPutOutLook',
         shortcutEntrance: 'warehouseManagementPutOutLook',
         shortcutEntrance: 'warehouseManagementPutOutLook',
-        module: 'warehouse.warehouseManagementPutOutLook',
+        module: 'warehouseManagement.warehouse.warehouseInfoTask.View',
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
         // module: 'procurement.sparepart.applDetail'

+ 31 - 10
src/views/warehouse/warehouseManagementList.vue

@@ -4,6 +4,9 @@
     <BaseHeaderLayout :leftSpan="20">
     <BaseHeaderLayout :leftSpan="20">
       <template slot="left">
       <template slot="left">
         <ws-button type="primary" @click="handleAdd()"
         <ws-button type="primary" @click="handleAdd()"
+        v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.add`
+          "
           ><img
           ><img
             width="11"
             width="11"
             height="11"
             height="11"
@@ -14,10 +17,18 @@
           添加</ws-button
           添加</ws-button
         >
         >
 
 
-        <ws-button @click="handleLook()">查看</ws-button>
-        <ws-button @click="handleEdit()">编辑</ws-button>
-        <ws-button @click="handleDelete()">删除</ws-button>
-        <ws-button @click="handlTask()">任务</ws-button>
+        <ws-button v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.view`
+          " @click="handleLook()">查看</ws-button>
+        <ws-button v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.edit`
+          " @click="handleEdit()">编辑</ws-button>
+        <ws-button v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.deiete`
+          " @click="handleDelete()">删除</ws-button>
+        <ws-button v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.view`
+          " @click="handlTask()">任务</ws-button>
       </template>
       </template>
       <template slot="left">
       <template slot="left">
         <div style="margin-top: 2px">
         <div style="margin-top: 2px">
@@ -118,21 +129,31 @@
         </el-table-column>
         </el-table-column>
         <el-table-column prop="seller" label="出入库" width="300">
         <el-table-column prop="seller" label="出入库" width="300">
           <template slot-scope="scope">
           <template slot-scope="scope">
-            <ws-button class="completed" @click="nocomplete(scope.row)">
+            <ws-button v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.view`
+          " class="completed" @click="nocomplete(scope.row)">
               待完成({{ scope.row.number }})
               待完成({{ scope.row.number }})
             </ws-button>
             </ws-button>
-            <ws-button class="putstorage" @click="warehousing(scope.row)">
+            <ws-button v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.in`
+          " class="putstorage" @click="warehousing(scope.row)">
               入库
               入库
             </ws-button>
             </ws-button>
-            <ws-button class="deliverystorage" @click="delivery(scope.row)">
+            <ws-button v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.out`
+          " class="deliverystorage" @click="delivery(scope.row)">
               出库
               出库
             </ws-button>
             </ws-button>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
         <el-table-column prop="address" label="操作" width="200">
         <el-table-column prop="address" label="操作" width="200">
           <template slot-scope="scope">
           <template slot-scope="scope">
-            <div class="record" @click="record(scope.row)">记录</div>
-            <div class="adjustment" @click="loss(scope.row)">盘损</div>
+            <div class="record" v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.view`
+          " @click="record(scope.row)">记录</div>
+            <div class="adjustment" v-hasPermission="
+           `warehouseManagement.warehouse.warehouseInfo.view`
+          " @click="loss(scope.row)">盘损</div>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
@@ -471,7 +492,7 @@ export default {
     },
     },
     //任务
     //任务
     handlTask(){
     handlTask(){
-      this.$router.push({path:'warehouseManagementPutOut'})
+      this.$router.push({ path: 'warehouseManagementPutOut' })
     },
     },
     dateFormat(fmt, date) {
     dateFormat(fmt, date) {
       let ret
       let ret

+ 4 - 1
vue.config.js

@@ -139,12 +139,15 @@ module.exports = {
         logLevel: 'debug',
         logLevel: 'debug',
       },
       },
       '/pb': {
       '/pb': {
-
         // target: 'https://product-server.winsea.com/', //目标地址
         // target: 'https://product-server.winsea.com/', //目标地址
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
         // target: 'http://localhost:8090/',
         // target: 'http://192.168.1.121:8090/',
         // target: 'http://192.168.1.121:8090/',
+<<<<<<< HEAD
         target: 'http://192.168.1.117:9100/',
         target: 'http://192.168.1.117:9100/',
+=======
+        target: 'http://192.168.1.116:8090/',
+>>>>>>> 4661853b87be0f6a5d8e7758cca7714d2a8e4321
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://product-server.winsea.com/',
         // target: 'http://product-server.winsea.com/',