Browse Source

完善供应商--新增时编码可以填写

master
yunuo970428 3 years ago
parent
commit
be327c38a9
  1. 15
      anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshangAdd.vue

15
anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshangAdd.vue

@ -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')
}

Loading…
Cancel
Save