Commit b603274f authored by hanfeng's avatar hanfeng

修改旅游定单和车辆排班列表

parent 7770ef55
...@@ -203,10 +203,12 @@ ...@@ -203,10 +203,12 @@
this.form.orderTourDetail.endTime = timestamp2Date(a.orderTourDetail.endTime) this.form.orderTourDetail.endTime = timestamp2Date(a.orderTourDetail.endTime)
this.costDetail = JSON.parse(a.orderTourDetail.costDetail) this.costDetail = JSON.parse(a.orderTourDetail.costDetail)
var cost = ''; var cost = '';
if ( this.costDetail.children){
this.costDetail.children.forEach(function(a1) { this.costDetail.children.forEach(function(a1) {
var detail = a1.detail==undefined?'':a1.detail var detail = a1.detail==undefined?'':a1.detail
cost += a1.key + ":" +detail+" " cost += a1.key + ":" +detail+" "
}) })
}
if (this.form.status == 2) { if (this.form.status == 2) {
this.form.ststusName = '取消'; this.form.ststusName = '取消';
} }
......
This diff is collapsed.
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