rev:1.新增管控单据备注不能为空2.库存导出新增是否管控字段
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user