diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue
index 7d648b5..483acdc 100644
--- a/src/components/Template/HandleFormItem.vue
+++ b/src/components/Template/HandleFormItem.vue
@@ -4,7 +4,7 @@
-
diff --git a/src/components/Template/mixins/formPackageMixins.js b/src/components/Template/mixins/formPackageMixins.js
index d3e9bfe..26db979 100644
--- a/src/components/Template/mixins/formPackageMixins.js
+++ b/src/components/Template/mixins/formPackageMixins.js
@@ -319,7 +319,7 @@ export default {
}
}
- if (o.type === "attachment") {
+ if (o.type === "attachment"&&o.fillType === this.templateFillType) {
const attValue = formFields[key];
if (!attValue || attValue == "[]") {
errors.push({
@@ -329,8 +329,8 @@ export default {
});
this.$set(this.errors, key, true);
}
- } else if (o.type === "fqyq") {
- const fqyqValue = formFields[key];
+ } else if (o.type === "fqyq" &&o.fillType === this.templateFillType) {
+ const fqyqValue = formFields[key] || {};
const {mainRadio, subRadio,inputValue} = fqyqValue;
if (!mainRadio) {
errors.push({
@@ -360,7 +360,7 @@ export default {
}
continue
- }else if(o.type === "checkboxTree"){
+ }else if(o.type === "checkboxTree"&&o.fillType === this.templateFillType){
const checkboxTreeValue = formFields[key] || {};
const {checkedValues=[],otherValues = {}} = checkboxTreeValue;;
const {options = []} = o;
diff --git a/src/views/business/comps/template/comps/sp/SP0021.vue b/src/views/business/comps/template/comps/sp/SP0021.vue
index 4c47e95..45ca8e2 100644
--- a/src/views/business/comps/template/comps/sp/SP0021.vue
+++ b/src/views/business/comps/template/comps/sp/SP0021.vue
@@ -11,47 +11,67 @@
-
+
-
+
+
+ :ref="refConfig.remarkRef" :formConfig="remarkConig" :formData="formData" />
+