fix:修复限时秒杀新增商品商品编码显示错误以及查询无效问题

This commit is contained in:
hufflzp 2025-12-23 15:56:25 +08:00
parent 3d7ac7603c
commit d683bfc186
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-input <el-input
v-model.trim="queryForm.product_id" v-model.trim="queryForm.item_number"
clearable clearable
:placeholder="__('请输入商品编号')" :placeholder="__('请输入商品编号')"
/> />
@ -105,7 +105,7 @@
<el-table-column <el-table-column
align="center" align="center"
:label="__('商品编号')" :label="__('商品编号')"
prop="item_id" prop="item_number"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column

View File

@ -37,7 +37,7 @@
<el-table-column <el-table-column
align="center" align="center"
:label="__('商品编号')" :label="__('商品编号')"
prop="item_id" prop="item_number"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
@ -189,7 +189,7 @@
async fetchData() { async fetchData() {
this.listLoading = true this.listLoading = true
const { data } = await getActivityBuyItems(this.queryForm) const { data } = await getActivityBuyItems(this.queryForm)
this.list = data.items this.list = data.items[0].item
this.total = data.records this.total = data.records
this.listLoading = false this.listLoading = false
}, },