Commit ab2ec17f authored by zhengke's avatar zhengke

修改

parent 266bb59a
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<div class="cm_content"> <div class="cm_content">
<table class="po_content singeRowTable" style="border:1px solid #E6E6E6;" cellspacing="0" cellpadding="0" v-loading="loadingTable"> <table class="po_content singeRowTable" style="border:1px solid #E6E6E6;" cellspacing="0" cellpadding="0" v-loading="loadingTable">
<tr> <tr>
<th><input type="checkbox" v-if="isShowCheckAll" v-model="isCheckAll" @change="checkAllOrder()"/></th> <th width="60"><input type="checkbox" v-if="isShowCheckAll" v-model="isCheckAll" @change="checkAllOrder()"/></th>
<th>{{$t('system.query_company')}}</th> <th>{{$t('system.query_company')}}</th>
<th>{{$t('fnc.danhao')}}</th> <th>{{$t('fnc.danhao')}}</th>
<th>{{$t('fnc.a_zhaiyao')}}</th> <th>{{$t('fnc.a_zhaiyao')}}</th>
...@@ -455,8 +455,10 @@ export default { ...@@ -455,8 +455,10 @@ export default {
},methods:{ },methods:{
//选择付款对象出现全选框 //选择付款对象出现全选框
getClientId(id){ getClientId(id){
if(id>0){ if(id>0||this.AccountId>0){
this.isShowCheckAll=true; this.isShowCheckAll=true;
}else{
this.isShowCheckAll=false;
} }
}, },
Export(){ Export(){
...@@ -492,6 +494,11 @@ export default { ...@@ -492,6 +494,11 @@ export default {
AccountId:this.AccountId AccountId:this.AccountId
} }
) )
if(this.AccountId>0||this.msg.ClientID>0){
this.isShowCheckAll=true;
}else{
this.isShowCheckAll=false;
}
}, },
financeinfo_post_GetClientAccountList(){ //获取付款对象 financeinfo_post_GetClientAccountList(){ //获取付款对象
let msg = { let msg = {
...@@ -859,7 +866,7 @@ export default { ...@@ -859,7 +866,7 @@ export default {
}) })
} }
this.DataList.forEach((x,index)=>{ this.DataList.forEach((x,index)=>{
if(x.check){ if(x.check&&x.ClientID>0){
this.checkList[index] = { this.checkList[index] = {
FinanceId:x.FinanceId, FinanceId:x.FinanceId,
Type:x.Type, Type:x.Type,
......
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