From 1330eb62443cb1773eb9db38e95d1dd1d5e06a4f Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 17 Jan 2023 09:12:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E7=AE=A1=E7=90=86--=E4=B8=8E=E5=88=87=E6=8D=A2=E6=9C=BA?= =?UTF-8?q?=E6=9E=84=E5=8A=9F=E8=83=BD=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/gongyingshang/gongyingshanggaunli.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshanggaunli.vue b/anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshanggaunli.vue index 95ed99e8c9..73f004ae21 100644 --- a/anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshanggaunli.vue +++ b/anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshanggaunli.vue @@ -90,7 +90,7 @@ import Pagination from '@/components/pagination' import pageye from '@/components/pagination/pageye' import ButtonBar from '@/components/ButtonBar' -import { typeValues, getPathSidByUserSid } from '@/api/cheliang/dictcommons' +import { typeValues, getOrgSidByPath } from '@/api/cheliang/dictcommons' import gongyingshangAdd from './gongyingshangAdd' import gongyingshangInfo from './gongyingshangInfo' import req from '@/api/gongyingshang/gongyingshang' @@ -224,7 +224,7 @@ export default { } }, init() { - getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { + getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { if (res.success) { this.listQuery.params.createOrgSid = res.data this.getType()