张诺
5 小时以前 754f4ccb397866d31bcfa71c3c8099539647a18b
src/pages/sales/salesAccount/out.vue
@@ -11,7 +11,7 @@
      </view>
      <view class="summary-item">
        <text class="summary-label">合同金额</text>
        <text class="summary-value">{{ outData.contractAmount }}</text>
        <text class="summary-value">{{ formatNumber(outData.contractAmount) }}</text>
      </view>
      <view class="summary-item">
        <text class="summary-label">签订日期</text>
@@ -83,7 +83,7 @@
          </view>
          <view class="detail-row">
            <text class="detail-label">数量</text>
            <text class="detail-value">{{ item.quantity }}</text>
            <text class="detail-value">{{ formatNumber(item.quantity) }}</text>
          </view>
          <view class="detail-row">
            <text class="detail-label">税率(%)</text>
@@ -91,15 +91,15 @@
          </view>
          <view class="detail-row">
            <text class="detail-label">含税单价(元)</text>
            <text class="detail-value">{{ item.taxInclusiveUnitPrice }}</text>
            <text class="detail-value">{{ formatNumber(item.taxInclusiveUnitPrice) }}</text>
          </view>
          <view class="detail-row">
            <text class="detail-label">含税总价(元)</text>
            <text class="detail-value">{{ item.taxInclusiveTotalPrice }}</text>
            <text class="detail-value">{{ formatNumber(item.taxInclusiveTotalPrice) }}</text>
          </view>
          <view class="detail-row">
            <text class="detail-label">不含税总价(元)</text>
            <text class="detail-value">{{ item.taxExclusiveTotalPrice }}</text>
            <text class="detail-value">{{ formatNumber(item.taxExclusiveTotalPrice) }}</text>
          </view>
          <up-divider></up-divider>
          <u-button class="detail-button"
@@ -126,6 +126,11 @@
  // 客户信息
  const supplierId = ref("");
  const formatNumber = value => {
    if (value === null || value === undefined || value === "") return "-";
    return parseFloat(value).toFixed(3);
  };
  // 表格数据
  const tableData = ref([]);