称重钱保留后两位
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<button @click="deleteLast">←</button>
|
||||
</view>
|
||||
<view class="classmoney">
|
||||
¥ {{ form.goods.lowPrice * currentInput }}
|
||||
¥ {{ (form.goods.lowPrice * currentInput).toFixed(2) }}
|
||||
</view>
|
||||
<view class="classconfirm" @click="clickconfirm">
|
||||
确认
|
||||
@@ -90,8 +90,10 @@
|
||||
// 首位不能输入0
|
||||
if (currentInput.value === '') {
|
||||
uni.showToast({
|
||||
title: '请输入'
|
||||
title: '请输入',
|
||||
icon:'none'
|
||||
})
|
||||
return false;
|
||||
}
|
||||
emit('weighgoodsUpdate', form.foodsindex, form.index, true, '', currentInput.value)
|
||||
overlayshow.value = false
|
||||
|
||||
Reference in New Issue
Block a user