|
|
@ -53,6 +53,9 @@ |
|
|
@onSubPackageSubmit="onSubPackageSubmit(key) " |
|
|
@onSubPackageSubmit="onSubPackageSubmit(key) " |
|
|
:stepIndex="stepIndex" :prefixKey="prefixKey+'_'+index" @update="(data)=>onSubPackageUpdate(data,key)" :subData = "formFields[key]" :ref="'zlSubPackageRef_'+key" /> |
|
|
:stepIndex="stepIndex" :prefixKey="prefixKey+'_'+index" @update="(data)=>onSubPackageUpdate(data,key)" :subData = "formFields[key]" :ref="'zlSubPackageRef_'+key" /> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
<template v-else-if="sItem.type === 'qb'"> |
|
|
|
|
|
<JcbComp ref="jcbCompRef" :stepIndex="stepIndex" :prefixKey="prefixKey+'_'+index" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
<div v-show="isShowOther(formFields[key])" class="flex flex1"> |
|
|
<div v-show="isShowOther(formFields[key])" class="flex flex1"> |
|
|
<div class="other-title">{{sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}</div> |
|
|
<div class="other-title">{{sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}</div> |
|
|
@ -70,6 +73,7 @@ |
|
|
<script> |
|
|
<script> |
|
|
import HandleFormItem from '@/components/Template/HandleFormItem.vue' |
|
|
import HandleFormItem from '@/components/Template/HandleFormItem.vue' |
|
|
import formPackageMixins from '@/components/Template/mixins/formPackageMixins.js' |
|
|
import formPackageMixins from '@/components/Template/mixins/formPackageMixins.js' |
|
|
|
|
|
import JcbComp from '@/components/Template/StepComponents/JcbComp.vue' |
|
|
import ZLSubPackage from '@/components/Template/StepComponents/ZLSubPackage.vue' |
|
|
import ZLSubPackage from '@/components/Template/StepComponents/ZLSubPackage.vue' |
|
|
import { isShowOther } from "@/utils/formPackageCommon.js"; |
|
|
import { isShowOther } from "@/utils/formPackageCommon.js"; |
|
|
import { EventBus } from "@/utils/eventBus"; |
|
|
import { EventBus } from "@/utils/eventBus"; |
|
|
@ -79,7 +83,8 @@ export default { |
|
|
inject: ['templateFillType','templateData'], |
|
|
inject: ['templateFillType','templateData'], |
|
|
components: { |
|
|
components: { |
|
|
HandleFormItem, |
|
|
HandleFormItem, |
|
|
ZLSubPackage |
|
|
|
|
|
|
|
|
ZLSubPackage, |
|
|
|
|
|
JcbComp, |
|
|
}, |
|
|
}, |
|
|
mixins: [formPackageMixins], |
|
|
mixins: [formPackageMixins], |
|
|
props: { |
|
|
props: { |
|
|
|