1234567891011121314151617181920212223242526272829303132333435 |
- 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-订单');
- }
- })
|