更新
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user