From 6833bd23b8457e0840407fccc89b159ea03c7347 Mon Sep 17 00:00:00 2001 From: liuxy Date: Tue, 5 Jul 2022 14:47:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E6=96=B9=E4=BD=9C=E4=B8=9A=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/qd/src/views/wms/pf/flourwork/WorkDialog.vue | 6 ++++++ 1 file changed, 6 insertions(+) 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