优化代码

This commit is contained in:
wuxw 2023-10-08 01:26:37 +08:00
parent 914ad85d4b
commit 219ceb30ed
2 changed files with 12 additions and 10 deletions

View File

@ -208,17 +208,17 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><span><vc:i18n name="缴费提示" namespace="batchPayFeeOrder"></vc:i18n></span></h5>
<h5 class="modal-title"><vc:i18n name="缴费提示" namespace="batchPayFeeOrder"></vc:i18n></h5>
<button type="button " class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<p><span><vc:i18n name="缴费成功" namespace="batchPayFeeOrder"></vc:i18n></span></p>
<p><vc:i18n name="缴费成功" namespace="batchPayFeeOrder"></vc:i18n></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" @click="_back()"><span><vc:i18n name="返回" namespace="batchPayFeeOrder"></vc:i18n></span></button>
<button type="button" class="btn btn-primary" @click="_printAndBack()"><span><vc:i18n name="打印收据" namespace="batchPayFeeOrder"></vc:i18n></span></button>
<button type="button" class="btn btn-secondary" @click="_back()"><vc:i18n name="返回" namespace="batchPayFeeOrder"></vc:i18n></button>
<button type="button" class="btn btn-primary" @click="_printAndBack()"><vc:i18n name="打印收据" namespace="batchPayFeeOrder"></vc:i18n></button>
</div>
</div>
</div>

View File

@ -357,12 +357,14 @@
detailIds += (item + ',');
})
$that.batchPayFeeOrderInfo.detailIds = detailIds;
//vc.saveData('_feeInfo', _feeInfo);
//关闭model
$("#payFeeResult").modal({
backdrop: "static", //点击空白处不关闭对话框
show: true
});
//todo 这里等三秒,有可能收据队列还没有生成
setTimeout(function(){
$("#payFeeResult").modal({
backdrop: "static", //点击空白处不关闭对话框
show: true
});
},3000);
$that.batchPayFeeOrderInfo.selectPayFeeIds = [];
$that._loadBatchFees();
},