Commit 34e85209 by 王昆

d

parent 3a94e4b3
...@@ -340,6 +340,12 @@ class InvoiceService extends ServiceBase { ...@@ -340,6 +340,12 @@ class InvoiceService extends ServiceBase {
//************************************************************一下是计算服务费************************************* */ //************************************************************一下是计算服务费************************************* */
let service_rate = new Decimal(businessmenBean).div(100); let service_rate = new Decimal(businessmenBean).div(100);
let service_amount = new Decimal(this.trim(params.invoice_amount)).mul(businessmenBean.service_rate); let service_amount = new Decimal(this.trim(params.invoice_amount)).mul(businessmenBean.service_rate);
personal_invoice_tax = system.f2y(personal_invoice_tax);
value_added_tax = system.f2y(value_added_tax);
additional_tax = system.f2y(additional_tax);
service_amount = system.f2y(service_amount);
return system.getResult(personal_invoice_tax,value_added_tax,additional_tax,service_amount); return system.getResult(personal_invoice_tax,value_added_tax,additional_tax,service_amount);
} catch (error) { } catch (error) {
console.log(error); console.log(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