Commit 68a9e431 authored by youjie's avatar youjie

修复手配费制单

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