index.axml 2.2 KB

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