|
|
@ -99,7 +99,7 @@ |
|
|
|
<!-- 详情 --> |
|
|
|
<Detail |
|
|
|
ref="detailRef" |
|
|
|
:annexTable="[ |
|
|
|
:annexTable="switchCurriculumVitae?[ |
|
|
|
annexInspectionDetail, |
|
|
|
{ |
|
|
|
label: '履历表', |
|
|
@ -113,6 +113,8 @@ |
|
|
|
limit:999999, |
|
|
|
align: 'left', |
|
|
|
} |
|
|
|
]:[ |
|
|
|
annexInspectionDetail |
|
|
|
]" |
|
|
|
:isBasic="false" |
|
|
|
:allSchemas="SupplierdeliverRequestMain.allSchemas" |
|
|
@ -219,6 +221,9 @@ import labelForm from './labelForm.vue' |
|
|
|
import { getJmreportBaseUrl } from '@/utils/systemParam' |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
import { getBaseUrl } from '@/utils/systemParam' |
|
|
|
import * as SwitchApi from '@/api/wms/switch' |
|
|
|
import { fa } from 'element-plus/es/locale' |
|
|
|
|
|
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
|
// 供应商发货申请 |
|
|
|
defineOptions({ name: 'SupplierdeliverRequestMain' }) |
|
|
@ -544,7 +549,7 @@ const butttondata = (row, $index) => { |
|
|
|
{ |
|
|
|
label: t('ts.上传履历表'), |
|
|
|
name: 'mainPlanCurriculumVitae', |
|
|
|
hide: row.status==5, |
|
|
|
hide: !switchCurriculumVitae.value||row.status==5, |
|
|
|
type: 'primary', |
|
|
|
icon: '', |
|
|
|
color: '', |
|
|
@ -1339,10 +1344,13 @@ const getDefaultSupplier = async () => { |
|
|
|
} |
|
|
|
console.log('defaultSupplierCode', defaultSupplierCode) |
|
|
|
} |
|
|
|
|
|
|
|
const switchCurriculumVitae = ref(false) |
|
|
|
/** 初始化 **/ |
|
|
|
onMounted(async () => { |
|
|
|
getDefaultSupplier() |
|
|
|
let switch2 = await SwitchApi.getByCode('supplerUploadResumeFlag') |
|
|
|
switchCurriculumVitae.value = switch2=='TRUE' |
|
|
|
console.log('switchCurriculumVitae',switchCurriculumVitae.value) |
|
|
|
|
|
|
|
getList() |
|
|
|
importTemplateData.templateUrl = await SupplierdeliverRequestMainApi.importTemplate() |
|
|
|