bug修复-仓库管理 新建时 激活状态默认为 激活

product
chuang 2 years ago
parent f29fcb7a4f
commit 1e8a18b9bb

@ -106,6 +106,7 @@
import { getDataInterfaceRes } from '@/api/systemData/dataInterface'
import { getDictionaryDataSelector } from '@/api/systemData/dictionary'
export default {
components: {},
props: [],
@ -121,7 +122,7 @@
location: '',
type: '',
sublibrary: '',
activestate: '2',
activestate: '1',
remark: '',
creatorUserName: '',
creatorTime: '',
@ -219,6 +220,7 @@
})
} else {
this.clearData(this.dataForm)
this.dataForm.activestate='1';
}
})
this.$store.commit('generator/UPDATE_RELATION_DATA', {})

@ -245,6 +245,7 @@
}).catch(() => {
})
},
addWarehouse(){this.formVisible = true},
addOrUpdateHandle(id, isDetail) {
this.formVisible = true
this.$nextTick(() => {

Loading…
Cancel
Save