supplyRecord.wxml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <!-- <wxs src='../../utils/formatFuc.wxs' module="utils"></wxs> -->
  2. <view>
  3. <view class="record-item" wx:for="{{recordList}}" wx:key="index">
  4. <view class="item-title">
  5. <image src="/static/images/new/icon-fwbc.png"></image>
  6. <view>服务补差</view>
  7. <view class="item-date">{{item.createTime}}</view>
  8. </view>
  9. <view class="item-line">
  10. <view>补差项:</view>
  11. <view>{{item.difName}}</view>
  12. </view>
  13. <view class="item-line">
  14. <view>支付状态:</view>
  15. <!-- 0创建,1发起支付中,2支付成功,3退款,4取消 -->
  16. <view class="{{item.state!=2?'non-payment':''}} pay-status">{{(item.state==0||item.state==1)?'未支付':(item.state==2?'已支付':'取消')}}</view>
  17. </view>
  18. <view class="item-line">
  19. <view>支付时间:</view>
  20. <view>{{item.payTime==null?'':item.payTime}}</view>
  21. </view>
  22. <view class="item-line">
  23. <view>总计金额:</view>
  24. <view>¥ {{item.difTotalPrice}}</view>
  25. </view>
  26. <view class="detail-btn" bindtap="goDetail" data-id="{{item.id}}">查看详情</view>
  27. </view>
  28. <view wx:if="{{recordList.length==0}}" style="text-align: center;font-size: 24rpx;line-height: 60rpx;">暂无数据~</view>
  29. <view>
  30. <button form-type="submit" style="background: white; color: #0EAEFC;" bind:tap="goAddDiff">新增补差</button>
  31. </view>
  32. </view>