Commit 1b4ffa0a authored by youjie's avatar youjie

no message

parent b52bc21f
......@@ -1355,20 +1355,6 @@
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
},
AddFinancial(z) { //保存
if (this.orderObj && this.orderObj.Money && (this.orderObj.Rate || this.orderObj.isVerifyMoney)) {
let yballPrice = 0
this.msg && this.msg.detailList && this.msg.detailList.forEach((item, i) => {
yballPrice += (Number(item.UnitPrice)*100)
})
this.yballPriceTo = yballPrice/100
if (this.orderObj.Money != this.yballPriceTo) {
this.Error(`原币总金额需等于${this.orderObj.Money}!`)
return
}
}
return
//手配费参数
if (this.is_HandFee) {
if (!this.HandFee.BranchId) {
......@@ -1450,13 +1436,15 @@
if (this.orderObj && this.orderObj.Money && (this.orderObj.Rate || this.orderObj.isVerifyMoney)) {
let yballPrice = 0
this.msg && this.msg.detailList && this.msg.detailList.forEach((item, i) => {
yballPrice += Number(yballPrice) + Number(item.UnitPrice)
yballPrice += (Number(item.UnitPrice)*100)
})
this.yballPriceTo = yballPrice
this.yballPriceTo = yballPrice/100
if (this.orderObj.Money != this.yballPriceTo) {
this.Error(`原币总金额需等于${this.orderObj.Money}!`)
return
}
}
if (this.commissionObj) {
this.msg.OtherType = this.commissionObj.OtherType ? this.commissionObj.OtherType : 0;
......
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