apply.wxml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <form bindsubmit="bindSave">
  2. <view class="form">
  3. <view class="title hasRight">
  4. <view>发票填写</view>
  5. <view class="import" bindtap="chooseInvoiceTitle">读取微信开票信息</view>
  6. </view>
  7. <view class="input">
  8. <view>工厂账号</view>
  9. <input name='mobile' type="text" placeholder="api工厂注册的手机号码" placeholder-class="placeholder" />
  10. </view>
  11. <view class="input">
  12. <view>发票抬头</view>
  13. <input name='comName' type="text" placeholder="公司名称" placeholder-class="placeholder" value="{{wxInvoiceInfo.title}}" />
  14. </view>
  15. <view class="input">
  16. <view>税号</view>
  17. <input name='tfn' type="text" placeholder="填写税号" placeholder-class="placeholder" value="{{wxInvoiceInfo.taxNumber}}" />
  18. </view>
  19. <view class="input">
  20. <view>发票内容</view>
  21. <input name='consumption' value="服务费" type="text" placeholder="开票项目说明" placeholder-class="placeholder" />
  22. </view>
  23. <view class="input">
  24. <view>发票金额</view>
  25. <input name='amount' type="digit" placeholder="申请开票金额" placeholder-class="placeholder" />
  26. </view>
  27. <view class="input">
  28. <view>地址与电话</view>
  29. <input name='address' type="text" placeholder="发票栏目处填写的地址与电话" placeholder-class="placeholder" value="{{wxInvoiceInfo.companyAddress}}{{wxInvoiceInfo.telephone}}" />
  30. </view>
  31. <view class="input">
  32. <view>开户行与账号</view>
  33. <input name='bank' type="text" placeholder="发票栏目处填写的开户行与账号" placeholder-class="placeholder" value="{{wxInvoiceInfo.bankName}}{{wxInvoiceInfo.bankAccount}}" />
  34. </view>
  35. <view class="input">
  36. <view>备注</view>
  37. <input name='remark' type="text" placeholder="如有特殊说明,请告诉我们" placeholder-class="placeholder" />
  38. </view>
  39. </view>
  40. <view class="block-btn">
  41. <van-button type="primary" block form-type="submit">申请发票</van-button>
  42. <van-cell custom-class="go-list" title="申请开票记录" value="查询" is-link url="/pages/invoice/list" />
  43. </view>
  44. </form>