index.wxml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!--pages/order/invoicingDetail/index.wxml-->
  2. <view>
  3. <!-- 开票详情 -->
  4. <!-- 开票中 -->
  5. <view class="invoicDetail">
  6. <view class="invoicTop">
  7. <!-- <view class="invoicTopLeft"></view> -->
  8. <view class="invoicTopInfo">开票信息</view>
  9. </view>
  10. <!-- 发票类型 -->
  11. <view class="invoicType">
  12. <view class="type">发票类型</view>
  13. <view class="typeInfo">电子普通发票</view>
  14. </view>
  15. <!-- 消费码信息 -->
  16. <view class="{{invoiceInfo.length<=2?'invoicTypeInfoOne':'invoicTypeInfo'}}">
  17. <view class="type">
  18. 消费码信息<view>(发票上不展示)</view>
  19. </view>
  20. <view class="typeInfoTitle">
  21. <!-- {{invoiceInfo.length==1?'typeInfoOne':'typeInfo'}} -->
  22. <text wx:for="{{invoiceInfo}}" wx:key="index" class="{{invoiceInfo.length==1?'typeInfoOne':'typeInfo'}}">{{item.attendantNames}}({{item.password}})
  23. </text>
  24. </view>
  25. </view>
  26. <!-- 开票金额 -->
  27. <view class="invoicType">
  28. <view class="type">开票金额</view>
  29. <view class="typeInfo">共{{sumPrice}}元</view>
  30. </view>
  31. <!-- 公司名称 -->
  32. <view class="invoicType">
  33. <view class="type">公司名称</view>
  34. <label for="">
  35. <input bindinput="bindinput" data-type="company" class="typeInput" type="text" value="{{company?company:''}}" placeholder="请输入公司名称" placeholder-style="font-size:22rpx;color: #959595;" />
  36. </label>
  37. </view>
  38. <!-- 税号 -->
  39. <view class="invoicType">
  40. <view class="type">税号</view>
  41. <input bindinput="bindinput" data-type="dutyNumber" class="typeInput" type="text" value="{{dutyNumber?dutyNumber:''}}" placeholder="请输入税号" placeholder-style="font-size:22rpx;color: #959595;" />
  42. </view>
  43. <!-- 接收邮箱 -->
  44. <view class="invoicEmail">
  45. <view class="type">接收邮箱</view>
  46. <input bindinput="bindinput" data-type="email" class="typeInput" type="text" value="{{email?email:''}}" placeholder="请填写电子邮箱" placeholder-style="font-size:22rpx;color: #959595;" />
  47. </view>
  48. <view style="padding: 60rpx 20rpx 0;">
  49. <image src="https://img.bbztx.com/miniProgram/teamLeader/invoiceSample.jpg" bindtap='preImg' style="width: 100%;" mode="widthFix" />
  50. </view>
  51. <view class="invoiceSample">(发票样例)</view>
  52. </view>
  53. <!-- 提示说明 -->
  54. <!-- <view class="tipInfo">
  55. <view class="tip">
  56. <view class="tipTitle">提示说明</view>
  57. </view>
  58. <view class="prompt">文案待定</view>
  59. </view> -->
  60. <consumptionCode type="{{type}}" show="{{showconsumptionCode}}" bind:close="closeTips"></consumptionCode>
  61. <!-- 底部提交 -->
  62. <view>
  63. <view class="editInfo">
  64. <!-- 修改开票信息按钮 -->
  65. <view class="infobtn" bindtap="submit">提交</view>
  66. </view>
  67. </view>
  68. </view>