|
|
@ -141,6 +141,13 @@ export default { |
|
|
|
req.saveOrUpdate(this.formobj).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ showClose: true, type: 'success', message: '保存成功' }) |
|
|
|
this.formobj.sid = '' |
|
|
|
this.formobj.address = '' |
|
|
|
this.formobj.bankAccount = '' |
|
|
|
this.formobj.bankName = '' |
|
|
|
this.formobj.name = '' |
|
|
|
this.formobj.phone = '' |
|
|
|
this.formobj.taxpayerNo = '' |
|
|
|
// this.handleReturn('true') |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
@ -151,7 +158,7 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 返回(===既判断) |
|
|
|
handleReturn(isreload) { |
|
|
|
handleReturn() { |
|
|
|
// 表单数据 |
|
|
|
this.formobj = { |
|
|
|
sid: '', // 一条数据的sid |
|
|
|