调整退费页面

This commit is contained in:
曾成 2020-05-12 13:41:42 +08:00
parent 0e1adb38b8
commit 3a59cef90d
4 changed files with 11 additions and 6 deletions

View File

@ -93,7 +93,7 @@
if (res.status == 200) {
$('#returnPayFeeModel').modal('hide');
vc.component.refreshFeeDetailInfo();
vc.jumpToPage("/admin.html#/pages/property/returnPayFeeManage");
vc.emit('returnPayFee', 'openReturnPayFeeModel', vc.component.returnFeeDetailInfo);
return;
}
vc.toast(json);

View File

@ -44,6 +44,7 @@
<th data-hide="phone">打折率</th>
<th data-hide="phone" >备注</th>
<th data-hide="phone">缴费时间</th>
<th data-hide="phone">退费标识</th>
<th data-hide="phone">操作</th>
</tr>
</thead>
@ -71,7 +72,10 @@
{{feeDetail.createTime}}
</td>
<td>
<div class="btn-group">
{{feeDetail.stateName}}
</td>
<td>
<div class="btn-group" v-if="!feeDetail.state || feeDetail.state== 1200">
<button class="btn-white btn btn-xs"
v-on:click="_openRefundModel(feeDetail)">申请退费
</button>

View File

@ -57,7 +57,7 @@
<th class="text-center">应付金额</th>
<td class="text-center">实付金额</td>
<td class="text-center">退费原因</td>
<td class="text-center">状态</td>
<td class="text-center">审核状态</td>
<td class="text-center">操作</td>
</tr>
</thead>
@ -72,7 +72,7 @@
<td class="text-center">{{payFee.reason}}</td>
<td class="text-center">{{payFee.stateName}}</td>
<td>
<div class="btn-group">
<div class="btn-group" v-if="payFee.state == 1000">
<button class="btn-white btn btn-xs"
v-on:click="_openReturnPayFeeAuditModel(payFee)">审核
</button>

View File

@ -71,10 +71,11 @@
},
_auditReturnPayFeeState:function(_auditInfo){
vc.component.returnPayFeeManageInfo.returnPayFee.state = _auditInfo.state;
vc.component.returnPayFeeManageInfo.returnPayFee.remark = _auditInfo.remark;
//vc.component.returnPayFeeManageInfo.returnPayFee.remark = _auditInfo.remark;
let _returnPayFee = vc.component.returnPayFeeManageInfo.returnPayFee;
vc.http.apiPost(
'returnPayFee.updateReturnPayFee',
JSON.stringify(_auditInfo),
JSON.stringify(_returnPayFee),
{
emulateJSON:true
},