收入合同编辑bug
This commit is contained in:
@@ -506,7 +506,8 @@ export default {
|
|||||||
}
|
}
|
||||||
postAction(url, formData).then(res => {
|
postAction(url, formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.contractId = res.result.id
|
// 编辑
|
||||||
|
this.contractId = res.result.id || this.model.id
|
||||||
this.edit(this.contractId)
|
this.edit(this.contractId)
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// 保存上方表单信息,(应该在表单验证完全正确时置为true)
|
// 保存上方表单信息,(应该在表单验证完全正确时置为true)
|
||||||
|
|||||||
Reference in New Issue
Block a user