bug修复

This commit is contained in:
2024-04-18 00:37:43 +08:00
parent b87c8e8292
commit 6c4c2ac85d
16 changed files with 110 additions and 32 deletions

View File

@@ -21,7 +21,7 @@
¥{{ goodsBean?.price || 0 }}
</text>
</text>
<text>销量{{ goodsBean?.send_num || 0 }}</text>
<text>销量{{ goodsBean?.salesCount || 0 }}</text>
</view>
<view class='c-flex-row'>

View File

@@ -159,7 +159,7 @@ const buildSqbParams = computed(() => {
const params = sortASCII({
client_sn: orderBean.value?.id || '',
return_url: '/pages/common/payresult/index',
total_amount: ((orderBean.value?.totalPrice || 0) * 100).toString(),
total_amount: Number(((orderBean.value?.totalPrice || 0) * 100).toFixed(2)),
terminal_sn: terminalInfo.value.terminalSn,
subject: orderBean?.value?.orderGoods[0].name,
subject_img: orderBean?.value?.orderGoods[0].images || '',