Page({ data: { form: { userid: 0 } }, handlePopup() { this.setData({ visible: true }) }, onSelect(e) { this.data.form.enterprisename = e.detail.enterprisename this.data.form.sys_enterpriseid = e.detail.sys_enterpriseid this.setData({ form: this.data.form }) }, inputChange(e) { let name = e.currentTarget.dataset.name this.data.form[name] = e.detail.value }, onConfirm() { let pages = getCurrentPages()[getCurrentPages().length - 2] pages.getAddTrainers(this.data.form) wx.navigateBack() }, onLoad() { getApp().globalData.Language.getLanguagePackage(this, 'E-订单'); } })