2 Commits

Author SHA1 Message Date
魏保林
88128a7fae Merge branch 'hotfix' of http://carsafe.uicp.cn/Front_Team/SPDM into hotfix 2026-03-30 15:49:02 +08:00
魏保林
86e6f7605a 关联需求得表头分工业设计 2026-03-30 15:48:57 +08:00

View File

@@ -6,7 +6,11 @@
v-model:data="demandInfo" v-model:data="demandInfo"
:show-disabled="true" :show-disabled="true"
ref="tableFormRef" ref="tableFormRef"
:tableName="demandFormName" :tableName="
demandInfo.demandType === '工业设计'
? 'SIMULATION_TASK_DEMAND_INDUSTRIAL_CREATE'
: 'SIMULATION_TASK_DEMAND_CREATE'
"
:colNum="3" :colNum="3"
:hideKeys="hideKeys" :hideKeys="hideKeys"
> >
@@ -59,12 +63,6 @@ const tableFormRef = ref();
const hideKeys = ref(['attachments']); const hideKeys = ref(['attachments']);
const demandFormName = computed(() => {
return demandInfo.value.demandType === '工业设计'
? 'SIMULATION_TASK_DEMAND_INDUSTRIAL_CREATE'
: 'SIMULATION_TASK_DEMAND_CREATE';
});
const getDemandInfoFun = async () => { const getDemandInfoFun = async () => {
const res: any = await getDemandDetailApi({ demandId: props.demandUid }); const res: any = await getDemandDetailApi({ demandId: props.demandUid });
if (res.code === 200) { if (res.code === 200) {