|
|
@ -139,7 +139,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import req from '@/api/supplychain/cheliangneigou' |
|
|
|
import { getPathSidByUserSid, typeValues, fetchBySid, brandDown, getListOrgByBrandSid, getListDeptByOrgSid } from '@/api/cheliang/dictcommons.js' |
|
|
|
import { getOrgSidByPath, typeValues, fetchBySid, brandDown, getListOrgByBrandSid, getListDeptByOrgSid } from '@/api/cheliang/dictcommons.js' |
|
|
|
import vehicle from './vehicleselect' |
|
|
|
|
|
|
|
export default { |
|
|
@ -193,6 +193,7 @@ export default { |
|
|
|
brandSid: '', |
|
|
|
callInBuyerOrgName: '', |
|
|
|
callInBuyerOrgSid: '', |
|
|
|
orgPath: '', |
|
|
|
baseInternalPurchaseVehicles: [] |
|
|
|
}, |
|
|
|
rules: {}, |
|
|
@ -209,7 +210,7 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
getUserOrg() { |
|
|
|
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj.useOrgSid = res.data |
|
|
|
this.formobj.createOrgSid = res.data |
|
|
@ -315,6 +316,7 @@ export default { |
|
|
|
}) |
|
|
|
this.formobj.applyPeoName = window.sessionStorage.getItem('name') |
|
|
|
this.formobj.createBySid = window.sessionStorage.getItem('userSid') |
|
|
|
this.formobj.orgPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
this.formobj.shuntingTypeKey = '02' |
|
|
|
this.formobj.shuntingTypeValue = '调出' |
|
|
|
this.viewTitle = '【新增】分公司间调车申请' |
|
|
@ -436,6 +438,7 @@ export default { |
|
|
|
brandSid: '', |
|
|
|
callInBuyerOrgName: '', |
|
|
|
callInBuyerOrgSid: '', |
|
|
|
orgPath: '', |
|
|
|
baseInternalPurchaseVehicles: [] |
|
|
|
} |
|
|
|
this.submitdisabled = false |
|
|
|