|
|
@ -374,20 +374,6 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleSave() { |
|
|
|
if (this.baseManufacturerBankDto.manufacturerCode !== '') { |
|
|
|
const tip = '请确认编码是否正确,保存后信息将无法修改' |
|
|
|
this.$confirm(tip, '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.saveEdit() |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.saveEdit() |
|
|
|
} |
|
|
|
}, |
|
|
|
saveEdit() { |
|
|
|
this.$refs['form_obj'].validate(valid => { |
|
|
|
if (valid) { |
|
|
|
this.submitdisabled = true |
|
|
@ -434,6 +420,7 @@ export default { |
|
|
|
this.sid = '' |
|
|
|
this.baseManufacturerDto = {} |
|
|
|
this.baseManufacturerBankDto = [] |
|
|
|
this.isShow = true |
|
|
|
this.$refs['form_obj'].resetFields() |
|
|
|
this.$emit('doback') |
|
|
|
} |
|
|
|