Commit 37ac2e2c by 吕海涛

高速优先

parent 68590815
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
return '航旅纵横' return '航旅纵横'
case 4: case 4:
return '自营司机(面对面下单)' return '司机录单'
case 5: case 5:
return '滴滴出行' return '滴滴出行'
......
...@@ -761,7 +761,7 @@ export default { ...@@ -761,7 +761,7 @@ export default {
{ {
prop: "orderSource", prop: "orderSource",
name: "订单来源", name: "订单来源",
attrs: { width: 180, showOverflowTooltip: true }, attrs: { width: 220, showOverflowTooltip: true },
id: 18, id: 18,
disabled: true, disabled: true,
type: "copyAndMore", type: "copyAndMore",
...@@ -1622,7 +1622,9 @@ export default { ...@@ -1622,7 +1622,9 @@ export default {
sourcefun({ data }) { sourcefun({ data }) {
let code = ""; let code = "";
let orderSourcesText = this.orderSourcesNew(data.orderSource); let orderSourcesText = this.orderSourcesNew(data.orderSource);
code = `<div>${orderSourcesText}</div> `;
let routePlanningTypeText = !!data.routePlanningType?'<el-tag effect="dark" class="el-tag el-tag--danger el-tag--mini el-tag--dark" style="margin-left: 0.5em">高速优先</el-tag>':''
code = `<div>${orderSourcesText} ${routePlanningTypeText}</div> `;
return code; return code;
}, },
passengerInfo({ data }) { passengerInfo({ data }) {
......
...@@ -1598,7 +1598,8 @@ export default { ...@@ -1598,7 +1598,8 @@ export default {
sourcefun({ data }) { sourcefun({ data }) {
let code = '' let code = ''
let orderSourcesText = this.orderSourcesNew(data.orderSource) let orderSourcesText = this.orderSourcesNew(data.orderSource)
code = `<div>${orderSourcesText}</div>` let routePlanningTypeText = !!data.routePlanningType?'<el-tag effect="dark" class="el-tag el-tag--danger el-tag--mini el-tag--dark" style="margin-left: 0.5em">高速优先</el-tag>':''
code = `<div>${orderSourcesText} ${routePlanningTypeText}</div> `;
return code return code
}, },
passengerInfo({ data }) { passengerInfo({ data }) {
...@@ -1667,11 +1668,12 @@ export default { ...@@ -1667,11 +1668,12 @@ export default {
return code return code
}, },
orderSourcefun({ data }) { orderSourcefun({ data }) {
// return data.detail.orderSource
let code = '' let code = ''
let orderSourcesText = this.orderSourcesNew(data.detail.orderSource) let orderSourcesText = this.orderSourcesNew(data.detail.orderSource)
code = `<div>${orderSourcesText}</div>` let routePlanningTypeText = !data.detail.routePlanningType?'<el-tag effect="dark" class="el-tag el-tag--danger el-tag--mini el-tag--dark" style="margin-left: 0.5em">高速优先</el-tag>':''
code = `<div>${orderSourcesText} ${routePlanningTypeText}</div> `;
return code return code
}, },
orderPassengerInfo({ data }) { orderPassengerInfo({ data }) {
return `<div>${data.orderMemo}</div>` return `<div>${data.orderMemo}</div>`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment