[update] 新增表单编辑时字典回显问题,标准选择传source,企标详情修改

This commit is contained in:
lideqin
2023-09-19 17:35:16 +08:00
parent 2479b33556
commit 2eafb3a179
5 changed files with 42 additions and 21 deletions
@@ -12,8 +12,9 @@
<a-spin :spinning="confirmLoading" style="width: 100%;height:100%">
<div class="custom-drawer-style-scroll">
<add-form ref="addForm"
flag="3"
:defaultValue="{year_number: new Date().getFullYear() + ''}"
:disabledFieldList="['replaced_stand_num', 'referenced_standard']"
:disabledFieldList="['replaced_standard_num', 'referenced_standard']"
:get-form-func="getFormFunc"
:get-document-info-func="getDocumentInfoFunc"
@submitFormData="submitFormData" />
@@ -158,11 +159,8 @@ export default {
postAction(url, formInline).then((res) => {
if (res.success) {
this.$message.success(this.$t('operationSuccessful'))
if (this.formInline.id) {
this.$emit('ok')
} else {
this.$emit('ok')
}
this.$emit('ok')
this.close()
} else {
this.$message.warning(res.message)
}