|
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
<div>
|
|
|
|
|
<el-cascader
|
|
|
|
|
ref="cascader"
|
|
|
|
|
:value="select.productType ? select.productType.name : ''"
|
|
|
|
|
:value="select.productTypeName"
|
|
|
|
|
clearable
|
|
|
|
|
:show-all-levels="false"
|
|
|
|
|
size="small"
|
|
|
|
|
@ -51,7 +51,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="select.productType">
|
|
|
|
|
<el-tag effect="light" size="small" closable @close="select.productType = ''">
|
|
|
|
|
{{select.productType.name}}
|
|
|
|
|
{{select.productTypeName}}
|
|
|
|
|
</el-tag>,
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="select.merchant">
|
|
|
|
|
@ -119,7 +119,8 @@ export default {
|
|
|
|
|
merchant:'',
|
|
|
|
|
keyword:'',
|
|
|
|
|
productType:'',
|
|
|
|
|
orderStates:''
|
|
|
|
|
orderStates:'',
|
|
|
|
|
productTypeName:""
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
total:0,
|
|
|
|
|
@ -196,7 +197,7 @@ export default {
|
|
|
|
|
return (<div style={{display:'flex',alignItems:'center',justifyContent:'center'}}><el-avatar src={row.member?.avatar}></el-avatar></div>)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
prop:"phone",
|
|
|
|
|
label:"联系电话",
|
|
|
|
|
@ -238,9 +239,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
productTypeChange(){
|
|
|
|
|
this.select.productType = this.$refs['cascader'].getCheckedNodes()[0].data
|
|
|
|
|
console.log(this.select)
|
|
|
|
|
productTypeChange(e){
|
|
|
|
|
this.select.productType = this.$refs['cascader'].getCheckedNodes()[0].data.id
|
|
|
|
|
this.select.productTypeName = this.$refs['cascader'].getCheckedNodes()[0].data.name
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
pageChange(e){
|
|
|
|
|
|