bug修复

This commit is contained in:
xiaogang 2022-06-28 16:03:49 +08:00
parent 4d5a2a39d5
commit 517b03ba86

View File

@ -423,23 +423,23 @@
emulateJSON: true emulateJSON: true
}, },
function (json, res) { function (json, res) {
let _json = JSON.parse(json)
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0); //vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if (res.status == 200) { if (res.status == 200) {
let _feeInfo = { // let _feeInfo = {
totalAmount: $that.payFeeOrderInfo.receivedAmount, // totalAmount: $that.payFeeOrderInfo.receivedAmount,
fees: _printFees // fees: _printFees
} // }
let _data = JSON.parse(json).data;
// $that.payFeeOrderInfo.receiptId = _data.receiptId; // $that.payFeeOrderInfo.receiptId = _data.receiptId;
//vc.saveData('_feeInfo', _feeInfo); //vc.saveData('_feeInfo', _feeInfo);
//查询收据 //查询收据
let _data = _json.data;
setTimeout(function() { setTimeout(function() {
$that._queryPayFeeReceiptId(_data); $that._queryPayFeeReceiptId(_data);
}, 1000); }, 1000);
vc.toast("缴费成功");
location.reload();
return; return;
} }
vc.toast(_json.msg);
}, },
function (errInfo, error) { function (errInfo, error) {
console.log('请求失败处理'); console.log('请求失败处理');