Commit 2e30c5a4 authored by 黄奎's avatar 黄奎

页面修改

parent 15473611
...@@ -2492,7 +2492,7 @@ ...@@ -2492,7 +2492,7 @@
configId: 0, configId: 0,
cityId: 0, cityId: 0,
orderId: 0, orderId: 0,
unionfid: 0,//订单旅客联运编号(rb_airticket_union表Id) unionfid: 0, //订单旅客联运编号(rb_airticket_union表Id)
}, },
userId: "", userId: "",
customerId: "", customerId: "",
...@@ -2935,6 +2935,7 @@ ...@@ -2935,6 +2935,7 @@
goContract(item, sItem) { goContract(item, sItem) {
let cid = 0; let cid = 0;
let guestId = 0; let guestId = 0;
var path = "TravelContractNew";
if (sItem) { if (sItem) {
if (sItem.id) { if (sItem.id) {
cid = sItem.id; cid = sItem.id;
...@@ -2942,11 +2943,10 @@ ...@@ -2942,11 +2943,10 @@
if (sItem.guestId) { if (sItem.guestId) {
guestId = sItem.guestId; guestId = sItem.guestId;
} }
if (sItem.templateType == 1) {
path = "TravelContractNewRB";
}
} }
var path = "TravelContractNew";
// if (item.lineId == 14) {
// path = "TravelContractNewRB";
// }
var pMsg = { var pMsg = {
TCID: item.tcid, TCID: item.tcid,
guestId: guestId, guestId: guestId,
...@@ -4549,6 +4549,7 @@ ...@@ -4549,6 +4549,7 @@
"sellorder_post_GetTravelOrderList", "sellorder_post_GetTravelOrderList",
this.msg, this.msg,
(res) => { (res) => {
console.log("sellorder_post_GetTravelOrderList", res);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.loading = false; this.loading = false;
this.total = res.data.data.count; this.total = res.data.data.count;
......
...@@ -5586,15 +5586,15 @@ ...@@ -5586,15 +5586,15 @@
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let guestId = 0; let guestId = 0;
var path = "TravelContractNew";
if (sItem) { if (sItem) {
if (sItem.guestId) { if (sItem.guestId) {
guestId = sItem.guestId; guestId = sItem.guestId;
} }
if (sItem.templateType == 1) {
path = "TravelContractNewRB";
}
} }
var path = "TravelContractNew";
// if (item.lineId == 14) {
// path = "TravelContractNewRB";
// }
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: path, name: path,
query: { query: {
......
...@@ -2282,15 +2282,21 @@ ...@@ -2282,15 +2282,21 @@
}, },
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let guestId = 0;
var path = "TravelContractNew"; var path = "TravelContractNew";
// if (item.lineId == 14) { if (sItem) {
// path = "TravelContractNewRB"; if (sItem.guestId) {
// } guestId = sItem.guestId;
}
if (sItem.templateType == 1) {
path = "TravelContractNewRB";
}
}
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: path, name: path,
query: { query: {
TCID: item.tcid, TCID: item.tcid,
guestId: sItem.guestId, guestId: guestId,
orderID: item.orderId, orderID: item.orderId,
blank: "y", blank: "y",
}, },
......
...@@ -6414,7 +6414,7 @@ ...@@ -6414,7 +6414,7 @@
} }
if (item.ContractNum) { if (item.ContractNum) {
var path = "TravelContractDetail"; var path = "TravelContractDetail";
if (item.LineId == 14) { if (sItem.TemplateType == 1) {
path = "TravelContractDetailRB"; path = "TravelContractDetailRB";
} }
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
......
...@@ -2236,15 +2236,21 @@ ...@@ -2236,15 +2236,21 @@
}, },
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let guestId = 0;
var path = "TravelContractNew"; var path = "TravelContractNew";
// if (item.lineId == 14) { if (sItem) {
// path = "TravelContractNewRB"; if (sItem.guestId) {
// } guestId = sItem.guestId;
}
if (sItem.templateType == 1) {
path = "TravelContractNewRB";
}
}
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: path, name: path,
query: { query: {
TCID: item.tcid, TCID: item.tcid,
guestId: sItem.guestId, guestId: guestId,
orderID: item.orderId, orderID: item.orderId,
blank: "y", blank: "y",
}, },
......
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