From f09aa4c0607b5e172a26f614a918639b19b9c7d1 Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Wed, 22 Sep 2021 10:38:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E5=85=A5=E5=90=88=E5=90=8C=E7=BC=96?= =?UTF-8?q?=E8=BE=91bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../revenueContract/modules/RevenueContractModule.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/contractManagement/revenueContract/modules/RevenueContractModule.vue b/src/views/contractManagement/revenueContract/modules/RevenueContractModule.vue index 2c836c0..daf64ac 100644 --- a/src/views/contractManagement/revenueContract/modules/RevenueContractModule.vue +++ b/src/views/contractManagement/revenueContract/modules/RevenueContractModule.vue @@ -506,7 +506,8 @@ export default { } postAction(url, formData).then(res => { if (res.success) { - this.contractId = res.result.id + // 编辑 + this.contractId = res.result.id || this.model.id this.edit(this.contractId) this.$message.success(res.message) // 保存上方表单信息,(应该在表单验证完全正确时置为true)