Commit c6a1839f authored by 黄奎's avatar 黄奎

天数修改

parent 82b53ddc
...@@ -707,9 +707,8 @@ ...@@ -707,9 +707,8 @@
watch: { watch: {
postConfig: { postConfig: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
if (val != oldVal) { this.dayCostPriceList = this.postConfig.dayCostPriceList;
this.getOfferItemObj(1); this.getOfferItemObj(1);
}
}, },
deep: true deep: true
}, },
...@@ -781,6 +780,7 @@ ...@@ -781,6 +780,7 @@
return qitem.OutDateTime == this.offerSelectDate return qitem.OutDateTime == this.offerSelectDate
}) })
} }
if (selectOfferObj) { if (selectOfferObj) {
this.otherPrice = selectOfferObj.otherPrice; this.otherPrice = selectOfferObj.otherPrice;
this.teamPrice = selectOfferObj.teamPrice; this.teamPrice = selectOfferObj.teamPrice;
......
...@@ -512,8 +512,10 @@ ...@@ -512,8 +512,10 @@
}, err => {}); }, err => {});
}, },
createDayTripPrice() { createDayTripPrice() {
this.haveData = false;
var tempArray = this.createDayTripPriceItem(this.postData.dayCostPriceList); var tempArray = this.createDayTripPriceItem(this.postData.dayCostPriceList);
this.postData.dayCostPriceList = tempArray; this.postData.dayCostPriceList = JSON.parse(JSON.stringify(tempArray));
this.haveData = true;
this.$forceUpdate() this.$forceUpdate()
}, },
//生成行程报价 //生成行程报价
......
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