hokky 4 months ago
parent
commit
303ac1df61

+ 2 - 2
resources/views/front/dabory/erp/purchase/porder.blade.php

@@ -53,9 +53,9 @@
                                     <div class="form-group d-flex flex-column mb-2">
                                     <div class="form-group d-flex flex-column mb-2">
                                         <label class="m-0 overflow-hidden text-nowrap">{{ $formB['FormVars']['Title']['AutoSlipNo'] }}</label>
                                         <label class="m-0 overflow-hidden text-nowrap">{{ $formB['FormVars']['Title']['AutoSlipNo'] }}</label>
                                         <div class="col-12 d-flex p-0">
                                         <div class="col-12 d-flex p-0">
-                                            <button id="auto-slip-no-btn" class="btn-dark border-white rounded overflow-hidden col-3 text-center text-white text-nowrap radius-r0"
+                                            <!-- <button id="auto-slip-no-btn" class="btn-dark border-white rounded overflow-hidden col-3 text-center text-white text-nowrap radius-r0"
                                                 onclick="get_last_slip_no(this)">
                                                 onclick="get_last_slip_no(this)">
-                                                <span class="icon-cogs"></span>
+                                                <span class="icon-cogs"></span> -->
                                             </button>
                                             </button>
                                             <input type="text" id="auto-slip-no-txt" class="rounded w-100 radius-l0" autocomplete="off" disabled
                                             <input type="text" id="auto-slip-no-txt" class="rounded w-100 radius-l0" autocomplete="off" disabled
                                                    maxlength="{{ $formB['FormVars']['MaxLength']['AutoSlipNo'] }}"
                                                    maxlength="{{ $formB['FormVars']['MaxLength']['AutoSlipNo'] }}"

+ 0 - 5
resources/views/front/dabory/erp/stock/genio.blade.php

@@ -296,12 +296,8 @@
             }
             }
 
 
             $('.genio-act').on('click', function () {
             $('.genio-act').on('click', function () {
-                console.log($(this).data('value'));
-                console.log($(this).data('parameter')); //여기까진 들어옴
-                console.log('여기서 문제? : ', str_replace_hyphen($(this).data('parameter'), '/'));
                 // console.log($(this).data('value'))
                 // console.log($(this).data('value'))
                 switch( $(this).data('value') ) {
                 switch( $(this).data('value') ) {
-
                     case 'save': Btype.btn_act_save('#genio-form #frm'); break;
                     case 'save': Btype.btn_act_save('#genio-form #frm'); break;
                     case 'new': btn_act_new(); break;
                     case 'new': btn_act_new(); break;
                     case 'copy-to-another': btn_act_copy_to_another(str_replace_hyphen($(this).data('parameter'), '/')); break;
                     case 'copy-to-another': btn_act_copy_to_another(str_replace_hyphen($(this).data('parameter'), '/')); break;
@@ -313,7 +309,6 @@
             $('#remarks-txt-area').on('dblclick', function () {
             $('#remarks-txt-area').on('dblclick', function () {
                 $('#modal-memo2').find('#memo-textarea').val('')
                 $('#modal-memo2').find('#memo-textarea').val('')
                 $('#modal-memo2').data('txtarea_id', '#remarks-txt-area')
                 $('#modal-memo2').data('txtarea_id', '#remarks-txt-area')
-                // 모달창 textarea에 입력한 값을 넣어줌
                 $('#modal-memo2').find('#memo-textarea').val($('#remarks-txt-area').val())
                 $('#modal-memo2').find('#memo-textarea').val($('#remarks-txt-area').val())
                 $('#modal-memo2').modal('show');
                 $('#modal-memo2').modal('show');
             });
             });

+ 2 - 2
resources/views/front/dabory/erp/stock/tab/genio-correct.blade.php

@@ -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)

+ 1 - 3
resources/views/front/outline/static/body-copy.blade.php

@@ -1,7 +1,5 @@
 <!--- body-copy-search --->
 <!--- body-copy-search --->
-@php $modalClassName = $modalClassName ?? '';
-    //var_dump($moealSetFile['BodyCopyPageVars'])
-@endphp
+@php $modalClassName = $modalClassName ?? ''; @endphp
 
 
 <div class="modal fade modal-red {{ $modalClassName }}" id="modal-bodycopy" aria-hidden="true" data-backdrop="static" style="display: none; z-index: 1050;">
 <div class="modal fade modal-red {{ $modalClassName }}" id="modal-bodycopy" aria-hidden="true" data-backdrop="static" style="display: none; z-index: 1050;">
     <div class="modal-dialog m-auto pt-4" style="max-width: 1250px;">
     <div class="modal-dialog m-auto pt-4" style="max-width: 1250px;">