# Invoice Header Feature Page

From the base library version 2.16.1 The feature page is deprecated and can be used directly. wx.chooseInvoiceTitle Implement the corresponding functionsto hit functional-page-navigator Will also no longer go to the function page, directly to the invoice header selection page.

file

The Invoice Header Feature page is used to display the user's list of invoice headers, from which the user can select the invoice header. Self-base library version 2.14.1 Start supporting.

# Call parameter

Invoice Header Function Page Use functional-page-navigator When the jump is made, the corresponding parameters Name Should be a fixed value chooseInvoiceTitle , returns the parameter with the wx.chooseInvoiceTitle Same.

bindsuccess Return Parameter Dxplaination:

attribute type Introductions
type string Head Up Type
title string Head Up Name
taxNumber string Header Tax Number
companyAddress string Unit Address
telephone string Phone number
bankName string Name of bank
bankAccount string Bank account number
errMsg string Error message

res.type The legal value of

value Introductions Minimum version
0 unit
1 personal

# sample code

<!--plugin/components/Hello-component.wxml-- >
  <functional-page-navigator
    name="chooseInvoiceTitle"
    version="develop"
    bind:success="onSuccess"
    bind:fail="onFail"
  >
    <button>Select Invoice Header</button>
  </functional-page-navigator>
// plugin/components/hello-component.js 
Component({
  methods: {
    onSuccess: function (res) {
      console.log(res.detail)
    },
    onFail: function (res) {
      console.log(res)
    }
  }
})