diff --git a/mes/qd/src/views/wms/pf/flourwork/WorkDialog.vue b/mes/qd/src/views/wms/pf/flourwork/WorkDialog.vue index f9d98067..e9bac5b2 100644 --- a/mes/qd/src/views/wms/pf/flourwork/WorkDialog.vue +++ b/mes/qd/src/views/wms/pf/flourwork/WorkDialog.vue @@ -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