Browse Source

完善供应商管理--与切换机构功能相关修改

zhanglei
yunuo970428 2 years ago
parent
commit
1330eb6244
  1. 4
      anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshanggaunli.vue

4
anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshanggaunli.vue

@ -90,7 +90,7 @@
import Pagination from '@/components/pagination' import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye' import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar' import ButtonBar from '@/components/ButtonBar'
import { typeValues, getPathSidByUserSid } from '@/api/cheliang/dictcommons' import { typeValues, getOrgSidByPath } from '@/api/cheliang/dictcommons'
import gongyingshangAdd from './gongyingshangAdd' import gongyingshangAdd from './gongyingshangAdd'
import gongyingshangInfo from './gongyingshangInfo' import gongyingshangInfo from './gongyingshangInfo'
import req from '@/api/gongyingshang/gongyingshang' import req from '@/api/gongyingshang/gongyingshang'
@ -224,7 +224,7 @@ export default {
} }
}, },
init() { init() {
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => {
if (res.success) { if (res.success) {
this.listQuery.params.createOrgSid = res.data this.listQuery.params.createOrgSid = res.data
this.getType() this.getType()

Loading…
Cancel
Save