From 3a5ab5a4b948628bef1f4b736c8110eb8c1bac74 Mon Sep 17 00:00:00 2001 From: x_z Date: Fri, 14 Apr 2023 10:19:13 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E5=BA=93=E5=AD=98=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E4=BE=9B=E5=BA=94=E5=95=86=E5=90=8D=E7=A7=B0=E5=80=99?= =?UTF-8?q?=E9=80=89=E6=95=B0=E6=8D=AE=E6=9F=A5=E4=B8=8D=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/InvSupProuducts.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/inventory/InvSupProuducts.vue b/src/views/inventory/InvSupProuducts.vue index 1ee511e..3d979ac 100644 --- a/src/views/inventory/InvSupProuducts.vue +++ b/src/views/inventory/InvSupProuducts.vue @@ -333,15 +333,17 @@ export default { key: key, corpType: 2, page: 1, - limit: 20, - name:this.$store.getters.companyName + limit: 20 }; + if (this.$store.getters.customerId !== 110) { + params.name = this.$store.getters.companyName; + } getBasicUnitMaintains(params).then((res) => { this.corpLoading = false; this.fromOptions = res.data.list || []; }).catch(() => { this.corpLoading = false; - }) + }); }, corpChange(value) { if (!isBlank(value)) {