diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue index 0182a6f..79a754f 100644 --- a/src/components/Template/BaseInfoFormPackage.vue +++ b/src/components/Template/BaseInfoFormPackage.vue @@ -10,8 +10,7 @@
{{ $t(sItem.label) }}
@@ -33,7 +32,7 @@
-
{{ sItem.otherLabel ? $t(sItem.otherLabel) : +
{{ sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}
{{ $t(sItem.label) }}
-
+
-
{{ sItem.otherLabel ? $t(sItem.otherLabel) : +
{{ sItem.otherLabel ? + $t(sItem.otherLabel) : $t("template.common.other") }}
-
+
+ :type="sItem.type" @copy="onCopy(sItem, key)" :error="errors[key]" + @update:error="errors[key] = false" :ref="key" :orange-bg="orangeBgFields[key]" /> {{ $t(sItem.subText) }} + @clickButton="(e, val, data) => handleClickButton(e, sItem, val, data,sItem.subKey)" /> +
@@ -124,8 +127,7 @@
+ :class="{ 'form-error-border': errors[key] }">
-
+
+ :type="sItem.type" :item="sItem" style="width: auto;flex:1" + :style="{ 'width': sItem.formWidth ? sItem.formWidth + 'px' : 'auto' }" + v-model="formFields[key]" @copy="onCopy(sItem, key)" + @change="(e, type) => onSelectChange(key, e, type)" :error="errors[key]" + @update:error="errors[key] = false" :orange-bg="orangeBgFields[key]" />
{{ $t(sItem.label) }}
@@ -183,21 +187,22 @@ :error="errors[key]" @update:error="errors[key] = false" :orange-bg="orangeBgFields[key]" />
-
+
-
-
{{ sItem.otherLabel ? $t(sItem.otherLabel) : - $t("template.common.other") }}
+ @remoteMethod="(query) => remoteMethod(query, sItem, key)" :error="errors[key]" + @update:error="errors[key] = false" :orange-bg="orangeBgFields[key]" /> +
+
+ {{ sItem.otherLabel ? $t(sItem.otherLabel) : + $t("template.common.other") }}
@@ -206,10 +211,9 @@
+ :type="sItem.type" @blur="onBlur(key, $event)" class="flex1" :item="sItem" + v-model="formFields[key]" @copy="onCopy(sItem, key)" :error="errors[key]" + @update:error="errors[key] = false" :orange-bg="orangeBgFields[key]" /> {{ formFields[sItem.subKey] }}
{{ $t(sItem.subText) }} - + + @clickButton="(e, val, data) => handleClickButton(e, sItem, val, data,sItem.subKey)" /> +
+ +
+ +
-
{{ sItem.otherLabel ? $t(sItem.otherLabel) : +
{{ sItem.otherLabel ? + $t(sItem.otherLabel) : $t("template.common.other") }}
{{ $t(sItem.subText) }} - + :item="getFourthButtonItem(sItem)" :value="formFields[sItem.fourthKey]" + @clickButton="(e, val, data) => handleClickButton(e, sItem, val, data,sItem.fourthKey)" /> +