rev:1.新增管控单据备注不能为空2.库存导出新增是否管控字段

This commit is contained in:
2025-04-17 09:17:33 +08:00
parent f5285e2148
commit d27446b48f
3 changed files with 16 additions and 0 deletions

View File

@@ -293,6 +293,12 @@ export default {
return
}
this.form.open_type = this.openType
if (this.openType === '0' || this.openType === '1') {
if (this.form.remark === '') {
this.crud.notify('备注不能为空!', CRUD.NOTIFICATION_TYPE.INFO)
return
}
}
crudControl.addSubmit(this.form).then(res => {
this.crud.notify('操作成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()