Commit e747ebd7 authored by youjie's avatar youjie

no message

parent 6e39bda2
......@@ -147,7 +147,7 @@
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<!--出发是否联运-->
......@@ -190,7 +190,7 @@
<el-switch v-model="addMsg.IsReturnIntermodal" active-value="1" inactive-value="2"
@change="getUnionTravelPrice(priceObj, 2)"></el-switch>
</el-form-item>
</el-col>
<el-col :span="4">
<!--返程联运时间-->
......@@ -2230,9 +2230,8 @@
if (res.data.resultCode == 1) {
var tempData = res.data.data.pageData;
if (tempData && tempData.length > 0) {
this.priceObj = JSON.parse(JSON.stringify(tempData[0]));
this.priceObj = tempData[0];
}
}
});
},
......@@ -2281,8 +2280,8 @@
},
productObj: {
handler(oldValue, newVal) {
// this.clearMsg();
// this.getTravelPirceInfo();
this.clearMsg();
this.getTravelPirceInfo();
this.addMsg.DepartureCityId = oldValue.StartCityID;
this.addMsg.ReturnArriveCityId = oldValue.ReturnArriveCityId;
this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime;
......@@ -2306,14 +2305,13 @@
}
},
deep: true,
immediate: false
},
//监听TCID变化
PTCID: function (oldValue, newVal) {
if(oldValue){
this.clearMsg()
this.getTravelPirceInfo()
}
// if (oldValue != newVal) {
// this.clearMsg();
// 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