Commit b7ff86ab by 王昆

gsb

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