Commit 087d1390 by 王昆

gsb

parent 474ad3e8
......@@ -33,7 +33,14 @@ class IinvoicedeliverService extends ServiceBase {
let list = await this.dao.pageByParams(params);
if (list) {
for (var item of list) {
item.red_status_name = item.red_status ? "红冲": "未红冲";
if (item.red_status == '1') {
// 1为红冲 2已红冲 3 红冲中
item.red_status_name ="未红冲";
} else if (item.red_status == '2') {
item.red_status_name ="已红冲";
} else if (item.red_status == '3') {
item.red_status_name ="红冲中";
}
this.handleDate(item, ['updated_at', 'created_at'], 'YYYY-MM-DD HH:mm:ss');
this.handleDate(item, ['invoice_time', 'apply_time'], 'YYYY-MM-DD');
}
......
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