代码更新

This commit is contained in:
2022-07-19 18:37:22 +08:00
parent de0f9a4665
commit 45daab1a39
6 changed files with 44 additions and 41 deletions

View File

@@ -208,17 +208,18 @@ export default {
}
},
save() {
if (this.stor_id === '') {
this.crud.notify('请选择仓库', CRUD.NOTIFICATION_TYPE.INFO)
return
}
// if (this.stor_id === '') {
// this.crud.notify('请选择仓库', CRUD.NOTIFICATION_TYPE.INFO)
// return
// }
const data = {}
data.stor_id = this.stor_id
data.stor_id = '1473162033548627968'
data.rows = this.crud.data
crudMaterialsafeivt.insertSafeBj(data).then(() => {
this.crud.dleChangePage(1)
this.crud.editSuccessNotify()
this.crud.refresh()
this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
storChange(val) {