| | |
| | | <text class="detail-value">{{ item.taxInclusiveUnitPrice }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">运费单价(元)</text> |
| | | <text class="detail-value">{{ formatMoney2(item.freightUnitPrice) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">总运费(元)</text> |
| | | <text class="detail-value">{{ formatMoney2(item.totalFreight) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">含税总价(元)</text> |
| | | <text class="detail-value">{{ item.taxInclusiveTotalPrice }}</text> |
| | | </view> |
| | |
| | | uni.hideLoading(); |
| | | }; |
| | | const outData = ref({}); |
| | | const formatMoney2 = value => { |
| | | if (value === null || value === undefined || value === "") return "-"; |
| | | const num = Number(value); |
| | | if (Number.isNaN(num)) return String(value); |
| | | return num.toFixed(2); |
| | | }; |
| | | |
| | | onMounted(() => { |
| | | // 页面加载时获取参数并刷新列表 |