Commit f5b9876e by 王昆

gsb

parent 94a932c8
......@@ -7,9 +7,7 @@ var Calculation = require("../../../utils/strategies/calculation");
class ActionAPI extends APIBase {
constructor() {
super();
this.invoiceSve = system.getObject("service.invoice.invoiceSve");
this.applySve = system.getObject("service.invoice.applySve");
this.delivererSve = system.getObject("service.invoice.delivererSve");
this.iinvoiceSve = system.getObject("service.invoice.iinvoiceSve");
this.context=new Context();
}
/**
......@@ -44,11 +42,11 @@ class ActionAPI extends APIBase {
break;
case "productDics": // 查询产品字典
opResult = await this.oproductSve.productDics(action_body);
// opResult = await this.oproductSve.productDics(action_body);
break;
case "allProcess": // 查询业务进度
opResult = await this.oprocessSve.allNames(action_body);
// opResult = await this.oprocessSve.allNames(action_body);
break;
// case "verificationAndCalculation": // 发票试算接口
......@@ -132,6 +130,11 @@ class ActionAPI extends APIBase {
// case "delStatBusinessData": //发票办理(交付商)
// opResult = await this.delivererSve.apiDelStatBusinessData(action_body);
// break;
case "test": // 查询业务进度
opResult = await this.iinvoiceSve.allNames(action_body);
break;
default:
opResult = system.getResult(null, "action_type参数错误");
break;
......
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