|
@@ -120,7 +120,7 @@
|
|
$('#genio-table-body').on('click', 'tr', function() {
|
|
$('#genio-table-body').on('click', 'tr', function() {
|
|
// Find the input element with name="bd-cursor-state" within the clicked row
|
|
// Find the input element with name="bd-cursor-state" within the clicked row
|
|
const $bdCursorStateInput = $(this).find('input[name="bd-cursor-state"]');
|
|
const $bdCursorStateInput = $(this).find('input[name="bd-cursor-state"]');
|
|
- // console.log('bdCursorStateInput : ', $bdCursorStateInput)
|
|
|
|
|
|
+ console.log('bdCursorStateInput : ', $bdCursorStateInput)
|
|
if ($bdCursorStateInput.length) {
|
|
if ($bdCursorStateInput.length) {
|
|
$($bdCursorStateInput).prop('checked', true)
|
|
$($bdCursorStateInput).prop('checked', true)
|
|
Btype.bd_cursor_click($bdCursorStateInput)
|
|
Btype.bd_cursor_click($bdCursorStateInput)
|
|
@@ -189,7 +189,7 @@
|
|
// $(`#modal-bodycopy.${parameter_name}`).find('.slip_no-txt').val($('#auto-slip-no-txt').val())
|
|
// $(`#modal-bodycopy.${parameter_name}`).find('.slip_no-txt').val($('#auto-slip-no-txt').val())
|
|
$(`#modal-bodycopy.${parameter_name}`).find('.company_name-txt').val($('#supplier-txt').val())
|
|
$(`#modal-bodycopy.${parameter_name}`).find('.company_name-txt').val($('#supplier-txt').val())
|
|
let data = formB['BodySelectOptions'].filter(selectOption => selectOption['ModalClassName'] == parameter_name)[0];
|
|
let data = formB['BodySelectOptions'].filter(selectOption => selectOption['ModalClassName'] == parameter_name)[0];
|
|
- console.log('data : ', data);
|
|
|
|
|
|
+ // console.log('data : ', data);
|
|
$('.stock').find('.modal-btn').data('target', 'bodycopy')
|
|
$('.stock').find('.modal-btn').data('target', 'bodycopy')
|
|
$('.stock').find('.modal-btn').data('variable', data['Parameter'])
|
|
$('.stock').find('.modal-btn').data('variable', data['Parameter'])
|
|
$('.stock').find('.modal-btn').data('class', parameter_name)
|
|
$('.stock').find('.modal-btn').data('class', parameter_name)
|