|
@@ -361,7 +361,7 @@ const PSRDetail = () => {
|
|
|
jsonData.map((item) => {
|
|
|
if (item.celldata && typeof item.celldata == 'string')
|
|
|
item.celldata = JSON.parse(item.celldata);
|
|
|
- if (item.config && typeof item.celldata == 'string')
|
|
|
+ if (item.config && typeof item.config == 'string')
|
|
|
item.config = JSON.parse(item.config);
|
|
|
});
|
|
|
// } else {
|
|
@@ -464,7 +464,7 @@ const PSRDetail = () => {
|
|
|
initPsrActrual(key);
|
|
|
}
|
|
|
};
|
|
|
- //请求前两个tab的数据
|
|
|
+ //请求 过程/终版PSR 现金流的数据
|
|
|
const initPsrActrual = async (key) => {
|
|
|
const data_type = key == '3' ? 1 : 2;
|
|
|
const res = await queryPsrMonthLast({ project_id: projectId, data_type });
|
|
@@ -484,7 +484,7 @@ const PSRDetail = () => {
|
|
|
data.map((item) => {
|
|
|
if (item.celldata && typeof item.celldata == 'string')
|
|
|
item.celldata = JSON.parse(item.celldata);
|
|
|
- if (item.config && typeof item.celldata == 'string')
|
|
|
+ if (item.config && typeof item.config == 'string')
|
|
|
item.config = JSON.parse(item.config);
|
|
|
});
|
|
|
renderSheet(data, canEdit);
|