|
@@ -1578,7 +1578,7 @@ public class RetailOrderLogic {
|
|
|
if (invoiceMapper.selectInvoiceOk(item.getId()) != 0 && retailOrder.getIsPlanOrder()){
|
|
|
throw new RemoteServiceException("检测到订单有申请发货,不可弃审");
|
|
|
}
|
|
|
- if (item.getOldQty() > item.getRefundableQty() && retailOrder.getIsPlanOrder() && StringUtils.isNotBlank(item.getKingDeeSeq())) {
|
|
|
+ if (item.getOldQty() > item.getRefundableQty() && retailOrder.getIsPlanOrder()) {
|
|
|
throw new RemoteServiceException("销售类型:" + item.getSaleTypeName() + " 名称:" + item.getMaterialName() + "数量发生变更,不可弃审");
|
|
|
}
|
|
|
item.setKingDeeSeq("");
|