Commit 8c1e7b81 by 张立顺

feat 转化人员参数修改

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