Merge branch 'develop' into feature-NEWDWH2021-1182-backend

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-08-23 11:10:45 +09:00
commit 4bf48efb10

View File

@ -348,9 +348,15 @@
'iko_flg',
];
return datas.map(function (data) {
const td = display_keys.map((key) =>{
let inner_content = data[key] || '';
// 数量のみ右寄せにする
const align = key === 'qty' ? 'align="right"' : ''
return `<td ${align}>${inner_content}</td>`
});
return `
<tr class="result_data">
${display_keys.map((key) =>`<td>${data[key] || ''}</td>`)}
${td}
</tr>
`
})