Commit 224fd044 by 孙亚楠

d

parent 872ac4d8
...@@ -223,10 +223,8 @@ class BpoSDPJApi { ...@@ -223,10 +223,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,
...@@ -240,7 +238,9 @@ class BpoSDPJApi { ...@@ -240,7 +238,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