Commit c9296212 by 孙亚楠

dd

parent 5625a325
...@@ -19,6 +19,31 @@ class InvoiceCtl extends CtlBase { ...@@ -19,6 +19,31 @@ class InvoiceCtl extends CtlBase {
} }
} }
/**
* 发票申请列表页(交付商)
* @param {*} pobj
*/
async deliverInvoicePage(pobj) {
try {
return await this.invoiceSve.deliverInvoicePage(pobj);
} catch (error) {
console.log(error);
return system.getResultFail(500, `接口错误 错误信息 ${error}`);
}
}
/**
* 进度处理
* @param {*} pobj
*/
async handleStatus(pobj) {
try {
return await this.invoiceSve.handleStatus(pobj);
} catch (error) {
console.log(error);
return system.getResultFail(500, `接口错误 错误信息 ${error}`);
}
}
// /** // /**
// * 申请发票校验 // * 申请发票校验
......
...@@ -21,5 +21,18 @@ class InvoiceService extends ServiceBase { ...@@ -21,5 +21,18 @@ class InvoiceService extends ServiceBase {
var rs = await this.callms("invoice", "invoicePage", params); var rs = await this.callms("invoice", "invoicePage", params);
return rs; return rs;
} }
async deliverInvoicePage(params) {
params.currentPage = Number(params.currentPage || 1);
params.pageSize = Number(params.pageSize || 10);
var rs = await this.callms("invoice", "deliverInvoicePage", params);
return rs;
}
async handleStatus(params) {
var rs = await this.callms("invoice", "handleStatus", params);
return rs;
}
} }
module.exports = InvoiceService; module.exports = InvoiceService;
\ No newline at end of file
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