|
@@ -84,13 +84,9 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { Tree } from '@/components'
|
|
|
import { findStoreDetail, saveStoreOrg } from '@/api/store.js'
|
|
|
import { findOrgTree } from '@/api/atorg.js'
|
|
|
-import { TreeSelect } from 'ant-design-vue'
|
|
|
-const SHOW_ALL = TreeSelect.SHOW_ALL
|
|
|
export default {
|
|
|
- components: { Tree },
|
|
|
name: 'StoreModal',
|
|
|
props: {
|
|
|
openModal: {
|
|
@@ -106,7 +102,6 @@ export default {
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
- SHOW_ALL,
|
|
|
isShow: this.openModal, // 弹框是否展示
|
|
|
form: { // 编辑
|
|
|
orgCode: null // 机构编码
|
|
@@ -127,6 +122,8 @@ export default {
|
|
|
if (res.status == 200) {
|
|
|
this.storeInfo = res.data
|
|
|
this.form.orgCode = res.data.orgCode
|
|
|
+ this.parentCodePaths = res.data.orgCodePaths
|
|
|
+ this.orgPid = res.data.orgPid
|
|
|
}
|
|
|
})
|
|
|
},
|