|
|
@ -220,7 +220,7 @@ |
|
|
|
<script> |
|
|
|
import req from '@/api/ruzhang/scmapplyinbound' |
|
|
|
import upload_picture from '@/components/uploadFile/upload_picture' |
|
|
|
import { getPathSidByUserSid, fetchBySid } from '@/api/cheliang/dictcommons' |
|
|
|
import { getOrgSidByPath, fetchBySid } from '@/api/cheliang/dictcommons' |
|
|
|
export default { |
|
|
|
name: 'ruzhangEdit', |
|
|
|
components: { |
|
|
@ -314,7 +314,7 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((resp) => { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj.useOrgSid = resp.data |
|
|
|
fetchBySid(this.formobj.useOrgSid).then((res) => { |
|
|
|