!769 修改csv字段错误

pull/769/MERGE
ZoeLeeFZ 5 years ago committed by ChenX
parent 42def145a7
commit c62663d742

@ -608,7 +608,7 @@ export class LookOverBoardInfosModal extends React.Component<LookOverBoardInfosM
{
let option = d.entity.HardwareOption;
let unit = d.entity instanceof HardwareTopline ? "个" : option.unit;
str += `\t${d.name},${d.count},${unit},${option.spec || "无"},${option.model || "无"},${option.spec},${option[EBoardKeyList.Mat] ?? "无"},${option[EBoardKeyList.Color] ?? "无"},${option.factory || "无"},${option.brand || "无"}\n`;
str += `\t${d.name},${d.count},${unit},${option.model || "无"},${option.spec},${option[EBoardKeyList.Mat] ?? "无"},${option[EBoardKeyList.Color] ?? "无"},${option.factory || "无"},${option.brand || "无"}\n`;
}
FileSystem.WriteFile(`${fileServer.currentFileInfo.name}批量查看板件属性.csv`, "\ufeff" + str);
};

Loading…
Cancel
Save