From 31dd18375d27574a28b162ceda130e722b9770f2 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 15 May 2024 13:41:09 +0800 Subject: [PATCH] md --- src/utils/TanexPrinterSdk.js | 6 ++++-- .../emis/EmisBaseTools/CustomerAddressSimplePicker.vue | 9 +++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/utils/TanexPrinterSdk.js b/src/utils/TanexPrinterSdk.js index 884146a5..e1ca81e9 100644 --- a/src/utils/TanexPrinterSdk.js +++ b/src/utils/TanexPrinterSdk.js @@ -9,6 +9,8 @@ printerIsRead:打印机已经OK的信号 + updatePrintStatus: 打印状态更新 + */ import { getToken } from '@/utils/auth' @@ -16,8 +18,8 @@ import { getToken } from '@/utils/auth' class TanexPrinterSdk { VERSION="1.0.0" MAX_SENT_RETRY_COUNT = 9; - // WS_URL = "ws://127.0.0.1:17080"; - WS_URL = "ws://192.168.88.100:17080"; + WS_URL = "ws://127.0.0.1:17080"; + // WS_URL = "ws://192.168.88.100:17080"; AUTH_TOKEN=null; WS_INIT = 0; diff --git a/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue b/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue index 3dea52b2..4496890a 100644 --- a/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue +++ b/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue @@ -153,18 +153,19 @@ export default { this.queryParams.searchValue = null; this.queryParams.pageNum = 1 this.getList(); - }, onclear(el){ this.splaceholder = this.placeholder; - this.slable = null; - this.svalue = null; + // this.slable = null; + // this.svalue = null; - this.queryParams.searchValue = null; + // this.queryParams.searchValue = null; this.queryParams.pageNum = 1; this.$emit("input", this.svalue); + this.dispatch('ElFormItem', 'el.form.blur', [this.svalue]); + this.dispatch('ElFormItem', 'el.form.change', [this.svalue]) if(this.visible){ this.getList();