|
@@ -49,7 +49,7 @@
|
|
|
taskDataInfo.value = {
|
|
|
...resData,
|
|
|
assignId: data.baseData.assignId,
|
|
|
- materialId: data.baseData.materialId,
|
|
|
+ materialId: data.baseData.assignId,
|
|
|
};
|
|
|
|
|
|
if (taskDataInfo.value?.materialCategory === 'MT0002') {
|
|
@@ -85,7 +85,7 @@
|
|
|
if (unref(isUpdate)) {
|
|
|
const record = await getMaterialtaskViewContents({
|
|
|
templateId: templateId,
|
|
|
- id: taskDataInfo.value.materialId,
|
|
|
+ id: taskDataInfo.value.assignId,
|
|
|
});
|
|
|
formRef.value.setFieldsValue(record);
|
|
|
//获取表单数据
|