订单详情页面隐藏一些暂时没有的功能

This commit is contained in:
2024-10-11 15:45:18 +08:00
parent 6460dcf33d
commit ec509d1186
4 changed files with 13 additions and 10 deletions

View File

@@ -160,9 +160,13 @@
return infoBox.showToast('退款商品数量不能为0')
}
const selTag=tuikuan.list[tuikuan.sel]
const noteResult=`${selTag?selTag:''}${note.value?(','+note.value):''}`
if (!noteResult) {
return infoBox.showToast('请输入或选择退款原因!')
}
await $returnOrder({
"orderId": option.orderId,
"note":`${selTag?selTag:''}${note.value?(','+note.value):''}` ,
"note":noteResult,
"orderDetails":orderDetail.goodsList.filter(v=>v.number*1).map(v=>{
return {
id:v.id,