Commit 3dca6369 by 孙亚楠

dd

parent fb66d275
...@@ -174,7 +174,7 @@ class InvoiceCtl extends CtlBase { ...@@ -174,7 +174,7 @@ class InvoiceCtl extends CtlBase {
// 功能1开票(商户交易 也是线下交易) // 功能1开票(商户交易 也是线下交易)
async apply20(params, pobj2, req) { async apply20(params, pobj2, req) {
try { try {
validation.check(params, "invoice_type", {name: "发票类型", is_require: true, dics: ['00', "10", "20"]}); validation.check(params, "invoice_type", {name: "发票类型", is_require: true, dics: ['30', "10", "20"]});
validation.check(params, "pay_voucher", {name: "支付凭证", is_require: true}); validation.check(params, "pay_voucher", {name: "支付凭证", is_require: true});
validation.check(params, "invoiceList", {name: "开票信息", arr_require: true}); validation.check(params, "invoiceList", {name: "开票信息", arr_require: true});
......
...@@ -72,7 +72,8 @@ class InvoiceService extends ServiceBase { ...@@ -72,7 +72,8 @@ class InvoiceService extends ServiceBase {
}); });
if (tradOrderRes.status == 0) { if (tradOrderRes.status == 0) {
tradOrder = tradOrderRes.data; tradOrder = tradOrderRes.data;
} };
saasInvoiceApply.service_tax=system.f2y(saasInvoiceApply.service_tax);
} }
saasInvoiceApply.tradOrder = tradOrder; saasInvoiceApply.tradOrder = tradOrder;
return system.getResult(saasInvoiceApply); return system.getResult(saasInvoiceApply);
......
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