修改数据处理显示

v1.3.0
于肖磊 2025-03-21 15:02:30 +08:00
parent c8440fec63
commit 54a9ffab5c
3 changed files with 12 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<!-- 商品分类 -->
<div class="container">
<div class="flex-row jc-e gap-20 mb-20 align-c">
<el-select v-model="category_ids" class="search-w" placeholder="请选择组合搭配类型" filterable clearable @change="handle_search">
<el-select v-model="category_ids" class="search-w" placeholder="请选择门店类型" filterable clearable @change="handle_search">
<el-option v-for="item in article_category_list" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
<el-input v-model="search_value" placeholder="请输入搜索内容" class="search-w" @change="handle_search">

View File

@ -2,7 +2,7 @@
<!-- 商品分类 -->
<div class="container">
<div class="flex-row jc-e gap-20 mb-20 align-c">
<el-select v-model="category_ids" class="search-w" placeholder="请选择组合搭配类型" filterable clearable @change="handle_search">
<el-select v-model="category_ids" class="search-w" placeholder="请选择商户类型" filterable clearable @change="handle_search">
<el-option v-for="item in article_category_list" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
<el-input v-model="search_value" placeholder="请输入搜索内容" class="search-w" @change="handle_search">

View File

@ -277,8 +277,16 @@ const save_formmat_form_data = (data: diy_data_item, close: boolean = false, is_
item.com_data.content.data_list = [];
item.com_data.content.data_auto_list = [];
if (item.com_data.content.data_type == '1') {
item.com_data.content.type = defaultConfigSetting.coupon_ids;
item.com_data.content.number = defaultConfigSetting.page_size;
item.com_data.content = {
keywords: '',
type: defaultConfigSetting.coupon_ids,
expire_type_ids: defaultConfigSetting.coupon_ids,
use_limit_type_ids: defaultConfigSetting.coupon_ids,
number: defaultConfigSetting.page_size,
order_by_type: 0,
order_by_rule: 0,
is_repeat_receive: '0',
}
}
} else if (new_array_4.includes(item.key)) {
item.com_data.content.data_magic_list.forEach((item1: any) => {