123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- Component({
- options: {
- multipleSlots: true
- },
-
- properties: {
- confirmText: {
- type: String,
- value: '确定'
- }
- },
-
- data: {
-
- isShow: false,
- errMsg: '',
- cashCode: ''
- },
-
- methods: {
-
- hideDialog() {
- this.setData({
- isShow: !this.data.isShow
- })
- },
-
- showDialog() {
- this.setData({
- isShow: !this.data.isShow
- })
- },
- cashCodeInput(e){
- this.setData({
- cashCode: e.detail.value
- })
- },
- getCashCode(){
- return this.data.cashCode;
- },
- setErrMsg(_errMsg){
- this.setData({
- errMsg: _errMsg
- })
- },
- confirmEvent() {
- this.triggerEvent('customevent');
- }
- }
- })
|