优化商品的多属性的下拉框,增加刷新按钮

This commit is contained in:
jishenghua
2025-04-10 22:32:30 +08:00
parent 35b0d1ef71
commit cd11c81885
2 changed files with 8 additions and 1 deletions

View File

@@ -163,6 +163,12 @@
<a-tooltip title="多属性针对服装鞋帽家纺等行业注意不要勾选多单位因为多属性商品不支持多单位只支持单个的单位">
<a-select mode="multiple" v-decorator="[ 'manySku' ]" showSearch optionFilterProp="children"
placeholder="请选择多属性可多选" @change="onManySkuChange" :disabled="attributeStatus">
<div slot="dropdownRender" slot-scope="menu">
<v-nodes :vnodes="menu" />
<a-divider style="margin: 4px 0;" />
<div style="padding: 4px 8px; cursor: pointer;"
@mousedown="e => e.preventDefault()" @click="initMaterialAttribute">没找到?点此刷新列表 <a-icon type="reload" /></div>
</div>
<a-select-option v-for="(item,index) in materialAttributeList" :key="index" :value="item.value" :disabled="item.disabled">
{{ item.name }}
</a-select-option>