ads367 / AJIN-ERP star
mycoms 2024-03-11
240311 김하영 계정과목 등록페이지 수정 완료
@6215e8ecb2c1f78b74d73eee8c7b3a33fbccb289
client/resources/css/component.css
--- client/resources/css/component.css
+++ client/resources/css/component.css
@@ -323,6 +323,8 @@
 
 .modal-title {
     width: 100%;
+    font-size: 1.3rem;
+    color: var(--navbarblue);
     border-bottom: 1px solid #d4cccc;
     padding: 10px 0;
 }
@@ -861,6 +863,7 @@
     border-radius: 10px;
     font-size: 1rem;
 }
+
 /* input checkbox */
 /* checkbox settings 👇 */
 
client/resources/css/style.css
--- client/resources/css/style.css
+++ client/resources/css/style.css
@@ -100,18 +100,22 @@
     height: 100%;
     background-color: var(--white);
 }
-.pwchange-modal h1{
+
+.pwchange-modal h1 {
     font-size: 2rem;
     text-align: left;
 }
-.pwchange-header button{
+
+.pwchange-header button {
     background: url(../img/component/chevron-left-solid.svg) no-repeat;
     background-size: contain;
     background-position: center;
     width: 30px;
     height: 30px;
 }
-.pwchange-user input ,.pwchange-pw input {
+
+.pwchange-user input,
+.pwchange-pw input {
     background: url(../img/component/pwchange-icon.png) no-repeat;
     background-size: 20px;
     background-position: right;
@@ -128,7 +132,7 @@
 
 .logo {
     width: 300px;
-    height: 50px;
+    height: 40px;
     background: url(../img/common/header-logo-w.png) no-repeat;
     background-size: contain;
     background-position: center;
@@ -179,12 +183,13 @@
     font-family: 'Pretendard';
     font-weight: 500;
     /* height: px; */
+    width: 100%;
     color: var(--white);
     font-size: 1.5rem;
 }
 
 .topmenu-wrap p.active {
-    width: 100px;
+    width: 100%;
     background-color: white;
     color: var(--navbarblue);
     padding: 1px 5px;
@@ -343,6 +348,7 @@
     background: url(../img/component/xmark-solid.svg) no-repeat;
     width: 20px;
     height: 20px;
+    border: 0px !important;
 }
 
 .table-border th {
@@ -470,11 +476,17 @@
 }
 
 /* 계정과목 등록 페이지 */
-.Bi003-table{
+.table-wrap {
+    width: 100%;
+    height: 100%;
+}
+
+.Bi003-table {
     border-left: 1px solid var(--borderlightgray);
     border-bottom: 1px solid var(--borderlightgray);
 }
-.Bi003-table td{
+
+.Bi003-table td {
     text-align: left;
     /* border: 1px solid red; */
     padding: 0 10px;
@@ -482,25 +494,35 @@
     border-right: 1px solid var(--borderlightgray);
     border-top: 1px solid var(--borderlightgray);
 }
-.Bi003-table th{
+
+.Bi003-table th {
     background-color: var(--navbarblue);
     color: var(--white);
     border-bottom: 1px solid var(--borderlightgray);
 }
-.large-select{
-    width: 100% ;
+
+.large-select {
+    width: 100%;
 }
-.small-select{
-    width: 30% ;
+
+.small-select {
+    width: 30%;
     margin-right: 10px;
 }
 
-.Bi003-table input{
+.Bi003-table input {
     vertical-align: middle;
 
 }
-.Bi003-table label{
+
+.Bi003-table label {
     padding: 5px;
     vertical-align: middle;
 
+}
+
+.Bi003-list table {
+    text-align: center;
+    border-top: 1px solid var(--borderlightgray);
+    word-break: keep-all;
 }
(파일 끝에 줄바꿈 문자 없음)
 
client/resources/img/component/magnifyingglasssolid.svg (added)
+++ client/resources/img/component/magnifyingglasssolid.svg
@@ -0,0 +1,1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#c1c1c1" d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>(파일 끝에 줄바꿈 문자 없음)
client/views/pages/AccountingManagement/BaselineInformation/Bi003.vue
--- client/views/pages/AccountingManagement/BaselineInformation/Bi003.vue
+++ client/views/pages/AccountingManagement/BaselineInformation/Bi003.vue
@@ -6,9 +6,9 @@
                 <div class="flex justify-end  gd-5">
 
                     <div class="flex justify-between button-wrap">
+                        <button class="rest-btn">초기화</button>
                         <button class="excel-btn">엑셀</button>
                         <button class="del-btn">삭제</button>
-                        <button class="rest-btn">초기화</button>
                         <button class="save-btn">저장</button>
                     </div>
 
@@ -17,7 +17,7 @@
             </div>
             <div class="container flex-column">
                 <div class="content list-wrap  flex-column ">
-                    <div>
+                    <div class="pb2">
                         <div class="content-title flex justify-between mb1">
                             계정과목등록
                         </div>
@@ -35,7 +35,11 @@
                                 <tbody>
                                     <tr>
                                         <th>코드</th>
-                                        <td><input type="text" name="" id=""></td>
+                                        <td>
+                                            <input type="text" name="" id="" class="mr2">
+
+                                            <button class="blue-btn" @click="openModal">검색</button>
+                                        </td>
                                     </tr>
                                     <tr>
                                         <th>계정명</th>
@@ -49,7 +53,7 @@
                                             <input type="checkbox" id="f" class="ui-checkbox ">
                                             <label for="f">비용부서</label>
                                             <input type="checkbox" id="g" class="ui-checkbox ">
-                                            <label for="g">외화금액</label>
+                                            <label for="g">외화금액($)</label>
                                         </td>
                                         <th>자금원장표시</th>
                                         <td>
@@ -67,7 +71,7 @@
                                             <input type="checkbox" id="a" class="ui-checkbox ">
                                             <label for="a">전표발생구분</label>
                                         </td>
-                                        <td rowspan="4" class=""  >
+                                        <td rowspan="4" class="">
                                             <input type="checkbox" id="h" class="ui-checkbox mb5">
                                             <label for="h">관리일자1_증빙일자및어음발행일</label> <br>
                                             <input type="checkbox" id="i" class="ui-checkbox  mb5">
@@ -192,16 +196,23 @@
                         </div>
 
                     </div>
-                    <div style="width: 100%; border: 1px solid red;" class="flex-column gd-12">
+                    <div class="flex-column table-wrap">
                         <div class="content-title flex justify-between mb1">
-                            계정과목
+                            계정과목목록
                         </div>
-                        <div class="Bi003-list flex" style="border: 1px solid red; width: 100%;">
+                        <div class="Bi003-list flex">
                             <table class="list-table">
                                 <!-- col 꼭 너비 기재해야함! 그래야 100%로 차지함 -->
                                 <colgroup>
                                     <col style="width: 4%;">
                                     <col style="width: 5%;">
+                                    <col style="width: 3%;">
+                                    <col style="width: 2%;">
+                                    <col style="width: 2%;">
+                                    <col style="width: 2%;">
+                                    <col style="width: 2%;">
+                                    <col style="width: 2%;">
+                                    <col style="width: 2%;">
                                     <col style="width: 4%;">
                                     <col style="width: 4%;">
                                     <col style="width: 4%;">
@@ -209,14 +220,7 @@
                                     <col style="width: 4%;">
                                     <col style="width: 4%;">
                                     <col style="width: 4%;">
-                                    <col style="width: 4%;">
-                                    <col style="width: 4%;">
-                                    <col style="width: 4%;">
-                                    <col style="width: 4%;">
-                                    <col style="width: 4%;">
-                                    <col style="width: 4%;">
-                                    <col style="width: 4%;">
-                                    <col style="width: 4%;">
+                                    <col style="width: 3%;">
                                     <col style="width: 4%;">
                                     <col style="width: 4%;">
                                     <col style="width: 4%;">
@@ -244,7 +248,7 @@
                                         <th>관리일자1</th>
                                         <th>관리일자2</th>
                                         <th>참고항목</th>
-                                        <th>공급가액및승인액</th>
+                                        <th>공급가액 및승인액</th>
                                         <th>세무계정</th>
                                         <th>자금원장계정</th>
                                         <th>동변발생구분</th>
@@ -289,12 +293,113 @@
                         </div>
 
                     </div>
+                    <div v-show="isPopupOpen" class="modal-wrapper">
+                        <div class="modal-container flex flex-column">
+                            <div>
+                                <div class=" mb2">
+
+                                    <div class="flex justify-between modal-title">
+                                        <h1>계정과목찾기</h1>
+                                        <div>
+                                            <button class="close-btn " @click="closeModal"></button>
+                                        </div>
+
+                                    </div>
+                                </div>
+                                <div class="flex justify-between">
+                                    <div class="content-title mb1">
+                                        조회조건
+                                    </div>
+                                    <div class=" button-wrap">
+                                        <button class="rest-btn">초기화</button>
+                                    </div>
+                                </div>
+                                <div class="flex button-wrap modal-title mb2 button-wrap">
+                                    <p class="blue-text">계정코드/명</p>
+                                    <input type="text" id="date">
+                                    <button>조회</button>
+                                </div>
+                                <div>
+                                    <div class="content-title flex justify-between ">
+                                        계정과목목록
+                                    </div>
+                                    <div class="table-zone table-scroll">
+                                        <table class="list-table">
+                                            <!-- col 꼭 너비 기재해야함! 그래야 100%로 차지함 -->
+                                            <colgroup>
+                                                <col style="width: 5%;">
+                                                <col style="width: 10%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                                <col style="width: 3%;">
+                                            </colgroup>
+                                            <thead>
+                                                <tr class="table-header table-border "
+                                                    style="background-color: var(--tableblue); color: var(--navbarblue); ">
+                                                    <th>코드</th>
+                                                    <th>계정명</th>
+                                                    <th>잔액구분</th>
+                                                    <th>차변금액</th>
+                                                    <th>대변금액</th>
+                                                    <th>전표발생</th>
+                                                    <th>관리항목1</th>
+                                                    <th>관리항목2</th>
+                                                    <th>증빙구분</th>
+                                                    <th>증빙일자</th>
+                                                    <th>비용부서</th>
+                                                    <th>공급가액및승인금액</th>
+                                                    <th>세무계정</th>
+                                                    <th>외화금액($)</th>
+                                                    <th>어음정보</th>
+                                                    <th>대금지불일</th>
+                                                </tr>
+                                            </thead>
+                                            <tbody>
+                                                <tr v-for="(modalWrap) in modalList" key="codeNum"
+                                                    style="overflow-y: scroll;" class="table-border modal-td">
+                                                    <td>{{ modalWrap.num }}</td>
+                                                    <td>{{ modalWrap.name }}</td>
+                                                    <td>{{ modalWrap.list1 }}</td>
+                                                    <td>{{ modalWrap.list2 }}</td>
+                                                    <td>{{ modalWrap.list3 }}</td>
+                                                    <td>{{ modalWrap.list4 }}</td>
+                                                    <td>{{ modalWrap.list5 }}</td>
+                                                    <td>{{ modalWrap.list6 }}</td>
+                                                    <td>{{ modalWrap.list7 }}</td>
+                                                    <td>{{ modalWrap.list8 }}</td>
+                                                    <td>{{ modalWrap.list9 }}</td>
+                                                    <td>{{ modalWrap.list10 }}</td>
+                                                    <td>{{ modalWrap.list11 }}</td>
+                                                    <td>{{ modalWrap.list12 }}</td>
+                                                    <td>{{ modalWrap.list13 }}</td>
+                                                    <td>{{ modalWrap.list14 }}</td>
+                                                </tr>
+
+                                            </tbody>
+                                        </table>
+                                    </div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
 
                 </div>
             </div>
 
 
         </div>
+
 
     </div>
 </template>
@@ -303,18 +408,28 @@
 export default {
     data() {
         return {
+            isPopupOpen: false,
             activeItemId: 0,
             selectedId: null,
             tableList: [
                 { no: "1000000", name: "자산", },
                 { no: "1101000", name: "현금", list1: "1.차변", list2: "Y", list3: "Y", list4: "Y", list5: "Y", list6: "Y", list7: "Y", list8: "Y", list9: "Y", list10: "Y", list11: "Y", list12: "Y", list13: "Y", list14: "Y", list15: "Y", list16: "세무계정", list17: "Y", list18: "부가세대급금(세금계산서)", list19: "Y", list20: "Y" }
             ],
+            modalList: [
+                { num: "1106044", name: "저장품(초지용구품)", list1: "1.차변", list2: "Y", list3: "Y", list4: "Y", list5: "Y", list6: "Y", list7: "Y", list8: "Y", list9: "Y", list10: "Y", list11: "매입", list12: "Y", list13: "Y", list14: "Y" }
+            ],
 
         }
     },
 
     methods: {
+        openModal() {
+            this.isPopupOpen = true;
+        },
+        closeModal() {
+            this.isPopupOpen = false;
 
+        }
     },
     watch: {
 
@@ -323,11 +438,14 @@
 
     },
     mounted() {
-        console.log('Main mounted');
+
     }
 }
 </script>
 
 <style scoped>
-
+.modal-td {
+    text-align: center;
+    word-break: keep-all;
+}
 </style>
(파일 끝에 줄바꿈 문자 없음)
Add a comment
List