This commit is contained in:
woody 2025-10-22 16:43:47 +08:00
commit ff37e3a127
3 changed files with 13 additions and 9 deletions

View File

@ -403,3 +403,12 @@ export function directUpgradeRecordList(params) {
params params
}) })
} }
// 根据商品类型获取商品
export function getGoodsListByType(params) {
return request({
url: '/sale/manage/wares/find-all-maker',
method: 'get',
params
})
}

View File

@ -1,9 +1,3 @@
<!--
* @Descripttion:
* @version:
* @Author: kBank
* @Date: 2023-02-23 15:59:57
-->
<template> <template>
<div class="page"> <div class="page">
<!-- <topBar v-if="topList.length > 0" <!-- <topBar v-if="topList.length > 0"

View File

@ -156,11 +156,12 @@ export default {
getData() { getData() {
api api
.waresList({ .getGoodsListByType({
specialArea: this.isArea specialArea: this.isArea,
isMakerGift: 3
}) })
.then((res) => { .then((res) => {
this.allGoods = res.data this.allGoods = res.data || []
}) })
}, },