Commit 51a76fca by 王勇飞

gyq

parent ed6df613
...@@ -80,7 +80,7 @@ class DeliverybillCtl extends CtlBase { ...@@ -80,7 +80,7 @@ class DeliverybillCtl extends CtlBase {
console.console.log("updateOrderStatus--------------rs",JSON.stringify(rs)); console.console.log("updateOrderStatus--------------rs",JSON.stringify(rs));
return system.getResult(rs); return system.getResult(rs);
} catch (err) { } catch (err) {
console.console.log("updateOrderStatus--------------error",err); console.log("updateOrderStatus--------------error",err);
return system.getResult(null, err.message) return system.getResult(null, err.message)
} }
} }
......
...@@ -17,7 +17,7 @@ class FitaxschemeCtl extends CtlBase { ...@@ -17,7 +17,7 @@ class FitaxschemeCtl extends CtlBase {
let pobj = mobj.d; let pobj = mobj.d;
console.log("fitasschemeCtl:insertInfo:pobj--------------------" + JSON.stringify(pobj)); console.log("fitasschemeCtl:insertInfo:pobj--------------------" + JSON.stringify(pobj));
try { try {
if (!pobj.demand_code || !pobj.company_type || !pobj.taxpayer_type || !pobj.service_code || !pobj.number) { if (!pobj.demand_code || !pobj.company_type || !pobj.taxpayer_type || !pobj.service_code || !pobj.buy_duration) {
return system.getResultError("fitaxschemeCtl/insertInfo 缺少必要参数!"); return system.getResultError("fitaxschemeCtl/insertInfo 缺少必要参数!");
} }
let res = await this.service.insertInfo(pobj); let res = await this.service.insertInfo(pobj);
...@@ -110,8 +110,8 @@ class FitaxschemeCtl extends CtlBase { ...@@ -110,8 +110,8 @@ class FitaxschemeCtl extends CtlBase {
if (pobj.service_code) { //区域编码 if (pobj.service_code) { //区域编码
sreaCode = parseInt(pobj.service_code); sreaCode = parseInt(pobj.service_code);
} }
if (pobj.number) { //数量 if (pobj.buy_duration) { //数量
quantity = parseInt(pobj.number); quantity = parseInt(pobj.buy_duration);
} }
if (pobj.taxpayer_type) { //纳税人类型 if (pobj.taxpayer_type) { //纳税人类型
if (pobj.taxpayer_type == "一般纳税人") { if (pobj.taxpayer_type == "一般纳税人") {
......
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