index.axml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <patient-tabs-pro
  2. className="payment"
  3. onFilter="onFilterHandel"
  4. typeOptions="{{ typeOptions}}"
  5. statusOptions="{{ statusOptions }}"
  6. >
  7. <scroll-fetch
  8. ref="saveRef"
  9. slot-scope="props"
  10. onService="onService"
  11. height="{{ props.contentHeight }}"
  12. emptyTitle="该就诊人暂无记录"
  13. emptyMessage="你可以在顶部其他就诊人"
  14. >
  15. <view slot-scope="props" class="payment-block" catchTap="toDetail" data-outTradeNo="{{ props.item.outTradeNo }}" data-type="{{ props.item.type }}">
  16. <view class="payment-flex payment-top">
  17. <text class="payment-title" number-of-lines="1">{{ props.item.title }}</text>
  18. <view class="payment-pay flag" a:if="{{ props.item.status === 0 }}">待支付</view>
  19. <view class="payment-pay" a:if="{{ props.item.status === 1 }}">已支付</view>
  20. <view class="payment-pay" a:if="{{ props.item.status === 9 }}">已取消</view>
  21. </view>
  22. <view class="payment-flex">
  23. <view class="payment-label">就诊人</view>
  24. <view class="payment-value">{{ props.item.name }}</view>
  25. </view>
  26. <view class="payment-flex">
  27. <view class="payment-label">开单时间</view>
  28. <view class="payment-value">{{ props.item.prescribeDate }}</view>
  29. </view>
  30. <view class="payment-flex">
  31. <view class="payment-label">需付款</view>
  32. <view class="payment-price">
  33. <text a:if="{{ props.item.num }}" class="num">共{{ props.item.num }}项</text>
  34. <text>¥</text>
  35. <text class="amount">{{ props.item.amount }}</text>
  36. </view>
  37. </view>
  38. <view class="payment-flex-r" a:if="{{ props.item.status === 0 }}">
  39. <view class="payment-flex-b" a:if="{{ props.item.type === 3 && props.item.medicareBinded }}" catchTap="onPayment" data-item="{{ props.item }}" data-medicareBinded="{{ true }}">刷医保</view>
  40. <view class="payment-flex-b" catchTap="onPayment" data-item="{{ props.item }}">付款</view>
  41. </view>
  42. </view>
  43. </scroll-fetch>
  44. </patient-tabs-pro>
  45. <subscribe-msg ref="saveSubscribe" />