|
|
@ -123,10 +123,10 @@ import req from '@/api/specialrebate/specialrebatecheck' |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import { brandDown, getPathSidByUserSid } from '@/api/cheliang/dictcommons' |
|
|
|
import { brandDown, getOrgSidByPath } from '@/api/cheliang/dictcommons' |
|
|
|
import specialrebatecheckAdd from './specialrebatecheckAdd' |
|
|
|
import specialrebatecheckInfo from './specialrebatecheckInfo' |
|
|
|
import {getStorage} from "@/utils/auth"; |
|
|
|
import {getStorage} from '@/utils/auth' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'specialrebatecheck', |
|
|
@ -220,7 +220,7 @@ export default { |
|
|
|
this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params))) |
|
|
|
}, |
|
|
|
init() { |
|
|
|
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((resp) => { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.listQuery.params.createOrgSid = resp.data |
|
|
|
brandDown({ useOrg: this.listQuery.params.createOrgSid }).then((res) => { |
|
|
|