Commit 2f6dea05 by 王昆

gsb

parent 11347450
......@@ -154,6 +154,12 @@ class SaasinvoiceapplyService extends ServiceBase {
}
invoice[idx] = apply[idx];
}
let next_status = "1060";
if (apply.fee_type == "10") {
next_status = "1040";
}
invoice.invoice_no = this.trim(params.invoice_no);
invoice.invoice_number = this.trim(params.invoice_number);
invoice.invoice_time = this.trim(params.invoice_time);
......@@ -163,7 +169,7 @@ class SaasinvoiceapplyService extends ServiceBase {
invoice = await this.saasinvoiceDao.create(invoice, t);
await this.dao.update({
id: apply.id,
status: "1060"
status: next_status
}, t);
return invoice;
});
......
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