最大数量

This commit is contained in:
魏啾 2024-04-03 17:24:25 +08:00
parent fae65b2e2a
commit 84c6ef4aae
1 changed files with 2 additions and 2 deletions

View File

@ -320,8 +320,8 @@ const emititemboxshow = async (e) => { //接收子组件值 并赋值给父组
orderDetaildata.value = res
orderDetaildata.value.detailList.forEach((e) => {
e.checked = false
e.maxnum = e.num //
e.zongprice = (e.priceAmount / e.maxnum).toFixed(2)
e.zongprice = e.priceAmount / e.num
e.maxnum = e.num - e.returnNum //
})
changechecked.value = false //
refundamount.value = 0 //退0