editInvoice.wxml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <!--pages/invoice/editInvoice/editInvoice.wxml-->
  2. <view class="page-edit">
  3. <view class="contract-step">
  4. <view class="img-wrap">
  5. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/step-02.png"></image>
  6. </view>
  7. </view>
  8. <view class="planer-box">
  9. <view class="planer-header">
  10. <view class="name">开票基本信息</view>
  11. </view>
  12. <view class="planer-content">
  13. <view class="form-box">
  14. <view hidden="{{isShowInvoiceBuyList}}">
  15. <picker class="form-list" bindchange="bindPickerChangeKind" value="{{pickerInvoiceKindIndex}}" range-key="name" range="{{pickerInvoiceKind}}">
  16. <view class="form-label">发票类型</view>
  17. <input class="input-text" value="{{pickerInvoiceKind[pickerInvoiceKindIndex].name}}" disabled placeholder="请选择" type="text" />
  18. <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view>
  19. </picker>
  20. <picker class="form-list" bindchange="bindPickerChangeServe" value="{{pickerInvoiceKindIndex}}" range="{{pickerServe}}">
  21. <view class="form-label">服务内容</view>
  22. <input class="input-text" value="{{formData.serviceContentInfo.serverName}}" placeholder="请选择" disabled type="text" />
  23. <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view>
  24. </picker>
  25. <view bindtap="goSaleList" class="form-list">
  26. <view class="form-label">销售方</view>
  27. <input class="input-text" value="{{formData.saleName}}" disabled placeholder="请选择" type="text" />
  28. <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view>
  29. </view>
  30. </view>
  31. <view class="form-list">
  32. <view class="form-label">发票抬头</view>
  33. <input class="input-text" id="formData.buyName" bindblur="hideInvoiceBuyList" bindfocus="showInvoiceBuyList" focus="{{invoiceBuyFocus}}" bindinput="changeInputInvoiceBuy" value="{{formData.buyName}}" placeholder="请输入" type="text" />
  34. <view wx:if="{{isShowInvoiceBuyList&formData.buyName!=''}}" class="rise-list-box">
  35. <view wx:if="{{invoiceBuyList.length>0}}" bindtap="setInvoiceBuyValue" wx:key="index" data-code="{{item.buyIdNumber}}" data-name="{{item.buyName}}" wx:for="{{invoiceBuyList}}" class="item">
  36. {{item.buyName}}-{{item.buyIdNumber}}
  37. </view>
  38. <!-- <view wx:if="{{invoiceBuyList.length==0&&formData.buyName!=''}}" class="item">
  39. 找不到你要找的发票抬头
  40. </view>-->
  41. </view>
  42. </view>
  43. <view class="form-list" hidden="{{isShowInvoiceBuyList}}">
  44. <view class="form-label">税号</view>
  45. <input class="input-text" id="formData.buyIdNumber" bindchange="changeInput" bindblur="validateForm" value="{{formData.buyIdNumber}}" placeholder="请输入" type="text" />
  46. </view>
  47. <!--<view class="form-list">
  48. <view class="form-label">税号</view>
  49. &lt;!&ndash; value="{{formData.buyIdNumber}}"&ndash;&gt;
  50. <input class="input-text" id="formData.buyIdNumber" bindblur="hideInvoiceBuyList" bindfocus="showInvoiceBuyList" bindinput="changeInputInvoiceBuy" value="{{invoiceBuySearchValue}}" placeholder="请输入" type="text" />
  51. <view wx:if="{{isShowInvoiceBuyList}}" class="rise-list-box">
  52. <view wx:if="{{invoiceBuyList.length>0}}" wx:key="{{index}}" wx:for="{{invoiceBuyList}}" class="item">
  53. item.name
  54. </view>
  55. <view wx:if="{{invoiceBuyList.length==0&&invoiceBuySearchValue!=''}}" class="item">
  56. 找不到你要找的税号
  57. </view>
  58. </view>
  59. </view>-->
  60. <view hidden="{{isShowInvoiceBuyList}}" class="form-list">
  61. <view class="form-label">开票金额</view>
  62. <input class="input-text" id="formData.amount" data-number="pointNum" bindchange="changeInput" bindblur="validateForm" value="{{formData.amount||''}}" placeholder="请输入不小于5000元的开票金额" type="digit" />
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. <view hidden="{{isShowInvoiceBuyList}}" class="planer-box">
  68. <view class="planer-header">
  69. <view class="name">办理材料收货地址</view>
  70. </view>
  71. <view class="planer-content">
  72. <view bindtap="getAddress" class="form-box none">
  73. <view class="form-list">
  74. <view class="form-label">姓名</view>
  75. <input class="input-text" value="{{formData.name}}" disabled placeholder="请输入" type="text" />
  76. </view>
  77. <view class="form-list">
  78. <view class="form-label">手机号</view>
  79. <input class="input-text" value="{{formData.mobile}}" disabled placeholder="请输入" type="text" />
  80. <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view>
  81. </view>
  82. <view class="form-list">
  83. <view class="form-label">地址</view>
  84. <input class="input-text" value="{{formData.provinceName+formData.cityName+formData.expAreaName+formData.address}}" disabled placeholder="请输入" type="text" />
  85. </view>
  86. <view>
  87. <image mode="widthFix" src="https://resource.artouchstone.com/miniapp/artist/images/editInvoice_info.png"></image>
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. <view hidden="{{isShowInvoiceBuyList}}" class="step-tool">
  93. <view bindtap="back" class="step-prev step-btn disable">
  94. <view class="icon"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-step-prev.png"></image></view>
  95. </view>
  96. <view bindtap="saveData" class="step-next step-btn {{isValidate?'active':''}}">
  97. <view class="icon"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-step-next.png"></image></view>
  98. </view>
  99. </view>
  100. <button plain="true" open-type='contact' session-from='' class="fixed-zx"></button>
  101. </view>