index.axml 2.3 KB

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