fix: 상품 검색 그리드 항목 및 폭 조정

dev
Jonguk. Lim 4 months ago
parent 55e89cfcec
commit 2d1bdf7528

@ -38,7 +38,7 @@
<thead> <thead>
<tr> <tr>
<th class="sorting" style="width: 146.156px;">제품코드</th> <th class="sorting" style="width: 146.156px;">제품코드</th>
<th class="sorting" style="width: 300.141px;">제품명</th> <th class="sorting" style="width: 330.141px;">제품명</th>
<th class="sorting" style="width: 120.469px;">유통단위</th> <th class="sorting" style="width: 120.469px;">유통단위</th>
<th class="sorting" style="width: 120.469px;">낱개단위</th> <th class="sorting" style="width: 120.469px;">낱개단위</th>
<th class="sorting" style="width: 130.141px;">마약/향정구분</th> <th class="sorting" style="width: 130.141px;">마약/향정구분</th>
@ -105,8 +105,8 @@
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_1--${pageName}" aria-describedby="DataTables_Table_1_info"> <table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_1--${pageName}" aria-describedby="DataTables_Table_1_info">
<thead> <thead>
<tr> <tr>
<th class="sorting" style="width: 146.156px;">제품코드</th> <%-- <th class="sorting" style="width: 146.156px;">제품코드</th>--%>
<th class="sorting" style="width: 300.141px;">제품명</th> <%-- <th class="sorting" style="width: 330.141px;">제품명</th>--%>
<th class="sorting" style="width: 120.469px;">유효기간</th> <th class="sorting" style="width: 120.469px;">유효기간</th>
<th class="sorting" style="width: 160.469px;">제조번호</th> <th class="sorting" style="width: 160.469px;">제조번호</th>
<th class="sorting" style="width: 160.469px;">제조일련번호</th> <th class="sorting" style="width: 160.469px;">제조일련번호</th>
@ -116,8 +116,8 @@
</tbody> </tbody>
<template id="${infoPrefix}Row--${pageName}Detail"> <template id="${infoPrefix}Row--${pageName}Detail">
<tr data-key="{keyCnt}"> <tr data-key="{keyCnt}">
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prductCd}</td> <%-- <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prductCd}</td>--%>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{prductNm}</td> <%-- <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{prductNm}</td>--%>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prdValidDe}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prdValidDe}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{mnfNo}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{mnfNo}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{mnfSeq}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{mnfSeq}</td>
@ -368,7 +368,6 @@
$P.fnSearchList = (dbSkipYn) => { $P.fnSearchList = (dbSkipYn) => {
$P.control.query = { $P.control.query = {
... $P.formFields.get(), ... $P.formFields.get(),
k: "1d6646562470902a61fc334c83a249cdcc5dc753426942138ee04342e66c8128",
p: $P.formFields.get().schProductCd, p: $P.formFields.get().schProductCd,
pn: $P.formFields.get().schProductNm, pn: $P.formFields.get().schProductNm,
dbSkipYn: dbSkipYn? dbSkipYn : "N", dbSkipYn: dbSkipYn? dbSkipYn : "N",
@ -383,8 +382,8 @@
$P.fnDetailSearchList = (schYn) => { $P.fnDetailSearchList = (schYn) => {
if (schYn == "Y"){ if (schYn == "Y"){
if ($('#schText--productMain').val() == ""||$('#schText--productMain').val() == null ){ if ($('#schText--productMain').val() == ""||$('#schText--productMain').val() == null ){
dialog.alert("제조번호 혹은 일련번호는 필수입니다."); //dialog.alert("제조번호 혹은 일련번호는 필수입니다.");
return false; //return false;
} }
$P.detailControl.query = { $P.detailControl.query = {
fg: $('#schOpt--productMain').val(), // 1-제조번호, 2-시리얼번호 fg: $('#schOpt--productMain').val(), // 1-제조번호, 2-시리얼번호

Loading…
Cancel
Save