licp
2024-09-14 a28a7e0dc8992c39004ad0b34d2624390024f3af
src/components/view/b1-sample.vue
@@ -446,20 +446,13 @@
    methods: {
      keyup(e){
        var code = ''
        var str = {}
        var that = this;
        console.log(3333,this.codeInfo)
        // console.log(3333,this.codeInfo,e)
        try{
            code = JSON.parse(this.codeInfo)
            if(code.moNo2==null||code.moNo2==undefined||code.moNo2==''){
            if(code==null||code==undefined||code==''){
                this.$message.error('该二维码有误')
            }else{
                str = {
                    moNo2: code.moNo2,
                }
                // if(this.storageVisible){
                // }else if(this.exportVisible){}
                this.sampleCode = code.moNo2
                this.sampleCode = code
            }
        }catch(e){
            this.$message.error('该二维码有误')