[update] 新增表单编辑时字典回显问题,标准选择传source,企标详情修改
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user