Commit dc1579fa authored by youjie's avatar youjie

no message

parent 33af90ff
...@@ -146,10 +146,10 @@ ...@@ -146,10 +146,10 @@
</tr> </tr>
<tr> <tr>
<td>团号</td> <td v-if="msg.TCID">团号</td>
<td>{{msg.TCID}}</td> <td v-if="msg.TCID">{{msg.TCID}}</td>
<td>订单号</td> <td>订单号</td>
<td>{{msg.OrderId}}</td> <td :colspan="msg.TCID?0:3">{{msg.OrderId}}</td>
</tr> </tr>
<tr> <tr>
<td rowspan="6">开具内容</td> <td rowspan="6">开具内容</td>
...@@ -298,6 +298,7 @@ ...@@ -298,6 +298,7 @@
title: false title: false
}, },
saveMsg: [], saveMsg: [],
crmOrderObj:null
}; };
}, },
methods: { methods: {
...@@ -422,9 +423,24 @@ ...@@ -422,9 +423,24 @@
this.$message.success(res.data.message); this.$message.success(res.data.message);
let path = this.msg.InvoiceApplyType == 1 ? 'groupTourOrder' : 'VisaProductEditOrder' let path = this.msg.InvoiceApplyType == 1 ? 'groupTourOrder' : 'VisaProductEditOrder'
setTimeout(() => { setTimeout(() => {
this.$router.push({ if(!this.crmOrderObj){
name: path this.$router.push({
}); name: path
});
}else{
let data = [
{
path: this.crmOrderObj.crmPath,
},
];
let href = this.domainManager().crmRoutingUrl +
"automaticLogin?token=" +
this.getLocalStorage().token +
"&data=" +
JSON.stringify(data);
window.open(href);
}
}, 1000); }, 1000);
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
...@@ -525,6 +541,13 @@ ...@@ -525,6 +541,13 @@
if (this.$route.query.InvoiceApplyType) { if (this.$route.query.InvoiceApplyType) {
this.msg.InvoiceApplyType = this.$route.query.InvoiceApplyType; this.msg.InvoiceApplyType = this.$route.query.InvoiceApplyType;
} }
if(this.$route.query.crmOrderObj){
let crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.crmOrderObj = crmOrderObj
this.msg.OrderId = crmOrderObj.OrderId;
this.msg.TCID = crmOrderObj.TCID;
this.msg.CustomerId = crmOrderObj.customerId;
}
this.getAccountList(); this.getAccountList();
this.getOrderDetail(); this.getOrderDetail();
this.getCustomerInvoiceList(); this.getCustomerInvoiceList();
......
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