From 535b95dc26eaa036a2acfadd07184be57a60d2a6 Mon Sep 17 00:00:00 2001 From: jinna Date: Mon, 30 Mar 2026 22:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/exemption/index.vue | 1 + src/views/productionTesting/InspectionTemplate.vue | 1 + .../productionTesting/components/trialItem.vue | 13 +++++++------ .../remindRedeem/components/batchAdd.vue | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/views/exemption/index.vue b/src/views/exemption/index.vue index cc60837..158d0ae 100644 --- a/src/views/exemption/index.vue +++ b/src/views/exemption/index.vue @@ -178,6 +178,7 @@ export default { search: true, sortable: true, span: 12, + searchLabelWidth:100, }, { label: '原因', diff --git a/src/views/productionTesting/InspectionTemplate.vue b/src/views/productionTesting/InspectionTemplate.vue index b874c57..861c79b 100644 --- a/src/views/productionTesting/InspectionTemplate.vue +++ b/src/views/productionTesting/InspectionTemplate.vue @@ -285,6 +285,7 @@ export default { type:'select', addDisplay: false, editDisplay: false, + width:150, span: 24, search:true, rules: [ diff --git a/src/views/productionTesting/components/trialItem.vue b/src/views/productionTesting/components/trialItem.vue index 75a8a93..43d7b21 100644 --- a/src/views/productionTesting/components/trialItem.vue +++ b/src/views/productionTesting/components/trialItem.vue @@ -186,12 +186,12 @@ export default { type: 'select', dicUrl: '/blade-system/dict/dictionary?code=InspectionItem-ItemType', props: { label: 'dictValue', value: 'dictKey' }, - formatter: (row, value) => { - if (value === 0 || value === '0') { - return ''; - } - return value; - }, + // formatter: (row, value) => { + // if (value == 0 || value === '0') { + // return ''; + // } + // return value + ''; + // }, rules: [ { required: false, @@ -304,6 +304,7 @@ export default { }); }, rowUpdate(form, index, done, loading) { + form.itemType = form.itemType ? form.itemType : '' editItem(form).then(res => { if (res.data.code == 200) { this.$message.success('修改成功'); diff --git a/src/views/qualityManagement/remindRedeem/components/batchAdd.vue b/src/views/qualityManagement/remindRedeem/components/batchAdd.vue index b34925d..f3c279a 100644 --- a/src/views/qualityManagement/remindRedeem/components/batchAdd.vue +++ b/src/views/qualityManagement/remindRedeem/components/batchAdd.vue @@ -97,7 +97,7 @@ - +