|
@ -275,7 +275,11 @@ |
|
|
|
|
|
|
|
|
// 从API获取产品信息数据 |
|
|
// 从API获取产品信息数据 |
|
|
const res = await getContractualProductInfoByTaskid(props.record.id); |
|
|
const res = await getContractualProductInfoByTaskid(props.record.id); |
|
|
|
|
|
res.data[0]={ |
|
|
|
|
|
...res.data[0], |
|
|
|
|
|
taskId: props.record.id, |
|
|
|
|
|
fileName: props.record.documentName, |
|
|
|
|
|
} |
|
|
if (res.code === 200 && res.data) { |
|
|
if (res.code === 200 && res.data) { |
|
|
// 如果获取成功,使用获取到的数据 |
|
|
// 如果获取成功,使用获取到的数据 |
|
|
productInfoData.value =res.data; |
|
|
productInfoData.value =res.data; |
|
|