feat:增加商户排序字段

This commit is contained in:
dzc committed 2025-10-20 17:33:10 +08:00
1 parent 36ccf25974
commit f04250b4e7
2 files changed
+14 -2

No files matched your search

+12 -1
View File
@@ -32,12 +32,22 @@
</el-form-item>
</el-col>
<el-col :span="24" class="mb20">
<el-col :span="24" v-if="false" class="mb20">
<el-form-item label="门店位置" prop="location">
<MapSelect />
</el-form-item>
</el-col>
<el-col :span="24" class="mb20">
<el-form-item prop="sort">
<template #label>
<span>排序:</span>
<tip content="越大越在前" />
</template>
<el-input-number v-model="form.sort" placeholder="" />
</el-form-item>
</el-col>
<el-col :span="24" class="mb20">
<el-form-item label="门店简介" prop="introduction">
@@ -93,6 +103,7 @@ const form = reactive({
latitude: '',
longitude: '',
detailAddress: '',
sort: 0,
businessHoursJson: [] as BusinessHour[],
mchIds: [],
});
+2 -1
View File
@@ -9,7 +9,7 @@
<el-form-item style="width: 250px" label="门店联系手机号" prop="phone">
<el-input v-model="state.queryForm.phone" placeholder="请输入" />
</el-form-item>
<el-form-item style="width: 250px" label="合作状态" prop="visibleMobile">
<el-form-item style="width: 250px" label="合作状态" prop="status">
<dict-select v-model="state.queryForm.status" dict-code="mch_pick_up_status_enum" />
</el-form-item>
<el-form-item>
@@ -65,6 +65,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="sort" label="排序" />
<el-table-column label="操作" width="150">
<template #default="scope">
<el-button icon="edit-pen" text type="primary" v-auth="'mch_mchPickUp_edit'"