Commit 3cf385eb by 孙亚楠

dd

parent bd8bcb17
......@@ -252,21 +252,6 @@ class IinvoicestatusService extends ServiceBase {
}
}
/**
* 平台审核失败
* @param {*} params
*/
async deliverReject(params) {
let _invoice= params._invoice;
_invoice.status = this.trim(params.status);
try {
await _invoice.save();
return system.getResultSuccess();
} catch (error) {
console.log(error);
return system.getResult(null, `系统错误 错误信息 ${error}`);
}
}
/**
* 平台验收
......@@ -554,6 +539,19 @@ class IinvoicestatusService extends ServiceBase {
}
}
/**
* 平台审核失败
* @param {*} params
*/
async deliverReject(params) {
try {
await this.delivered(params);
} catch (error) {
console.log(error);
return system.getResult(null,`系统错误 错误信息${error}`);
}
}
}
......
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