saleList.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!--pages/invoice/saleList/saleList.wxml-->
  2. <view class="page-edit">
  3. <view class="sale-list-box">
  4. <!--<view class="sale-none">
  5. 没有销售方信息!
  6. </view>-->
  7. <!-- <view class="sale-list selected">
  8. <view class="item-content">
  9. <view class="company">销售方</view>
  10. <view class="info">
  11. <text class="name">张辉</text>
  12. <text>310225198911293443</text>
  13. </view>
  14. </view>
  15. <view class="item-right">
  16. <text>编辑</text>|<text>删除</text>
  17. </view>
  18. </view> -->
  19. <view wx:for="{{list}}" bindtap="chooseSale" data-index="{{index}}" wx:key="{{item.id}}" class="sale-list {{(index===chooseIndex||id==item.saleId)?'active':''}}">
  20. <view class="item-content">
  21. <view class="company">销售方</view>
  22. <view class="info">
  23. <text class="name">{{item.name}}</text>
  24. <text>{{item.identityNumber}}</text>
  25. </view>
  26. </view>
  27. <view class="item-right">
  28. <text catchtap="editSale" data-id="{{item.saleId}}">编辑</text>|<text data-id="{{item.saleId}}" catchtap="removeSale">删除</text>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="footer-tool">
  33. <view class="footer-tool-content">
  34. <navigator url="/pages/invoice/editSale/editSale" class="default-btn primary">
  35. <view class="icon-add"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-add-white.png"></image></view>添加销售方
  36. </navigator>
  37. </view>
  38. </view>
  39. </view>