Compare commits

..

No commits in common. "fc5f3f6c8bbbed727788fb256f918b01f301bee6" and "abfe695879a7e2b11ecd63f2e158753db8c681da" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -556,7 +556,7 @@
</view> </view>
<view class="pls-card-middle-one"> <view class="pls-card-middle-one">
<view class="middle-title"> <view class="middle-title">
{{ v.jhTime?v.jhTime.slice(0,10):'' }} {{ v.jhTime.slice(0,10) }}
</view> </view>
<view class="middle-heng-father"> <view class="middle-heng-father">
<view class="middle-heng"></view> <view class="middle-heng"></view>

View File

@ -92,13 +92,6 @@
}) })
const caigouobj = ref({}) const caigouobj = ref({})
const addcar = (v : any,i:number) => { const addcar = (v : any,i:number) => {
if(v.kcsl>=v.upperLimit){
uni.showToast({
title:'库存数量已满,不可添加购物车!',
icon:'none'
})
return
}
caigouobj.value = v; caigouobj.value = v;
caigouobj.value.index = i; caigouobj.value.index = i;
caigouobj.value.yj = false; caigouobj.value.yj = false;