|
@@ -570,7 +570,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
InStoreForm model = this.getModelById(id);
|
|
|
// 采购单入库的路由至新流程
|
|
|
- if (InStoreTypeEnum.CAIGOU_RUKU.getValue() == model.getType()) {
|
|
|
+ if (InStoreTypeEnum.CAIGOU_RUKU.getValue() == model.getType() && StringUtils.isNotBlank(model.getPurchaseId())) {
|
|
|
handlePurchaseInForm(model, userInfo);
|
|
|
return;
|
|
|
}
|