Commit 8c1e7b81 by 张立顺

feat 转化人员参数修改

1 parent d1b8939c
......@@ -2,24 +2,20 @@
<template>
<d2-container class="order-list m-t-40">
<div class="header" slot="header">
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:label-width="'150px'"
:form-data="showFormData">
<d2-search ref="showSearch" class="show-search" :search-form="searchForm" :label-width="'150px'"
:form-data="showFormData">
<template slot="goodsCascader">
<el-cascader :options="baseData.productTypeList" style="width: 100%;"
v-model="tempGoodsType" :placeholder="'请选择'" filterable
@change="selectAddAttr($event)" clearable
<el-cascader :options="baseData.productTypeList" style="width: 100%;" v-model="tempGoodsType"
:placeholder="'请选择'" filterable @change="selectAddAttr($event)" clearable
:props="{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }">
</el-cascader>
</template>
<template slot="sellerSelect">
<el-select v-model="searchForm.sellerUserId" remote reserve-keyword
placeholder="请选择转化人员" @visible-change="visibleChange" :remote-method="remoteMethod"
v-el-select-loadmore="interestsLoadmore" style="width: 100%" filterable>
<el-option v-for="(subItem, subIndex) in sellerList" :key="subIndex"
:label="subItem.staffName" :value="subItem.uuid" />
<el-select v-model="searchForm.sellerNameVague" remote reserve-keyword placeholder="请选择转化人员"
@visible-change="visibleChange" :remote-method="remoteMethod" v-el-select-loadmore="interestsLoadmore"
style="width: 100%" filterable>
<el-option v-for="(subItem, subIndex) in sellerList" :key="subIndex" :label="subItem.staffName"
:value="subItem.staffName" />
</el-select>
</template>
</d2-search>
......@@ -133,11 +129,7 @@
<template slot-scope="scope">
<span v-for="(item, index) in scope.row.subOrderList" :key="index">
<p>
<el-tooltip
class="item"
:content="getGoodsTypeName(item)"
placement="right"
>
<el-tooltip class="item" :content="getGoodsTypeName(item)" placement="right">
<span>
{{
getGoodsTypeName(item)
......@@ -509,7 +501,7 @@ export default {
this.staffName = ''
this.getSellerList()
this.searchForm.merchantId = ""
this.searchForm.sellerUserId = ""
this.searchForm.sellerNameVague = ""
this.getOptionsList()
}
},
......@@ -697,7 +689,8 @@ export default {
thirdLevelGoodsType: '',
sellerUserId: '',
brandIdList: [],
directSalesFlag: ''
directSalesFlag: '',
sellerNameVague: ''
},
baseData: {
orderStatusList: [
......@@ -969,7 +962,7 @@ export default {
this.baseData.channelTypeList = await this.get(BaseData.channelType)
this.getOptionsList()
},
selectAddAttr(value) {
selectAddAttr(value) {
this.searchForm.goodsType = value?.[0]
this.searchForm.secondaryGoodsType = value?.[1]
this.searchForm.thirdLevelGoodsType = value?.[2]
......@@ -1096,7 +1089,8 @@ export default {
salesType: "",
sellerUserId: "",
brandIdList: [],
directSalesFlag: ""
directSalesFlag: "",
sellerNameVague: ""
}
this.tempGoodsType = []
// this.baseData.storeIdList = []
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!