diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue index b1739d4..eb28b6e 100644 --- a/src/components/Template/BaseInfoFormPackage.vue +++ b/src/components/Template/BaseInfoFormPackage.vue @@ -89,8 +89,8 @@ type="select" :item="sItem" 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]" /> -
-
{{ sItem.otherLabel ? $t(sItem.otherLabel) : +
+
{{ sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}
-
-
{{ sItem.otherLabel ? $t(sItem.otherLabel) : +
+
{{ sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}
-
-
{{ sItem.otherLabel ? $t(sItem.otherLabel) : +
+
{{ sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}
- - - - - - - + + + + + + 0) { + const list = fzList.map((item) => { + return { + bh: mybh + item.preCode + item.subCode, + kc: item.num, + kcdw: dw, + } + }) + let postData = { + studyId: this.formData.studyId, + studyFormId: this.formData.id, + bh: mybh, + nd: rowData.actSolutionConcentration || 0, + nddw: headerSelectFields.actSolutionConcentrationUnit, + studySubjectId: this.formData.studySubjectId, + studyFormId:this.formData.id, + list: list + } + this.subPackageRequest(postData); + } + }, //获取已填写的表单数据 getFilledFormData() { - return this.getFilledFormDataByRefs(["baseInfoRef", "tableRef", "stepRef", "remarkRef"]) + return this.getFilledFormDataByRefs(["baseInfoRef", "swypyjInfoRef", "stepTableRef", "stepRef","remarkRef"]) }, //获取填写完成的表单数据 async getFormData() { - let content = await this.validFormFields(["baseInfoRef", "tableRef", "stepRef", "remarkRef"]); + let content = await this.validFormFields(["baseInfoRef", "swypyjInfoRef", "stepTableRef", "stepRef","remarkRef"]); return content; }, getResource() { @@ -211,12 +287,12 @@ export default { console.log(content); }, // 删除表格行 - deleteRow(rowIndex) { - const tableRef = this.$refs['tableRef']; - if (tableRef) { - tableRef.deleteRow(rowIndex); - } - }, + // deleteRow(rowIndex) { + // const tableRef = this.$refs['tableRef']; + // if (tableRef) { + // tableRef.deleteRow(rowIndex); + // } + // }, } }; diff --git a/src/views/business/comps/template/comps/dl/DL017.vue b/src/views/business/comps/template/comps/dl/DL017.vue index 02205f1..9bda0c3 100644 --- a/src/views/business/comps/template/comps/dl/DL017.vue +++ b/src/views/business/comps/template/comps/dl/DL017.vue @@ -1,23 +1,39 @@ - +