index.wxml 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!-- 开票信息顶部 -->
  2. <view class="detailTop">
  3. <view class='red'></view>
  4. <view class="invoicing">
  5. <view wx:if="{{invoiceDetail.status==0}}" class='invoicing1'>开票中</view>
  6. <view wx:if="{{invoiceDetail.status==1}}" class='invoicing1'>已开票</view>
  7. <view wx:if="{{invoiceDetail.status==2}}" class='invoicing1'>已拒绝</view>
  8. <view wx:if="{{invoiceDetail.status==0}}" class="invoicing2">请耐心等待开票,预计1~7个工作日内完成</view>
  9. <view wx:if="{{invoiceDetail.status==1}}" class="invoicing2">发票信息已发送至邮箱,请自行前往查收</view>
  10. <view wx:if="{{invoiceDetail.status==2}}" class="invoicing2">{{invoiceOneDetail.remark}}</view>
  11. </view>
  12. <!-- 开票中 -->
  13. <image wx:if="{{invoiceDetail.status==0}}" class='invoicImg' src="{{invoicingImg}}" mode='widthFix'></image>
  14. <!-- 已开票 -->
  15. <image wx:if="{{invoiceDetail.status==1}}" class='overImg' src="{{invoicedImg}}" mode='widthFix'></image>
  16. <!-- 已拒绝 -->
  17. <image wx:if="{{invoiceDetail.status==2}}" class='refuseImg' src="{{rejectedImg}}" mode='widthFix'></image>
  18. </view>
  19. <!-- 开票详情 -->
  20. <!-- 开票中 -->
  21. <view class="invoicDetail">
  22. <view class="invoicTop">
  23. <!-- <view class="invoicTopLeft"></view> -->
  24. <view class="invoicTopInfo">开票信息</view>
  25. </view>
  26. <!-- 发票类型 -->
  27. <view class="invoicType">
  28. <view class="type">发票类型</view>
  29. <view class="typeInfo">电子普通发票</view>
  30. </view>
  31. <!-- 开票信息 -->
  32. <view class="{{attendantNamesList.length<=2?'invoicTypeInfoOne':'invoicTypeInfo'}}">
  33. <view class="type">开票信息</view>
  34. <view class="typeInfoTitle">
  35. <text class="{{attendantNamesList.length==1?'typeInfoOne':'typeInfo'}}" wx:for="{{attendantNamesList}}" wx:key="index">{{item.attendantNames}}({{item.password}})</text>
  36. </view>
  37. </view>
  38. <!-- 开票金额 -->
  39. <view class="invoicType">
  40. <view class="type">开票金额</view>
  41. <view class="typeInfo">共{{invoiceOneDetail.price}}元</view>
  42. </view>
  43. <!-- 公司名称 -->
  44. <view class="invoicType">
  45. <view class="type">公司名称</view>
  46. <!-- wx:if="{{invoiceDetail.status==1||invoiceDetail.status==2}}" -->
  47. <view class="typeInfo">{{invoiceOneDetail.company}}</view>
  48. <!-- <input wx:if="{{invoiceDetail.status!==2}}" bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{invoiceOneDetail.company?invoiceOneDetail.company:''}}" placeholder="请填写电子邮箱" placeholder-style="font-size:22rpx;color: #959595;" /> -->
  49. </view>
  50. <!-- 税号 -->
  51. <view class="invoicType">
  52. <view class="type">税号</view>
  53. <view class="typeInfo">{{invoiceOneDetail.dutyNumber}}</view>
  54. <!-- <input wx:if="{{invoiceDetail.status!==2}}" bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{invoiceOneDetail.dutyNumber?invoiceOneDetail.dutyNumber:''}}" placeholder="请填写税号" placeholder-style="font-size:22rpx;color: #959595;" /> -->
  55. </view>
  56. <!-- 接收邮箱 -->
  57. <view class="invoicEmail">
  58. <view class="type">接收邮箱</view>
  59. <view class="typeInfo">{{invoiceOneDetail.email}}</view>
  60. <!-- <input wx:if="{{invoiceDetail.status==2}}" bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{invoiceOneDetail.email?invoiceOneDetail.email:''}}" placeholder="请填写邮箱" placeholder-style="font-size:22rpx;color: #959595;" /> -->
  61. </view>
  62. </view>
  63. <!-- 底部提交 -->
  64. <view>
  65. <view class="editInfo">
  66. <!-- 开票中 -->
  67. <view wx:if="{{invoiceDetail.status==0}}" data-item="{{invoiceOneDetail}}" class="infobtn" bindtap="editInfo">修改信息</view>
  68. <!-- 已拒绝 -->
  69. <view wx:if="{{invoiceDetail.status==2}}" data-item="{{invoiceOneDetail}}" class="infobtn" bindtap="resubmit">重新提交</view>
  70. </view>
  71. </view>