<!-- pages/sale_order/sale_order.wxml -->

<van-card
  wx:for="{{partners}}"
  wx:key="id"
  data-index="{{index}}" 
  num="{{item.date_order || '日期'}}"
  tag="{{index + 1}}"
  price="{{item.orde_ddje || '0.00'}}"
  desc="{{item.partner_name|| '描述信息'}}"
  bind:tap="onCardClick"
  bind:click-thumb="onThumbClick"
  title="{{item.name || '商品标题'}}"
  thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg"
>
<!--  desc="{{item.products.map(product => product.name).join(', ') || '描述信息'}}" -->
  <view slot="tags">
    <van-tag
      plain
      type="success"
      wx:for="{{item.orderLines}}"
      wx:key="item"
    >
    {{item.name}}
    {{item.fineCode_Text}}
    </van-tag>
  </view>
</van-card>
