This commit is contained in:
GaoHao
2025-03-10 17:26:39 +08:00
parent 490c513f48
commit cc97b6acca
26 changed files with 258 additions and 305 deletions

View File

@@ -75,7 +75,7 @@
<script setup>
import { reactive, onMounted, ref, watch, computed } from 'vue';
import { getProductList} from '@/api/product.js';
import { getProductPage} from '@/api/product.js';
const props = defineProps({
modelValue: {
@@ -131,7 +131,7 @@
},
{
name: '称重',
value: 'weigh'
value: 'weight'
},
// {
// name: '团购券',
@@ -152,7 +152,7 @@
*/
function getGoods() {
const arr=selArr
getProductList(goods.query).then(res => {
getProductPage(goods.query).then(res => {
let selLen=0;
goods.list = res.records.map(v => {
const checked=$selGoodsMap[v.id]?true:false