diff --git a/src/pages/app/PriceInsert.vue b/src/pages/app/PriceInsert.vue
index 683cb7a..58eae7c 100644
--- a/src/pages/app/PriceInsert.vue
+++ b/src/pages/app/PriceInsert.vue
@@ -1,6 +1,7 @@
@@ -298,6 +306,7 @@ function onFileChange(event: Event) {
v-model="row[column.key]"
class="editable-input"
ref="prcsBizsRef"
+ @blur="onInput(row, column)"
/>
{{index + 1}}
diff --git a/src/pages/app/priceUpdate.vue b/src/pages/app/priceUpdate.vue
index 3a1bc84..ff19037 100644
--- a/src/pages/app/priceUpdate.vue
+++ b/src/pages/app/priceUpdate.vue
@@ -1,6 +1,7 @@
@@ -412,6 +416,7 @@ function formatDate(dateStr) {
v-if="column.editable"
v-model="row[column.key]"
class="editable-input"
+ @blur="onInput(row, column)"
/>
{{index + 1}}
@@ -463,8 +468,10 @@ function formatDate(dateStr) {
+ v-model="row.attendCd">
+
123
+ if (raw.length <= 3) return raw
+ // 12345 -> 123-45
+ if (raw.length <= 5) return raw.replace(/^(\d{3})(\d{0,2})$/, '$1-$2')
+ // 1234567890 -> 123-45-67890
+ return raw.replace(/^(\d{3})(\d{2})(\d{0,5})$/, '$1-$2-$3')
}
\ No newline at end of file