md
This commit is contained in:
parent
dd0ccfd110
commit
4eac0592c9
@ -1431,11 +1431,11 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(isNew) {
|
if(isNew) {
|
||||||
if( "1".equals(emisWaybillSave.getPickupMethod() && emisWaybillSave.getIntoWarehouseCode()==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 ){
|
if( ("2".equals(emisWaybillSave.getPickupMethod()) || "1".equals(emisWaybillSave.getPickupMethod()) ) && emisWaybillSave.getPickStartDate()==null ){
|
||||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"发货/取件日期必填");
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"发货/取件日期必填");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user