Commit 68a9e431 authored by youjie's avatar youjie

修复手配费制单

parent b26a7341
...@@ -1552,10 +1552,19 @@ ...@@ -1552,10 +1552,19 @@
yballPrice += Number(item.UnitPrice) yballPrice += Number(item.UnitPrice)
}) })
this.yballPriceTo = yballPrice this.yballPriceTo = yballPrice
if (this.orderObj.Money != this.yballPriceTo) { if(this.orderObj.Money&&this.orderObj.Money2){
this.Error(`原币总金额需等于${this.orderObj.Money}!`) let Money = ((this.orderObj.Money*100)+(this.orderObj.Money2*100))/100
return if (Money != this.yballPriceTo) {
this.Error(`原币总金额需等于${Money}!`)
return
}
}else{
if (this.orderObj.Money != this.yballPriceTo) {
this.Error(`原币总金额需等于${this.orderObj.Money}!`)
return
}
} }
} }
// crm自动登陆传过来的参数 // crm自动登陆传过来的参数
if (this.crmOrderObj) { if (this.crmOrderObj) {
......
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