Commit 4bea2ae8 authored by 华国豪's avatar 华国豪 🙄

领队用款

parent 6d02a123
...@@ -638,10 +638,10 @@ ...@@ -638,10 +638,10 @@
let allMoney = this.TotalNav.reimburseTotalPrice.PlanPrice * 0.98 let allMoney = this.TotalNav.reimburseTotalPrice.PlanPrice * 0.98
let totailMoney = 0 let totailMoney = 0
this.nav.forEach(x=>{ this.nav.forEach(x=>{
totailMoney += x.LeaderGetPrice totailMoney += x.LeaderGetPriceT
}) })
if ((allMoney - totailMoney)<=0) return this.$message.error('总制单金额已大于等于总金额,无法制单!') if ((allMoney - totailMoney)<=0) return this.$message.error('总制单金额已大于等于总金额,无法制单!')
if (!this.LeaderGetPrice || this.LeaderGetPrice<=0) return this.$message.error('请输入金额!') if (!obj.LeaderGetPriceT || obj.LeaderGetPriceT<=0) return this.$message.error('请输入金额!')
let TCIDARR = [obj.TCIDS] let TCIDARR = [obj.TCIDS]
let orderObj = { let orderObj = {
OrderID: 0, OrderID: 0,
...@@ -650,7 +650,7 @@ ...@@ -650,7 +650,7 @@
SourceID: 0, SourceID: 0,
TCIDList: TCIDARR, TCIDList: TCIDARR,
CostType: 56, CostType: 56,
Money: obj.LeaderGetPrice, Money: obj.LeaderGetPriceT,
} }
this.$router.push({ this.$router.push({
name: 'ChoiceAddFinancialDocuments', name: 'ChoiceAddFinancialDocuments',
......
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