Commit b7ff86ab by 王昆

gsb

parent acf193b2
...@@ -131,13 +131,23 @@ class InvoiceCtl extends CtlBase { ...@@ -131,13 +131,23 @@ class InvoiceCtl extends CtlBase {
*/ */
async deliveryAcceptance(pobj, pobj2, req){ async deliveryAcceptance(pobj, pobj2, req){
try { try {
return await this.invoiceSve.handleStatus(pobj); let rs = await this.invoiceSve.handleStatus(pobj);
if (rs && rs.status === 0) {
// this.记账
this.jizhang(pobj, pobj2, req);
}
return rs;
} catch (error) { } catch (error) {
console.log(error); console.log(error);
return system.getResultFail(500, `接口错误 错误信息 ${error}`); return system.getResultFail(500, `接口错误 错误信息 ${error}`);
} }
} }
async jizhang(pobj, pobj2, req) {
let id = pobj.id;
}
/** /**
* 客户交付 * 客户交付
* @param pobj * @param pobj
......
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