mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-09 19:30:55 +00:00
fix(订单中台): 移除活动类型筛选,与已下线的列表列保持一致
- 上轮已移除「活动类型」表格列,本次同步删除搜索区下拉、searchForm.activity_type、 activityTypeOptions 及重置项,避免残留无效筛选项。 - 后端 manage 接口仍返回 activity_types,未改动,兼容旧前端。
This commit is contained in:
parent
aa82159d43
commit
36a4f2c708
@ -27,18 +27,6 @@
|
||||
<el-option v-for="item in productTypeOptions" :key="item.key" :value="item.key" :label="item.label" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="活动类型:">
|
||||
<el-select
|
||||
v-model="searchForm.activity_type"
|
||||
clearable
|
||||
@change="getList"
|
||||
placeholder="全部"
|
||||
class="form_content_width"
|
||||
>
|
||||
<el-option label="全部" value="" />
|
||||
<el-option v-for="item in activityTypeOptions" :key="item.key" :value="item.key" :label="item.label" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="支付方式:">
|
||||
<el-select
|
||||
v-model="searchForm.pay_type"
|
||||
@ -293,7 +281,6 @@ defineOptions({ name: 'orderCenter' });
|
||||
const searchForm = ref({
|
||||
order_category: '',
|
||||
product_type: '',
|
||||
activity_type: '',
|
||||
status_code: '',
|
||||
pay_type: '',
|
||||
keyword: '',
|
||||
@ -315,7 +302,6 @@ const orderDetailRef = ref(null);
|
||||
const statusTab = ref('');
|
||||
const categoryOptions = ref([]);
|
||||
const productTypeOptions = ref([]);
|
||||
const activityTypeOptions = ref([]);
|
||||
const statusCodeOptions = [
|
||||
{ key: 'pending_payment', label: '待支付' },
|
||||
{ key: 'processing', label: '待处理' },
|
||||
@ -383,7 +369,6 @@ function loadFilterOptions() {
|
||||
.then((res) => {
|
||||
const data = res.data || {};
|
||||
productTypeOptions.value = data.product_types || [];
|
||||
activityTypeOptions.value = data.activity_types || [];
|
||||
payTypeOptions.value = data.pay_types || [];
|
||||
})
|
||||
.catch(() => {});
|
||||
@ -400,7 +385,6 @@ function handleReset() {
|
||||
searchForm.value = {
|
||||
order_category: '',
|
||||
product_type: '',
|
||||
activity_type: '',
|
||||
status_code: '',
|
||||
pay_type: '',
|
||||
keyword: '',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user