|
|
@@ -76,7 +76,7 @@ const getDataList = () => {
|
|
|
//手动选择
|
|
|
if (datas.goodsType == 1) {
|
|
|
if (datas.goodsIds.length > 0) {
|
|
|
- listBase({ ...queryParams, ids: datas.goodsIds.join(',') }).then((res) => {
|
|
|
+ apiFunc({ ...queryParams, ids: datas.goodsIds.join(',') }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
dataList.value = res.rows;
|
|
|
}
|
|
|
@@ -85,7 +85,7 @@ const getDataList = () => {
|
|
|
} else if (datas.goodsType == 2) {
|
|
|
//分类查询
|
|
|
if (datas.categoryIds && datas.categoryIds.length > 0) {
|
|
|
- listBase({
|
|
|
+ apiFunc({
|
|
|
...queryParams,
|
|
|
categoryIds: datas.categoryIds.join(',')
|
|
|
}).then((res) => {
|