From 27a5f3d6eda201fc316e15ff10b87d58b66907a6 Mon Sep 17 00:00:00 2001 From: linfso Date: Thu, 20 Jun 2024 06:10:33 +0800 Subject: [PATCH] md --- .../EmisBaseTools/WarehouseInNoPicker.vue | 22 +++++++++---------- .../emisWaybill/waybillDetailReadOnly.vue | 2 +- src/views/system/notice/index.vue | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/emis/EmisBaseTools/WarehouseInNoPicker.vue b/src/views/emis/EmisBaseTools/WarehouseInNoPicker.vue index b4e1e651..d79210a1 100644 --- a/src/views/emis/EmisBaseTools/WarehouseInNoPicker.vue +++ b/src/views/emis/EmisBaseTools/WarehouseInNoPicker.vue @@ -6,11 +6,13 @@ clearable ref="selectRef" remote - :remote-method="remoteMethod" + :remote-method="queryData" v-model="svalue" :placeholder="placeholder" style="width:100%" - @change="onChange"> + @focus="onFocus" + @change="onChange" + > @@ -61,6 +63,10 @@ this.queryData(); }, methods: { + onFocus(val){ + this.optionItems=[]; + this.queryData(); + }, onChange(val) { let selCodeStr = ""; @@ -82,16 +88,10 @@ this.$emit('onChange', selCodeStr) }, - remoteMethod(queryVal) { + + queryData(val) { this.queryParams.pageNum=1; - this.queryParams.goodsName=queryVal; - this.queryData(); - }, - loadmore() { - this.queryParams.pageNum++; - this.queryData(); - }, - queryData() { + this.queryParams.inNo=val; listSimpleEmisWarehouseIn(this.queryParams).then(response => { this.filterData= response.rows this.filterData.forEach(item => { diff --git a/src/views/emis/emisWaybill/waybillDetailReadOnly.vue b/src/views/emis/emisWaybill/waybillDetailReadOnly.vue index 0f5de84d..f3b8c9f2 100644 --- a/src/views/emis/emisWaybill/waybillDetailReadOnly.vue +++ b/src/views/emis/emisWaybill/waybillDetailReadOnly.vue @@ -34,7 +34,7 @@ {{ form.sender.name }} {{ form.sender.phone }} {{ form.sender.company }} - {{ form.customerName }} + {{ form.customerName }} diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 94b4f35f..770ef249 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -123,7 +123,7 @@ /> - +