Commit 662e6ae4 by 孙亚楠

d

parent fe5b3697
......@@ -56,9 +56,20 @@ class ChannelCtl extends CtlBase {
return res;
}
let StatusMap = res.data;
// for(let item of listRes.data.rows){
// if(StatusMap[item.id]){
// item.handle_name = StatusMap[item.id]['name'] || "处理中";
// }else{
// item.handle_name = "订单待处理";
// }
// }
for(let item of listRes.data.rows){
if(StatusMap[item.id]){
item.handle_name = StatusMap[item.id]['name'] || "处理中";
item.handle_name = StatusMap[item.id]['name3'] || "处理中";
}else if(item.pay_status=="10"){
item.handle_name ="订单待处理";
}else if(item.audit_status=="30"){
item.handle_name ="订单处理失败";
}else{
item.handle_name = "订单待处理";
}
......
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