From 732c4b84b40eaabbbff0e7507ff3ed7261a060b1 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Sat, 27 Sep 2025 23:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E4=BE=9B=E5=BA=94=E5=95=86=E5=92=8C?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=9A=84=E6=9F=A5=E8=AF=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E9=99=90=E5=88=B6=E7=9A=84=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/bill/dialog/HistoryBillList.vue | 8 ++++---- .../src/views/bill/mixins/BillListMixin.js | 12 +++++------ .../src/views/bill/mixins/BillModalMixin.js | 12 +++++------ .../views/bill/modules/PurchaseBackModal.vue | 2 +- .../views/bill/modules/PurchaseInModal.vue | 2 +- .../src/views/bill/modules/SaleBackModal.vue | 2 +- .../src/views/bill/modules/SaleOutModal.vue | 2 +- .../views/financial/dialog/WaitNeedList.vue | 8 ++++---- .../financial/mixins/FinancialListMixin.js | 16 +++++++-------- .../financial/mixins/FinancialModalMixin.js | 20 +++++++++---------- .../src/views/report/AllocationDetail.vue | 2 +- jshERP-web/src/views/report/BuyInReport.vue | 4 ++-- .../src/views/report/CustomerAccount.vue | 4 ++-- jshERP-web/src/views/report/InDetail.vue | 4 ++-- .../src/views/report/InMaterialCount.vue | 4 ++-- jshERP-web/src/views/report/OutDetail.vue | 4 ++-- .../src/views/report/OutMaterialCount.vue | 4 ++-- .../src/views/report/RetailOutReport.vue | 4 ++-- jshERP-web/src/views/report/SaleOutReport.vue | 4 ++-- jshERP-web/src/views/report/VendorAccount.vue | 4 ++-- 20 files changed, 61 insertions(+), 61 deletions(-) diff --git a/jshERP-web/src/views/bill/dialog/HistoryBillList.vue b/jshERP-web/src/views/bill/dialog/HistoryBillList.vue index 24f77832..01fc1254 100644 --- a/jshERP-web/src/views/bill/dialog/HistoryBillList.vue +++ b/jshERP-web/src/views/bill/dialog/HistoryBillList.vue @@ -213,7 +213,7 @@ }, loadSupplier(organType, organId) { if(organType === '供应商') { - findBySelectSup({}).then((res)=>{ + findBySelectSup({limit:1}).then((res)=>{ if(res) { this.supplierList = res if(organId) { @@ -223,7 +223,7 @@ } }) } else if(organType === '客户') { - findBySelectCus({}).then((res)=>{ + findBySelectCus({limit:1}).then((res)=>{ if(res) { this.supplierList = res if(organId) { @@ -241,7 +241,7 @@ } if(this.organLabel === '供应商') { this.setTimeFlag = setTimeout(() => { - findBySelectSup({ key: value }).then((res) => { + findBySelectSup({ key: value, limit:1 }).then((res) => { if (res) { that.supplierList = res; } @@ -249,7 +249,7 @@ }, 500) } else if(this.organLabel === '客户') { this.setTimeFlag = setTimeout(() => { - findBySelectCus({ key: value }).then((res) => { + findBySelectCus({ key: value, limit:1 }).then((res) => { if (res) { that.supplierList = res; } diff --git a/jshERP-web/src/views/bill/mixins/BillListMixin.js b/jshERP-web/src/views/bill/mixins/BillListMixin.js index f1d45552..3c488c13 100644 --- a/jshERP-web/src/views/bill/mixins/BillListMixin.js +++ b/jshERP-web/src/views/bill/mixins/BillListMixin.js @@ -616,7 +616,7 @@ export const BillListMixin = { }, initSupplier() { let that = this; - findBySelectSup({}).then((res)=>{ + findBySelectSup({limit:1}).then((res)=>{ if(res) { that.supList = res; } @@ -624,7 +624,7 @@ export const BillListMixin = { }, initCustomer() { let that = this; - findBySelectCus({}).then((res)=>{ + findBySelectCus({limit:1}).then((res)=>{ if(res) { that.cusList = res; } @@ -632,7 +632,7 @@ export const BillListMixin = { }, initRetail() { let that = this; - findBySelectRetail({}).then((res)=>{ + findBySelectRetail({limit:1}).then((res)=>{ if(res) { that.retailList = res; } @@ -725,7 +725,7 @@ export const BillListMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectSup({key: value}).then((res) => { + findBySelectSup({key: value, limit:1}).then((res) => { if(res) { that.supList = res; } @@ -738,7 +738,7 @@ export const BillListMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectCus({key: value}).then((res) => { + findBySelectCus({key: value, limit:1}).then((res) => { if(res) { that.cusList = res; } @@ -751,7 +751,7 @@ export const BillListMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectRetail({key: value}).then((res) => { + findBySelectRetail({key: value, limit:1}).then((res) => { if(res) { that.retailList = res; } diff --git a/jshERP-web/src/views/bill/mixins/BillModalMixin.js b/jshERP-web/src/views/bill/mixins/BillModalMixin.js index 22f44d41..5270d5d2 100644 --- a/jshERP-web/src/views/bill/mixins/BillModalMixin.js +++ b/jshERP-web/src/views/bill/mixins/BillModalMixin.js @@ -204,7 +204,7 @@ export const BillModalMixin = { }, initSupplier(isChecked) { let that = this; - findBySelectSup({organId: this.model.organId}).then((res)=>{ + findBySelectSup({organId: this.model.organId, limit:1}).then((res)=>{ if(res) { that.supList = res if(isChecked && res.length>0) { @@ -215,7 +215,7 @@ export const BillModalMixin = { }, initCustomer(isChecked) { let that = this; - findBySelectCus({organId: this.model.organId}).then((res)=>{ + findBySelectCus({organId: this.model.organId, limit:1}).then((res)=>{ if(res) { that.cusList = res if(isChecked && res.length>0) { @@ -226,7 +226,7 @@ export const BillModalMixin = { }, initRetail(isChecked) { let that = this; - findBySelectRetail({organId: this.model.organId}).then((res)=>{ + findBySelectRetail({organId: this.model.organId, limit:1}).then((res)=>{ if(res) { that.retailList = res if(isChecked && res.length>0) { @@ -290,7 +290,7 @@ export const BillModalMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectSup({key: value}).then((res) => { + findBySelectSup({key: value, limit:1}).then((res) => { if(res) { that.supList = res; } @@ -303,7 +303,7 @@ export const BillModalMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectCus({key: value}).then((res) => { + findBySelectCus({key: value, limit:1}).then((res) => { if(res) { that.cusList = res; } @@ -316,7 +316,7 @@ export const BillModalMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectRetail({key: value}).then((res) => { + findBySelectRetail({key: value, limit:1}).then((res) => { if(res) { that.retailList = res; } diff --git a/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue b/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue index c3877766..731ae48a 100644 --- a/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue +++ b/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue @@ -451,7 +451,7 @@ 'accountId': accountId, 'remark': remark }) - findBySelectSup({organId: organId}).then((res)=> { + findBySelectSup({organId: organId, limit:1}).then((res)=> { this.supList = res && Array.isArray(res) ? res : []; }) getCurrentSystemConfig().then((res) => { diff --git a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue index ed30befe..a08c1d16 100644 --- a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue +++ b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue @@ -510,7 +510,7 @@ 'accountId': accountId, 'remark': remark }) - findBySelectSup({organId: organId}).then((res)=> { + findBySelectSup({organId: organId, limit:1}).then((res)=> { this.supList = res && Array.isArray(res) ? res : []; }) getCurrentSystemConfig().then((res) => { diff --git a/jshERP-web/src/views/bill/modules/SaleBackModal.vue b/jshERP-web/src/views/bill/modules/SaleBackModal.vue index 454b7b70..ef675310 100644 --- a/jshERP-web/src/views/bill/modules/SaleBackModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleBackModal.vue @@ -461,7 +461,7 @@ 'accountId': accountId, 'remark': remark }) - findBySelectCus({organId: organId}).then((res)=> { + findBySelectCus({organId: organId, limit:1}).then((res)=> { this.cusList = res && Array.isArray(res) ? res : []; }) getCurrentSystemConfig().then((res) => { diff --git a/jshERP-web/src/views/bill/modules/SaleOutModal.vue b/jshERP-web/src/views/bill/modules/SaleOutModal.vue index dfa6e103..c6423f35 100644 --- a/jshERP-web/src/views/bill/modules/SaleOutModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleOutModal.vue @@ -527,7 +527,7 @@ 'accountId': accountId, 'remark': remark }) - findBySelectCus({organId: organId}).then((res)=> { + findBySelectCus({organId: organId, limit:1}).then((res)=> { this.cusList = res && Array.isArray(res) ? res : []; }) getCurrentSystemConfig().then((res) => { diff --git a/jshERP-web/src/views/financial/dialog/WaitNeedList.vue b/jshERP-web/src/views/financial/dialog/WaitNeedList.vue index 92052937..6a2c6f13 100644 --- a/jshERP-web/src/views/financial/dialog/WaitNeedList.vue +++ b/jshERP-web/src/views/financial/dialog/WaitNeedList.vue @@ -151,13 +151,13 @@ initSupplier() { let that = this if(this.organType === '客户') { - findBySelectCus({}).then((res) => { + findBySelectCus({limit:1}).then((res) => { if (res) { that.supList = res } }) } else if(this.organType === '供应商') { - findBySelectSup({}).then((res) => { + findBySelectSup({limit:1}).then((res) => { if (res) { that.supList = res; } @@ -171,7 +171,7 @@ } if(this.organType === '客户') { this.setTimeFlag = setTimeout(() => { - findBySelectCus({ key: value }).then((res) => { + findBySelectCus({ key: value, limit:1 }).then((res) => { if (res) { that.supList = res } @@ -179,7 +179,7 @@ }, 500) } else if(this.organType === '供应商') { this.setTimeFlag = setTimeout(() => { - findBySelectSup({ key: value }).then((res) => { + findBySelectSup({ key: value, limit:1 }).then((res) => { if (res) { that.supList = res; } diff --git a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js index 065125d3..9de8a235 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js @@ -126,7 +126,7 @@ export const FinancialListMixin = { }, initSupplier() { let that = this; - findBySelectSup({}).then((res)=>{ + findBySelectSup({limit:1}).then((res)=>{ if(res) { that.supList = res; } @@ -134,7 +134,7 @@ export const FinancialListMixin = { }, initCustomer() { let that = this; - findBySelectCus({}).then((res)=>{ + findBySelectCus({limit:1}).then((res)=>{ if(res) { that.cusList = res; } @@ -142,7 +142,7 @@ export const FinancialListMixin = { }, initOrgan() { let that = this; - findBySelectOrgan({}).then((res)=>{ + findBySelectOrgan({limit:1}).then((res)=>{ if(res) { that.organList = res; } @@ -150,7 +150,7 @@ export const FinancialListMixin = { }, initRetail() { let that = this; - findBySelectRetail({}).then((res)=>{ + findBySelectRetail({limit:1}).then((res)=>{ if(res) { that.retailList = res; } @@ -198,7 +198,7 @@ export const FinancialListMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectSup({key: value}).then((res) => { + findBySelectSup({key: value, limit:1}).then((res) => { if(res) { that.supList = res; } @@ -211,7 +211,7 @@ export const FinancialListMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectCus({key: value}).then((res) => { + findBySelectCus({key: value, limit:1}).then((res) => { if(res) { that.cusList = res; } @@ -224,7 +224,7 @@ export const FinancialListMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectOrgan({key: value}).then((res) => { + findBySelectOrgan({key: value, limit:1}).then((res) => { if(res) { that.organList = res; } @@ -237,7 +237,7 @@ export const FinancialListMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectRetail({key: value}).then((res) => { + findBySelectRetail({key: value, limit:1}).then((res) => { if(res) { that.retailList = res; } diff --git a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js index 25894292..345b3247 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js @@ -101,7 +101,7 @@ export const FinancialModalMixin = { }, initSupplier() { let that = this; - findBySelectSup({organId: this.model.organId}).then((res)=>{ + findBySelectSup({organId: this.model.organId, limit:1}).then((res)=>{ if(res) { that.supList = res; } @@ -109,7 +109,7 @@ export const FinancialModalMixin = { }, initCustomer() { let that = this; - findBySelectCus({organId: this.model.organId}).then((res)=>{ + findBySelectCus({organId: this.model.organId, limit:1}).then((res)=>{ if(res) { that.cusList = res; } @@ -117,7 +117,7 @@ export const FinancialModalMixin = { }, initOrgan() { let that = this; - findBySelectOrgan({organId: this.model.organId}).then((res)=>{ + findBySelectOrgan({organId: this.model.organId, limit:1}).then((res)=>{ if(res) { that.organList = res; } @@ -125,7 +125,7 @@ export const FinancialModalMixin = { }, initRetail() { let that = this; - findBySelectRetail({organId: this.model.organId}).then((res)=>{ + findBySelectRetail({organId: this.model.organId, limit:1}).then((res)=>{ if(res) { that.retailList = res; } @@ -194,7 +194,7 @@ export const FinancialModalMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectSup({key: value}).then((res) => { + findBySelectSup({key: value, limit:1}).then((res) => { if(res) { that.supList = res; } @@ -207,7 +207,7 @@ export const FinancialModalMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectCus({key: value}).then((res) => { + findBySelectCus({key: value, limit:1}).then((res) => { if(res) { that.cusList = res; } @@ -220,7 +220,7 @@ export const FinancialModalMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectOrgan({key: value}).then((res) => { + findBySelectOrgan({key: value, limit:1}).then((res) => { if(res) { that.organList = res; } @@ -233,7 +233,7 @@ export const FinancialModalMixin = { clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectRetail({key: value}).then((res) => { + findBySelectRetail({key: value, limit:1}).then((res) => { if(res) { that.retailList = res; } @@ -291,11 +291,11 @@ export const FinancialModalMixin = { if(organId) { this.form.setFieldsValue({'organId': organId}) if(organType === '供应商') { - findBySelectSup({organId: organId}).then((res)=> { + findBySelectSup({organId: organId, limit:1}).then((res)=> { this.supList = res && Array.isArray(res) ? res : []; }) } else if(organType === '客户') { - findBySelectCus({organId: organId}).then((res)=> { + findBySelectCus({organId: organId, limit:1}).then((res)=> { this.cusList = res && Array.isArray(res) ? res : []; }) } diff --git a/jshERP-web/src/views/report/AllocationDetail.vue b/jshERP-web/src/views/report/AllocationDetail.vue index b8c3602f..d51bb411 100644 --- a/jshERP-web/src/views/report/AllocationDetail.vue +++ b/jshERP-web/src/views/report/AllocationDetail.vue @@ -303,7 +303,7 @@ }, initSupplier() { let that = this; - findBySelectSup({}).then((res)=>{ + findBySelectSup({limit:1}).then((res)=>{ if(res) { that.supList = res; } diff --git a/jshERP-web/src/views/report/BuyInReport.vue b/jshERP-web/src/views/report/BuyInReport.vue index 31364dc9..9da9cf6b 100644 --- a/jshERP-web/src/views/report/BuyInReport.vue +++ b/jshERP-web/src/views/report/BuyInReport.vue @@ -283,7 +283,7 @@ }, initSupplier() { let that = this; - findBySelectSup({}).then((res)=>{ + findBySelectSup({limit:1}).then((res)=>{ if(res) { that.supList = res } @@ -295,7 +295,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectSup({key: value}).then((res) => { + findBySelectSup({key: value, limit:1}).then((res) => { if(res) { that.supList = res; } diff --git a/jshERP-web/src/views/report/CustomerAccount.vue b/jshERP-web/src/views/report/CustomerAccount.vue index fcb68e4e..300a0c0e 100644 --- a/jshERP-web/src/views/report/CustomerAccount.vue +++ b/jshERP-web/src/views/report/CustomerAccount.vue @@ -231,7 +231,7 @@ }, initCustomer() { let that = this; - findBySelectCus({}).then((res)=>{ + findBySelectCus({limit:1}).then((res)=>{ if(res) { that.cusList = res; } @@ -243,7 +243,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectCus({key: value}).then((res) => { + findBySelectCus({key: value, limit:1}).then((res) => { if(res) { that.cusList = res; } diff --git a/jshERP-web/src/views/report/InDetail.vue b/jshERP-web/src/views/report/InDetail.vue index 5b50ae0d..eefa51d1 100644 --- a/jshERP-web/src/views/report/InDetail.vue +++ b/jshERP-web/src/views/report/InDetail.vue @@ -320,7 +320,7 @@ }, initOrgan() { let that = this; - findBySelectOrgan({}).then((res)=>{ + findBySelectOrgan({limit:1}).then((res)=>{ if(res) { that.organList = res; } @@ -332,7 +332,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectOrgan({key: value}).then((res) => { + findBySelectOrgan({key: value, limit:1}).then((res) => { if(res) { that.organList = res; } diff --git a/jshERP-web/src/views/report/InMaterialCount.vue b/jshERP-web/src/views/report/InMaterialCount.vue index b11f1875..24ef6982 100644 --- a/jshERP-web/src/views/report/InMaterialCount.vue +++ b/jshERP-web/src/views/report/InMaterialCount.vue @@ -276,7 +276,7 @@ }, initOrgan() { let that = this; - findBySelectOrgan({}).then((res)=>{ + findBySelectOrgan({limit:1}).then((res)=>{ if(res) { that.organList = res; } @@ -288,7 +288,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectOrgan({key: value}).then((res) => { + findBySelectOrgan({key: value, limit:1}).then((res) => { if(res) { that.organList = res; } diff --git a/jshERP-web/src/views/report/OutDetail.vue b/jshERP-web/src/views/report/OutDetail.vue index 8239f4a0..63384aa1 100644 --- a/jshERP-web/src/views/report/OutDetail.vue +++ b/jshERP-web/src/views/report/OutDetail.vue @@ -320,7 +320,7 @@ }, initOrgan() { let that = this; - findBySelectOrgan({}).then((res)=>{ + findBySelectOrgan({limit:1}).then((res)=>{ if(res) { that.organList = res; } @@ -332,7 +332,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectOrgan({key: value}).then((res) => { + findBySelectOrgan({key: value, limit:1}).then((res) => { if(res) { that.organList = res; } diff --git a/jshERP-web/src/views/report/OutMaterialCount.vue b/jshERP-web/src/views/report/OutMaterialCount.vue index fa5ff495..7febdc6e 100644 --- a/jshERP-web/src/views/report/OutMaterialCount.vue +++ b/jshERP-web/src/views/report/OutMaterialCount.vue @@ -276,7 +276,7 @@ }, initOrgan() { let that = this; - findBySelectOrgan({}).then((res)=>{ + findBySelectOrgan({limit:1}).then((res)=>{ if(res) { that.organList = res; } @@ -288,7 +288,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectOrgan({key: value}).then((res) => { + findBySelectOrgan({key: value, limit:1}).then((res) => { if(res) { that.organList = res; } diff --git a/jshERP-web/src/views/report/RetailOutReport.vue b/jshERP-web/src/views/report/RetailOutReport.vue index d2292c6c..7bd049eb 100644 --- a/jshERP-web/src/views/report/RetailOutReport.vue +++ b/jshERP-web/src/views/report/RetailOutReport.vue @@ -285,7 +285,7 @@ }, initRetail() { let that = this; - findBySelectRetail({}).then((res)=>{ + findBySelectRetail({limit:1}).then((res)=>{ if(res) { that.retailList = res } @@ -297,7 +297,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectRetail({key: value}).then((res) => { + findBySelectRetail({key: value, limit:1}).then((res) => { if(res) { that.supList = res; } diff --git a/jshERP-web/src/views/report/SaleOutReport.vue b/jshERP-web/src/views/report/SaleOutReport.vue index dd45f5b1..5293c37f 100644 --- a/jshERP-web/src/views/report/SaleOutReport.vue +++ b/jshERP-web/src/views/report/SaleOutReport.vue @@ -285,7 +285,7 @@ }, initCustomer() { let that = this; - findBySelectCus({}).then((res)=>{ + findBySelectCus({limit:1}).then((res)=>{ if(res) { that.cusList = res } @@ -297,7 +297,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectCus({key: value}).then((res) => { + findBySelectCus({key: value, limit:1}).then((res) => { if(res) { that.supList = res; } diff --git a/jshERP-web/src/views/report/VendorAccount.vue b/jshERP-web/src/views/report/VendorAccount.vue index 7d14a573..a4a880eb 100644 --- a/jshERP-web/src/views/report/VendorAccount.vue +++ b/jshERP-web/src/views/report/VendorAccount.vue @@ -231,7 +231,7 @@ }, initSupplier() { let that = this; - findBySelectSup({}).then((res)=>{ + findBySelectSup({limit:1}).then((res)=>{ if(res) { that.supList = res; } @@ -243,7 +243,7 @@ clearTimeout(this.setTimeFlag); } this.setTimeFlag = setTimeout(()=>{ - findBySelectSup({key: value}).then((res) => { + findBySelectSup({key: value, limit:1}).then((res) => { if(res) { that.supList = res; }