Commit 29840919 authored by youjie's avatar youjie

no message

parent 1bf65776
......@@ -535,8 +535,7 @@
<span>办理完成</span>
</div>
<ul class="checklist_ul">
<!-- checknameList -->
<li v-for="item in RollCallListAll" :key="item.Id">
<li v-for="item in checknameList" :key="item.Id">
<input type="checkbox" v-model="checkList" :value="item.Id" @change="checkThis" :id="item.Id">
<label :for="item.Id">
<span v-if="item.VisaStatus===1" class="tickets_red" >{{item.guestName}}</span>
......@@ -655,12 +654,12 @@ export default {
this.checkd = false
},
checkAll(){ //全选
if(this.checkList.length==this.checkListAll.length){
// (this.checkList.length==this.checkListAll.length)
if(!this.checkd){
this.checkList=[]
return
}
this.checkList = this.checkListAll
},
Financial_post_GetFinancLogList: function(id){ // 获取单据日志
if (this.checkboxShow) return
......@@ -721,6 +720,11 @@ export default {
GetPriceGuestAndFinanceList(){
this.apipost('Financial_post_GetPriceGuestAndFinanceList',{TCID:this.tcid}, res=>{
if (res.data.resultCode == 1) {
let data = res.data.data;
this.checknameList=data;
data.forEach(item=>{
this.checkListAll.push(item.Id);
})
this.RollCallListAll = res.data.data
this.RollCallListLess = res.data.data.filter((item,index) => index<3)
this.RollCallList = this.RollCallListLess
......@@ -742,7 +746,7 @@ export default {
this.type2= type?type:null
this.checkd=false;
this.checkList=[];
this.checkListAll=[];
// this.checkListAll=[];
this.type=num;
if(num==1){
this.OrderTitle='收款单';
......@@ -790,7 +794,7 @@ export default {
this.type2= type?type:null
this.checkd=false;
this.checkList=[];
this.checkListAll=[];
// this.checkListAll=[];
this.type=num;
this.dialogVisible=true;
if(num==1){
......@@ -813,7 +817,7 @@ export default {
let userInfo =[];
this.checkList.forEach(check=>{
this.RollCallListAll.forEach(item=>{
this.checknameList.forEach(item=>{
if(item.Id==check){
userInfo.push(item);
}
......
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