From 245ca19f528d2da8463fa31f57bbf7b91d0a5710 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期五, 10 五月 2024 22:20:25 +0800 Subject: [PATCH] 各bug修复 --- src/components/view/a5-capacity-scope.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/view/a5-capacity-scope.vue b/src/components/view/a5-capacity-scope.vue index 3618d06..bf1c8c9 100644 --- a/src/components/view/a5-capacity-scope.vue +++ b/src/components/view/a5-capacity-scope.vue @@ -224,14 +224,15 @@ props:{ value:'name', label:'name', - checkStrictly: true + checkStrictly: true, + multiple: true } }, - requiredAdd: ['sonLaboratory', 'inspectionItem', 'manHour', 'inspectionItemType', 'inspectionValueType', - 'unit', 'method', 'price', 'manDay' + requiredAdd: ['sonLaboratory', 'inspectionItem', 'inspectionItemType', 'inspectionValueType', + 'unit', 'method', 'manDay', 'templateId' ], - requiredUp: ['sonLaboratory', 'inspectionItem', 'manHour', 'inspectionItemType', 'inspectionValueType', - 'unit', 'method', 'price', 'manDay' + requiredUp: ['sonLaboratory', 'inspectionItem', 'inspectionItemType', 'inspectionValueType', + 'unit', 'method', 'manDay', 'templateId' ] }, testObjectData: { @@ -335,6 +336,7 @@ if (this.radio === '0') { this.showItemParameter = true; this.showTestObject = false; + this.selectTestObjectByName() /* this.$nextTick(() => { this.$refs.itemParameterTable.selectList() }) */ @@ -347,6 +349,7 @@ refreshTable() { if (this.radio === '0') { this.$refs['itemParameterTable'].selectList() + } else { this.$refs['testObjectTable'].selectList() } -- Gitblit v1.9.3