|
|
@@ -495,9 +495,9 @@ public class InboundPurchaseReturnService extends BaseService<Inbound> {
|
|
|
if (Constant.IntoStatus.YIRUKU.getName().equals(inboundResponse.getIntoStatus())) {
|
|
|
|
|
|
//region 退账
|
|
|
- if (inboundResponse.getReceivableId() != null) {
|
|
|
+// if (inboundResponse.getReceivableId() != null) {
|
|
|
accountService.reversePayable(inboundResponse.getIntoId(), Constant.InventoryDocCode.INTOBOUND.getTableName());
|
|
|
- }
|
|
|
+// }
|
|
|
//endregion
|
|
|
|
|
|
//region 修改明细
|
|
|
@@ -532,12 +532,6 @@ public class InboundPurchaseReturnService extends BaseService<Inbound> {
|
|
|
);
|
|
|
//endregion
|
|
|
|
|
|
- //region 入账
|
|
|
- if (inboundResponse.getReceivableId() != null) {
|
|
|
- accountService.accPayable(inboundResponse.getIntoId(), Constant.InventoryDocCode.INTOBOUND.getTableName());
|
|
|
- }
|
|
|
- //endregion
|
|
|
-
|
|
|
//region 调用库存
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("delIntoDetail", inboundItemResponseList);
|