Commit 24fb18c6 authored by youjie's avatar youjie

no message

parent 904074ed
......@@ -730,11 +730,11 @@
let types = this.types.filter(x => x.checked)
if(types&&types[0]){
this.msg.CarId = types[0].Id
}
this.getQuotation()
this.isCheck = this.types.findIndex(x => x.checked) > -1
}
this.getQuotation()
this.changePeople()
this.$forceUpdate()
},
......@@ -753,7 +753,7 @@
let newData = res.data.data.filter(x=>x.Date==this.SetOutTime)
let types = this.types.filter(x => x.checked)
newData.length>0&&this.types.forEach((item,index) => {
if(types&&types[0]&&types[0].Id==item.Id&&newData[0].Price>0){
if(this.msg.CarId==item.Id&&newData[0].Price){
item.B2BPrice = newData[0].Price
this.msg.Unit_Price = newData[0].Price
}else{
......@@ -814,7 +814,7 @@
},
res => {
if (res.data.resultCode == 1) {
this.SetOutTime = res.data.data.OrderDate
this.SetOutTime = res.data.data.OrderDate.substr(0,10)
this.msg = {
OrderId: res.data.data.OrderId,
OrderType: String(res.data.data.OrderType),
......
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