Commit dc1579fa authored by youjie's avatar youjie

no message

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