|
@@ -23,6 +23,13 @@
|
|
|
<template slot="menuLeft">
|
|
|
<el-button type="info" size="small" @click="outExport" icon="el-icon-download">导出</el-button>
|
|
|
</template>
|
|
|
+ <template slot="corpShortNameSearch" slot-scope="{ row,index}">
|
|
|
+ <crop-select
|
|
|
+ v-model="row.corpId"
|
|
|
+ :corpType="'KH'"
|
|
|
+ :label="'shortName'"
|
|
|
+ ></crop-select>
|
|
|
+ </template>
|
|
|
<template slot-scope="{row}" slot="fleetId">
|
|
|
<span>{{ row.fleetName }}</span>
|
|
|
</template>
|
|
@@ -177,6 +184,7 @@ import {
|
|
|
} from "@/api/landTransportation";
|
|
|
import {getToken} from "@/util/auth";
|
|
|
import {gaude} from "@/api/gaude";
|
|
|
+import {getSalesman} from "@/api/landTransportation/bulkCargo";
|
|
|
|
|
|
export default {
|
|
|
name: "index",
|
|
@@ -370,6 +378,16 @@ export default {
|
|
|
prop: 'salesmanName',
|
|
|
index: 3,
|
|
|
width: 70,
|
|
|
+ searchProp: 'salesman',
|
|
|
+ search: true,
|
|
|
+ overHidden: true,
|
|
|
+ filterable: true,
|
|
|
+ type: "select",
|
|
|
+ dicUrl: "/api/blade-user/userList?roleAlias=业务员",
|
|
|
+ props: {
|
|
|
+ label: "realName",
|
|
|
+ value: "id"
|
|
|
+ }
|
|
|
}, {
|
|
|
label: '物流运输',
|
|
|
prop: 'dispatchDept',
|
|
@@ -394,12 +412,14 @@ export default {
|
|
|
width: 80,
|
|
|
index: 5,
|
|
|
overHidden: true,
|
|
|
+ search: true,
|
|
|
prop: 'dispatchNumber'
|
|
|
}, {
|
|
|
label: '合同号',
|
|
|
width: 90,
|
|
|
index: 6,
|
|
|
overHidden: true,
|
|
|
+ search: true,
|
|
|
prop: 'contractNo'
|
|
|
}, {
|
|
|
label: '装货地点',
|
|
@@ -421,6 +441,15 @@ export default {
|
|
|
prop: 'fleetShortName',
|
|
|
index: 10,
|
|
|
width: 90,
|
|
|
+ searchProp: 'fleetId',
|
|
|
+ type: 'select',
|
|
|
+ cascader: ['plateNo'],
|
|
|
+ props: {
|
|
|
+ label: "cname",
|
|
|
+ value: "id"
|
|
|
+ },
|
|
|
+ filterable: true,
|
|
|
+ search: true,
|
|
|
overHidden: true,
|
|
|
}, {
|
|
|
label: '车号',
|
|
@@ -569,6 +598,16 @@ export default {
|
|
|
prop: 'salesmanName',
|
|
|
index: 3,
|
|
|
width: 70,
|
|
|
+ searchProp: 'salesman',
|
|
|
+ search: true,
|
|
|
+ overHidden: true,
|
|
|
+ filterable: true,
|
|
|
+ type: "select",
|
|
|
+ dicUrl: "/api/blade-user/userList?roleAlias=业务员",
|
|
|
+ props: {
|
|
|
+ label: "realName",
|
|
|
+ value: "id"
|
|
|
+ }
|
|
|
}, {
|
|
|
label: '运输调度',
|
|
|
prop: 'dispatcherName',
|
|
@@ -580,12 +619,14 @@ export default {
|
|
|
width: 80,
|
|
|
index: 5,
|
|
|
overHidden: true,
|
|
|
+ search: true,
|
|
|
prop: 'dispatchNumber'
|
|
|
}, {
|
|
|
label: '合同号',
|
|
|
width: 90,
|
|
|
index: 6,
|
|
|
overHidden: true,
|
|
|
+ search: true,
|
|
|
prop: 'contractNo'
|
|
|
}, {
|
|
|
label: '装货地点',
|
|
@@ -607,6 +648,15 @@ export default {
|
|
|
prop: 'fleetShortName',
|
|
|
index: 10,
|
|
|
width: 90,
|
|
|
+ searchProp: 'fleetId',
|
|
|
+ type: 'select',
|
|
|
+ cascader: ['plateNo'],
|
|
|
+ props: {
|
|
|
+ label: "cname",
|
|
|
+ value: "id"
|
|
|
+ },
|
|
|
+ filterable: true,
|
|
|
+ search: true,
|
|
|
overHidden: true,
|
|
|
}, {
|
|
|
label: '车号',
|
|
@@ -791,12 +841,14 @@ export default {
|
|
|
width: 80,
|
|
|
index: 4,
|
|
|
overHidden: true,
|
|
|
+ search: true,
|
|
|
prop: 'dispatchNumber'
|
|
|
}, {
|
|
|
label: '合同号',
|
|
|
width: 90,
|
|
|
index: 5,
|
|
|
overHidden: true,
|
|
|
+ search: true,
|
|
|
prop: 'contractNo'
|
|
|
}, {
|
|
|
label: '装货地点',
|
|
@@ -818,6 +870,15 @@ export default {
|
|
|
prop: 'fleetShortName',
|
|
|
index: 9,
|
|
|
width: 90,
|
|
|
+ searchProp: 'fleetId',
|
|
|
+ type: 'select',
|
|
|
+ cascader: ['plateNo'],
|
|
|
+ props: {
|
|
|
+ label: "cname",
|
|
|
+ value: "id"
|
|
|
+ },
|
|
|
+ filterable: true,
|
|
|
+ search: true,
|
|
|
overHidden: true,
|
|
|
}, {
|
|
|
label: '车号',
|
|
@@ -865,6 +926,13 @@ export default {
|
|
|
}
|
|
|
this.goodsOptionCrud = await this.getColumnData(this.getColumnName(88.3), this.optionList);
|
|
|
this.collectionOption = await this.getColumnData(this.getColumnName(88.2), this.collectionOptionBackup);
|
|
|
+ getSalesman().then(res=>{
|
|
|
+ this.findObject(this.goodsOptionCrud.column, "salesmanName").dicData = res.data.data
|
|
|
+ })
|
|
|
+
|
|
|
+ fleetList().then(res=>{
|
|
|
+ this.findObject(this.option.column, "fleetShortName").dicData = res.data.data
|
|
|
+ })
|
|
|
this.key++
|
|
|
this.calculateHu()
|
|
|
},
|