diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue
index 5164e44..c709472 100644
--- a/src/components/Template/HandleFormItem.vue
+++ b/src/components/Template/HandleFormItem.vue
@@ -72,13 +72,20 @@
\ No newline at end of file
diff --git a/src/views/business/comps/template/comps/gsp/GSP015.vue b/src/views/business/comps/template/comps/gsp/GSP015.vue
index 43dcb8f..a8cbb13 100644
--- a/src/views/business/comps/template/comps/gsp/GSP015.vue
+++ b/src/views/business/comps/template/comps/gsp/GSP015.vue
@@ -222,9 +222,19 @@ export default {
};
},
mounted() {
-
+ if (this.fillType === "actFill") {
+ setTimeout(() => {
+ this.handleUpdateCode();
+ }, 0);
+ }
},
methods: {
+ handleUpdateCode(){
+ const refs = ["jyTableRef"]
+ const {ecDataList = [],ybsmDataList= []} = this.fromData;
+
+ console.log(this.formData,"fff")
+ },
//获取文件blog
async handleBeforeDownload({ html2pdf, options, pdfContent }) {
this.$modal.loading()
@@ -431,6 +441,7 @@ export default {
deleteConfig(item, type = "ybsmDataList") {
if (this.formData[type].length > 1) {
const configIndex = this.formData[type].findIndex(config => config.id === item.id);
+ console.log(configIndex,item,"configIndex")
if (configIndex > -1) {
const newList = [...this.formData[type]]
newList.splice(configIndex, 1);
@@ -478,6 +489,7 @@ export default {
...ybsmTableData,
jyStepTableFormData: jyTableData.stepTableFormData,
jyHeaderSelectFields: jyTableData.headerSelectFields,
+ id: item.id,
};
});
const eData = ecDataList.map((item, index) => {
@@ -486,6 +498,7 @@ export default {
return {
...ecFormData,
...ecTableData,
+ id: item.id,
};
});
return {
diff --git a/src/views/business/comps/template/comps/sp/SP0021.vue b/src/views/business/comps/template/comps/sp/SP0021.vue
index 54e82f7..7635b9d 100644
--- a/src/views/business/comps/template/comps/sp/SP0021.vue
+++ b/src/views/business/comps/template/comps/sp/SP0021.vue
@@ -124,6 +124,7 @@ export default {
},
methods: {
//删除样本说明
+
deleteConfig(item) {
// 确保 ybsmDataList 存在
if (this.formData.ybsmDataList.length > 1) {
diff --git a/src/views/business/comps/template/formConfig/gsp/gsp015.js b/src/views/business/comps/template/formConfig/gsp/gsp015.js
index 11a676d..0925fac 100644
--- a/src/views/business/comps/template/formConfig/gsp/gsp015.js
+++ b/src/views/business/comps/template/formConfig/gsp/gsp015.js
@@ -118,6 +118,8 @@ export const getQyTableColumns = ($this) => {
width: 200,
bodyType: 'input',
bodyFillType: 'preFill',
+ subBodyType:"span",
+ subBodyKey: "qybhCode",
},
{
label: '制剂编号',
@@ -209,6 +211,8 @@ export const getJyTableColumns = ($this) => {
width: 200,
bodyType: 'input',
bodyFillType: 'preFill',
+ subBodyType:"span",
+ subBodyKey: "jybhCode",
},
{
label: '取样编号',