mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 06:09:11 +08:00
补打票据修改
This commit is contained in:
parent
bb4e910638
commit
5749cda8cf
@ -11,6 +11,11 @@
|
||||
<div class="col-sm-2">
|
||||
<span>房号:{{printPayFeeInfo.roomName}}</span>
|
||||
</div>
|
||||
<!-- <div v-if="printPayFeeInfo.type== 3 && printPayFeeInfo.carNum!=null && printPayFeeInfo.carNum!='' " class="col-sm-2">
|
||||
<span>车牌号码:{{printPayFeeInfo.carNum}}</span>
|
||||
</div>
|
||||
<div v-if="printPayFeeInfo.type != 3 || printPayFeeInfo.carNum==null | printPayFeeInfo.carNum=='' " class="col-sm-2">
|
||||
</div> -->
|
||||
<div class="col-sm-2">
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
@ -54,8 +59,9 @@
|
||||
<td v-if="printPayFeeInfo.type == 5" class="text-center" >{{item.startTime!=null?vc.dateFormat(item.startTime):''}}</td>
|
||||
<td v-if="printPayFeeInfo.type == 5" class="text-center" >{{item.endTime!=null?vc.dateFormat(item.endTime):''}}</td>
|
||||
<td class="text-center" >{{item.amount}}</td>
|
||||
<td v-if="printPayFeeInfo.type!= 3" class="text-center" >{{item.remark}}</td>
|
||||
<td v-if="printPayFeeInfo.type== 3" class="text-center" >{{item.remark}}{{item.carNum}}</td>
|
||||
<td class="text-center" >{{item.remark}}</td>
|
||||
<!-- <td v-if="printPayFeeInfo.type!= 3" class="text-center" >{{item.remark}}</td> -->
|
||||
<!-- <td v-if="printPayFeeInfo.type== 3" class="text-center" >{{item.remark}}{{item.carNum}}</td> -->
|
||||
</tr>
|
||||
<tr >
|
||||
<!-- <td colspan="1" class="text-center ">大写人民币(元)</td> -->
|
||||
@ -65,7 +71,10 @@
|
||||
<!-- <td colspan="1" class="text-center ">合计(小写)</td> -->
|
||||
<td v-if=" printPayFeeInfo.type==4 " colspan="4" class="text-center ">合计(小写): {{printPayFeeInfo.amount}}</td>
|
||||
<td v-if=" printPayFeeInfo.type!=4 " colspan="3" class="text-center ">合计(小写): {{printPayFeeInfo.amount}}</td>
|
||||
<td colspan="4" class="text-center "></td>
|
||||
<!-- <td colspan="4" class="text-center "></td> -->
|
||||
|
||||
<td v-if="printPayFeeInfo.type== 3 && printPayFeeInfo.carNum!=null && printPayFeeInfo.carNum!=''" colspan="4" class="text-center ">车牌号:{{printPayFeeInfo.carNum}}</td>
|
||||
<td v-if="printPayFeeInfo.type != 3 || printPayFeeInfo.carNum==null | printPayFeeInfo.carNum=='' " colspan="4" class="text-center "></td>
|
||||
|
||||
</tr>
|
||||
<!-- <tr height="60px">
|
||||
|
||||
@ -15,7 +15,8 @@
|
||||
feeTime: '',
|
||||
wechatName:'',
|
||||
content:'',
|
||||
qrImg:''
|
||||
qrImg:'',
|
||||
carNum:''
|
||||
},
|
||||
printFlag: '0'
|
||||
},
|
||||
@ -29,9 +30,10 @@
|
||||
$that.printPayFeeInfo.qstartTime = vc.getParam('qstartTime');
|
||||
$that.printPayFeeInfo.qendTime = vc.getParam('qendTime');
|
||||
//$that.printPayFeeInfo.feeTime = vc.dateTimeFormat(new Date());
|
||||
|
||||
$that.printPayFeeInfo.communityName = vc.getCurrentCommunity().name;
|
||||
|
||||
|
||||
|
||||
$that._loadReceipt();
|
||||
|
||||
$that._loadPrintSpec();
|
||||
@ -78,6 +80,11 @@
|
||||
|
||||
for(var i =0 ; i<_feeReceiptManageInfo.data.length; i++){
|
||||
$that.printPayFeeInfo.amount += parseFloat(_feeReceiptManageInfo.data[i].amount)*1000000000000;
|
||||
if(vc.getParam('type')==3){
|
||||
if( _feeReceiptManageInfo.data[i].carNum != null && _feeReceiptManageInfo.data[i].carNum != '' ){
|
||||
$that.printPayFeeInfo.carNum += _feeReceiptManageInfo.data[i].carNum+" ";
|
||||
}
|
||||
}
|
||||
}
|
||||
$that.printPayFeeInfo.amount = $that.printPayFeeInfo.amount/1000000000000;
|
||||
$that.printPayFeeInfo.fees = _feeReceiptManageInfo.data;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user