Commit 51a76fca by 王勇飞

gyq

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