Commit f5b9876e by 王昆

gsb

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