|
@@ -28,17 +28,15 @@
|
|
|
</template>
|
|
|
<template slot="billNo" slot-scope="{row,index}">
|
|
|
<span v-if="roleName.indexOf('车队') !== -1" style="cursor: pointer">{{ row.billNo }}</span>
|
|
|
- <span class="el-button--text" v-else style="cursor: pointer" @click.stop="celJump(row,index)">{{
|
|
|
- row.billNo
|
|
|
- }}</span>
|
|
|
+ <span class="el-button--text" v-else style="cursor: pointer" @click.stop="celJump(row,index)">{{row.billNo}}</span>
|
|
|
</template>
|
|
|
- <template slot="corpName" slot-scope="{row,index}">
|
|
|
+ <template slot="corpShortName" slot-scope="{row,index}">
|
|
|
<span class="el-button--text" style="cursor: pointer"
|
|
|
- @click.stop="celJump(row,index)">{{ row.corpName }}</span>
|
|
|
+ @click.stop="celJump(row,index)">{{ row.corpShortName }}</span>
|
|
|
</template>
|
|
|
- <template slot="orderNo" slot-scope="{row,index}">
|
|
|
+ <template slot="dispatchNumber" slot-scope="{row,index}">
|
|
|
<span class="el-button--text" style="cursor: pointer"
|
|
|
- @click.stop="celJump(row,index)">{{ row.orderNo }}</span>
|
|
|
+ @click.stop="celJump(row,index)">{{ row.dispatchNumber }}</span>
|
|
|
</template>
|
|
|
<template slot-scope="{row}" slot="fleetIdSearch">
|
|
|
<crop-select
|
|
@@ -224,7 +222,6 @@ export default {
|
|
|
{
|
|
|
label: '费用名称',
|
|
|
slot: true,
|
|
|
- width: 160,
|
|
|
prop: 'feeName'
|
|
|
}, {
|
|
|
label: '金额',
|
|
@@ -354,7 +351,7 @@ export default {
|
|
|
prop: 'corpShortName',
|
|
|
overHidden: true,
|
|
|
index: 1,
|
|
|
- width: 140,
|
|
|
+ width: 100,
|
|
|
search: true,
|
|
|
}, {
|
|
|
label: '货运日期',
|
|
@@ -366,13 +363,13 @@ export default {
|
|
|
format: "yyyy-MM-dd HH:mm",
|
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss",
|
|
|
index: 2,
|
|
|
- width: 150,
|
|
|
+ width: 126,
|
|
|
search: true,
|
|
|
}, {
|
|
|
label: '业务员',
|
|
|
prop: 'salesmanName',
|
|
|
index: 3,
|
|
|
- width: 140,
|
|
|
+ width: 70,
|
|
|
}, {
|
|
|
label: '物流运输',
|
|
|
prop: 'dispatchDept',
|
|
@@ -385,16 +382,16 @@ export default {
|
|
|
},
|
|
|
overHidden: true,
|
|
|
index: 4,
|
|
|
- width: 140
|
|
|
+ width: 80
|
|
|
}, {
|
|
|
label: '运输调度',
|
|
|
prop: 'dispatcherName',
|
|
|
overHidden: true,
|
|
|
index: 5,
|
|
|
- width: 140,
|
|
|
+ width: 70,
|
|
|
}, {
|
|
|
label: '派车单号',
|
|
|
- width: 90,
|
|
|
+ width: 80,
|
|
|
index: 5,
|
|
|
overHidden: true,
|
|
|
prop: 'dispatchNumber'
|
|
@@ -408,15 +405,15 @@ export default {
|
|
|
label: '装货地点',
|
|
|
prop: 'addressDetail',
|
|
|
index: 7,
|
|
|
- width: 130,
|
|
|
+ width: 132,
|
|
|
}, {
|
|
|
label: '卸货地点',
|
|
|
prop: 'unloadingPlace',
|
|
|
index: 8,
|
|
|
- width: 130,
|
|
|
+ width: 132,
|
|
|
}, {
|
|
|
label: '车型',
|
|
|
- width: 80,
|
|
|
+ width: 90,
|
|
|
index: 9,
|
|
|
prop: 'fleetVolum'
|
|
|
}, {
|
|
@@ -435,6 +432,7 @@ export default {
|
|
|
label: '应收运费',
|
|
|
overHidden: true,
|
|
|
index: 12,
|
|
|
+ width: 100,
|
|
|
prop: 'landAmountD'
|
|
|
}, {
|
|
|
label: '应收杂费',
|
|
@@ -552,7 +550,7 @@ export default {
|
|
|
prop: 'corpShortName',
|
|
|
overHidden: true,
|
|
|
index: 1,
|
|
|
- width: 140,
|
|
|
+ width: 100,
|
|
|
search: true,
|
|
|
}, {
|
|
|
label: '货运日期',
|
|
@@ -564,22 +562,22 @@ export default {
|
|
|
format: "yyyy-MM-dd HH:mm",
|
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss",
|
|
|
index: 2,
|
|
|
- width: 150,
|
|
|
+ width: 126,
|
|
|
search: true,
|
|
|
}, {
|
|
|
label: '业务员',
|
|
|
prop: 'salesmanName',
|
|
|
index: 3,
|
|
|
- width: 140,
|
|
|
+ width: 70,
|
|
|
}, {
|
|
|
label: '运输调度',
|
|
|
prop: 'dispatcherName',
|
|
|
overHidden: true,
|
|
|
index: 4,
|
|
|
- width: 140,
|
|
|
+ width: 70,
|
|
|
}, {
|
|
|
label: '派车单号',
|
|
|
- width: 90,
|
|
|
+ width: 80,
|
|
|
index: 5,
|
|
|
overHidden: true,
|
|
|
prop: 'dispatchNumber'
|
|
@@ -593,15 +591,15 @@ export default {
|
|
|
label: '装货地点',
|
|
|
prop: 'addressDetail',
|
|
|
index: 7,
|
|
|
- width: 130,
|
|
|
+ width: 132,
|
|
|
}, {
|
|
|
label: '卸货地点',
|
|
|
prop: 'unloadingPlace',
|
|
|
index: 8,
|
|
|
- width: 130,
|
|
|
+ width: 132,
|
|
|
}, {
|
|
|
label: '车型',
|
|
|
- width: 80,
|
|
|
+ width: 90,
|
|
|
index: 9,
|
|
|
prop: 'fleetVolum'
|
|
|
}, {
|
|
@@ -620,6 +618,7 @@ export default {
|
|
|
label: '应收运费',
|
|
|
overHidden: true,
|
|
|
index: 12,
|
|
|
+ width: 100,
|
|
|
prop: 'landAmountD'
|
|
|
}, {
|
|
|
label: '应收杂费',
|
|
@@ -647,7 +646,7 @@ export default {
|
|
|
overHidden: true
|
|
|
}, {
|
|
|
label: '利润',
|
|
|
- width: 100,
|
|
|
+ width: 80,
|
|
|
precision: 2,
|
|
|
index: 17,
|
|
|
type: 'number',
|
|
@@ -766,7 +765,7 @@ export default {
|
|
|
format: "yyyy-MM-dd HH:mm",
|
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss",
|
|
|
index: 1,
|
|
|
- width: 150,
|
|
|
+ width: 126,
|
|
|
search: true,
|
|
|
}, {
|
|
|
label: '物流运输',
|
|
@@ -780,16 +779,16 @@ export default {
|
|
|
},
|
|
|
overHidden: true,
|
|
|
index: 2,
|
|
|
- width: 140
|
|
|
+ width: 80
|
|
|
}, {
|
|
|
label: '运输调度',
|
|
|
prop: 'dispatcherName',
|
|
|
overHidden: true,
|
|
|
index: 3,
|
|
|
- width: 140,
|
|
|
+ width: 70,
|
|
|
}, {
|
|
|
label: '派车单号',
|
|
|
- width: 90,
|
|
|
+ width: 80,
|
|
|
index: 4,
|
|
|
overHidden: true,
|
|
|
prop: 'dispatchNumber'
|
|
@@ -803,15 +802,15 @@ export default {
|
|
|
label: '装货地点',
|
|
|
prop: 'addressDetail',
|
|
|
index: 6,
|
|
|
- width: 130,
|
|
|
+ width: 132,
|
|
|
}, {
|
|
|
label: '卸货地点',
|
|
|
prop: 'unloadingPlace',
|
|
|
index: 7,
|
|
|
- width: 130,
|
|
|
+ width: 132,
|
|
|
}, {
|
|
|
label: '车型',
|
|
|
- width: 80,
|
|
|
+ width: 90,
|
|
|
index: 8,
|
|
|
prop: 'fleetVolum'
|
|
|
}, {
|
|
@@ -969,17 +968,10 @@ export default {
|
|
|
},
|
|
|
//行跳转
|
|
|
celJump(row, index) {
|
|
|
- if (this.roleName.indexOf('平台') !== -1 || this.roleName.indexOf('admin') !== -1) {
|
|
|
- this.$router.push({
|
|
|
- path: '/landTransportation/dispatchingCars/index',
|
|
|
- query: {orderId: row.orderId},
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.$router.push({
|
|
|
- path: '/landTransportation/placeAnOrder/index',
|
|
|
- query: {id: '台账' + row.orderId},
|
|
|
- });
|
|
|
- }
|
|
|
+ this.$router.push({
|
|
|
+ path: '/landTransportation/bulkCargo/index',
|
|
|
+ query: {id: '台账' + row.orderId},
|
|
|
+ });
|
|
|
},
|
|
|
// 获得高度
|
|
|
searchCriteriaSwitch(type) {
|