|
@@ -267,6 +267,7 @@
|
|
|
:options="catalogListOptions"
|
|
:options="catalogListOptions"
|
|
|
v-bind="props"
|
|
v-bind="props"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
|
|
+ @change="handleCatalogChange"
|
|
|
></el-cascader>
|
|
></el-cascader>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -341,7 +342,8 @@
|
|
|
:disabled="
|
|
:disabled="
|
|
|
dialogTitle == '查看成本核定模板' ||
|
|
dialogTitle == '查看成本核定模板' ||
|
|
|
dialogTitle == '修改成本核定模板' ||
|
|
dialogTitle == '修改成本核定模板' ||
|
|
|
- contentEditForm.surveyTemplateId != ''
|
|
|
|
|
|
|
+ contentEditForm.surveyTemplateId != '' ||
|
|
|
|
|
+ contentEditForm.catalogId == ''
|
|
|
"
|
|
"
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
@@ -1335,7 +1337,9 @@
|
|
|
},
|
|
},
|
|
|
// 获取所有状态为启用的成本核定表模板数据
|
|
// 获取所有状态为启用的成本核定表模板数据
|
|
|
getActiveCostVerifyFormList() {
|
|
getActiveCostVerifyFormList() {
|
|
|
- getActiveCostVerifyFormList().then((res) => {
|
|
|
|
|
|
|
+ getActiveCostVerifyFormList({
|
|
|
|
|
+ catalogId: this.contentEditForm.catalogId,
|
|
|
|
|
+ }).then((res) => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
this.contentEditFormList = res.value
|
|
this.contentEditFormList = res.value
|
|
|
}
|
|
}
|
|
@@ -1449,8 +1453,7 @@
|
|
|
fixedTablesTitle: [],
|
|
fixedTablesTitle: [],
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
- // 成本核定表模板列表
|
|
|
|
|
- this.getActiveCostVerifyFormList()
|
|
|
|
|
|
|
+
|
|
|
// 成本调查表模板列表
|
|
// 成本调查表模板列表
|
|
|
this.getActiveCostVerifyFormListByType()
|
|
this.getActiveCostVerifyFormListByType()
|
|
|
this.dialogVisible = true
|
|
this.dialogVisible = true
|
|
@@ -1460,7 +1463,11 @@
|
|
|
this.$refs.contentEditForm.clearValidate()
|
|
this.$refs.contentEditForm.clearValidate()
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- console.log('this.contentEditForm', this.contentEditForm)
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ // 级联选择器改变时触发
|
|
|
|
|
+ handleCatalogChange(val) {
|
|
|
|
|
+ // 成本核定表模板列表
|
|
|
|
|
+ this.getActiveCostVerifyFormList()
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 修改
|
|
// 修改
|