fix(销售出货拣货执行):保存时新增校验OA审批状态1.3,字段未修改
This commit is contained in:
parent
d1dcb58ec1
commit
0c33825099
@ -3212,7 +3212,7 @@ public class DocumentServiceImpl extends ServiceImpl<DocumentMapper, Document> i
|
||||
Document document = getDocument(site, documentNo);
|
||||
String documentBo = document.getHandle();
|
||||
// 获取OA单据审批状态
|
||||
String equipmentInventory = document.getEquipmentInventory();
|
||||
String equipmentInventory = document.getCustomer();
|
||||
if (Constant.DN_OA_STATUS_Z5.equals(equipmentInventory)) {
|
||||
throw BusinessException.build("单据:" + documentNo + "已在OA审批中作废,请联系销售助理!");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user