纸通宝SAAS仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

37 lines
829 B

// pages/home/qrcode/index.js
import Scene from '../../index/scene'
import { getCustomerList } from "../../../api/saas"
const util = require('../../../utils/util')
const app = getApp()
Scene({
/**
* 页面的初始数据
*/
data: {
settleType: '1',
paymentType: '1',
userInfo: {}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.setData({ userInfo: app.userInfo})
},
onTypeChange: function({detail}){
this.setData({ settleType: detail })
},
onTypeClick(e) {
this.setData({ settleType: e.currentTarget.dataset.name })
},
onPaymentChange: function({detail}){
this.setData({ paymentType: detail })
},
onPaymentClick(e) {
this.setData({ paymentType: e.currentTarget.dataset.name })
},
submitForm: function () {
}
})