index.wxml 1.4 KB

12345678910111213141516
  1. <My_empty wx:if="{{list.length==0}}" />
  2. <navigator class="offer-list" data-id="{{item.sa_quotedpriceid}}" bindtap="toDetail" wx:for="{{list}}" wx:key="billno">
  3. <view class="title">
  4. <text class="line-1">{{language['单号']||'单号'}}:{{item.billno}}</text>
  5. <view class="status" style="background-color: {{sColors[item.status]}};">{{language[item.status]||item.status}}</view>
  6. </view>
  7. <view class="tag-box">
  8. <van-tag custom-class='tag' color='#FA8C16' text-color='#fff' round>{{language[item.quotedpricetype]||item.quotedpricetype}}</van-tag>
  9. <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  10. <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  11. </view>
  12. <view class="exp line-1">{{language['客户']||'客户'}}:<text>{{item.enterprisename}}</text></view>
  13. <view class="exp line-1">{{language['报价日期']||'报价日期'}}:<text>{{item.billdate}}</text></view>
  14. <view class="exp line-1">{{language['特价']||'特价'}}:<text>{{language[item.specialoffer==1?'是':'否']||item.specialoffer==1?'是':'否'}}</text></view>
  15. <van-button custom-class='copy' data-item="{{item}}" catch:tap='copyItem'>{{language['复制']||'复制'}}</van-button>
  16. </navigator>