md
This commit is contained in:
parent
5e05fe462a
commit
dd0ccfd110
@ -1430,10 +1430,13 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
emisWaybillSave.setSendSiteCode("88888");
|
emisWaybillSave.setSendSiteCode("88888");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(isNew) {
|
if(isNew) {
|
||||||
if( emisWaybillSave.getSendDate()==null ){
|
if( "1".equals(emisWaybillSave.getPickupMethod() && emisWaybillSave.getIntoWarehouseCode()==null ) {
|
||||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"发件日期必填");
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"收货仓库必填");
|
||||||
|
}
|
||||||
|
|
||||||
|
if( ("2".equals(emisWaybillSave.getPickupMethod() || "1".equals(emisWaybillSave.getPickupMethod()) && emisWaybillSave.getPickStartDate()==null ){
|
||||||
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"发货/取件日期必填");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user