|
@@ -14,8 +14,8 @@
|
|
|
:value="item.dictValue">
|
|
:value="item.dictValue">
|
|
|
</el-option>
|
|
</el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
- <el-select v-model="listQuery.deliveryType" clearable placeholder="兑换方式" class="filter-item" style="width: 200px">
|
|
|
|
|
- <el-option :key="item.type" v-for="item in deliveryTypeList" :label="item.name" :value="item.type">
|
|
|
|
|
|
|
+ <el-select v-model="listQuery.deliveryType" clearable placeholder="兑换方式" class="filter-item" style="width: 200px">
|
|
|
|
|
+ <el-option :key="item.dictValue" v-for="item in deliveryTypeList" :label="item.dictLabel" :value="item.dictValue">
|
|
|
</el-option>
|
|
</el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
<el-button class="filter-item" type="primary" v-waves icon="el-icon-search" @click="handleFilter">查找</el-button>
|
|
<el-button class="filter-item" type="primary" v-waves icon="el-icon-search" @click="handleFilter">查找</el-button>
|
|
@@ -222,25 +222,7 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
productAttributeList: [],
|
|
productAttributeList: [],
|
|
|
- deliveryTypeList: [
|
|
|
|
|
- {
|
|
|
|
|
- type: 0,
|
|
|
|
|
- name: '办公室领取'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- type: 1,
|
|
|
|
|
- name: '快递'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- type: 2,
|
|
|
|
|
- name: '卷码兑换'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- type: 3,
|
|
|
|
|
- name: '线下组织'
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ deliveryTypeList: [ ],
|
|
|
orderTypeList: [
|
|
orderTypeList: [
|
|
|
{
|
|
{
|
|
|
orderType: 0,
|
|
orderType: 0,
|
|
@@ -290,9 +272,15 @@ export default {
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.getProductAttributeList();
|
|
this.getProductAttributeList();
|
|
|
|
|
+ this.getDeliveryTypeList();
|
|
|
this.getList();
|
|
this.getList();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ getDeliveryTypeList(){
|
|
|
|
|
+ dataTypeList({dictType:'exchange_methond'}).then(response => {
|
|
|
|
|
+ this.deliveryTypeList = response.data.data;
|
|
|
|
|
+ }).catch(() => {});
|
|
|
|
|
+ },
|
|
|
getProductAttributeList(){
|
|
getProductAttributeList(){
|
|
|
dataTypeList({dictType:'mall_sku_attribute'}).then(response => {
|
|
dataTypeList({dictType:'mall_sku_attribute'}).then(response => {
|
|
|
this.productAttributeList = response.data.data;
|
|
this.productAttributeList = response.data.data;
|