Commit 840075a8 by 王昆

gsb

parent 192265f4
......@@ -20,6 +20,11 @@ class InvoiceService extends ServiceBase {
params.pageSize = Number(params.pageSize || 10);
var rs = await this.callms("invoice", "invoicePage", params);
if (rs.data && rs.data.rows) {
for (let item of rs.data.rows) {
item.invoice_amount = system.f2y(item.invoice_amount);
}
}
return rs;
}
......@@ -28,6 +33,11 @@ class InvoiceService extends ServiceBase {
params.currentPage = Number(params.currentPage || 1);
params.pageSize = Number(params.pageSize || 10);
var rs = await this.callms("invoice", "deliverInvoicePage", params);
if (rs.data && rs.data.rows) {
for (let item of rs.data.rows) {
item.invoice_amount = system.f2y(item.invoice_amount);
}
}
return rs;
}
......
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