Commit 896100d3 by lijinqi

1.资源列表字段调整

parent 79baa9c2
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
max-height="500" max-height="500"
size="small" size="small"
> >
<el-table-column align="center" label="图片" min-width="65"> <!-- <el-table-column align="center" label="图片" min-width="65">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
<UploadImg v-model="row.picUrl" height="50px" width="50px" /> <!-- <UploadImg v-model="row.picUrl" height="50px" width="50px" />-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<template v-if="formData!.specType && !isBatch"> <template v-if="formData!.specType && !isBatch">
<!-- 根据商品属性动态添加 --> <!-- 根据商品属性动态添加 -->
<el-table-column <el-table-column
...@@ -20,7 +21,7 @@ ...@@ -20,7 +21,7 @@
:key="index" :key="index"
:label="item.label" :label="item.label"
align="center" align="center"
min-width="100" min-width="80"
> >
<template #default="{ row }"> <template #default="{ row }">
<span style="font-weight: bold; color: #40aaff"> <span style="font-weight: bold; color: #40aaff">
...@@ -28,56 +29,41 @@ ...@@ -28,56 +29,41 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="鉴权信息" prop="auth" align="center"> <el-table-column label="有效期(天)" prop="expDuration" align="center" min-width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-input v-model="row.auth" class="w-100%" /> <el-input
</template> v-model.number="row.expDuration"
</el-table-column> type="number"
<el-table-column label="有效期(单位:天)" prop="expDuration" align="center" min-width="160"> placeholder="请输入天数"
<template #default="{ row }"> style="width: 100%; text-align: center;"
<el-input-number
v-model="row.expDuration"
:min="0"
:step="1"
class="w-100%"
controls-position="right"
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="费用描述" prop="feeInfo" align="center">
<el-table-column label="费用描述" prop="feeInfo" align="center" min-width="60">
<template #default="{ row }"> <template #default="{ row }">
<el-input v-model="row.feeInfo" class="w-100%" /> <el-input v-model="row.feeInfo" class="w-100%" />
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<el-table-column align="center" label="销售价" min-width="168"> <el-table-column label="鉴权信息" prop="auth" align="center" min-width="260">
<template #default="{ row }">
<el-input-number
v-model="row.price"
:min="0"
:precision="2"
:step="0.1"
class="w-100%"
controls-position="right"
/>
</template>
</el-table-column>
<el-table-column align="center" label="市场价" min-width="168">
<template #default="{ row }"> <template #default="{ row }">
<el-input-number <el-input
v-model="row.marketPrice" v-model="row.auth"
:min="0" type="textarea"
:precision="2" :rows="3"
:step="0.1" placeholder="请输入鉴权信息"
class="w-100%" class="w-100%"
controls-position="right"
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="成本价" min-width="168">
<el-table-column align="center" label="销售价" min-width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-input-number <el-input-number
v-model="row.costPrice" v-model="row.price"
:min="0" :min="0"
:precision="2" :precision="2"
:step="0.1" :step="0.1"
...@@ -86,11 +72,35 @@ ...@@ -86,11 +72,35 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="库存" min-width="168"> <!-- <el-table-column align="center" label="市场价" min-width="168">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
<el-input-number v-model="row.stock" :min="0" class="w-100%" controls-position="right" /> <!-- <el-input-number-->
</template> <!-- v-model="row.marketPrice"-->
</el-table-column> <!-- :min="0"-->
<!-- :precision="2"-->
<!-- :step="0.1"-->
<!-- class="w-100%"-->
<!-- controls-position="right"-->
<!-- />-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column align="center" label="成本价" min-width="168">-->
<!-- <template #default="{ row }">-->
<!-- <el-input-number-->
<!-- v-model="row.costPrice"-->
<!-- :min="0"-->
<!-- :precision="2"-->
<!-- :step="0.1"-->
<!-- class="w-100%"-->
<!-- controls-position="right"-->
<!-- />-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column align="center" label="库存" min-width="168">-->
<!-- <template #default="{ row }">-->
<!-- <el-input-number v-model="row.stock" :min="0" class="w-100%" controls-position="right" />-->
<!-- </template>-->
<!-- </el-table-column>-->
<template v-if="formData!.subCommissionType"> <template v-if="formData!.subCommissionType">
<el-table-column align="center" label="一级返佣(元)" min-width="168"> <el-table-column align="center" label="一级返佣(元)" min-width="168">
<template #default="{ row }"> <template #default="{ row }">
......
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
type="textarea" type="textarea"
/> />
</el-form-item> </el-form-item>
<el-form-item label="商品封面图" prop="picUrl">
<UploadImg v-model="formData.picUrl" :disabled="isDetail" height="80px" />
</el-form-item>
<el-form-item label="资源分类" prop="categoryId"> <el-form-item label="资源分类" prop="categoryId">
<el-cascader <el-cascader
v-model="formData.categoryId" v-model="formData.categoryId"
......
...@@ -87,51 +87,10 @@ ...@@ -87,51 +87,10 @@
/> />
</el-tabs> </el-tabs>
<el-table v-loading="loading" :data="list"> <el-table v-loading="loading" :data="list">
<el-table-column type="expand"> <!-- 展开列隐藏 -->
<template #default="{ row }"> <!-- <el-table-column type="expand"> ... </el-table-column> -->
<el-form class="spu-table-expand" label-position="left">
<el-row> <el-table-column label="资源名称" min-width="200">
<el-col :span="24">
<el-row>
<el-col :span="8">
<el-form-item label="商品分类:">
<span>{{ formatCategoryName(row.categoryId) }}</span>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="市场价:">
<span>{{ fenToYuan(row.marketPrice) }}</span>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="成本价:">
<span>{{ fenToYuan(row.costPrice) }}</span>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-row>
<el-col :span="8">
<el-form-item label="浏览量:">
<span>{{ row.browseCount }}</span>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="虚拟销量:">
<span>{{ row.virtualSalesCount }}</span>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
</el-form>
</template>
</el-table-column>
<el-table-column label="资源编号" min-width="140" prop="id" />
<el-table-column label="资源信息" min-width="300">
<template #default="{ row }"> <template #default="{ row }">
<div class="flex"> <div class="flex">
<el-image <el-image
...@@ -142,19 +101,20 @@ ...@@ -142,19 +101,20 @@
/> />
<div class="ml-4 overflow-hidden"> <div class="ml-4 overflow-hidden">
<el-tooltip effect="dark" :content="row.name" placement="top"> <el-tooltip effect="dark" :content="row.name" placement="top">
<div> <div>{{ row.name }}</div>
{{ row.name }}
</div>
</el-tooltip> </el-tooltip>
</div> </div>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="价格" min-width="160" prop="price"> <el-table-column align="center" label="资源分类" min-width="160">
<template #default="{ row }"> ¥ {{ fenToYuan(row.price) }}</template> <template #default="{ row }">{{ formatCategoryName(row.categoryId) }}</template>
</el-table-column>
<el-table-column align="center" label="价格" min-width="160">
<template #default="{ row }">¥ {{ fenToYuan(row.price) }}</template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="销量" min-width="90" prop="salesCount" /> <!-- <el-table-column align="center" label="销量" min-width="90" prop="salesCount" />-->
<el-table-column align="center" label="库存" min-width="90" prop="stock" /> <!-- <el-table-column align="center" label="库存" min-width="90" prop="stock" />-->
<el-table-column align="center" label="排序" min-width="70" prop="sort" /> <el-table-column align="center" label="排序" min-width="70" prop="sort" />
<el-table-column align="center" label="销售状态" min-width="80"> <el-table-column align="center" label="销售状态" min-width="80">
<template #default="{ row }"> <template #default="{ row }">
...@@ -174,16 +134,10 @@ ...@@ -174,16 +134,10 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column :formatter="dateFormatter" align="center" label="创建时间" width="180" prop="createTime"/>
:formatter="dateFormatter"
align="center"
label="创建时间"
prop="createTime"
width="180"
/>
<el-table-column align="center" fixed="right" label="操作" min-width="200"> <el-table-column align="center" fixed="right" label="操作" min-width="200">
<template #default="{ row }"> <template #default="{ row }">
<el-button link type="primary" @click="openDetail(row.id)"> 详情</el-button> <el-button link type="primary" @click="openDetail(row.id)">详情</el-button>
<el-button <el-button
v-hasPermi="['product:spu:update']" v-hasPermi="['product:spu:update']"
link link
...@@ -232,6 +186,7 @@ ...@@ -232,6 +186,7 @@
/> />
</ContentWrap> </ContentWrap>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { TabsPaneContext } from 'element-plus' import { TabsPaneContext } from 'element-plus'
import { createImageViewer } from '@/components/ImageViewer' import { createImageViewer } from '@/components/ImageViewer'
...@@ -245,43 +200,34 @@ import * as ProductCategoryApi from '@/api/mall/product/category' ...@@ -245,43 +200,34 @@ import * as ProductCategoryApi from '@/api/mall/product/category'
defineOptions({ name: 'ProductSpu' }) defineOptions({ name: 'ProductSpu' })
const message = useMessage() // 消息弹窗 const message = useMessage()
const route = useRoute() // 路由 const route = useRoute()
const { t } = useI18n() // 国际化 const { t } = useI18n()
const { push } = useRouter() // 路由跳转 const { push } = useRouter()
const loading = ref(false) // 列表的加载中 const loading = ref(false)
const exportLoading = ref(false) // 导出的加载中 const exportLoading = ref(false)
const total = ref(0) // 列表的总页数 const total = ref(0)
const list = ref<ProductSpuApi.Spu[]>([]) // 列表的数据 const list = ref<ProductSpuApi.Spu[]>([])
// tabs 数据
const tabsData = ref([ // 完整 tab 配置
{ const allTabsData = [
name: '出售中', { name: '出售中', type: 0 },
type: 0, { name: '仓库中', type: 1 },
count: 0 { name: '已售出', type: 2 },
}, { name: '警戒库存', type: 3 },
{ { name: '回收站', type: 4 }
name: '仓库中', ]
type: 1,
count: 0 // 隐藏仓库中
}, const hiddenTabs = [1, 3]
{
name: '已售罄', // 过滤后的 tab
type: 2, const tabsData = computed(() => {
count: 0 return allTabsData
}, .filter(tab => !hiddenTabs.includes(tab.type))
{ .map(tab => ({ ...tab, count: 0 }))
name: '警戒库存', })
type: 3,
count: 0
},
{
name: '回收站',
type: 4,
count: 0
}
])
const queryParams = ref({ const queryParams = ref({
pageNo: 1, pageNo: 1,
...@@ -290,8 +236,8 @@ const queryParams = ref({ ...@@ -290,8 +236,8 @@ const queryParams = ref({
name: '', name: '',
categoryId: undefined, categoryId: undefined,
createTime: undefined createTime: undefined
}) // 查询参数 })
const queryFormRef = ref() // 搜索的表单Ref const queryFormRef = ref()
/** 查询列表 */ /** 查询列表 */
const getList = async () => { const getList = async () => {
...@@ -311,14 +257,18 @@ const handleTabClick = (tab: TabsPaneContext) => { ...@@ -311,14 +257,18 @@ const handleTabClick = (tab: TabsPaneContext) => {
getList() getList()
} }
/** 获每个 Tab 的数量 */ /** 获每个 Tab 的数量 */
const getTabsCount = async () => { const getTabsCount = async () => {
const res = await ProductSpuApi.getTabsCount() const res = await ProductSpuApi.getTabsCount()
for (let objName in res) { tabsData.value.forEach(tab => {
tabsData.value[Number(objName)].count = res[objName] if (res[tab.type] !== undefined) {
tab.count = res[tab.type]
} }
})
} }
// 其他方法保持原来逻辑:handleStatus02Change, handleStatusChange, handleDelete, imagePreview, handleQuery, resetQuery, openForm, openDetail, handleExport
/** 添加到仓库 / 回收站的状态 */ /** 添加到仓库 / 回收站的状态 */
const handleStatus02Change = async (row: any, newStatus: number) => { const handleStatus02Change = async (row: any, newStatus: number) => {
try { try {
...@@ -335,6 +285,7 @@ const handleStatus02Change = async (row: any, newStatus: number) => { ...@@ -335,6 +285,7 @@ const handleStatus02Change = async (row: any, newStatus: number) => {
} catch {} } catch {}
} }
/** 更新上架/下架状态 */ /** 更新上架/下架状态 */
const handleStatusChange = async (row: any) => { const handleStatusChange = async (row: any) => {
try { try {
...@@ -357,6 +308,7 @@ const handleStatusChange = async (row: any) => { ...@@ -357,6 +308,7 @@ const handleStatusChange = async (row: any) => {
} }
} }
/** 删除按钮操作 */ /** 删除按钮操作 */
const handleDelete = async (id: number) => { const handleDelete = async (id: number) => {
try { try {
...@@ -372,6 +324,7 @@ const handleDelete = async (id: number) => { ...@@ -372,6 +324,7 @@ const handleDelete = async (id: number) => {
} catch {} } catch {}
} }
/** 商品图预览 */ /** 商品图预览 */
const imagePreview = (imgUrl: string) => { const imagePreview = (imgUrl: string) => {
createImageViewer({ createImageViewer({
...@@ -390,6 +343,7 @@ const resetQuery = () => { ...@@ -390,6 +343,7 @@ const resetQuery = () => {
handleQuery() handleQuery()
} }
/** 新增或修改 */ /** 新增或修改 */
const openForm = (id?: number) => { const openForm = (id?: number) => {
// 修改 // 修改
...@@ -421,39 +375,39 @@ const handleExport = async () => { ...@@ -421,39 +375,39 @@ const handleExport = async () => {
} }
} }
/** 获取分类的节点的完整结构 */
const categoryList = ref() // 分类树
const formatCategoryName = (categoryId: number) => {
return treeToString(categoryList.value, categoryId)
}
/** 激活时 */
onActivated(() => {
getList()
})
/** 初始化 **/
/** 分类树相关 */
const categoryList = ref()
const formatCategoryName = (categoryId: number) => treeToString(categoryList.value, categoryId)
onActivated(() => getList())
onMounted(async () => { onMounted(async () => {
// 解析路由的 categoryId
if (route.query.categoryId) { if (route.query.categoryId) {
queryParams.value.categoryId = route.query.categoryId queryParams.value.categoryId = route.query.categoryId
} }
// 获得商品信息
await getTabsCount() await getTabsCount()
await getList() await getList()
// 获得分类树
const data = await ProductCategoryApi.getCategoryList({}) const data = await ProductCategoryApi.getCategoryList({})
categoryList.value = handleTree(data, 'id', 'parentId') categoryList.value = handleTree(data, 'id', 'parentId')
}) })
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.spu-table-expand { .spu-table-expand {
padding-left: 42px; padding-left: 42px;
:deep(.el-form-item__label) { :deep(.el-form-item__label) {
width: 82px; width: 82px;
font-weight: bold; font-weight: bold;
color: #99a9bf; color: #99a9bf;
} }
} }
/* 隐藏展开按钮 */
:deep(.el-table__expand-column .cell) {
display: none !important;
}
</style> </style>
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
prop="brokerageUser.nickname" prop="brokerageUser.nickname"
min-width="100" min-width="100"
/> />
<el-table-column label="商品信息" align="center" prop="spuName" min-width="300"> <el-table-column label="算力资源信息" align="center" prop="spuName" min-width="300">
<template #default="{ row }"> <template #default="{ row }">
<div class="flex items-center" v-for="item in row.items" :key="item.id"> <div class="flex items-center" v-for="item in row.items" :key="item.id">
<el-image <el-image
......
...@@ -7,16 +7,16 @@ ...@@ -7,16 +7,16 @@
label-width="100px" label-width="100px"
v-loading="formLoading" v-loading="formLoading"
> >
<el-form-item label="类型" prop="categoryId"> <!-- <el-form-item label="类型" prop="categoryId">-->
<el-select v-model="formData.categoryId" placeholder="请选择类型"> <!-- <el-select v-model="formData.categoryId" placeholder="请选择类型">-->
<el-option label="请选择字典生成" value="" /> <!-- <el-option label="请选择字典生成" value="" />-->
</el-select> <!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item label="用户手机" prop="memberUserId">
<el-input v-model="formData.mobile" readonly />
</el-form-item> </el-form-item>
<el-form-item label="客户id" prop="memberUserId"> <el-form-item label="订单编号" prop="tradeOrderId">
<el-input v-model="formData.memberUserId" placeholder="请输入客户id" /> <el-input v-model="formData.tradeOrderNo" readonly />
</el-form-item>
<el-form-item label="关联订单id" prop="tradeOrderId">
<el-input v-model="formData.tradeOrderId" placeholder="请输入关联订单id" />
</el-form-item> </el-form-item>
<el-form-item label="属性" prop="properties"> <el-form-item label="属性" prop="properties">
<el-input v-model="formData.properties" placeholder="请输入属性" /> <el-input v-model="formData.properties" placeholder="请输入属性" />
...@@ -29,18 +29,18 @@ ...@@ -29,18 +29,18 @@
placeholder="选择过期时间" placeholder="选择过期时间"
/> />
</el-form-item> </el-form-item>
<el-form-item label="鉴权信息" prop="auth"> <!-- <el-form-item label="鉴权信息" prop="auth">-->
<el-input v-model="formData.auth" placeholder="请输入鉴权信息" /> <!-- <el-input v-model="formData.auth" placeholder="请输入鉴权信息" />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="费用描述" prop="feeInfo"> <!-- <el-form-item label="费用描述" prop="feeInfo">-->
<el-input v-model="formData.feeInfo" placeholder="请输入费用描述" /> <!-- <el-input v-model="formData.feeInfo" placeholder="请输入费用描述" />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="有效期" prop="expDuration"> <el-form-item label="有效期" prop="expDuration">
<el-input v-model="formData.expDuration" placeholder="请输入有效期" /> <el-input v-model="formData.expDuration" placeholder="请输入有效期" />
</el-form-item> </el-form-item>
<el-form-item label="剩余使用次数" prop="unuseCount"> <!-- <el-form-item label="剩余使用次数" prop="unuseCount">-->
<el-input v-model="formData.unuseCount" placeholder="请输入剩余使用次数" /> <!-- <el-input v-model="formData.unuseCount" placeholder="请输入剩余使用次数" />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="备注" prop="remark"> <el-form-item label="备注" prop="remark">
<el-input v-model="formData.remark" placeholder="请输入备注" /> <el-input v-model="formData.remark" placeholder="请输入备注" />
</el-form-item> </el-form-item>
...@@ -68,6 +68,8 @@ const formData = ref({ ...@@ -68,6 +68,8 @@ const formData = ref({
categoryId: undefined, categoryId: undefined,
memberUserId: undefined, memberUserId: undefined,
tradeOrderId: undefined, tradeOrderId: undefined,
tradeOrderNo: undefined,
mobile: undefined,
properties: undefined, properties: undefined,
expTime: undefined, expTime: undefined,
auth: undefined, auth: undefined,
...@@ -135,6 +137,8 @@ const resetForm = () => { ...@@ -135,6 +137,8 @@ const resetForm = () => {
categoryId: undefined, categoryId: undefined,
memberUserId: undefined, memberUserId: undefined,
tradeOrderId: undefined, tradeOrderId: undefined,
tradeOrderNo: undefined,
mobile: undefined,
properties: undefined, properties: undefined,
expTime: undefined, expTime: undefined,
auth: undefined, auth: undefined,
......
...@@ -8,29 +8,29 @@ ...@@ -8,29 +8,29 @@
:inline="true" :inline="true"
label-width="68px" label-width="68px"
> >
<el-form-item label="类型" prop="categoryId"> <!-- <el-form-item label="类型" prop="categoryId">-->
<el-select <!-- <el-select-->
v-model="queryParams.categoryId" <!-- v-model="queryParams.categoryId"-->
placeholder="请选择类型" <!-- placeholder="请选择类型"-->
clearable <!-- clearable-->
class="!w-240px" <!-- class="!w-240px"-->
> <!-- >-->
<el-option label="请选择字典生成" value="" /> <!-- <el-option label="请选择字典生成" value="" />-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="客户id" prop="memberUserId"> <el-form-item label="用户手机" prop="mobile">
<el-input <el-input
v-model="queryParams.memberUserId" v-model="queryParams.mobile"
placeholder="请输入客户id" placeholder="请输入用户手机"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
class="!w-240px" class="!w-240px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="关联订单id" prop="tradeOrderId"> <el-form-item label="订单编号" prop="tradeOrderNo">
<el-input <el-input
v-model="queryParams.tradeOrderId" v-model="queryParams.tradeOrderNo"
placeholder="请输入关联订单id" placeholder="订单编号"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
class="!w-240px" class="!w-240px"
...@@ -91,9 +91,8 @@ ...@@ -91,9 +91,8 @@
@selection-change="handleRowCheckboxChange" @selection-change="handleRowCheckboxChange"
> >
<el-table-column type="selection" width="55" /> <el-table-column type="selection" width="55" />
<el-table-column label="类型" align="center" prop="categoryId" /> <el-table-column label="用户手机" align="center" prop="mobile" />
<el-table-column label="客户id" align="center" prop="memberUserId" /> <el-table-column label="订单编号" align="center" prop="tradeOrderNo" />
<el-table-column label="关联订单id" align="center" prop="tradeOrderId" />
<el-table-column label="属性" align="center" prop="properties" /> <el-table-column label="属性" align="center" prop="properties" />
<el-table-column <el-table-column
label="过期时间" label="过期时间"
...@@ -102,11 +101,11 @@ ...@@ -102,11 +101,11 @@
:formatter="dateFormatter" :formatter="dateFormatter"
width="180px" width="180px"
/> />
<el-table-column label="鉴权信息" align="center" prop="auth" /> <!-- <el-table-column label="鉴权信息" align="center" prop="auth" />-->
<el-table-column label="费用描述" align="center" prop="feeInfo" /> <!-- <el-table-column label="费用描述" align="center" prop="feeInfo" />-->
<el-table-column label="有效期" align="center" prop="expDuration" /> <el-table-column label="有效期" align="center" prop="expDuration" />
<el-table-column label="剩余使用次数" align="center" prop="unuseCount" /> <!-- <el-table-column label="剩余使用次数" align="center" prop="unuseCount" />-->
<el-table-column label="备注" align="center" prop="remark" /> <!-- <el-table-column label="备注" align="center" prop="remark" />-->
<el-table-column <el-table-column
label="创建时间" label="创建时间"
align="center" align="center"
...@@ -168,8 +167,8 @@ const queryParams = reactive({ ...@@ -168,8 +167,8 @@ const queryParams = reactive({
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
categoryId: undefined, categoryId: undefined,
memberUserId: undefined, mobile: undefined,
tradeOrderId: undefined, tradeOrderNo: undefined,
createTime: [] createTime: []
}) })
const queryFormRef = ref() // 搜索的表单 const queryFormRef = ref() // 搜索的表单
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment