|
|
@@ -8,7 +8,7 @@
|
|
|
:disabled="hasTableData"
|
|
|
>
|
|
|
<el-row :gutter="20">
|
|
|
- <el-col :span="6">
|
|
|
+ <el-col :span="8">
|
|
|
<el-form-item label="" prop="templateType">
|
|
|
<div
|
|
|
style="display: flex; justify-self: start; align-items: center"
|
|
|
@@ -24,6 +24,7 @@
|
|
|
v-model="auditForm.dataTable"
|
|
|
placeholder="请选择"
|
|
|
:disabled="auditForm.templateType !== '1'"
|
|
|
+ style="width: 100%"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in surveyFormList"
|
|
|
@@ -35,7 +36,7 @@
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="6">
|
|
|
+ <el-col :span="8">
|
|
|
<el-form-item label="" prop="">
|
|
|
<div
|
|
|
style="display: flex; justify-self: start; align-items: center"
|
|
|
@@ -51,6 +52,7 @@
|
|
|
v-model="auditForm.historyTemplate"
|
|
|
placeholder="请选择"
|
|
|
:disabled="auditForm.templateType !== '2'"
|
|
|
+ style="width: 100%"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in auditFormList"
|
|
|
@@ -618,7 +620,9 @@
|
|
|
},
|
|
|
async loadSurveyFormOptions() {
|
|
|
try {
|
|
|
- const res = await getActiveCostVerifyFormListByType()
|
|
|
+ const res = await getActiveCostVerifyFormListByType({
|
|
|
+ catalogId: this.catalogId,
|
|
|
+ })
|
|
|
const list = Array.isArray(res?.value) ? res.value : []
|
|
|
// 规范为 surveyTemplateId / surveyTemplateName 结构供下拉使用
|
|
|
this.surveyFormList = list.map((it) => ({
|