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 @@
-
+
{{ child.label }} -
+
+ +
\ 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: '未平衡' } ] },