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

product
chuang 2 years ago
parent f29fcb7a4f
commit 1e8a18b9bb

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

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

Loading…
Cancel
Save