shish 1 vuosi sitten
vanhempi
commit
7cee1c1d86
1 muutettua tiedostoa jossa 0 lisäystä ja 21 poistoa
  1. 0 21
      ghsApp/src/admin/billing/toPay.vue

+ 0 - 21
ghsApp/src/admin/billing/toPay.vue

@@ -96,27 +96,6 @@ export default {
     this.beginScan()
     this.beginScan()
     // #endif
     // #endif
   },
   },
-  onReady() {
-    uni.$on(this.typescan,(data)=>{
-      if (!this.$util.isEmpty(data.result)){
-
-        let payCode = res.result
-        let newPayCode = payCode.replace(/\s+/g, "")
-        if(that.$util.isEmpty(newPayCode)){
-          that.$msg('没扫到,请重新扫哦')
-          return false
-        }
-        if(!that.isAllDigits(newPayCode)){
-          that.$msg('没扫到,请重新扫')
-          return false
-        }
-
-        this.requestCodePay(newPayCode)
-      }else{
-        this.$msg('扫码没有成功')
-      }
-    })
-	},
   methods: {
   methods: {
     gotoOrderDetail() {
     gotoOrderDetail() {
       let id = this.option.orderId ? this.option.orderId : 0
       let id = this.option.orderId ? this.option.orderId : 0