Commit d101f8f0 by weix

Merge remote-tracking branch 'origin/master'

parents e25ae2af 5249e6ab
...@@ -83,7 +83,13 @@ ...@@ -83,7 +83,13 @@
<el-card class="box-card"> <el-card class="box-card">
<div class="clearfix"> <div class="clearfix">
<span class="title">订单详情</span> <span class="title">订单详情</span>
<span v-html="renderfun(dataSource)"></span> <div>
<el-button type="danger" size="mini">取消订单</el-button>
<el-button type="primary" size="mini">同步司机信息</el-button>
<el-button type="warning" size="mini">强制完单</el-button>
<el-button type="warning" size="mini">更改支付状态</el-button>
<!-- <span v-html="renderfun(dataSource)"></span> -->
</div>
</div> </div>
<div> <div>
<ul class="table-info"> <ul class="table-info">
...@@ -484,8 +490,8 @@ export default { ...@@ -484,8 +490,8 @@ export default {
optionse: "61fdff1d455c4ab8a2efc564c245b905", optionse: "61fdff1d455c4ab8a2efc564c245b905",
orderid: "", orderid: "",
inputStatus: false, inputStatus: false,
dialogVisible: false, dialogVisible: false,
sOrF: 1, sOrF: 1,
// orderInfoForm: { // orderInfoForm: {
// status: "", // status: "",
// startAddress: "", // startAddress: "",
...@@ -497,14 +503,14 @@ export default { ...@@ -497,14 +503,14 @@ export default {
// passengerMobile: "", // passengerMobile: "",
// }, // },
// orderid: "JJNTZY_20220403093127043_8459289", // orderid: "JJNTZY_20220403093127043_8459289",
orderrecord: "", orderrecord: "",
getOrderLogList: [], getOrderLogList: [],
// dataSource: {}, // dataSource: {},
// flag: false, // flag: false,
// type: false, // type: false,
// count: 1, // count: 1,
// map: null, // map: null,
polylines: [], polylines: [],
// startLat: "", // startLat: "",
// startLng: "", // startLng: "",
// endLat: "", // endLat: "",
...@@ -515,7 +521,7 @@ export default { ...@@ -515,7 +521,7 @@ export default {
// tableData: [], // tableData: [],
// startAddressItem: {}, // 起点数据 // startAddressItem: {}, // 起点数据
// endAddressItem: {}, // 终点数据 // endAddressItem: {}, // 终点数据
leftLogData: [], // 左侧日志 leftLogData: [], // 左侧日志
}; };
}, },
created() {}, created() {},
...@@ -537,8 +543,8 @@ export default { ...@@ -537,8 +543,8 @@ export default {
json.platformId = item.value; json.platformId = item.value;
} }
}); });
this.getOrderInfo(json) this.getOrderInfo(json);
this.seeLeftLog(json) this.seeLeftLog(json);
}, },
chooseSOrF(s) { chooseSOrF(s) {
...@@ -572,7 +578,7 @@ export default { ...@@ -572,7 +578,7 @@ export default {
getThisorderInfo([obj.orderId], obj.brandUrl, obj.platformId).then( getThisorderInfo([obj.orderId], obj.brandUrl, obj.platformId).then(
(res) => { (res) => {
if (res.status == 200) { if (res.status == 200) {
this.inputStatus=true; this.inputStatus = true;
let datas = res.data.content[0]; let datas = res.data.content[0];
try { try {
if (datas.productInfo) { if (datas.productInfo) {
...@@ -633,7 +639,7 @@ export default { ...@@ -633,7 +639,7 @@ export default {
this.getOrderLog(obj); this.getOrderLog(obj);
}, },
getOrderLog(obj) { getOrderLog(obj) {
console.log(obj); console.log(obj);
let json = { let json = {
loadings: false, loadings: false,
businessId: obj.orderId, businessId: obj.orderId,
...@@ -651,7 +657,7 @@ console.log(obj); ...@@ -651,7 +657,7 @@ console.log(obj);
options: [], options: [],
options1: [], options1: [],
}; };
userLog(json, obj.brandUrl, obj.platformId).then((res) => { userLog(json, obj.brandUrl, obj.platformId).then((res) => {
if (res.status == 200) { if (res.status == 200) {
if (res.data) { if (res.data) {
...@@ -722,7 +728,6 @@ console.log(obj); ...@@ -722,7 +728,6 @@ console.log(obj);
}, },
seeLeftLog(json) { seeLeftLog(json) {
try { try {
OrderDetailsSelect( OrderDetailsSelect(
{ {
orderId: json.orderId, orderId: json.orderId,
......
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