配方作业更新

This commit is contained in:
2022-07-05 14:47:06 +08:00
parent 8f99547b0d
commit 6833bd23b8

View File

@@ -428,6 +428,9 @@ export default {
if (this.form.storagevehicle_code === '') {
return this.crud.notify('请绑定配粉槽', CRUD.NOTIFICATION_TYPE.INFO)
}
if (this.form.status !== '30') {
return this.crud.notify('配方状态不为生产中', CRUD.NOTIFICATION_TYPE.INFO)
}
const arr = this.tableDtl
let num = 0
for (let i = 0; i < arr.length; i++) {
@@ -472,6 +475,9 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
if (this.form.status !== '30') {
return this.crud.notify('配方状态不为生产中', CRUD.NOTIFICATION_TYPE.INFO)
}
if (this.dtlJson === null) {
this.crud.notify('请选择物料', CRUD.NOTIFICATION_TYPE.INFO)
return false