zhangwencui
2026-06-12 19f42147fc99bea9c435abdbe4f822da98dbad71
src/pages/sales/salesAccount/out.vue
@@ -94,6 +94,14 @@
            <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>
@@ -252,6 +260,12 @@
    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(() => {
    // 页面加载时获取参数并刷新列表