Commit e747ebd7 authored by youjie's avatar youjie

no message

parent 6e39bda2
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!--出发是否联运--> <!--出发是否联运-->
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
<el-switch v-model="addMsg.IsReturnIntermodal" active-value="1" inactive-value="2" <el-switch v-model="addMsg.IsReturnIntermodal" active-value="1" inactive-value="2"
@change="getUnionTravelPrice(priceObj, 2)"></el-switch> @change="getUnionTravelPrice(priceObj, 2)"></el-switch>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!--返程联运时间--> <!--返程联运时间-->
...@@ -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