对接新版结算

This commit is contained in:
gyq
2025-10-13 11:15:47 +08:00
parent b3b788d8d4
commit aabbeced98
19 changed files with 10770 additions and 719 deletions

View File

@@ -378,6 +378,7 @@ function giftPackHandle(key) {
goodsStore.cartList[goodsStore.cartActiveIndex][key] = 0
}
goodsStore.operateCart({ ...goodsStore.cartList[goodsStore.cartActiveIndex] }, 'edit')
goodsStore.calcCartInfo()
}
}
@@ -540,6 +541,8 @@ function discountFormSubmit() {
goodsStore.cartList[goodsStore.cartActiveIndex].discount_sale_amount = discountForm.value.discount_sale_amount
goodsStore.cartList[goodsStore.cartActiveIndex].discount_sale_note = discountForm.value.note
showDiscountModal.value = false
goodsStore.calcCartInfo()
}
} catch (error) {
console.log(error);