|
@@ -38,6 +38,19 @@ $(document).ready(() => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ function loadLeafXmjsData() {
|
|
|
|
+ const data = getSelectDetailData();
|
|
|
|
+ const html = [];
|
|
|
|
+ for (const lx of data.leafXmjs) {
|
|
|
|
+ html.push('<tr>');
|
|
|
|
+ html.push('<td>', lx.code , '</td>');
|
|
|
|
+ html.push('<td>', lx.name , '</td>');
|
|
|
|
+ html.push('<td>', lx.jl , '</td>');
|
|
|
|
+ html.push('</tr>');
|
|
|
|
+ }
|
|
|
|
+ $('#leaf-xmj-list').html(html.join(''));
|
|
|
|
+ }
|
|
|
|
+
|
|
function reBuildImData() {
|
|
function reBuildImData() {
|
|
const imData = stageIm.buildImData();
|
|
const imData = stageIm.buildImData();
|
|
const html = [];
|
|
const html = [];
|
|
@@ -64,6 +77,7 @@ $(document).ready(() => {
|
|
$('tr:first', '#im-list').addClass('table-warning');
|
|
$('tr:first', '#im-list').addClass('table-warning');
|
|
$('#im-list').attr('rowIndex', 0);
|
|
$('#im-list').attr('rowIndex', 0);
|
|
reLoadDetailData();
|
|
reLoadDetailData();
|
|
|
|
+ loadLeafXmjsData();
|
|
$('tr', '#im-list').click(function () {
|
|
$('tr', '#im-list').click(function () {
|
|
$('tr.table-warning').removeClass('table-warning');
|
|
$('tr.table-warning').removeClass('table-warning');
|
|
$(this).addClass('table-warning');
|
|
$(this).addClass('table-warning');
|
|
@@ -80,6 +94,7 @@ $(document).ready(() => {
|
|
$('#drawing-code').attr('readonly', '');
|
|
$('#drawing-code').attr('readonly', '');
|
|
$('#calc-memo').attr('readonly', '');
|
|
$('#calc-memo').attr('readonly', '');
|
|
reLoadDetailData();
|
|
reLoadDetailData();
|
|
|
|
+ loadLeafXmjsData();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|