|
@@ -5,7 +5,7 @@
|
|
|
<a-page-header :ghost="false" :backIcon="false" class="header-bar">
|
|
|
<!-- 自定义的二级文字标题 -->
|
|
|
<template slot="subTitle">
|
|
|
- <span class="subTitle-word text-overflow" style="max-width:300px;">用户姓名:{{ decodeURI($route.query.name) }}</span>
|
|
|
+ <span class="subTitle-word text-overflow" style="max-width:300px;">用户姓名:{{ infoObj.name?infoObj.name:'--' }}</span>
|
|
|
<a-button id="purchaseNewOrderEdit-back-btn" type="link" @click="handleBack" class="button-default"> <a-icon type="rollback" /> 返回列表</a-button>
|
|
|
</template>
|
|
|
</a-page-header>
|
|
@@ -13,7 +13,7 @@
|
|
|
<a-card size="small" :bordered="false" class="categorySet-cont">
|
|
|
<div :style="{ height: tableHeight+84.5+'px' }">
|
|
|
<a-tabs default-active-key="1" @change="handleTabs">
|
|
|
- <a-tab-pane key="1" tab="设置管辖区域">
|
|
|
+ <a-tab-pane key="1" tab="设置管辖区域" v-if="infoObj.p_flag&&infoObj.p_flag!=1">
|
|
|
<div class="areaSet-wrap">
|
|
|
<div class="table-page-search-wrapper newTableSearchName" >
|
|
|
<div class="areaSet-btnGroup" style="margin-bottom:20px;">
|
|
@@ -68,7 +68,7 @@
|
|
|
</a-spin>
|
|
|
</div>
|
|
|
</a-tab-pane>
|
|
|
- <a-tab-pane key="2" tab="设置管辖品类" force-render>
|
|
|
+ <a-tab-pane key="2" tab="设置管辖品类" force-render v-if="infoObj.p_flag&&infoObj.p_flag!=1">
|
|
|
<categorySet ref="setCategory"></categorySet>
|
|
|
</a-tab-pane>
|
|
|
</a-tabs>
|
|
@@ -125,6 +125,7 @@ export default {
|
|
|
},
|
|
|
dealerName: ''
|
|
|
},
|
|
|
+ infoObj: {},
|
|
|
newChooseData: {// 区域分区回显
|
|
|
checked: [],
|
|
|
halfChecked: []
|
|
@@ -284,7 +285,9 @@ export default {
|
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|
|
|
_this.setTableH()
|
|
|
})
|
|
|
- this.resetSearchForm()
|
|
|
+ const obj = decodeURI(_this.$route.query.con)
|
|
|
+ _this.infoObj = JSON.parse(obj)
|
|
|
+ _this.resetSearchForm()
|
|
|
},
|
|
|
setTableH () {
|
|
|
const headHeight = this.$refs.headerBar.offsetHeight
|