[fix bug] 市场法规清单 新增/编辑后更新清单编号
This commit is contained in:
+3
-3
@@ -611,12 +611,12 @@ export default {
|
|||||||
this.$message.success(this.$t('operationSuccessful'))
|
this.$message.success(this.$t('operationSuccessful'))
|
||||||
if (!this.model.id) {
|
if (!this.model.id) {
|
||||||
// 没有id,是新增会返回id,用于下方表格处理
|
// 没有id,是新增会返回id,用于下方表格处理
|
||||||
this.model = Object.assign({}, values)
|
// this.model = Object.assign({}, values)
|
||||||
this.model.id = res.message
|
this.model.id = res.message
|
||||||
this.filters.manifestId = this.model.id
|
this.filters.manifestId = this.model.id
|
||||||
// 更新清单编号
|
|
||||||
this.initData(this.model.id)
|
|
||||||
}
|
}
|
||||||
|
// 更新清单编号
|
||||||
|
this.initData(this.model.id)
|
||||||
this.showList = true
|
this.showList = true
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user