fix:
1.订舱通知单分录变更
This commit is contained in:
parent
fed2764e22
commit
ce129ac8e0
@ -68,11 +68,13 @@ public class VerifyExistOrPush extends AbstractOperationServicePlugIn {
|
||||
e.setCancel(true);
|
||||
throw new KDBizException("当前单据没有下游单,不允许变更");
|
||||
}
|
||||
if ("yem_es_storagetrans".equals(entityNumber)) {
|
||||
DynamicObjectCollection yemEsSalescontracS = dataEntity.getDynamicObjectCollection("yem_creditdetail");
|
||||
if (yemEsSalescontracS.size()>0) {
|
||||
if (yemEsSalescontracS.size() > 0) {
|
||||
throw new KDBizException("信报明细分录存在分录,不允许变更!!!");
|
||||
}
|
||||
}
|
||||
}
|
||||
//变更单未审核时,不允许下推单据
|
||||
// if ("push".equals(operationKey)) {
|
||||
// String yem_changebill = tplObj.getString("yem_changebill.number");
|
||||
|
Loading…
Reference in New Issue
Block a user