123456789101112131415161718192021222324252627282930313233343536373839 |
- <!--pages/invoice/saleList/saleList.wxml-->
- <view class="page-edit">
- <view class="sale-list-box">
- <!--<view class="sale-none">
- 没有销售方信息!
- </view>-->
- <!-- <view class="sale-list selected">
- <view class="item-content">
- <view class="company">销售方</view>
- <view class="info">
- <text class="name">张辉</text>
- <text>310225198911293443</text>
- </view>
- </view>
- <view class="item-right">
- <text>编辑</text>|<text>删除</text>
- </view>
- </view> -->
- <view wx:for="{{list}}" bindtap="chooseSale" data-index="{{index}}" wx:key="{{item.id}}" class="sale-list {{(index===chooseIndex||id==item.saleId)?'active':''}}">
- <view class="item-content">
- <view class="company">销售方</view>
- <view class="info">
- <text class="name">{{item.name}}</text>
- <text>{{item.identityNumber}}</text>
- </view>
- </view>
- <view class="item-right">
- <text catchtap="editSale" data-id="{{item.saleId}}">编辑</text>|<text data-id="{{item.saleId}}" catchtap="removeSale">删除</text>
- </view>
- </view>
- </view>
- <view class="footer-tool">
- <view class="footer-tool-content">
- <navigator url="/pages/invoice/editSale/editSale" class="default-btn primary">
- <view class="icon-add"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-add-white.png"></image></view>添加销售方
- </navigator>
- </view>
- </view>
- </view>
|