zhangwencui
2026-07-02 91dec349aa88c58c587199d9601529d60824e1d0
src/pages/sales/salesAccount/index.vue
@@ -60,7 +60,11 @@
            </view>
            <view class="detail-row">
              <text class="detail-label">合同金额(元)</text>
              <text class="detail-value highlight">{{ item.contractAmount }}</text>
              <text class="detail-value highlight">{{ formattedNumber(item.contractAmount) }}</text>
            </view>
            <view class="detail-row">
              <text class="detail-label">实际合同金额(元)</text>
              <text class="detail-value highlight">{{ formattedNumber(item.netContractAmount) }}</text>
            </view>
            <view class="detail-row">
              <text class="detail-label">签订日期</text>
@@ -82,6 +86,13 @@
              <u-button class="detail-button"
                        size="small"
                        type="primary"
                        plain
                        @click.stop="openOut(item)">
                发货状态
              </u-button>
              <!-- <u-button class="detail-button"
                        size="small"
                        type="primary"
                        @click.stop="handleInfo('edit', item)">
                编辑
              </u-button>
@@ -91,14 +102,14 @@
                        plain
                        @click.stop="openOut(item)">
                发货状态
              </u-button>
              <u-button class="detail-button"
              </u-button> -->
              <!-- <u-button class="detail-button"
                        size="small"
                        type="error"
                        plain
                        @click.stop="handleDelete(item)">
                删除
              </u-button>
              </u-button> -->
            </view>
          </view>
        </view>
@@ -109,12 +120,12 @@
      <text>暂无销售台账数据</text>
    </view>
    <!-- 浮动操作按钮 -->
    <view class="fab-button"
    <!-- <view class="fab-button"
          @click="handleInfo('add')">
      <up-icon name="plus"
               size="24"
               color="#ffffff"></up-icon>
    </view>
    </view> -->
  </view>
</template>
@@ -139,6 +150,13 @@
    uni.hideLoading();
  };
  const formattedNumber = value => {
    if (value === undefined || value === null || value === "") {
      return "0.00";
    }
    return parseFloat(value).toFixed(2);
  };
  // 搜索关键词
  const salesContractNo = ref("");