Commit d53de9f0 by zhangtw

导入

parent a0e2485f
......@@ -259,12 +259,16 @@ import {
} from '@/api/key-dm-inbound'
import MaterialSelector from '@/view/key-person/key_dm_conf/materialSelector.vue'
import { normalizeVisitTimeValue } from '@/view/key-person/key_dm_conf/dates.js'
import axios from 'axios'
export default {
name: 'key-dm-inbound-index',
components: { MaterialSelector },
data () {
return {
// 表单验证规则
inboundRules: {
},
importShow: false,
impBtnDisabled: false,
// 时间范围数组
......@@ -490,11 +494,12 @@ export default {
created () { this.fetchList('inbound') },
methods: {
showImport () {
// 简单权限控制:可根据需要替换
const info = this.$store.state.user.otherUserInfo || {}
const areaId = info.area_id || ''
if (areaId && areaId.startsWith('2201')) return true
return false
// // 简单权限控制:可根据需要替换
// const info = this.$store.state.user.otherUserInfo || {}
// const areaId = info.area_id || ''
// if (areaId && areaId.startsWith('2201')) return true
// return false
return true
},
async tplDownload () {
// 下载入库导入模板
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论