From 3dfb33a5b63c7051afdfe9620766a965e69e42e3 Mon Sep 17 00:00:00 2001
From: luojie <125330818@qq.com>
Date: Sun, 1 Mar 2026 12:35:35 +0800
Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][?=
=?UTF-8?q?=E6=9A=82=E5=AD=98]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Template/BaseInfoFormPackage.vue | 31 +++++++++++++---------
src/components/Template/HandleFormItem.vue | 25 ++++++++++++++++-
.../business/comps/template/comps/yp/YP003.vue | 22 +++++++++++++--
3 files changed, 62 insertions(+), 16 deletions(-)
diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue
index 7d17fa5..7692db7 100644
--- a/src/components/Template/BaseInfoFormPackage.vue
+++ b/src/components/Template/BaseInfoFormPackage.vue
@@ -114,13 +114,7 @@
@update:error="errors[key] = false" @resetRecord="resetRecord(key)" :item="sItem"
:value="formFields[key]" />
-
- onAttachmentChange(key, e)"
- :error="errors[key]" @update:error="errors[key] = false"
- :orange-bg="orangeBgFields[key]" />
-
+
+
+ onFqyqChange(key, e)"
+ :error="errors[key]" @update:error="errors[key] = false" />
+
@@ -275,12 +275,6 @@
@update:error="errors[key] = false" @resetRecord="resetRecord(key)" :item="sItem"
:value="formFields[key]" />
-
- onAttachmentChange(key, e)" :error="errors[key]"
- @update:error="errors[key] = false" :orange-bg="orangeBgFields[key]" />
-
\ No newline at end of file
diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue
index 25be34a..b64b8eb 100644
--- a/src/components/Template/HandleFormItem.vue
+++ b/src/components/Template/HandleFormItem.vue
@@ -109,6 +109,25 @@
+
+
+ onFqyqChange(val, 'yyyy/MM/DD')">
+ 是
+
+
+
+
+
+
+
+
+ onFqyqChange(val, 'yyyy/MM/DD')">
+ 否
+
+
+
@@ -1168,7 +1187,7 @@ export default {
if (this.getDisabled()) {
return ""
}
- if (this.regentType.includes(type) || type === "clickable") {
+ if (this.regentType.includes(type) || type === "clickable" || type === "fqyq") {
return this.$t("template.common.pleaseSelect")
}
let prex = "template.common.pleaseFillIn"
@@ -1731,4 +1750,8 @@ export default {
}
}
}
+.fqyq-input{
+ width: 500px;
+ margin-left: 10px;
+}
\ No newline at end of file
diff --git a/src/views/business/comps/template/comps/yp/YP003.vue b/src/views/business/comps/template/comps/yp/YP003.vue
index 87a7963..0b9e5e8 100644
--- a/src/views/business/comps/template/comps/yp/YP003.vue
+++ b/src/views/business/comps/template/comps/yp/YP003.vue
@@ -31,6 +31,8 @@
+
@@ -65,6 +67,22 @@ export default {
},
},
computed: {
+ // 分取要求
+ fqyqConig() {
+ return [
+ {
+ type: "cellItem",
+ config: {
+ fqyq: {
+ label: "template.yp.yp003.sfyfzyq",
+ type: "fqyq",
+ fillType: "actFill",
+ span: 1,
+ }
+ }
+ }
+ ]
+ },
// 备注表单配置
remarkConig() {
return [
@@ -202,11 +220,11 @@ export default {
},
//获取已填写的表单数据
getFilledFormData() {
- return this.getFilledFormDataByRefs(["baseInfoRef", "tableRef", "stepRef", "remarkRef"])
+ return this.getFilledFormDataByRefs(["baseInfoRef", "tableRef", "stepRef", "fqyqRef","remarkRef"])
},
//获取填写完成的表单数据
async getFormData() {
- let content = await this.validFormFields(["baseInfoRef", "tableRef", "stepRef", "remarkRef"]);
+ let content = await this.validFormFields(["baseInfoRef", "tableRef", "stepRef", "fqyqRef","remarkRef"]);
return content;
},
getResource() {