From 8854fdee85ee368e62ea961829438f47ee8a6400 Mon Sep 17 00:00:00 2001
From: luojie <125330818@qq.com>
Date: Wed, 4 Mar 2026 09:51:55 +0800
Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?=
=?UTF-8?q?ate]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Template/HandleFormItem.vue | 21 ++++++++++++++++-----
src/utils/formPackageCommon.js | 6 ++++++
.../business/comps/template/formConfig/sp/SP0019.js | 5 +++--
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue
index 7d9f8d8..2aeee30 100644
--- a/src/components/Template/HandleFormItem.vue
+++ b/src/components/Template/HandleFormItem.vue
@@ -51,7 +51,7 @@
\ No newline at end of file
diff --git a/src/utils/formPackageCommon.js b/src/utils/formPackageCommon.js
index b431518..d33bb12 100644
--- a/src/utils/formPackageCommon.js
+++ b/src/utils/formPackageCommon.js
@@ -17,3 +17,9 @@ export const isShowOtherByRadioAndOther = (v = '', col) => {
const otherArr = ['其他', '异常', '不一致']
return otherArr.includes(v)
}
+
+//checkboxTree判断是否显示其他输入框
+export const isShowOtherByCheckboxTree = (v = "")=>{
+ const otherArr = ['其他', '样品信息', '样品']
+ return otherArr.includes(v)
+}
diff --git a/src/views/business/comps/template/formConfig/sp/SP0019.js b/src/views/business/comps/template/formConfig/sp/SP0019.js
index e7ed166..f1b40ab 100644
--- a/src/views/business/comps/template/formConfig/sp/SP0019.js
+++ b/src/views/business/comps/template/formConfig/sp/SP0019.js
@@ -135,12 +135,13 @@ export const getYqphFormConfig = () => {
config: {
yqph: {
label: '仪器平衡',
- type: 'checkboxList',
+ type: 'checkboxTree',
fillType: 'actFill',
+ span:1,
options: [
{ label: '流动相平衡', value: '流动相平衡' },
{ label: '样品平衡', value: '样品平衡' },
- { label: '样品', value: '样品' ,otherCode:'ypOther'},
+ { label: '样品', value: '样品'},
{ label: '未平衡', value: '未平衡' }
]
},