Compare commits

...

2 Commits

Author SHA1 Message Date
wangweidong fc5f3f6c8b Merge branch 'main' of http://47.115.223.229:8888/yangjun/hldy_app_mini 2025-11-19 17:00:46 +08:00
wangweidong 00a29d1882 采购 2025-11-19 17:00:33 +08:00
2 changed files with 8 additions and 1 deletions

View File

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

View File

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