From e31fbc126f3f5794a48392c6eb9d7a86c29fc871 Mon Sep 17 00:00:00 2001 From: bangae1 Date: Thu, 29 May 2025 06:17:03 +0000 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=ED=88=B4?= =?UTF-8?q?=ED=8C=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/contract/ContractList.vue | 23 +++++++++--------- .../pages/contract/ContractSave.vue | 8 +++---- .../pages/contract/ContractView.vue | 8 +++---- .../pages/estimate/EstimateList.vue | 24 +++++++++---------- .../pages/estimate/EstimateUpdate.vue | 8 +++---- .../pages/estimate/EstimateView.vue | 8 +++---- src/scss/components/_custom-contract.scss | 5 +++- 7 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/components/pages/contract/ContractList.vue b/src/components/pages/contract/ContractList.vue index ebb2879..3c00af4 100644 --- a/src/components/pages/contract/ContractList.vue +++ b/src/components/pages/contract/ContractList.vue @@ -197,17 +197,11 @@ watch(changePage, (newParams) => { @mouseover="onTabOver" @mouseleave="onTabLeave" > - {{ prcs.prcsNo }} - -
-
-

{{ prcs.title }}

-
-
- - {{ prcs.regSdat }} ~ {{ prcs.regEdat }} - {{ prcs.regNm }} - {{ dateFormat.converterDate(prcs.regDt) }} + {{ prcs.prcsNo }} + {{ prcs.title }} + {{ prcs.regSdat }} ~ {{ prcs.regEdat }} + {{ prcs.regNm }} + {{ dateFormat.converterDate(prcs.regDt) }} @@ -260,6 +254,8 @@ watch(changePage, (newParams) => { background-color: var(--primary) !important; th { color: #fff; + text-align:center !important; + border: 1px solid #ededed; } } } @@ -361,6 +357,7 @@ watch(changePage, (newParams) => { border-collapse: collapse; border-radius: 0.75rem; border-style: hidden; + table-layout:fixed; th { padding: 16px 20px; @@ -381,7 +378,9 @@ watch(changePage, (newParams) => { vertical-align: middle; padding: 12px 20px; border-bottom: 1px solid var(--fade-grey); - + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; &:last-child { text-align: right; } diff --git a/src/components/pages/contract/ContractSave.vue b/src/components/pages/contract/ContractSave.vue index 4fc18da..e0fdd36 100644 --- a/src/components/pages/contract/ContractSave.vue +++ b/src/components/pages/contract/ContractSave.vue @@ -235,10 +235,10 @@ watch(pbAtts.value, (newValue) => { {{ index + 1 }} - {{ dtl.itemNm }} - {{ dtl.spec }} - {{ dtl.qty }} - {{ dtl.unit }} + {{ dtl.itemNm }} + {{ dtl.spec }} + {{ dtl.qty }} + {{ dtl.unit }} { {{ index + 1 }} - {{ dtl.itemNm }} - {{ dtl.spec }} - {{ dtl.qty }} - {{ dtl.unit }} + {{ dtl.itemNm }} + {{ dtl.spec }} + {{ dtl.qty }} + {{ dtl.unit }} 0 {{ totPrc[index] || 0 }} diff --git a/src/components/pages/estimate/EstimateList.vue b/src/components/pages/estimate/EstimateList.vue index 43095f6..e6d4982 100644 --- a/src/components/pages/estimate/EstimateList.vue +++ b/src/components/pages/estimate/EstimateList.vue @@ -131,7 +131,7 @@ watch(changePage, (newParams) => { - + 가격조사번호 @@ -150,18 +150,12 @@ watch(changePage, (newParams) => { @mouseover="onTabOver" @mouseleave="onTabLeave" > - {{ estimate.prcsNo }} - -
-
-

{{ estimate.title }}

-
-
- - {{ estimate.totAmt.toString().replace(regex.currency, ',') }} - {{ estimate.mngNm }} - {{ dateFormat.millisecondsRemove(estimate.estDt) }} - {{ estimate.estStat }} ({{ dateFormat.converterDate(estimate.svyDt) }}) + {{ estimate.prcsNo }} + {{ estimate.title }} + {{ estimate.totAmt.toString().replace(regex.currency, ',') }} + {{ estimate.mngNm }} + {{ dateFormat.millisecondsRemove(estimate.estDt) }} + {{ estimate.estStat }} ({{ dateFormat.converterDate(estimate.svyDt) }}) @@ -319,6 +313,7 @@ watch(changePage, (newParams) => { border-collapse: collapse; border-radius: 0.75rem; border-style: hidden; + table-layout: fixed; th { padding: 16px 20px; @@ -340,6 +335,9 @@ watch(changePage, (newParams) => { padding: 12px 20px; border-bottom: 1px solid var(--fade-grey); //border: 1px solid var(--fade-grey); + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; &:last-child { text-align: right; } diff --git a/src/components/pages/estimate/EstimateUpdate.vue b/src/components/pages/estimate/EstimateUpdate.vue index ad2979c..c5aebd8 100644 --- a/src/components/pages/estimate/EstimateUpdate.vue +++ b/src/components/pages/estimate/EstimateUpdate.vue @@ -258,10 +258,10 @@ watch(pbAtts.value, (newValue) => { {{ index + 1 }} - {{ dtl.itemNm }} - {{ dtl.spec }} - {{ dtl.qty }} - {{ dtl.unit }} + {{ dtl.itemNm }} + {{ dtl.spec }} + {{ dtl.qty }} + {{ dtl.unit }} { {{ index + 1 }} - {{ dtl.itemNm }} - {{ dtl.spec }} - {{ dtl.qty }} - {{ dtl.unit }} + {{ dtl.itemNm }} + {{ dtl.spec }} + {{ dtl.qty }} + {{ dtl.unit }} {{ String(estimates[index].unitPrc).replace(regex.currency, ',') }} {{ String(totPrc[index]).replace(regex.currency, ',') || 0 }} diff --git a/src/scss/components/_custom-contract.scss b/src/scss/components/_custom-contract.scss index de18239..f9eb410 100644 --- a/src/scss/components/_custom-contract.scss +++ b/src/scss/components/_custom-contract.scss @@ -50,6 +50,7 @@ input { .datatable-table { + table-layout:fixed; th { padding: 10px !important; border: 1px solid #ededed; @@ -59,9 +60,11 @@ input { border: 1px solid var(--fade-grey); td { - word-break: break-word; padding: 5px 10px !important; border: 1px solid #ededed; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; input { height: 2.5em; }