diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue
index ad7c1f5..60eec6f 100644
--- a/src/components/Template/BaseInfoFormPackage.vue
+++ b/src/components/Template/BaseInfoFormPackage.vue
@@ -207,6 +207,9 @@
{{
formFields[sItem.subKey] }}
{{ $t(sItem.subText) }}
+ handleClickButton(e, sItem, val, data)" />
+
+
+
+
+

{{ formData.bdmc
+ }}

+
+
+
+
+
+
+
+
diff --git a/src/views/business/comps/template/comps/dl/DL005.vue b/src/views/business/comps/template/comps/dl/DL005.vue
new file mode 100644
index 0000000..e170f3c
--- /dev/null
+++ b/src/views/business/comps/template/comps/dl/DL005.vue
@@ -0,0 +1,271 @@
+
+
+
+
+
+

{{ formData.bdmc
+ }}

+
+
+
+
+
+
+
+
diff --git a/src/views/business/comps/template/comps/dl/DL006.vue b/src/views/business/comps/template/comps/dl/DL006.vue
index 61ef2ed..3742322 100644
--- a/src/views/business/comps/template/comps/dl/DL006.vue
+++ b/src/views/business/comps/template/comps/dl/DL006.vue
@@ -38,7 +38,6 @@
onRegentSubmit(e)"
:showOperation="false"
@@ -409,53 +408,6 @@ export default {
const formData = this.getStepResource()
console.log(formData, 'formData')
},
- //处理table失焦事件
- async operateBlur(params) {
- let isGeneratingSubCode = false;
- const { dataSource = [], rowIndex } = params; // 重点:接收当前行索引rowIndex
- // 1. 数据源为空/正在生成中,直接返回
- if (dataSource.length === 0 || isGeneratingSubCode) {
- return;
- }
-
- // 2. 获取当前失去焦点的行(核心:只处理当前行,而非遍历整表)
- const currentItem = dataSource[rowIndex];
- if (!currentItem) {
- return;
- }
-
- // 3. 条件判断:有targetSolutionCode 且 无subTargetSolutionCode
- const hasTargetCode = !!currentItem.targetSolutionCode;
- const noSubTargetCode = !currentItem.subTargetSolutionCode;
- if (!hasTargetCode || !noSubTargetCode) {
- return; // 不满足条件,直接返回
- }
-
- try {
- // 4. 加锁,防止重复请求
- isGeneratingSubCode = true;
-
- // 5. 调用接口生成子码(仅传当前行的参数)
- const subCode = await this.getLatestSnArr([{
- pre: currentItem.targetSolutionCode,
- type: 1
- }]);
-
- // 6. 赋值到当前行(兼容接口返回空的情况)
- currentItem.subTargetSolutionCode = subCode[0] || '';
-
- // 7. 只更新当前行的表格数据(而非遍历全表,提升性能)
- if (this.$refs.jlzpzxxTableRef) {
- this.$refs.jlzpzxxTableRef.updateDataSourceByRowIndex(rowIndex, { ...currentItem });
- }
- } catch (error) {
- // 8. 异常捕获,给出友好提示
- this.$message.error('子码生成失败,请重试');
- } finally {
- // 9. 解锁,允许后续请求
- isGeneratingSubCode = false;
- }
- },
//处理是否添加S9
onCzChange(e) {
diff --git a/src/views/business/comps/template/comps/xb/XB001.vue b/src/views/business/comps/template/comps/xb/XB001.vue
index 530b115..36d9aec 100644
--- a/src/views/business/comps/template/comps/xb/XB001.vue
+++ b/src/views/business/comps/template/comps/xb/XB001.vue
@@ -254,6 +254,10 @@ export default {
label: 'template.common.startTime',
prop: 'startTime',
bodyType: 'input',
+ bodySubType: 'button',
+ bodySubButtonName: 'template.xb.xb001.ks',
+ bodySubKey: 'startTime',
+ bodySubFillType: 'actFill',
bodyFillType: 'actFill',
width: 280,
bodyMaxlength: 50,
@@ -262,6 +266,10 @@ export default {
label: 'template.common.endTime',
prop: 'endTime',
bodyType: 'input',
+ bodySubType: 'button',
+ bodySubButtonName: 'template.xb.xb001.js',
+ bodySubKey: 'endTime',
+ bodySubFillType: 'actFill',
bodyFillType: 'actFill',
width: 280,
bodyMaxlength: 50,
@@ -271,6 +279,7 @@ export default {
prop: 'fysc',
bodyType: 'input',
bodyFillType: 'actFill',
+ bodyDisabled: true,
width: 280,
bodyMaxlength: 50,
},