shish 1 год назад
Родитель
Сommit
7cee1c1d86
1 измененных файлов с 0 добавлено и 21 удалено
  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()
     // #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: {
     gotoOrderDetail() {
       let id = this.option.orderId ? this.option.orderId : 0