Commit 8d33d392 by chenwq

业务性质

1 parent 92036186
......@@ -679,7 +679,10 @@ export const applyStatus = [
export const businessNature = [
{ confId: 1, confName: "直营渠道" },
{ confId: 2, confName: "直营4S店" },
{ confId: 3, confName: "合资收购" }
// { confId: 3, confName: "合资收购" },
{ confId: 4, confName: "投资收购-利丰" },
{ confId: 5, confName: "投资收购-内蒙古" },
{ confId: 6, confName: "服务商投资" }
]
// 店面配置 业务性质
export const businessNatureShow = {
......
......@@ -15,6 +15,7 @@
prop="businessType">
<el-select v-model="form.businessType"
placeholder="请选择"
clearable
class="el_select itd">
<el-option v-for="item in businessNature"
:key="item.confId"
......@@ -417,7 +418,7 @@ export default {
return new Promise((resolve, reject) => {
getShopSetting({ merchantId }).then(res => {
// this.setInfo = res
let areaSupervisionList = []
let areaSupervisionList = []
res.areaSupervisionList?.forEach(item => {
const target = this.supervisionOptionsList.find(ele => ele.userId == item.userId)
if(target) areaSupervisionList.push(item.userId)
......@@ -452,7 +453,7 @@ export default {
resolve()
})
})
},
checkSelectOption() {
......@@ -524,7 +525,7 @@ export default {
}
},
async merchantStaffByRoleList() {
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
merchantStaffByRoleList({ roleName: '区域督导' }).then((result) => {
let copyResult = deepClone(result)
this.supervisionOptionsList = copyResult.map((item) => {
......@@ -541,7 +542,7 @@ export default {
},
// 获取全部员工 过滤出服务商负责人可选数据
async findMerchantStaffList() {
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
findMerchantStaffList({ merchantId: -1 }).then(res => {
// 服务商负责人(根据角色名过滤)
let arr = []
......@@ -555,13 +556,13 @@ export default {
resolve()
})
})
},
// 根据4s店或者园区店查询员工信息
async getSelectList(info) {
const { merchantId } = info
// 取园区店下所有员工 0422版本 刘世权更改
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
getResidentStaffList({ merchantId }).then((result) => {
this.residentManagerOptionsList = result.map((item) => {
return {
......@@ -574,7 +575,7 @@ export default {
resolve()
})
})
},
chooseYear() {
this.listByMerchantIdAndYear(this.year)
......@@ -582,7 +583,7 @@ export default {
// 根据年份获取产值列表
async listByMerchantIdAndYear(year) {
const { merchantId } = this.info
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
listByMerchantIdAndYear({ yearStr: year, merchantId: merchantId }).then((result) => {
this.outputValueListByYear = result || []
if (this.outputValueListByYear && this.outputValueListByYear.length > 0) {
......@@ -798,7 +799,7 @@ export default {
},
async findSellerMerchantStaffList() {
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
findSellerMerchantStaffList({}).then((result) => {
this.sellerMerchantStaffList = result.map((item) => {
return {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!