| | |
| | | }); |
| | | }, |
| | | getBarcode() { |
| | | |
| | | // 添加防抖判断 |
| | | if (this.isLoading) { |
| | | return; |
| | | } |
| | | |
| | | //this.barcode = value; |
| | | |
| | | var that = this; |
| | |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | that.ItemBlDetail = json.data.pendingList; |
| | | that.$notify({ type: 'success', message: '扫描成功' }); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | | that.num = ""; |
| | | that.splitNum = ""; |
| | | that.$notify({ type: 'success', message: json.message }); |
| | | that.$playSound('success'); |
| | | that.GetMesItemBlDetailByBillNo(); |
| | | //that.sendMessage(json.data.tbBillList); |
| | | that.sendPrintMessage(json.data.tbBillList); |
| | | |
| | | that.$refs.barcode.focus(); |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |