From 4a45c660eec7934fa04c98620c33c7582fc93163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=89=E6=BA=90?= <1976974459@qq.com> Date: Thu, 19 Oct 2023 15:17:30 +0800 Subject: [PATCH] =?UTF-8?q?2023-10-19=20=E8=AE=BE=E5=A4=87=E5=92=8C?= =?UTF-8?q?=E8=B4=A8=E9=87=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/qcItem.vue | 38 +++++++++-------------------- src/views/modules/qc/qcMethod.vue | 22 +++-------------- src/views/modules/qc/qcTemplate.vue | 30 +++++++++++------------ 3 files changed, 31 insertions(+), 59 deletions(-) diff --git a/src/views/modules/qc/qcItem.vue b/src/views/modules/qc/qcItem.vue index 736ac50..47e2bf7 100644 --- a/src/views/modules/qc/qcItem.vue +++ b/src/views/modules/qc/qcItem.vue @@ -122,16 +122,13 @@ - + - - - - + - + @@ -140,13 +137,13 @@ 方法编码 - + - + - + - - + + - - + + - - + + @@ -451,13 +448,6 @@ message: ' ', trigger: 'change' } - ], - itemNoType:[ - { - required: true, - message: ' ', - trigger: 'change' - } ] }, options: [], @@ -626,10 +616,6 @@ }) }, saveData () { - if (this.modalData.itemNo === '' || this.modalData.itemNo == null) { - this.$message.warning('请输入检验项目编码!') - return - } if (this.modalData.itemDesc === '' || this.modalData.itemDesc == null) { this.$message.warning('请输入检验项目名称!') return diff --git a/src/views/modules/qc/qcMethod.vue b/src/views/modules/qc/qcMethod.vue index 080347b..e53a2c8 100644 --- a/src/views/modules/qc/qcMethod.vue +++ b/src/views/modules/qc/qcMethod.vue @@ -112,16 +112,13 @@ - + - - - - + - + - + @@ -297,13 +294,6 @@ }, ], rules:{ - methodNoType:[ - { - required: true, - message: ' ', - trigger: 'change' - } - ], methodNameType:[ { required: true, @@ -449,10 +439,6 @@ }, // 新增/修改方法 saveData () { - if (this.modalData.methodNo === '' || this.modalData.methodNo == null) { - this.$message.warning('请输入检验方法编码!') - return - } if (this.modalData.methodName === '' || this.modalData.methodName == null) { this.$message.warning('请输入检验方法名称!') return diff --git a/src/views/modules/qc/qcTemplate.vue b/src/views/modules/qc/qcTemplate.vue index 76d2ccb..0580c3b 100644 --- a/src/views/modules/qc/qcTemplate.vue +++ b/src/views/modules/qc/qcTemplate.vue @@ -125,13 +125,13 @@ - + - + - + 抽样方案编码 - + - + 检验水平编码 - + - + - + - + - + - + - + - + - + - +