Commit e747ebd7 authored by youjie's avatar youjie

no message

parent 6e39bda2
...@@ -2230,9 +2230,8 @@ ...@@ -2230,9 +2230,8 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempData = res.data.data.pageData; var tempData = res.data.data.pageData;
if (tempData && tempData.length > 0) { if (tempData && tempData.length > 0) {
this.priceObj = JSON.parse(JSON.stringify(tempData[0])); this.priceObj = tempData[0];
} }
} }
}); });
}, },
...@@ -2281,8 +2280,8 @@ ...@@ -2281,8 +2280,8 @@
}, },
productObj: { productObj: {
handler(oldValue, newVal) { handler(oldValue, newVal) {
// this.clearMsg(); this.clearMsg();
// this.getTravelPirceInfo(); this.getTravelPirceInfo();
this.addMsg.DepartureCityId = oldValue.StartCityID; this.addMsg.DepartureCityId = oldValue.StartCityID;
this.addMsg.ReturnArriveCityId = oldValue.ReturnArriveCityId; this.addMsg.ReturnArriveCityId = oldValue.ReturnArriveCityId;
this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime; this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime;
...@@ -2306,14 +2305,13 @@ ...@@ -2306,14 +2305,13 @@
} }
}, },
deep: true, deep: true,
immediate: false
}, },
//监听TCID变化 //监听TCID变化
PTCID: function (oldValue, newVal) { PTCID: function (oldValue, newVal) {
if(oldValue){ // if (oldValue != newVal) {
this.clearMsg() // this.clearMsg();
this.getTravelPirceInfo() // this.getTravelPirceInfo()
} // }
}, },
}, },
}; };
......
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