|  |  | 
 |  |  |                                @check="(click, checked,$item)=>{handleCheckChange(click, checked,$item)}" | 
 |  |  |                                :props="defaultProps"> | 
 |  |  |                                 </el-tree> | 
 |  |  |                                 <li :class="{active : item.isActive}" slot="reference" @click="payMethodSelect(item, index)"><div style="line-height: 30px;"><img style="width: 25px; height: 25px;" :src="item.img"><span style="line-height: 30px; margin-left: 5px;">{{item.value}}</span></div></li> | 
 |  |  |                                 <li :class="{active : item.isActive}" slot="reference" @click="payMethodSelect(item, index)"><div style=" height:30px; line-height: 30px; display: flex; align-items: center"><img style="width: 25px; height: 25px; align-items: center;" :src="item.img"><span style="margin-left: 5px;">{{item.value}}</span></div></li> | 
 |  |  |                             </el-popover> | 
 |  |  |                         </span> | 
 |  |  |                </ul> | 
 |  |  | 
 |  |  |  | 
 |  |  |       <el-row style="text-align: center; margin: 10px 0 0 0"> | 
 |  |  |          <el-button type="primary" @click="submitBj">确认收款</el-button> | 
 |  |  |          <el-button type="danger" @click="cancelSubmit">取消</el-button> | 
 |  |  |       </el-row> | 
 |  |  |    </el-dialog> | 
 |  |  | </div> | 
 |  |  | 
 |  |  |             img: '/images/pay/card.png', | 
 |  |  |             isActive: false, | 
 |  |  |             type: '储值卡' | 
 |  |  |          },{ | 
 |  |  |             value: '欠款', | 
 |  |  |             img: '/images/pay/qian.png', | 
 |  |  |             isActive: false, | 
 |  |  |             type: '欠款' | 
 |  |  |          },], | 
 |  |  |          moneyCards : [], | 
 |  |  |          dialogSettleVisible : true, | 
 |  |  | 
 |  |  |                   _this.closeFrame(); | 
 |  |  |                } | 
 |  |  |             }); | 
 |  |  |          }, | 
 |  |  |          cancelSubmit() { | 
 |  |  |             this.closeFrame(); | 
 |  |  |          }, | 
 |  |  |          print() { | 
 |  |  |             let _this = this; | 
 |  |  | 
 |  |  |                      } | 
 |  |  |                   } else { | 
 |  |  |                      Vue.set(item,'isActive',true); | 
 |  |  |                      var hasAmount = 0; | 
 |  |  |                      for(var i = 0; i < payMoneys.length; i++) { | 
 |  |  |                         hasAmount += parseFloat(payMoneys[i].money); | 
 |  |  |                      } | 
 |  |  |                      if (_this.order.arrears - hasAmount > 0) { | 
 |  |  |                         Vue.set(item, 'money', _this.order.arrears - hasAmount); | 
 |  |  |                      } | 
 |  |  |                      _this.payMoneys.push(item); | 
 |  |  |                   } | 
 |  |  |                }); |