|
|
|
@ -15,7 +15,7 @@ const sumVal = computed(() => {
|
|
|
|
|
orderList.value.forEach((e) => {
|
|
|
|
|
const productActualWeight = e.productActualWeight || 0
|
|
|
|
|
const num = productActualWeight * e.recoveryPrice || 0
|
|
|
|
|
res += num
|
|
|
|
|
res += num.toFixed(2)
|
|
|
|
|
})
|
|
|
|
|
return res
|
|
|
|
|
})
|
|
|
|
@ -54,7 +54,7 @@ const handlePayment = async () => {
|
|
|
|
|
orderList.value.forEach((e) => {
|
|
|
|
|
const obj = {
|
|
|
|
|
id: e.id,
|
|
|
|
|
productActualWeight: Number(e.productActualWeight),
|
|
|
|
|
productActualWeight: Number(e.productActualWeight).toFixed(2),
|
|
|
|
|
productId: e.productId,
|
|
|
|
|
}
|
|
|
|
|
orderDetails.push(obj)
|
|
|
|
@ -170,7 +170,7 @@ page {
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.label {
|
|
|
|
|
width: 140rpx;
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
}
|
|
|
|
|
.val {
|
|
|
|
|
flex: 1;
|
|
|
|
|