Commit a697a4f4 authored by 华国豪's avatar 华国豪 🙄

财务审批新增一键审批!

parent 4bea2ae8
...@@ -213,7 +213,6 @@ export default { ...@@ -213,7 +213,6 @@ export default {
} }
this.apipost('Financial_post_GetTicketFinanceList',msg,r=>{ this.apipost('Financial_post_GetTicketFinanceList',msg,r=>{
if(r.data.resultCode==1){ if(r.data.resultCode==1){
this.total = r.data.data.count;
if(this.total>0){ if(this.total>0){
this.noData =false; this.noData =false;
}else{ }else{
......
...@@ -149,8 +149,8 @@ ...@@ -149,8 +149,8 @@
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:current-page.sync="currentPage" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" layout="total,prev, pager, next, jumper"
:page-size=msg.pageSize :page-size='msg.pageSize'
:total=total> :total='total'>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
......
...@@ -638,9 +638,10 @@ ...@@ -638,9 +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.LeaderGetPriceT totailMoney += parseFloat(x.LeaderGetPriceT)
}) })
if ((allMoney - totailMoney)<=0) return this.$message.error('总制单金额已大于等于总金额,无法制单!') console.log(allMoney, totailMoney)
if ((allMoney - totailMoney)<0) return this.$message.error('总制单金额已大于等于总金额,无法制单!')
if (!obj.LeaderGetPriceT || obj.LeaderGetPriceT<=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 = {
......
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:current-page.sync="currentPage" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" layout="total,prev, pager, next, jumper"
:page-size=msg.pageSize :page-size='msg.pageSize'
:total=total> :total='total'>
</el-pagination> </el-pagination>
<el-dialog custom-class='w500' :title="dialogTitle" :visible.sync="outerVisible" center > <el-dialog custom-class='w500' :title="dialogTitle" :visible.sync="outerVisible" center >
......
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