Commit fc42b43a by 王昆

Merge branch 'bpo-web' of gitlab.gongsibao.com:jiangyong/zhichan into bpo-web

parents 0bf88659 e56d47ef
...@@ -225,10 +225,8 @@ class BpoSDPJApi { ...@@ -225,10 +225,8 @@ class BpoSDPJApi {
id: no, id: no,
outTradeNo: this.trim(obj.outTradeNo), outTradeNo: this.trim(obj.outTradeNo),
mchtId: this.trim(obj.mchtId), mchtId: this.trim(obj.mchtId),
}); })||{};
if(!_cCashInfo){
return this.getErrResult("您暂无可申请的信息");
}
let resData = { let resData = {
id_name:_cCashInfo.id_name, id_name:_cCashInfo.id_name,
id_no:_cCashInfo.id_no, id_no:_cCashInfo.id_no,
...@@ -242,7 +240,9 @@ class BpoSDPJApi { ...@@ -242,7 +240,9 @@ class BpoSDPJApi {
if(resData.trade_status=="00"){ if(resData.trade_status=="00"){
_cCashInfo.amt = system.f2y(_cCashInfo.amt); _cCashInfo.amt = system.f2y(_cCashInfo.amt);
}else if(resData.trade_status=="02"){ }else if(resData.trade_status=="02"){
_cCashInfo.failReason = ""; _cCashInfo.mark = "";
}else if(resData.trade_status=="01"){
_cCashInfo.mark = "待处理";
} }
} }
return this.getCodeResult(0, resData); return this.getCodeResult(0, resData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment