Browse Source

Merge remote-tracking branch 'origin/dev' into dev

# Conflicts:
#	src/enums/column-name.js
lichao 3 years ago
parent
commit
4edfce05ab
25 changed files with 693 additions and 165 deletions
  1. 16 0
      src/api/landTransportation/index.js
  2. 28 14
      src/components/fee-info/main.vue
  3. 5 1
      src/components/upload/index.vue
  4. 24 0
      src/enums/column-name.js
  5. 1 1
      src/page/index/top/top-notice.vue
  6. 33 6
      src/views/basicData/customerInformation/index.vue
  7. 38 20
      src/views/basicData/landTransportation/driverInformation/index.vue
  8. 56 31
      src/views/basicData/landTransportation/vehicleInformation/index.vue
  9. 2 4
      src/views/dealer/stock/config/mainList.json
  10. 189 4
      src/views/dealer/stock/detailsPage.vue
  11. 14 0
      src/views/dealer/stock/index.vue
  12. 3 1
      src/views/landTransportation/dispatchingCars/detailPage.vue
  13. 3 0
      src/views/landTransportation/dispatchingCars/index.vue
  14. 2 0
      src/views/landTransportation/driver/index.vue
  15. 1 0
      src/views/landTransportation/motorcadeDriver/index.vue
  16. 147 62
      src/views/landTransportation/placeAnOrder/detailPage.vue
  17. 2 0
      src/views/landTransportation/placeAnOrder/index.vue
  18. 24 4
      src/views/landTransportation/reportAnalysis/index.vue
  19. 16 0
      src/views/salaryManagement/highSchool/detailsPage.vue
  20. 16 0
      src/views/salaryManagement/juniorhighSchool/detailsPage.vue
  21. 16 0
      src/views/salaryManagement/primarySchool/detailsPage.vue
  22. 1 1
      src/views/statisticAnalysis/dataDetail/index.vue
  23. 5 5
      src/views/wel/home/landTransportation/components/sales-reached.vue
  24. 50 10
      src/views/wel/home/landTransportation/components/sales-trend.vue
  25. 1 1
      src/views/wel/home/landTransportation/landTransportation.vue

+ 16 - 0
src/api/landTransportation/index.js

@@ -307,4 +307,20 @@ export function incidentalSubmit(data) {
         data:data
     })
 }
+//变更提交
+export function changeSubmission(data) {
+    return request({
+        url: '/api/blade-land/order/change',
+        method: 'post',
+        data:data
+    })
+}
+//变更校验
+export function validChange(data) {
+    return request({
+        url: '/api/blade-land/order/valid-change',
+        method: 'get',
+        params:data
+    })
+}
 

+ 28 - 14
src/components/fee-info/main.vue

@@ -14,9 +14,19 @@
       >
         <template slot="menuLeft">
           <el-tabs v-model="activeName" @tab-click="tabHandle">
-            <el-tab-pane label="应收" name="first" :key="'first'" v-if="tabShow == 1 || tabShow == 2">
+            <el-tab-pane
+              label="应收"
+              name="first"
+              :key="'first'"
+              v-if="tabShow == 1 || tabShow == 2"
+            >
             </el-tab-pane>
-            <el-tab-pane label="应付" name="second" :key="'second'" v-if="tabShow == 1 || tabShow == 3">
+            <el-tab-pane
+              label="应付"
+              name="second"
+              :key="'second'"
+              v-if="tabShow == 1 || tabShow == 3"
+            >
             </el-tab-pane>
           </el-tabs>
           <el-button
@@ -281,7 +291,8 @@ import {
 import { contrastList } from "@/util/contrastData";
 import { allCropList } from "@/api/basicData/customerInformation";
 import { getCustomerCode, getCustomerName } from "@/enums/management-type";
-
+import { getParities } from "@/api/basicData/customerInquiry";
+import { dateFormat } from "@/util/date";
 export default {
   name: "feeInfo",
   data() {
@@ -392,8 +403,8 @@ export default {
     // 1.显示全部 2.收费 3.付费
     tabShow: {
       type: Number,
-      default: 1,
-    },
+      default: 1
+    }
   },
   filters: {
     isPercentage(val) {
@@ -411,7 +422,8 @@ export default {
   },
   async created() {
     // 判断tabShow的activeName默认的显示
-    this.activeName = this.tabShow == 1? 'first': this.tabShow == 2? 'first': 'second';
+    this.activeName =
+      this.tabShow == 1 ? "first" : this.tabShow == 2 ? "first" : "second";
     this.feeOption = await this.getColumnData(
       this.getColumnName(33),
       feeOption
@@ -444,8 +456,8 @@ export default {
     ApplyPayment
   },
   watch: {
-    disabled:function(){
-       this.$refs.feeCrud.refreshTable()
+    disabled: function() {
+      this.$refs.feeCrud.refreshTable();
     },
     orderFeesList(newVla, oldVal) {
       if (newVla !== oldVal) {
@@ -531,10 +543,12 @@ export default {
     },
     //带出汇率
     currencyChange(row) {
-      this.currencyList.forEach(item => {
-        if (item.dictValue === row.currency) {
-          this.$set(row, "exchangeRate", item.remark);
-        }
+      getParities({
+        currency: row.currency,
+        businesDate: dateFormat(new Date(), "yyyy-MM-dd") + " 00:00:00"
+      }).then(res => {
+        const data = res.data.data;
+        row.exchangeRate = data.receivableParities;
       });
     },
     rowDel(row, index) {
@@ -629,8 +643,8 @@ export default {
         this.$refs.feeCrud.rowCellAdd(params);
       }
     },
-    addRow(){
-     this.rowAdd()
+    addRow() {
+      this.rowAdd();
     },
     onLoad(page) {
       this.loading = true;

+ 5 - 1
src/components/upload/index.vue

@@ -16,7 +16,8 @@
               icon="el-icon-edit"
               @click="addDetail"
               :disabled="disabled"
-          >上传
+              v-if="display"
+          >上传{{display}}
           </el-button>
         </template>
         <template slot="url" slot-scope="{ row }">
@@ -271,6 +272,9 @@ export default {
     disabled: {
       type: Boolean
     },
+    display: {
+      type: Boolean
+    },
     basic: {
       type: Boolean
     }

+ 24 - 0
src/enums/column-name.js

@@ -503,6 +503,30 @@ const columnName = [{
   },
   {
     code: 131,
+    name: '贸易客户列表'
+  },
+  {
+    code: 132,
+    name: '贸易客户明细'
+  },
+  {
+    code: 133,
+    name: '贸易供应商列表'
+  },
+  {
+    code: 134,
+    name: '贸易供应商明细'
+  },
+  {
+    code: 135,
+    name: '贸易所属公司列表'
+  },
+  {
+    code: 136,
+    name: '贸易所属公司明细'
+  },
+  {
+    code: 131,
     name: '统计分析应收总账'
   },
   {

+ 1 - 1
src/page/index/top/top-notice.vue

@@ -21,7 +21,7 @@
       </avue-notice>
     </el-scrollbar>
     <div slot="reference" @click="init">
-      <el-badge  :value="badge">
+      <el-badge  :value="badge>99?'99+':badge">
         <i class="el-icon-bell"></i>
       </el-badge>
     </div>

+ 33 - 6
src/views/basicData/customerInformation/index.vue

@@ -34,6 +34,8 @@
               @current-change="currentChange"
               @size-change="sizeChange"
               @refresh-change="refreshChange"
+              @saveColumn="saveColumn"
+              @resetColumn="resetColumn"
               @on-load="onLoad"
               @tree-load="treeLoad"
               @search-criteria-switch="searchCriteriaSwitch"
@@ -186,7 +188,7 @@ export default {
         pageSize: 20,
         currentPage: 1,
         total: 0,
-        pageSizes: [10,20,30,40,50, 100, 200, 300, 400, 500]
+        pageSizes: [10, 20, 30, 40, 50, 100, 200, 300, 400, 500]
       },
       excelBox: false,
       excelLoading: false,
@@ -276,9 +278,9 @@ export default {
       })
         .then(() => {
           return deleteDetails({
-            id:row.id,
-            corpsTypeId:row.corpsTypeId,
-            corpType:'KH'
+            id: row.id,
+            corpsTypeId: row.corpsTypeId,
+            corpType: "KH"
           });
         })
         .then(() => {
@@ -335,7 +337,7 @@ export default {
       this.show = false;
       this.detailData = {
         treeDeptId: this.treeDeptId
-      }
+      };
     },
     editOpen(row, status) {
       this.detailData = {
@@ -381,7 +383,7 @@ export default {
         size: page.pageSize,
         current: page.currentPage,
         corpsTypeId: this.treeDeptId,
-        corpType: customerParameter.code,
+        corpType: customerParameter.code
       });
       customerList(queryParams).then(res => {
         this.dataList = res.data.data.records;
@@ -415,6 +417,31 @@ export default {
     onClose(val) {
       this.switchDialog = val;
     },
+    async saveColumn() {
+      const inSave = await this.saveColumnData(
+        this.getColumnName(108),
+        this.option
+      );
+      if (inSave) {
+        this.$nextTick(() => {
+          this.$refs.crud.doLayout();
+        });
+        this.$message.success("保存成功");
+        //关闭窗口
+        this.$refs.crud.$refs.dialogColumn.columnBox = false;
+      }
+    },
+    async resetColumn() {
+      this.option = option;
+      const inSave = await this.delColumnData(this.getColumnName(108), option);
+      if (inSave) {
+        this.$nextTick(() => {
+          this.$refs.crud.doLayout();
+        });
+        this.$message.success("重置成功");
+        this.$refs.crud.$refs.dialogColumn.columnBox = false;
+      }
+    },
     goBack() {
       this.detailData = this.$options.data().detailData;
       this.show = true;

+ 38 - 20
src/views/basicData/landTransportation/driverInformation/index.vue

@@ -301,14 +301,15 @@ export default {
           label: '驾驶证有效期',
           prop: 'driveExpire',
           type: "date",
-          format: 'yyyy-MM-dd',
-          valueFormat: 'yyyy-MM-dd',
+          searchRange: true,
+          search: true,
+          span: 8,
+          searchSpan: 8,
+          searchDefaultTime: ['00:00:00', '23:59:59'],
+          format: "yyyy-MM-dd",
+          valueFormat: "yyyy-MM-dd HH:mm:ss",
           index: 1,
           width: 140,
-          span: 8,
-          cell: true,
-          overHidden: true,
-          search:true,
         },{
           label: '资格证证件号',
           prop: 'qualifiedNo',
@@ -322,14 +323,15 @@ export default {
           label: '资格证有效期',
           prop: 'qualifiedExpire',
           type: "date",
-          format: 'yyyy-MM-dd',
-          valueFormat: 'yyyy-MM-dd',
-          index: 1,
-          width: 140,
+          searchRange: true,
+          search: true,
           span: 8,
-          cell: true,
-          overHidden: true,
-          search:true,
+          searchSpan: 8,
+          searchDefaultTime: ['00:00:00', '23:59:59'],
+          format: "yyyy-MM-dd",
+          valueFormat: "yyyy-MM-dd HH:mm:ss",
+          index: 1,
+          width: 140
         },{
           label: '押运证证件号',
           prop: 'escortNo',
@@ -343,14 +345,14 @@ export default {
           label: '押运证有效期',
           prop: 'escortExpire',
           type: "date",
-          format: 'yyyy-MM-dd',
-          valueFormat: 'yyyy-MM-dd',
-          index: 1,
           width: 140,
+          searchRange: true,
+          search: true,
           span: 8,
-          cell: true,
-          overHidden: true,
-          search:true,
+          searchSpan: 8,
+          searchDefaultTime: ['00:00:00', '23:59:59'],
+          format: "yyyy-MM-dd",
+          valueFormat: "yyyy-MM-dd HH:mm:ss",
         }, {
           label: '信用等级',
           width: 150,
@@ -561,7 +563,23 @@ export default {
     },
     //搜索
     searchChange(params,done) {
-      this.onLoad(this.page,params)
+      let data = params
+      if (data.driveExpire){
+        data.beginDriveExpire = data.driveExpire[0]
+        data.endDriveExpire = data.driveExpire[1]
+      }
+      if (data.qualifiedExpire){
+        data.beginQualifiedExpire = data.qualifiedExpire[0]
+        data.endQualifiedExpire = data.qualifiedExpire[1]
+      }
+      if (data.escortExpire){
+        data.beginEscortExpire = data.escortExpire[0]
+        data.endEscortExpire = data.escortExpire[1]
+      }
+      delete data.driveExpire
+      delete data.qualifiedExpire
+      delete data.escortExpire
+      this.onLoad(this.page,data)
       done();
     },
     //列表删除

+ 56 - 31
src/views/basicData/landTransportation/vehicleInformation/index.vue

@@ -103,7 +103,7 @@ export default {
             prop: 'excelTemplate',
             formslot: true,
             span: 24,
-          },{
+          }, {
             label: '模板上传',
             prop: 'excelFile',
             type: 'upload',
@@ -118,13 +118,13 @@ export default {
           }
         ]
       },
-      excelForm:{},
+      excelForm: {},
       option: {
         dialogWidth: '85%',
         searchIcon: true,
         searchIndex: 2,
         searchMenuSpan: 24,
-        stripe:true,
+        stripe: true,
         searchLabelWidth: 100,
         align: 'center',
         index: true,
@@ -345,7 +345,6 @@ export default {
           width: 140,
           cell: true,
           overHidden: true,
-          search: true,
           span: 8,
           searchSpan: 8,
         }, {
@@ -355,7 +354,6 @@ export default {
           width: 140,
           cell: true,
           overHidden: true,
-          search: true,
           span: 8,
           searchSpan: 8,
         }, {
@@ -365,7 +363,6 @@ export default {
           width: 140,
           cell: true,
           overHidden: true,
-          search: true,
           span: 8,
           searchSpan: 8,
         }, {
@@ -375,7 +372,6 @@ export default {
           width: 140,
           cell: true,
           overHidden: true,
-          search: true,
           span: 8,
           searchSpan: 8,
         }, {
@@ -402,20 +398,23 @@ export default {
           searchDefaultTime: ['00:00:00', '23:59:59'],
           format: "yyyy-MM-dd",
           valueFormat: "yyyy-MM-dd HH:mm:ss",
-        }, {
-          label: '信用等级',
-          width: 150,
-          span: 8,
-          prop: 'salesman',
-          search: true,
-          overHidden: true,
-          type: "select",
-          dicUrl: "/api/blade-system/dict-biz/dictionary?code=credit_rating",
-          props: {
-            label: "dictValue",
-            value: "dictKey"
-          },
         },
+
+          //   {
+          //   label: '信用等级',
+          //   width: 150,
+          //   span: 8,
+          //   searchSpan: 8,
+          //   prop: 'salesman',
+          //   search: true,
+          //   overHidden: true,
+          //   type: "select",
+          //   dicUrl: "/api/blade-system/dict-biz/dictionary?code=credit_rating",
+          //   props: {
+          //     label: "dictValue",
+          //     value: "dictKey"
+          //   },
+          // },
           {
             label: '附件',
             prop: 'fileList',
@@ -425,7 +424,7 @@ export default {
             span: 24,
             children: {
               align: 'center',
-              stripe:true,
+              stripe: true,
               headerAlign: 'center',
               rowAdd: (done) => {
                 // this.$message.success('新增回调');
@@ -474,23 +473,23 @@ export default {
             children: {
               align: 'center',
               headerAlign: 'center',
-              addBtn:false,
-              stripe:true,
-              delBtn:false,
-              cellBtn:false,
+              addBtn: false,
+              stripe: true,
+              delBtn: false,
+              cellBtn: false,
               column: [
                 {
                   label: '司机名',
                   prop: "driverName",
-                  cell:false
-                },{
+                  cell: false
+                }, {
                   label: '变更人',
                   prop: "changeUserName",
-                  cell:false
+                  cell: false
                 }, {
                   label: '变更日期',
                   prop: "changeTime",
-                  cell:false
+                  cell: false
                 }]
             }
           }
@@ -508,7 +507,7 @@ export default {
       headers: {"Blade-Auth": "Bearer " + getToken()},
       ids: [], // id集合
       form: {},
-      excelBox:false
+      excelBox: false
     }
   },
   created() {
@@ -608,7 +607,33 @@ export default {
     // 搜索
     searchChange(params, done) {
       this.page.currentPage = 1;
-      this.onLoad(this.page, params);
+      let data = params
+      if (data.purchaseDate) {
+        data.beginPurchaseDate = params.purchaseDate[0]
+        data.endPurchaseDate = params.purchaseDate[1]
+      }
+      if (data.registerDate) {
+        data.beginRegisterDate = params.registerDate[0]
+        data.endRegisterDate = params.registerDate[1]
+      }
+      if (data.scrapDate) {
+        data.beginScrapDate = params.scrapDate[0]
+        data.endScrapDate = params.scrapDate[1]
+      }
+      if (data.inspectExpired) {
+        data.beginInspectExpired = params.inspectExpired[0]
+        data.endInspectExpired = params.inspectExpired[1]
+      }
+      if (data.insuranceExpired) {
+        data.beginInsuranceExpired = params.insuranceExpired[0]
+        data.endInsuranceExpired = params.insuranceExpired[1]
+      }
+      delete data.purchaseDate
+      delete data.registerDate
+      delete data.scrapDate
+      delete data.inspectExpired
+      delete data.insuranceExpired
+      this.onLoad(this.page, data);
       done()
     },
     // 重置

+ 2 - 4
src/views/dealer/stock/config/mainList.json

@@ -22,8 +22,7 @@
   "searchSpan": 8,
   "showSummary": true,
   "summaryText": "合计",
-  "sumColumnList": [
-    {
+  "sumColumnList": [{
       "name": "balanceQuantity",
       "type": "sum",
       "decimals": 0
@@ -34,8 +33,7 @@
       "decimals": 0
     }
   ],
-  "column": [
-    {
+  "column": [{
       "label": "品号",
       "prop": "code",
       "search": true,

+ 189 - 4
src/views/dealer/stock/detailsPage.vue

@@ -12,9 +12,39 @@
       </div>
     </div>
     <div class="customer-main">
+      <container-title title="基础资料"></container-title>
+      <basic-container>
+        <avue-form :option="option" v-model="form"> </avue-form>
+      </basic-container>
       <container-title title="库存账明细"></container-title>
       <basic-container>
-        <avue-crud :option="option" :data="data"></avue-crud>
+        <avue-crud
+          ref="crud"
+          :option="optionList"
+          :data="dataList"
+          v-model="form"
+          :page.sync="page"
+          :search.sync="search"
+          @search-change="searchChange"
+          @current-change="currentChange"
+          @size-change="sizeChange"
+          @refresh-change="refreshChange"
+        >
+          <template slot="dateSearch">
+            <el-date-picker
+              v-model="search.date"
+              type="daterange"
+              align="right"
+              unlink-panels
+              range-separator="至"
+              start-placeholder="开始日期"
+              end-placeholder="结束日期"
+              :picker-options="pickerOptions"
+            >
+            </el-date-picker>
+            <!-- <crop-select v-model="search.date" ></crop-select> -->
+          </template>
+        </avue-crud>
       </basic-container>
     </div>
   </div>
@@ -25,9 +55,77 @@ export default {
   name: "detailsPage",
   data() {
     return {
+      form: {},
+      search: {},
       option: {
+        menuBtn: false,
+        labelWidth: 80,
+        column: [
+          {
+            label: "商品编码",
+            prop: "a",
+            span: 6
+          },
+          {
+            label: "图号",
+            prop: "b",
+            span: 6
+          },
+          {
+            label: "仓库名称",
+            prop: "c",
+            span: 6
+          },
+          {
+            label: "商品名称",
+            prop: "d",
+            span: 6
+          },
+          {
+            label: "公司",
+            prop: "e",
+            span: 6
+          },
+          {
+            label: "商品车型",
+            prop: "f",
+            span: 6
+          },
+          {
+            label: "产地",
+            prop: "g",
+            span: 6
+          },
+          {
+            label: "本仓库存",
+            prop: "h",
+            span: 6
+          },
+          {
+            label: "商品类别",
+            prop: "i",
+            span: 6
+          },
+          {
+            label: "品牌",
+            prop: "j",
+            span: 6
+          },
+          {
+            label: "商品车型",
+            prop: "k",
+            span: 6
+          },
+          {
+            label: "库存数量",
+            prop: "l",
+            span: 6
+          }
+        ]
+      },
+      optionList: {
         searchShow: true,
-        searchMenuSpan: 18,
+        searchMenuSpan: 6,
         border: true,
         index: true,
         addBtn: false,
@@ -36,12 +134,26 @@ export default {
         menu: false,
         column: [
           {
+            label: "仓库名称",
+            prop: "a1",
+            search: true,
+            hide: true,
+            showColumn: false
+          },
+          {
             label: "日期",
-            prop: "a",
+            prop: "date",
             search: true,
             overHidden: true
           },
           {
+            label: "排序规则",
+            prop: "a2",
+            search: true,
+            hide: true,
+            showColumn: false
+          },
+          {
             label: "摘要",
             prop: "b",
             overHidden: true
@@ -134,7 +246,66 @@ export default {
           }
         ]
       },
-      data: []
+      dataList: [],
+      page: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+        pageSizes: [10, 20, 30, 40, 50, 100, 200, 300, 400, 500]
+      },
+      pickerOptions: {
+        shortcuts: [
+          {
+            text: "今天",
+            onClick(picker) {
+              const end = new Date();
+              const start = new Date();
+              picker.$emit("pick", [start, end]);
+            }
+          },
+          {
+            text: "昨天",
+            onClick(picker) {
+              const end = new Date();
+              const start = new Date();
+              start.setTime(start.getTime() - 3600 * 1000 * 24);
+              end.setTime(end.getTime() - 3600 * 1000 * 24);
+              picker.$emit("pick", [start, end]);
+            }
+          },
+          {
+            text: "本月",
+            onClick(picker) {
+              const end = new Date();
+              const start = new Date();
+              start.setTime(new Date(start.getFullYear(), start.getMonth(), 1));
+              end.setTime(new Date(end.getFullYear(), end.getMonth()+1, 0));
+              picker.$emit("pick", [start, end]);
+            }
+          },
+          {
+            text: "上月",
+            onClick(picker) {
+              const end = new Date();
+              const start = new Date();
+              start.setTime(
+                new Date(start.getFullYear(), start.getMonth() - 1, 1)
+              );
+              end.setTime(new Date(end.getFullYear(), end.getMonth(), 0));
+              picker.$emit("pick", [start, end]);
+            }
+          },
+          {
+            text: "一年内",
+            onClick(picker) {
+              const end = new Date();
+              const start = new Date();
+              start.setTime(start.getTime() - 3600 * 1000 * 24 * 365);
+              picker.$emit("pick", [start, end]);
+            }
+          }
+        ]
+      }
     };
   },
   props: {
@@ -144,6 +315,20 @@ export default {
   },
   async created() {},
   methods: {
+    //点击搜索按钮触发
+    searchChange(params, done) {
+      this.page.currentPage = 1;
+      this.onLoad(this.page, params);
+      done();
+    },
+    currentChange(val) {
+      this.page.currentPage = val;
+    },
+    sizeChange(val) {
+      this.page.currentPage = 1;
+      this.page.pageSize = val;
+    },
+    refreshChange() {},
     backToList() {
       this.$emit("goBack");
     }

+ 14 - 0
src/views/dealer/stock/index.vue

@@ -13,6 +13,20 @@
         @row-update="rowUpdate"
         :cell-style="cellStyle"
       >
+        <template slot-scope="{ row }" slot="code">
+          <span
+            style="color: #409EFF;cursor: pointer"
+            @click.stop="editOpen(row, 1)"
+            >{{ row.code }}
+          </span>
+        </template>
+        <template slot-scope="{ row }" slot="cname">
+          <span
+            style="color: #409EFF;cursor: pointer"
+            @click.stop="editOpen(row, 1)"
+            >{{ row.cname }}
+          </span>
+        </template>
         <template slot-scope="scope" slot="lockingQuantity">
           <span
             v-if="Number(scope.row.lockingQuantity) > 0"

+ 3 - 1
src/views/landTransportation/dispatchingCars/detailPage.vue

@@ -70,12 +70,14 @@
         <template slot-scope="scope" slot="polId">
           <port-info
               v-model="goodsForm.polId"
+              type="id"
               :disabled="goodsForm.status >= 1"
           />
         </template>
         <template slot-scope="scope" slot="podId">
           <port-info
               v-model="goodsForm.podId"
+              type="id"
               :disabled="goodsForm.status >= 1"
           />
         </template>
@@ -456,6 +458,7 @@
         typeUpload="CD"
         :data="orderFilesList"
         disabled
+        :display="false"
         deleteUrl="/api/blade-client/common-file/remove"
         :enumerationValue="86.2"
     ></c-upload>
@@ -1150,7 +1153,6 @@ export default {
           }, {
             label: '预配箱量',
             prop: 'expectCtnQty',
-            type: 'date'
           }, {
             label: '起运港',
             prop: 'polId'

+ 3 - 0
src/views/landTransportation/dispatchingCars/index.vue

@@ -59,6 +59,7 @@
           :option="option"
           @on-load="onLoad"
           @row-del="rowDel"
+          @search-reset="query={};activeName = ''"
           @resetColumn="resetColumn"
           @saveColumn="saveColumn"
           @search-criteria-switch="searchCriteriaSwitch"
@@ -273,6 +274,7 @@ export default {
   activated() {
     if (this.$route.query.orderId){
       this.rowCell({id:this.$route.query.orderId},0)
+      this.$router.$avueRouter.closeTag(window.location.hash.slice(1))
     }
     // if (this.$route.query.params){
     //   this.rowCell({id:this.$route.query.params},0)
@@ -332,6 +334,7 @@ export default {
         size: page.pageSize,
         current: page.currentPage,
         itemStatus: this.activeName,
+        status: this.activeName,
         kind: '2',
         ...params,
         ...Object.assign(params, this.query)

+ 2 - 0
src/views/landTransportation/driver/index.vue

@@ -73,6 +73,7 @@
           @on-load="onLoad"
           @resetColumn="resetColumn"
           @saveColumn="saveColumn"
+          @search-reset="query={};activeName=''"
           @search-change="searchChange"
           @search-criteria-switch="searchCriteriaSwitch"
           @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
@@ -623,6 +624,7 @@ export default {
         size: page.pageSize,
         current: page.currentPage,
         tag: '4',
+        status:this.activeName,
         ...params,
         ...Object.assign(params, this.query)
       }

+ 1 - 0
src/views/landTransportation/motorcadeDriver/index.vue

@@ -88,6 +88,7 @@
           @resetColumn="resetColumn"
           @saveColumn="saveColumn"
           @search-change="searchChange"
+          @search-reset="query={};activeName = ''"
           @search-criteria-switch="searchCriteriaSwitch"
           @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
           @row-update="rowSave">

+ 147 - 62
src/views/landTransportation/placeAnOrder/detailPage.vue

@@ -13,10 +13,19 @@
       <div>
         <el-button
             class="el-button--small-yh add-customer-btn"
+            type="warning"
+            size="small"
+            v-if="goodsForm.status > 0"
+            :style="{marginRight: goodsForm.status == 2?'80px':'180px'}"
+            @click="confirmChange"
+        >变更
+        </el-button>
+        <el-button
+            class="el-button--small-yh add-customer-btn"
             type="success"
-            v-if="goodsForm.status === 0"
+            v-if="goodsForm.status === 0 && typeTwo === false"
             size="small"
-            style="margin-right: 70px;"
+            style="margin-right: 80px;"
             @click="submit(true)"
         >提交
         </el-button>
@@ -25,18 +34,30 @@
             type="success"
             v-if="goodsForm.status === 1"
             size="small"
-            style="margin-right: 70px;"
+            style="margin-right: 80px;"
             @click="submit(false)"
         >取消提交
         </el-button>
-        <el-button
-            class="el-button--small-yh add-customer-btn"
-            type="primary"
-            :disabled="goodsForm.status === 1 || type"
-            size="small"
-            @click="editCustomer"
-        >保存
-        </el-button>
+        <div class="el-button&#45;&#45;small-yh add-customer-btn">
+          <el-button
+              type="primary"
+              :disabled="goodsForm.status > 1"
+              size="small"
+              :loading="type"
+              v-if="!typeTwo"
+              @click="editCustomer"
+          >保存
+          </el-button>
+          <el-button
+              type="primary"
+              :disabled="goodsForm.status === 1"
+              size="small"
+              v-else
+              :loading="type"
+              @click="changeSaving"
+          >变更保存
+          </el-button>
+        </div>
       </div>
     </div>
     <containerTitle
@@ -168,9 +189,9 @@
         <!--        <template slot="landWeightHeader" slot-scope="{column}">-->
         <!--          {{ column.label }}<span style="color:#F56C6C">*</span>-->
         <!--        </template>-->
-<!--        <template slot="landAmountDHeader" slot-scope="{column}">-->
-<!--          {{ column.label }}<span style="color:#F56C6C">*</span>-->
-<!--        </template>-->
+        <!--        <template slot="landAmountDHeader" slot-scope="{column}">-->
+        <!--          {{ column.label }}<span style="color:#F56C6C">*</span>-->
+        <!--        </template>-->
         <template slot="arrivalTimeHeader" slot-scope="{column}">
           {{ column.label }}<span style="color:#F56C6C">*</span>
         </template>
@@ -328,7 +349,7 @@
     <basic-container>
       <el-tabs v-model="activeIndex" @tab-click="handleSelect">
         <el-tab-pane label="应收" name="1"></el-tab-pane>
-<!--        <el-tab-pane label="应付" name="2"></el-tab-pane>-->
+        <!--        <el-tab-pane label="应付" name="2"></el-tab-pane>-->
       </el-tabs>
       <avue-crud
           v-if="activeIndex === '1'"
@@ -361,21 +382,21 @@
           <span v-else>{{ row.feeName }}</span>
         </template>
         <template slot-scope="{row,index}" slot="menu">
-<!--          <el-button-->
-<!--              type="text"-->
-<!--              size="small"-->
-<!--              :disabled="goodsForm.status === 1"-->
-<!--              :icon="row.$cellEdit?'el-icon-circle-plus-outline':'el-icon-edit'"-->
-<!--              @click="rowCell(row,index)"-->
-<!--          >{{ row.$cellEdit ? '保存' : '编辑' }}-->
-<!--          </el-button>-->
-<!--          <el-button type="text"-->
-<!--                     icon="el-icon-delete"-->
-<!--                     size="small"-->
-<!--                     :disabled="goodsForm.status === 1"-->
-<!--                     @click="$refs.collection.rowDel(row,index)"-->
-<!--          >删除-->
-<!--          </el-button>-->
+          <!--          <el-button-->
+          <!--              type="text"-->
+          <!--              size="small"-->
+          <!--              :disabled="goodsForm.status === 1"-->
+          <!--              :icon="row.$cellEdit?'el-icon-circle-plus-outline':'el-icon-edit'"-->
+          <!--              @click="rowCell(row,index)"-->
+          <!--          >{{ row.$cellEdit ? '保存' : '编辑' }}-->
+          <!--          </el-button>-->
+          <!--          <el-button type="text"-->
+          <!--                     icon="el-icon-delete"-->
+          <!--                     size="small"-->
+          <!--                     :disabled="goodsForm.status === 1"-->
+          <!--                     @click="$refs.collection.rowDel(row,index)"-->
+          <!--          >删除-->
+          <!--          </el-button>-->
           <el-button
               size="small"
               type="text"
@@ -385,12 +406,12 @@
           </el-button>
         </template>
         <template slot="menuLeft">
-<!--          <el-button-->
-<!--              type="primary"-->
-<!--              icon="el-icon-plus"-->
-<!--              :disabled="goodsForm.status !== 0"-->
-<!--              @click="addRowCollection"-->
-<!--              size="small">录入明细</el-button>-->
+          <!--          <el-button-->
+          <!--              type="primary"-->
+          <!--              icon="el-icon-plus"-->
+          <!--              :disabled="goodsForm.status !== 0"-->
+          <!--              @click="addRowCollection"-->
+          <!--              size="small">录入明细</el-button>-->
         </template>
       </avue-crud>
       <avue-crud
@@ -447,7 +468,8 @@
               icon="el-icon-plus"
               :disabled="goodsForm.status === 1"
               @click="addRowPayment"
-              size="small">录入明细</el-button>
+              size="small">录入明细
+          </el-button>
         </template>
       </avue-crud>
     </basic-container>
@@ -487,7 +509,7 @@ import {
   detailDelegationList,
   removeCollection,
   saveSaveList,
-  addressList, cancelSubmission, getCorp, getSalesman, getFee
+  addressList, cancelSubmission, getCorp, getSalesman, getFee, changeSubmission, validChange
 } from "@/api/landTransportation";
 import {getDeptTree} from "@/api/system/dept";
 import website from "@/config/website";
@@ -503,9 +525,10 @@ export default {
       activeIndex: '1',
       KeyBox: 0,
       KeyBoxTwo: 0,
+      typeTwo: false,
       type: false,
       enclosure: false,
-      orderList:[],
+      orderList: [],
       goodsForm: {},
       modelKey: 1,
       orderFilesList: [],
@@ -626,22 +649,22 @@ export default {
           defaultTime: ['00:00:00', '23:59:59'],
           format: "yyyy-MM-dd HH:mm:ss",
           valueFormat: "yyyy-MM-dd HH:mm:ss",
-          index:3,
+          index: 3,
           width: 140,
         }, {
           label: '车号',
           width: 150,
-          index:4,
+          index: 4,
           prop: 'plateNo'
         }, {
           label: '司机',
           width: 115,
-          index:5,
+          index: 5,
           prop: 'driverName'
         }, {
           label: '电话',
           width: 160,
-          index:6,
+          index: 6,
           prop: 'tel'
         }, {
           label: '完工日期',
@@ -1611,7 +1634,12 @@ export default {
             }
           })
         }
-        this.goodsOptionForm.disabled = this.goodsOptionFormC.disabled = this.collectionOption.disabled = this.paymentOption.disabled = this.goodsForm.status === 1
+
+
+        this.goodsOptionFormC.disabled = true
+        this.goodsOptionForm.disabled = true
+        this.goodsOptionFormTwo.disabled = true
+        this.goodsOptionForm.disabled = this.goodsOptionFormC.disabled = this.collectionOption.disabled = this.paymentOption.disabled = this.goodsForm.status >= 1
         delete this.goodsForm.orderAddressList
         delete this.goodsForm.itemList
         delete this.goodsForm.orderFeeList
@@ -1694,7 +1722,6 @@ export default {
         orderFeeList: this.collectionList.concat(this.paymentList)
       }).then(res => {
         this.$message.success('保存成功');
-        this.goodsForm = {}
         if (!this.goodsForm.id) {
           this.id = res.data.data
           this.refreshData()
@@ -1703,6 +1730,53 @@ export default {
         }
       })
     },
+    //确认变更
+    confirmChange() {
+      validChange().then(res => {
+        console.log(res)
+        this.goodsForm.status = 0
+        this.goodsOptionFormC.disabled = false
+        this.goodsOptionForm.disabled = false
+        this.goodsOptionFormTwo.disabled = false
+        this.typeTwo = true
+      })
+    },
+    //变更保存
+    changeSaving() {
+      this.$refs['goodsFormE'].validate((valid, doneE) => {
+        doneE()
+        if (valid) {
+          this.$refs['goodsForm'].validate((valid, done) => {
+            done();
+            if (valid) {
+              let data = JSON.parse(JSON.stringify(this.tableData))
+              data.forEach((item, index) => {
+                item.sort = index + 1
+              })
+              this.type = true
+              delete this.goodsForm.status
+              changeSubmission({
+                ...this.goodsForm,
+                kind: '1',
+                orderAddressList: data,
+                fileList: this.orderFilesList,
+                itemList: this.entrustList,
+                orderItemList: this.vehicleList,
+                orderFeeList: this.collectionList.concat(this.paymentList)
+              }).then(res => {
+                this.$message.success('保存成功');
+                this.typeTwo = false
+                this.refreshData()
+              })
+            } else {
+              return false;
+            }
+          });
+        } else {
+          return false;
+        }
+      })
+    },
     //提交委托
     submit(type) {
       if (type) {
@@ -1778,7 +1852,8 @@ export default {
           this.refreshData()
         })
       }
-    },
+    }
+    ,
     //收费新增
     addRowCollection() {
       this.$refs.collection.rowCellAdd({
@@ -1786,14 +1861,16 @@ export default {
         type: '1',
         $cellEdit: true
       });
-    },
+    }
+    ,
     //打开附件
-    annexOpen(row, index){
+    annexOpen(row, index) {
       this.enclosure = true
-      getFee({id:row.id}).then(res=>{
+      getFee({id: row.id}).then(res => {
         this.orderList = res.data.data
       })
-    },
+    }
+    ,
     //付费新增
     addRowPayment() {
       this.$refs.payment.rowCellAdd({
@@ -1801,15 +1878,18 @@ export default {
         type: '2',
         $cellEdit: true
       });
-    },
+    }
+    ,
     //选择费用
     selectValue(value, row) {
       this.$set(row, 'feeName', value.cname)
-    },
+    }
+    ,
     //选择客户信息触发
     getfleetId(data, row) {
       this.$set(row, 'corpName', data.cname)
-    },
+    }
+    ,
     //收款信息移除
     makeDel(row, index) {
       this.$confirm('此操作将永久删除该单据, 是否继续?', '提示', {
@@ -1825,7 +1905,8 @@ export default {
           message: '已取消删除'
         });
       });
-    },
+    }
+    ,
     //付款信息移除
     feeDel(row, index) {
       this.$confirm('此操作将永久删除该单据, 是否继续?', '提示', {
@@ -1841,24 +1922,26 @@ export default {
           message: '已取消删除'
         });
       });
-    },
+    }
+    ,
     //选择公司名称带出所属公司
     getCorpData(row) {
       this.goodsForm.belongCompany = row.belongCompany
       this.goodsForm.salesman = ''
       //查询业务员
       this.salesmanQuery()
-    },
+    }
+    ,
     //选择地址客户带出地址
     withAddress(row, scope) {
-      this.$set(this.tableData[scope.$index],'contacts',row.attn)
-      this.$set(this.tableData[scope.$index],'tel',row.tel)
-      this.$set(this.tableData[scope.$index],'address',row.storageAddr)
+      this.$set(this.tableData[scope.$index], 'contacts', row.attn)
+      this.$set(this.tableData[scope.$index], 'tel', row.tel)
+      this.$set(this.tableData[scope.$index], 'address', row.storageAddr)
       // this.tableData[scope.$index].contacts = row.attn
       // this.tableData[scope.$index].tel = row.tel
       // this.tableData[scope.$index].address = row.storageAddr
       if (!scope.row.key) scope.row.key = 0
-      this.$set(this.tableData[scope.$index],'corpName',row.cname)
+      this.$set(this.tableData[scope.$index], 'corpName', row.cname)
       // this.tableData[scope.$index].corpName = row.cname
       if (row.belongtoarea) {
         addressList(row.belongtoarea.split(',')[0]).then(res => {
@@ -1866,7 +1949,8 @@ export default {
           scope.row.key++
         })
       }
-    },
+    }
+    ,
     //自定义表头
     renderHeader(h) {
       return (
@@ -1877,7 +1961,8 @@ export default {
             </el-tooltip>
           </div>
       )
-    },
+    }
+    ,
     //自定义表头
     customTitle(h, {column, $index}) {
       let text = column.label

+ 2 - 0
src/views/landTransportation/placeAnOrder/index.vue

@@ -115,6 +115,7 @@
           :option="option"
           @on-load="onLoad"
           @row-del="rowDel"
+          @search-reset="query={};activeName = ''"
           @selection-change="selectionChange"
           @resetColumn="resetColumn"
           @saveColumn="saveColumn"
@@ -405,6 +406,7 @@ export default {
         size: page.pageSize,
         current: page.currentPage,
         itemStatus: this.activeName,
+        status: this.activeName,
         kind: '1',
         ...Object.assign(params, this.query)
       }

+ 24 - 4
src/views/landTransportation/reportAnalysis/index.vue

@@ -14,6 +14,9 @@
           @search-criteria-switch="searchCriteriaSwitch"
           @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
           @row-update="rowSave">
+        <template slot="menuLeft">
+          <el-button type="info" size="small" @click="outExport" icon="el-icon-download">导出</el-button>
+        </template>
         <template slot-scope="{row}" slot="fleetId">
           <span>{{ row.fleetName }}</span>
         </template>
@@ -136,6 +139,7 @@ import {
   incidentalConfirm,
   cancelConfirm, standingBookCollection
 } from "@/api/landTransportation";
+import {getToken} from "@/util/auth";
 
 export default {
   name: "index",
@@ -346,9 +350,8 @@ export default {
             width: 140,
             search: true,
           }, {
-            label: '尺寸箱型',
+            label: '箱型箱量',
             width: 100,
-            search: true,
             index: 8,
             overHidden: true,
             prop: 'ctnDetail'
@@ -428,6 +431,23 @@ export default {
     }
   },
   methods: {
+    //导出
+    outExport() {
+      this.$confirm('是否导出数据明细?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      }).then(() => {
+        window.open(
+            `/api/blade-land/order/acct-export?${this.website.tokenHeader}=${getToken()}`
+        );
+      }).catch(() => {
+        this.$message({
+          type: 'info',
+          message: '已取消' //
+        });
+      })
+    },
     //自定义列保存
     async saveColumnCollection() {
       /**
@@ -512,9 +532,9 @@ export default {
     // 获得高度
     searchCriteriaSwitch(type) {
       if (type) {
-        this.goodsOptionCrud.height = this.goodsOptionCrud.height - 184
+        this.goodsOptionCrud.height = this.goodsOptionCrud.height - 90
       } else {
-        this.goodsOptionCrud.height = this.goodsOptionCrud.height + 184
+        this.goodsOptionCrud.height = this.goodsOptionCrud.height + 90
       }
       this.$refs.crud.getTableHeight()
     },

+ 16 - 0
src/views/salaryManagement/highSchool/detailsPage.vue

@@ -2573,6 +2573,14 @@ export default {
       //     this.optionList.column,
       //     "positiveTime"
       //   ).disabled = false;
+      //       this.findObject(
+      //   this.optionList.column,
+      //   "virtualDailyAssessmentCriteria"
+      // ).disabled = false;
+      // this.findObject(
+      //   this.optionList.column,
+      //   "dailyAssessmentSalary"
+      // ).disabled = false;
       //   this.findObject(this.optionList.column, "position").disabled = false;
       //   this.findObject(this.optionList.column, "cname").disabled = false;
       //   this.findObject(this.optionList.column, "idNumber").disabled = false;
@@ -2620,6 +2628,14 @@ export default {
           this.optionList.column,
           "rankSalaryName"
         ).disabled = false;
+        this.findObject(
+          this.optionList.column,
+          "virtualDailyAssessmentCriteria"
+        ).disabled = false;
+        this.findObject(
+          this.optionList.column,
+          "dailyAssessmentSalary"
+        ).disabled = false;
         this.findObject(this.optionList.column, "rankSalary").disabled = false;
         this.findObject(this.optionList.column, "salaryBase").disabled = false;
         this.findObject(this.optionList.column, "monthHour").disabled = false;

+ 16 - 0
src/views/salaryManagement/juniorhighSchool/detailsPage.vue

@@ -2573,6 +2573,14 @@ export default {
       //     this.optionList.column,
       //     "positiveTime"
       //   ).disabled = false;
+      //       this.findObject(
+      //   this.optionList.column,
+      //   "virtualDailyAssessmentCriteria"
+      // ).disabled = false;
+      // this.findObject(
+      //   this.optionList.column,
+      //   "dailyAssessmentSalary"
+      // ).disabled = false;
       //   this.findObject(this.optionList.column, "position").disabled = false;
       //   this.findObject(this.optionList.column, "cname").disabled = false;
       //   this.findObject(this.optionList.column, "idNumber").disabled = false;
@@ -2620,6 +2628,14 @@ export default {
           this.optionList.column,
           "rankSalaryName"
         ).disabled = false;
+        this.findObject(
+          this.optionList.column,
+          "virtualDailyAssessmentCriteria"
+        ).disabled = false;
+        this.findObject(
+          this.optionList.column,
+          "dailyAssessmentSalary"
+        ).disabled = false;
         this.findObject(this.optionList.column, "rankSalary").disabled = false;
         this.findObject(this.optionList.column, "salaryBase").disabled = false;
         this.findObject(this.optionList.column, "monthHour").disabled = false;

+ 16 - 0
src/views/salaryManagement/primarySchool/detailsPage.vue

@@ -2586,6 +2586,14 @@ export default {
       //   this.optionList.column,
       //   "positiveTime"
       // ).disabled = false;
+      //       this.findObject(
+      //   this.optionList.column,
+      //   "virtualDailyAssessmentCriteria"
+      // ).disabled = false;
+      // this.findObject(
+      //   this.optionList.column,
+      //   "dailyAssessmentSalary"
+      // ).disabled = false;
       // this.findObject(this.optionList.column, "position").disabled = false;
       // this.findObject(this.optionList.column, "cname").disabled = false;
       // this.findObject(this.optionList.column, "idNumber").disabled = false;
@@ -2788,6 +2796,14 @@ export default {
           this.optionList.column,
           "dormitoryManagementFee"
         ).disabled = false;
+        this.findObject(
+          this.optionList.column,
+          "virtualDailyAssessmentCriteria"
+        ).disabled = false;
+        this.findObject(
+          this.optionList.column,
+          "dailyAssessmentSalary"
+        ).disabled = false;
         this.findObject(this.optionList.column, "ribbonOne").disabled = false;
         this.findObject(this.optionList.column, "ribbonTwo").disabled = false;
         this.findObject(this.optionList.column, "ribbonThree").disabled = false;

+ 1 - 1
src/views/statisticAnalysis/dataDetail/index.vue

@@ -283,7 +283,7 @@ export default {
           endCreateTime: '',
         }
       }
-      // return console.log(this.search)
+      return console.log(this.search)
       this.$confirm('是否导出数据明细?', '提示', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',

+ 5 - 5
src/views/wel/home/landTransportation/components/sales-reached.vue

@@ -3,7 +3,7 @@
     <el-card class="home-container__card">
       <div class="title">
         <span>
-          今日业务量
+          今日业务
         </span>
         <span>
           <i
@@ -14,7 +14,7 @@
         </span>
       </div>
       <div class="content" v-loading="loading">
-        <div style="width: 100%;height: 350px;display: flex;justify-content: space-around;flex-wrap: wrap">
+        <div style="width: 100%;height: 300px;display: flex;justify-content: space-around;flex-wrap: wrap">
           <div id="totalContainer" style="width: 26%;height: 210px;"></div>
           <div id="totalBulkCargo" style="width: 26%;height: 210px;"></div>
           <div id="specialTotal" style="width: 26%;height: 210px;"></div>
@@ -86,15 +86,15 @@ export default {
     getSysType() {
       this.loading = true
       bizCount({mold:1}).then(res=>{
-        this.rankingTwo('totalContainer', '集装箱总量:'+res.data.data.flow.all, res.data.data.flow.list)
+        this.rankingTwo('totalContainer', '集装箱:'+res.data.data.flow.all, res.data.data.flow.list)
         // this.rankingTwo('totalContainerTwo', '集装箱总量:'+res.data.data.dept.all, res.data.data.dept.list)
       })
       bizCount({mold:2}).then(res=>{
-        this.rankingTwo('totalBulkCargo', '散货总量:'+res.data.data.flow.all,  res.data.data.flow.list)
+        this.rankingTwo('totalBulkCargo', '散货:'+res.data.data.flow.all,  res.data.data.flow.list)
         // this.rankingTwo('totalBulkCargoTwo', '散货总量:'+res.data.data.dept.all, res.data.data.dept.list)
       })
       bizCount({mold:3}).then(res=>{
-        this.rankingTwo('specialTotal', '特种车辆总量:'+res.data.data.flow.all,res.data.data.flow.list)
+        this.rankingTwo('specialTotal', '特种车辆:'+res.data.data.flow.all,res.data.data.flow.list)
         // this.rankingTwo('specialTotalTwo', '特种车辆总量:'+res.data.data.dept.all,res.data.data.dept.list)
       })
       this.loading = false

+ 50 - 10
src/views/wel/home/landTransportation/components/sales-trend.vue

@@ -25,12 +25,14 @@
             <el-table-column
               align="center"
               label="货运日期"
+              width="150"
               show-overflow-tooltip
               prop="arrivalTime"
             ></el-table-column>
             <el-table-column
               align="center"
               label="业务员"
+              width="60"
               show-overflow-tooltip
               prop="salesmanName"
             ></el-table-column>
@@ -48,22 +50,19 @@
             </el-table-column>
             <el-table-column
               align="center"
-              label="提单号"
-              show-overflow-tooltip
-              prop="billNo">
-              <template slot-scope="{row}">
-                <span class="el-button--text" style="cursor: pointer"
-                      @click="openTrack(row,0)">{{ row.billNo }}</span>
-              </template>
+              label="票据号"
+              prop="receiptNo"
+            >
             </el-table-column>
             <el-table-column
               align="center"
-              label="车号"
+              label="提单号"
+              width="130"
               show-overflow-tooltip
               prop="billNo">
               <template slot-scope="{row}">
                 <span class="el-button--text" style="cursor: pointer"
-                      @click="openTrack(row,1)">{{ row.plateNo }}</span>
+                      @click="openTrack(row,0)">{{ row.billNo }}</span>
               </template>
             </el-table-column>
             <el-table-column
@@ -76,9 +75,27 @@
               align="center"
               label="箱型箱量"
               show-overflow-tooltip
-              prop="ctnType"
+              prop="ctnDetail"
             ></el-table-column>
             <el-table-column
+                align="center"
+                label="车队"
+                width="190"
+                show-overflow-tooltip
+                prop="fleetName"
+            ></el-table-column>
+            <el-table-column
+                align="center"
+                label="车号"
+                width="100"
+                show-overflow-tooltip
+                prop="billNo">
+              <template slot-scope="{row}">
+                <span class="el-button--text" style="cursor: pointer"
+                      @click="openTrack(row,1)">{{ row.plateNo }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
               align="center"
               label="运费"
               show-overflow-tooltip
@@ -87,10 +104,24 @@
             <el-table-column
               align="center"
               label="其他费用(总)"
+              width="100"
               show-overflow-tooltip
               prop="allFeeD"
             ></el-table-column>
             <el-table-column
+              align="center"
+              label="应付杂费"
+              v-if="roleName.indexOf('平台') !== -1"
+              show-overflow-tooltip
+              prop="extraAmountC"
+            ></el-table-column>
+            <el-table-column
+              align="center"
+              label="应收杂费"
+              show-overflow-tooltip
+              prop="extraAmountD"
+            ></el-table-column>
+            <el-table-column
                 width="100"
                 label="状态"
                 show-overflow-tooltip
@@ -107,7 +138,15 @@
             </el-table-column>
             <el-table-column
                 align="center"
+                label="客户名称"
+                width="190"
+                show-overflow-tooltip
+                prop="corpName"
+            ></el-table-column>
+            <el-table-column
+                align="center"
                 label="备注"
+                width="190"
                 show-overflow-tooltip
                 prop="remarks"
             ></el-table-column>
@@ -177,6 +216,7 @@ export default {
   },
   data() {
     return {
+      roleName: localStorage.getItem("roleName").split(','),
       dialogVisible: false,
       loading: false,
       tableData: [],

+ 1 - 1
src/views/wel/home/landTransportation/landTransportation.vue

@@ -58,7 +58,7 @@ export default {
   width: 100%;
   height: 95.5vh;
   grid-template-columns: repeat(auto-fill, 10%);
-  grid-template-rows: 140px 300px 480px;
+  grid-template-rows: 140px 260px 480px;
   grid-template-areas:
     "a a a a a a a a a a"
     "b b b b b b b b b b"