rev:1.出库页面发货信息保存回传sap优化2.出库页面是否超期发货字段优化

This commit is contained in:
2024-03-25 13:53:03 +08:00
parent 44d1024900
commit 4fb3a59f39
3 changed files with 9 additions and 7 deletions

View File

@@ -5432,12 +5432,14 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
// 判断单据是否是完成状态:只回传完成状态的单据
if (jsonMst.getString("bill_status").equals("99")) {
JSONArray jsonArr = new JSONArray();
jsonArr.add(jsonMst);
if (!jsonMst.getString("upload_sap").equals("1")) {
JSONArray jsonArr = new JSONArray();
jsonArr.add(jsonMst);
JSONObject param = new JSONObject();
param.put("rows", jsonArr);
inAndOutReturnService.uploadSAP(param);
JSONObject param = new JSONObject();
param.put("rows", jsonArr);
inAndOutReturnService.uploadSAP(param);
}
}
}