index.axml 2.3 KB

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