更新
This commit is contained in:
@@ -291,7 +291,7 @@
|
||||
</view>
|
||||
|
||||
</template>
|
||||
<template v-if="FormData.type == 'weigh'">
|
||||
<template v-if="FormData.type == 'weight'">
|
||||
<view class="block u-p-t-32 u-p-b-32">
|
||||
<view class="font-bold">
|
||||
<text class="color-red">*</text>
|
||||
@@ -543,7 +543,7 @@
|
||||
},
|
||||
{
|
||||
name: '称重商品',
|
||||
value: 'weigh'
|
||||
value: 'weight'
|
||||
},
|
||||
// {
|
||||
// name: '团购券',
|
||||
@@ -1126,7 +1126,7 @@
|
||||
FormData.proGroupVo[0].number = null
|
||||
}
|
||||
}
|
||||
if (type == 'weigh') {
|
||||
if (type == 'weight') {
|
||||
if (!FormData.weight) {
|
||||
return infoBox.showToast('请输入重量')
|
||||
}
|
||||
@@ -1408,6 +1408,7 @@
|
||||
left: 110rpx;
|
||||
right: 110rpx;
|
||||
bottom: 60px;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.minus {}
|
||||
|
||||
@@ -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