mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
optimize batch pay fee
This commit is contained in:
parent
532da0ddb0
commit
d7dfc4b032
@ -380,15 +380,15 @@ var saveAs = saveAs || (function(view) {
|
|||||||
if (_item == _batchFeeItem.feeId) {
|
if (_item == _batchFeeItem.feeId) {
|
||||||
_batchFeeItem.primeRate = $that.batchPayFeeOrderInfo.primeRate;
|
_batchFeeItem.primeRate = $that.batchPayFeeOrderInfo.primeRate;
|
||||||
_fees.push(_batchFeeItem);
|
_fees.push(_batchFeeItem);
|
||||||
_printFees.push({
|
// _printFees.push({
|
||||||
feeId: _item,
|
// feeId: _item,
|
||||||
squarePrice: _batchFeeItem.squarePrice,
|
// squarePrice: _batchFeeItem.squarePrice,
|
||||||
additionalAmount: _batchFeeItem.additionalAmount,
|
// additionalAmount: _batchFeeItem.additionalAmount,
|
||||||
feeName: _batchFeeItem.feeName,
|
// feeName: _batchFeeItem.feeName,
|
||||||
amount: _batchFeeItem.feePrice,
|
// amount: _batchFeeItem.feePrice,
|
||||||
roomName: $that.batchPayFeeOrderInfo.roomName,
|
// roomName: $that.batchPayFeeOrderInfo.roomName,
|
||||||
primeRate: $that.batchPayFeeOrderInfo.primeRate
|
// primeRate: $that.batchPayFeeOrderInfo.primeRate
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
@ -400,7 +400,7 @@ var saveAs = saveAs || (function(view) {
|
|||||||
vc.toast('请选择支付方式');
|
vc.toast('请选择支付方式');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let _fees = _getPayFees();
|
let _fees = $that._getPayFees();
|
||||||
if (_fees.length < 1) {
|
if (_fees.length < 1) {
|
||||||
vc.toast('未选中要缴费的项目');
|
vc.toast('未选中要缴费的项目');
|
||||||
return;
|
return;
|
||||||
@ -435,7 +435,7 @@ var saveAs = saveAs || (function(view) {
|
|||||||
vc.toast('请选择支付方式');
|
vc.toast('请选择支付方式');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let _fees = _getPayFees();
|
let _fees = $that._getPayFees();
|
||||||
if (_fees.length < 1) {
|
if (_fees.length < 1) {
|
||||||
vc.toast('未选中要缴费的项目');
|
vc.toast('未选中要缴费的项目');
|
||||||
return;
|
return;
|
||||||
@ -475,7 +475,7 @@ var saveAs = saveAs || (function(view) {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
_qrCodeCheckPayFinish: function() {
|
_qrCodeCheckPayFinish: function() {
|
||||||
let _fees = _getPayFees();
|
let _fees = $that._getPayFees();
|
||||||
if (_fees.length < 1) {
|
if (_fees.length < 1) {
|
||||||
vc.toast('未选中要缴费的项目');
|
vc.toast('未选中要缴费的项目');
|
||||||
return;
|
return;
|
||||||
@ -513,7 +513,7 @@ var saveAs = saveAs || (function(view) {
|
|||||||
},
|
},
|
||||||
_doDealPayResult: function(_json) {
|
_doDealPayResult: function(_json) {
|
||||||
$that._closeDoBatchPayFeeModal();
|
$that._closeDoBatchPayFeeModal();
|
||||||
let _data = JSON.parse(json).data;
|
let _data = JSON.parse(_json).data;
|
||||||
let detailIds = '';
|
let detailIds = '';
|
||||||
_data.forEach(item => {
|
_data.forEach(item => {
|
||||||
detailIds += (item + ',');
|
detailIds += (item + ',');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user