Commit 379d2fb2 by v_vjyjiang

gyq

parent abec2143
......@@ -411,15 +411,9 @@ class DeliverybillCtl extends CtlBase {
currentPeriod: pobj.actionBody.accountDate,
courierNumber: pobj.actionBody.expressNum
}
param.sign = await toFtClient.postToFtBySign("/customerReceiveBill/addCusReceiveBill", param.companyId);
console.log("融易算接收票据快递单号param.sign------------------",param.sign);
var rc = this.getObject("util.execClient");
var reqUrl = settings.ftConfig.url + "/customerReceiveBill/addCusReceiveBill";
console.log("调代账系统参数--------------------------", JSON.stringify(param));
var result = await rc.execPost(param, reqUrl);
var j = JSON.parse(result.stdout);
console.log("融易算接收票据快递单号返回结果--------------------------", JSON.stringify(j));
if (j.status == 1) {
var result = await toFtClient.postToFtBySign("/customerReceiveBill/addCusReceiveBill", param);
console.log("融易算接收票据快递单号返回结果--------------------------", result);
if (result) {
return system.getResult(result);
}
else {
......@@ -431,10 +425,6 @@ class DeliverybillCtl extends CtlBase {
console.log("融易算接收票据快递单号错误------------------------没有交付单信息");
return system.getResultError("没有交付单信息");
}
}
async testPaperPostConfirm(obj) {
......
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