Commit 3c8063cc by 胡悦

Merge branch 'kuangyq_dev_2.1.0' of http://192.168.3.233:8090/saas/scrm-micro-se…

…ttings into kuangyq_dev_2.1.0
2 parents 92486349 f0175120
import { Http } from 'glsx-common'
export const provinceList = function() {
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/provinceList')
}
<template>
<div>
<el-form ref="provinceForm" :model="provinceForm" label-width="80px" inline="true" class="province">
<el-select v-model="provinceForm.provinceName" placeholder="选择省份" @change="selectProvince">
<el-option v-for="item in AllData" :key="item.provinceId" :label="item.provinceName" :value="item.provinceName" @click.native="selectProvince(item)"></el-option>
</el-select>
<el-select v-model="provinceForm.cityName" placeholder="选择您所在的市" style="width:250px" @change="selectCity">
<el-option v-for="item in cityList" :key="item.cityId" :label="item.cityName" :value="item.cityName" @click.native="selectCity(item)"></el-option>
</el-select>
</el-form>
</div>
</template>
<script>
import { provinceList } from './index'
export default {
name: 'Province',
// props: ['provinceName', 'cityName'],
data() {
return {
provinceList: provinceList(),
AllData: [],
cityList: [{ cityId: '', cityName: '请先选择省' }],
provinceForm: {
provinceName: '', // 省值
cityName: '', // 市值
provinceId: '',
cityId: ''
}
}
},
mounted() {
// 初始化
this.getProvinceList()
},
methods: {
init(provinceName, cityName) {
this.provinceForm = {
provinceName: provinceName,
cityName: cityName
}
this.AllData.map(item => {
if (provinceName == item.provinceName) {
this.cityList = item.cityInfoList
this.provinceForm.provinceId = item.provinceId
this.cityList.map(itm => {
if (cityName == itm.cityName) {
this.provinceForm.cityId = itm.cityId
}
})
}
})
},
async getProvinceList() {
const { provinceInfoList: provinceList } = await this.provinceList
// this.AllData = provinceList
this.$set(this, 'AllData', provinceList)
console.log(this.AllData)
},
// 选择省
selectProvince(val) {
console.log(val)
this.provinceForm.cityName = ''
this.cityList = val.cityInfoList
this.$emit('getProvince', val.provinceName, val.provinceId)
},
// 选择市
selectCity(val) {
this.$emit('getCity', val.cityName, val.cityId)
}
}
}
</script>
<style scoped lang="scss">
.province {
display: inline-flex;
}
</style>
......@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors: huyue
* @LastEditTime: 2022-04-12 11:08:39
* @LastEditTime: 2022-04-12 11:11:32
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
......@@ -12,16 +12,16 @@ let cfg = require('./conf.js')
import { Http } from 'glsx-common'
let timeout = 30000 //超时时间
export const fetchConfig = function (isEnv = true) {
// if (isEnv) {
// let { request } = cfg
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
return new Http().get('http://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
// if (isEnv) {
// let { request } = cfg
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
return new Http().get('http://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
}
export const config = {
install(vue, cfg) {
vue.prototype.$config = cfg
}
}
\ No newline at end of file
install(vue, cfg) {
vue.prototype.$config = cfg
}
}
......@@ -47,6 +47,8 @@
<el-row>
<el-col :span="24">
<el-form-item size="small" label="商户地址" class="form-row">
<!-- 省市 -->
<ProvinceCity ref="provinceForm" @getProvince="getProvince" @getCity="getCity"></ProvinceCity>
<el-input readonly v-model="accountAddForm.merchantAddress"></el-input>
<el-button type="primary" class="form-btn" @click="hanleSelectMap">选择地址</el-button>
</el-form-item>
......@@ -143,9 +145,11 @@
import util from '@/utils/util'
import mapView from '@/components/mapView/index'
import SelectBrand from '../../baseInfo/selectBrand.vue'
import ProvinceCity from '@/components/province-city/index.vue'
export default {
name: 'base',
components: {
ProvinceCity,
mapView,
SelectBrand
},
......@@ -191,7 +195,11 @@ export default {
{ validator: validatePhone, trigger: 'blur' }
]
},
brandListTree: []
brandListTree: [],
provinceCode: '',
provinceName: '',
cityCode: '',
cityName: ''
}
},
watch: {
......@@ -201,7 +209,7 @@ export default {
},
methods: {
checkBrandList(chant) {
let merchantBrandMain = chant.filter(item=>item)
let merchantBrandMain = chant.filter(item => item)
this.$set(this.accountAddForm, 'merchantBrandMain', merchantBrandMain)
console.log(this.accountAddForm.merchantBrandMain)
if (!this.accountAddForm.merchantBrandMain) {
......@@ -228,7 +236,7 @@ export default {
const brandListTree = await this.$apis.baseInfo.brandList({})
brandListTree.forEach(item => {
let child = item.children
if(!child) return
if (!child) return
child.forEach(k => {
delete k.children
})
......@@ -259,11 +267,46 @@ export default {
this.$message.error('请选择地址')
return
}
this.dialogMapVisible = false
this.accountAddForm.merchantAddress = this.$refs.mapForm.address
var address = this.accountAddForm.merchantAddress
let lnglat = this.$refs.mapForm.lnglat
this.accountAddForm.lat = lnglat.lat
this.accountAddForm.lng = lnglat.lng
// 截取省市
var provinceIdx = address.indexOf('省')
var cityIdx = address.indexOf('市')
var province = address.slice(0, provinceIdx)
var city = address.slice(provinceIdx + 1, cityIdx)
// 判断省市是否匹配
if (this.accountAddForm.provinceName) {
if (this.accountAddForm.provinceName !== province && this.accountAddForm.cityName !== city) {
this.$message.error('您选择的地址错误,请重新选择')
return
}
}
this.dialogMapVisible = false
this.accountAddForm.provinceName = province
this.accountAddForm.cityName = city
this.$refs.provinceForm.init(province, city)
const { provinceId, cityId } = this.$refs.provinceForm.provinceForm
this.accountAddForm.provinceId = provinceId
this.accountAddForm.cityId = cityId
},
// 当直接点击选择地址时,获取省市ID
init(province, city) {
this.$refs.provinceForm.init(province, city)
},
// 获取省
getProvince(provinceName, provinceId) {
this.accountAddForm.merchantAddress = ''
this.accountAddForm.provinceName = provinceName
this.accountAddForm.provinceId = provinceId
},
// 获取市
getCity(cityName, cityId) {
this.accountAddForm.cityName = cityName
this.accountAddForm.cityId = cityId
this.accountAddForm.merchantAddress = ''
},
delImg(index) {
this.accountAddForm.merchantFiles.splice(index, 1)
......@@ -321,7 +364,7 @@ export default {
this.brandList()
}
}
</script>
</script>
<style scoped lang="scss">
.base-info {
......@@ -459,4 +502,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
......@@ -130,6 +130,10 @@ export default {
lat: null,
lng: null,
merchantAddress: null,
provinceName: null,
provinceId: null,
cityName: null,
cityId: null,
merchantName: null,
merchantAbbreviation: null,
merchantType: null,
......@@ -314,7 +318,7 @@ export default {
let businessScopeCustomize = this.businessScopeCustomize.map(item => item.name)
params.businessScopeCustomize = businessScopeCustomize.join(',')
params.merchantFiles = JSON.stringify(params.merchantFiles)
const merchantBrandList = this.$refs.baseInfoForm.$refs.brandListTree.getMerchantBrandList()
const merchantBrandList = this.$refs.baseInfoForm.$refs.brandListTree.getMerchantBrandList()
params.merchantBrandListJson = JSON.stringify(merchantBrandList)
Promise.all([pm1, pm2]).then(() => {
this.$apis.store.updateMerchant(params).then(res => {
......@@ -361,7 +365,7 @@ export default {
})
},
renderView(res) {
let { isloginName, bussinessBegintime, bussinessEndtime, lat, merchantBrandMain, businessType, lng, merchantAddress, merchantName, merchantAbbreviation, merchantType, merchantOrgcode, merchantLegalPerson, merchantLegalPersonPhone, residentContact, residentPhone, merchantLoginAccount, merchantLoginPassword, merchantAccountLevel, businessScope, businessScopeCustomize, merchantBrand, merchantFileResponses, merchantModel, accountTypes, accountType, accounttypeId, channelId, status, parentId } = res
let { isloginName, bussinessBegintime, bussinessEndtime, lat, merchantBrandMain, businessType, lng, merchantAddress, provinceName, cityName, provinceId, cityId, merchantName, merchantAbbreviation, merchantType, merchantOrgcode, merchantLegalPerson, merchantLegalPersonPhone, residentContact, residentPhone, merchantLoginAccount, merchantLoginPassword, merchantAccountLevel, businessScope, businessScopeCustomize, merchantBrand, merchantFileResponses, merchantModel, accountTypes, accountType, accounttypeId, channelId, status, parentId } = res
this.accountInfoForm.merchantLoginAccount = merchantLoginAccount
this.accountInfoForm.merchantLoginPassword = merchantLoginPassword
this.accountTypes = accountTypes
......@@ -407,6 +411,10 @@ export default {
lat,
lng,
merchantAddress,
provinceName,
cityName,
provinceId,
cityId,
merchantName,
merchantAbbreviation,
merchantType,
......@@ -423,6 +431,8 @@ export default {
accounttypeId: accountType,
merchantBrandMain
})
// 省市回显
this.$refs.baseInfoForm.init(this.accountAddForm.provinceName, this.accountAddForm.cityName)
merchantBrandMain = merchantBrandMain.replaceAll(';', ',').split(',')
this.$refs.baseInfoForm.checkBrandList(merchantBrandMain)
this.$refs.baseInfoForm.checkBusinessType(businessType)
......@@ -446,7 +456,7 @@ export default {
this.findAllDictData()
}
}
</script>
</script>
<style scoped lang="scss">
.tab-edit-status {
......@@ -611,4 +621,4 @@ export default {
z-index: 999;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
}
</style>
\ No newline at end of file
</style>
......@@ -12,6 +12,7 @@
<div class="information-form-box">
<el-form ref="baseForm" :model="infoForm" class="account-body-form" label-width="120px">
<el-form-item size="small" label="商户地址" class="map-row">
<Province ref="provinceForm" @getProvince="getProvince" @getCity="getCity"></Province>
<el-input v-model="infoForm.merchantAddress" placeholder="请选择商户地址" readonly="readonly"></el-input>
<el-button @click="hanleSelectMap" type="primary">选择地址</el-button>
</el-form-item>
......@@ -23,6 +24,11 @@
<el-form-item size="small" label="营业时间" class="time-row">
<el-time-picker size="small" value-format="HH:mm:ss" is-range v-model="infoForm.bussinessTime" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker>
</el-form-item>
<el-form-item size="small" label="驻店电话" style="position: relative;">
<el-input v-model="infoForm.residentPhone" placeholder="此电话会在小程序上显示,请填写真实有效的电话或手机号"></el-input>
<div @click="showTelDia" class="show-address">显示位置</div>
</el-form-item>
<!-- <div @click="showTelDia" class="show-address">显示位置</div> -->
<el-form-item size="small" label="主营品牌" style="height: 500px">
<select-brand :brandListTree="brandListTree" ref="brandListTree"></select-brand>
</el-form-item>
......@@ -39,27 +45,37 @@
<el-button type="primary" @click="handleSave">提交</el-button>
<el-button @click="goback">取消</el-button>
</GLFooter>
<TelPosition ref="telDialog" :visible.sync="dialogTelVisible"></TelPosition>
</div>
</template>
<script>
import mapView from '@/components/mapView/index'
import SelectBrand from './selectBrand.vue'
import TelPosition from './telPosition.vue'
import Province from '@/components/province-city/index.vue'
export default {
name: 'EditInfo',
components: {
Province,
mapView,
SelectBrand
SelectBrand,
TelPosition
},
data() {
return {
checkedAll: false,
filterText: '',
dialogMapVisible: false,
dialogTelVisible: false,
mapHeight: 450,
infoForm: {
businessType: [1, 2, 3, 4, 5, 6],
bussinessTime: []
bussinessTime: [],
provinceName: '',
provinceId: '',
cityName: '',
cityId: ''
},
businessType: [],
brandListTree: []
......@@ -72,9 +88,8 @@ export default {
async brandList() {
this.$refs.brandListTree.loading = true
this.businessType = await this.$apis.store.findAllDictData({ dictType: 'business_type' })
console.log(this.businessType)
const infoForm = await this.$apis.store.findMerchantBaseInfo({ merchantId: this.$globalState.session.merchantId })
const { merchantAddress, lng, lat, id, merchantName, businessType, bussinessTime, bussinessBegintime, bussinessEndtime, channelId, merchantNo, merchantBrandMain } = infoForm
const { merchantAddress, provinceName, cityName, provinceId, cityId, lng, lat, id, merchantName, businessType, bussinessTime, bussinessBegintime, bussinessEndtime, channelId, merchantNo, merchantBrandMain } = infoForm
this.infoForm = {
merchantAddress,
lng,
......@@ -85,18 +100,21 @@ export default {
bussinessTime: [bussinessBegintime, bussinessEndtime],
merchantBrandMain,
merchantNo,
channelId
channelId,
provinceName,
cityName,
provinceId,
cityId
}
// 省市回显
this.$refs.provinceForm.init(this.infoForm.provinceName, this.infoForm.cityName)
if (!businessType) {
this.infoForm.businessType = [1, 2, 3, 4, 5, 6]
} else {
const businessType = this.infoForm.businessType.split(',')
this.infoForm.businessType = businessType.map(item => (item = parseInt(item)))
console.log(this.infoForm.businessType)
}
console.log(this.infoForm.businessType)
const brandListTree = await this.$apis.baseInfo.brandList({})
console.log(brandListTree)
brandListTree.forEach(item => {
let child = item.children
if (!child) return
......@@ -130,15 +148,55 @@ export default {
this.$message.error('请选择地址')
return
}
this.dialogMapVisible = false
this.infoForm.merchantAddress = this.$refs.mapForm.address
var address = this.infoForm.merchantAddress
let lnglat = this.$refs.mapForm.lnglat
this.infoForm.lat = lnglat.lat
this.infoForm.lng = lnglat.lng
// 截取省市
var provinceIdx = address.indexOf('省')
var cityIdx = address.indexOf('市')
var province = address.slice(0, provinceIdx)
var city = address.slice(provinceIdx + 1, cityIdx)
// 判断省市是否匹配
if (this.infoForm.provinceName) {
if (this.infoForm.provinceName !== province && this.infoForm.cityName !== city) {
this.$message.error('您选择的地址错误,请重新选择')
return
}
}
this.dialogMapVisible = false
this.infoForm.provinceName = province
this.infoForm.cityName = city
// 当直接点击选择地址时,获取省市ID
this.$refs.provinceForm.init(province, city)
},
// 获取省
getProvince(provinceName, provinceId) {
this.infoForm.merchantAddress = ''
this.infoForm.provinceName = provinceName
this.infoForm.provinceId = provinceId
},
// 获取市
getCity(cityName, cityId) {
this.infoForm.cityName = cityName
this.infoForm.cityId = cityId
this.infoForm.merchantAddress = ''
},
// 展示驻点电话弹框
showTelDia() {
this.$refs.telDialog.init(this.infoForm.residentPhone)
},
handleSave() {
const params = this.infoForm
console.log(this.infoForm)
// 获取省市信息
const { provinceName, provinceId, cityName, cityId } = this.$refs.provinceForm.provinceForm
if (!params.provinceId) {
params.provinceName = provinceName
params.provinceId = provinceId
params.cityName = cityName
params.cityId = cityId
}
if (params.bussinessTime) {
params.bussinessBegintime = params.bussinessTime[0]
params.bussinessEndtime = params.bussinessTime[1]
......@@ -197,4 +255,13 @@ export default {
}
}
}
.show-address {
position: absolute;
right: -66px;
top: 50%;
transform: translateY(-50%);
font-size: 14px;
color: #5850ff;
cursor: pointer;
}
</style>
<template>
<div>
<el-dialog :visible.sync="dialogTelVisible" width="30%">
<div class="dialog-show">
<img src="@/assets/tel-show.png" alt="" />
<div class="tel-plus">联系电话:{{ residentPhone }}</div>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
name: 'telPositon',
data() {
return {
dialogTelVisible: false,
residentPhone: ''
}
},
methods: {
init(residentPhone) {
this.dialogTelVisible = true
residentPhone ? (this.residentPhone = residentPhone) : (this.residentPhone = '400-0000-400')
}
}
}
</script>
<style lang="scss" scoped>
.dialog-show {
position: relative;
width: 534px;
height: 650px;
.tel-plus {
position: absolute;
top: 395px;
left: 276px;
height: 25px;
font-size: 16px;
color: #656566;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 25px;
}
}
/deep/ .el-dialog {
background-color: transparent;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0);
}
/deep/ .el-dialog__header {
border-bottom: transparent;
}
/deep/ .el-dialog__headerbtn .el-dialog__close {
color: #191717;
}
/deep/ .el-dialog__headerbtn {
font-size: 23px;
}
</style>
......@@ -10,7 +10,7 @@
</p>
</div>
<div class="follow-form" :style="{ 'min-height': formHeight + 'px' }">
<el-form :inline="true" :model="searchForm" class="follow-form-item">
<!-- <el-form :inline="true" :model="searchForm" class="follow-form-item">
<el-form-item label="跟进专员类型">
<el-select size="small" v-model="searchForm.followerTypeId" placeholder="请选择">
<el-option v-for="item in optionsType" :key="item.id" :label="item.followName" :value="item.id"></el-option>
......@@ -23,11 +23,16 @@
<el-button @click="handleReset" size="small">重置</el-button>
<el-button type="primary" @click="handleSearch" size="small">查询</el-button>
</el-form-item>
<el-form-item class="follow-form-jump">
<!-- <GLButton fn="新增" size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</GLButton> -->
<el-button size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</el-button>
<el-form-item class="follow-form-jump"> -->
<!-- <GLButton fn="新增" size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</GLButton> -->
<!-- <el-button size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</el-button>
</el-form-item>
</el-form>
</el-form> -->
<GLCombiForm ref="showSearch" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="follow-btn">
<!-- <GLButton fn="新增" size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</GLButton> -->
<el-button size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</el-button>
</div>
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch">
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLButton fn="删除" type="text" @click="handleDele(scope.scope)">删除</GLButton>
......@@ -44,11 +49,9 @@
import addSale from './components/addSale'
export default {
name: 'index',
components: {
addSale
},
data() {
return {
alertStatus: true,
......@@ -59,18 +62,23 @@ export default {
followerTypeId: '',
staffName: ''
},
optionsType: [
{
value: '',
label: '全部'
},
searchFormData: [
{
value: '1',
label: '新车跟进专员'
label: '跟进专员类型',
name: 'followerTypeId',
type: 'select',
placeholder: '全部',
optionsType: [],
optionList: [],
optionId: 'id',
optionLabel: 'followName',
optionsName: 'followName'
},
{
value: '2',
label: '售后跟进专员'
label: '员工搜索',
name: 'staffName',
type: 'input',
placeholder: '请输入员工姓名'
}
],
scope: {
......@@ -158,7 +166,7 @@ export default {
userIds,
businessTypeId
}
console.log(params, '1253715427');
console.log(params, '1253715427')
this.$apis.emp.saveFollowerStaff(params).then(res => {
if (res) {
this.handleClose()
......@@ -190,6 +198,8 @@ export default {
listEntFollowerType() {
this.$apis.emp.listEntFollowerType({ merchantId: this.$globalState.session.merchantId }).then(res => {
this.optionsType = [{ followName: '全部', id: '' }].concat(res)
let idx = this.searchFormData.findIndex(item => item.name == 'followerTypeId')
this.searchFormData[idx].optionList = this.optionsType
})
},
handleDele(scope) {
......@@ -247,7 +257,7 @@ export default {
this.formHeight = document.documentElement.clientHeight - 230
}
}
</script>
</script>
<style scoped lang="scss">
.slide-fade-enter-active {
......@@ -321,4 +331,9 @@ export default {
overflow-y: auto;
}
}
</style>
\ No newline at end of file
.follow-btn {
display: flex;
justify-content: flex-end;
margin-bottom: 20px;
}
</style>
......@@ -28,12 +28,7 @@
<el-button size="small" @click="reSetFindData">重置</el-button>
<el-button type="primary" size="small" @click="toFindData">查询</el-button>
</div> -->
<GLCombiForm ref="showSearch" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="toFindData" @handleRest="reSetFindData">
<!-- <span slot="footer" slot-scope="scope">
<el-button size="small" @click="reSetFindData">重置</el-button>
<el-button type="primary" size="small" @click="toFindData">查询</el-button>
</span> -->
</GLCombiForm>
<GLCombiForm ref="showSearch" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="toFindData" @handleRest="reSetFindData"></GLCombiForm>
</div>
<GLTable v-if="distoryTable" ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="getTableData">
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
......@@ -69,7 +64,7 @@ export default {
optionId: 'id',
optionLabel: 'merchantName',
optionsName: 'merchantName',
isDisabled: false
isHide: true
},
{
label: '状态',
......@@ -167,7 +162,6 @@ export default {
getTableData() {
let { delFlag, roleName, merchantId } = this.searchForm
let para = {}
console.log(merchantId)
if (!this.distoryTable) {
//代表重置
para = {
......@@ -204,16 +198,12 @@ export default {
getMerchantName() {
this.$apis.role.merchantDataList({ source: 'glsx' }).then(res => {
this.merchantList = res || []
// this.merchantList.unshift({
// merchantName: '全部',
// id: 0
// })
let idx = this.searchFormData.findIndex(item => item.name == 'merchantId')
res.unshift({
id: '',
merchantName: '全部'
this.merchantList.unshift({
merchantName: '全部',
id: ''
})
this.materialFormData[idx].optionList = res
let idx = this.searchFormData.findIndex(item => item.name == 'merchantId')
this.searchFormData[idx].optionList = this.merchantList
// this.filterList()
})
},
......@@ -280,11 +270,12 @@ export default {
created() {
const { session } = this.$globalState
let accountLevel = session.accountLevel
console.log(accountLevel)
if (accountLevel != 4) {
this.tableParams.tableColumns.splice(2, 0, { label: '所属商户名', prop: 'merchantName' })
this.getMerchantName()
let idx = this.searchFormData.findIndex(item => item.name == 'merchantId')
this.searchFormData[idx].isDisabled = true
this.searchFormData[idx].isHide = false
}
this.accountLevel = accountLevel
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!