mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 03:12:27 +09:00
fix : 사업자번호 mask 처리 완료
This commit is contained in:
@@ -315,11 +315,22 @@ function onInput(row, column){
|
|||||||
<VField class="pr-3" v-if="column.editable">
|
<VField class="pr-3" v-if="column.editable">
|
||||||
<VControl>
|
<VControl>
|
||||||
<input
|
<input
|
||||||
|
v-if="column.key!='bizNo'"
|
||||||
v-model="row[column.key]"
|
v-model="row[column.key]"
|
||||||
class="input custom-text-filter"
|
class="input custom-text-filter"
|
||||||
ref="prcsBizsRef"
|
ref="prcsBizsRef"
|
||||||
@blur="onInput(row, column)"
|
@blur="onInput(row, column)"
|
||||||
/>
|
/>
|
||||||
|
<VIMaskInput
|
||||||
|
v-if="column.key=='bizNo'"
|
||||||
|
v-model="row[column.key]"
|
||||||
|
autocomplete="cc-csc"
|
||||||
|
class="input"
|
||||||
|
:options="{
|
||||||
|
mask: '000-00-0000',
|
||||||
|
}"
|
||||||
|
placeholder="000-00-0000"
|
||||||
|
/>
|
||||||
</VControl>
|
</VControl>
|
||||||
</VField>
|
</VField>
|
||||||
<span v-else-if="column.key=='num'">{{index + 1}}</span>
|
<span v-else-if="column.key=='num'">{{index + 1}}</span>
|
||||||
|
|||||||
@@ -410,14 +410,25 @@ const moveDown = (index: number) => {
|
|||||||
<div class="control" :class="column.key === 'actions' ? 'text-center' : ''">
|
<div class="control" :class="column.key === 'actions' ? 'text-center' : ''">
|
||||||
<!-- 다른 editable 컬럼은 input -->
|
<!-- 다른 editable 컬럼은 input -->
|
||||||
<input
|
<input
|
||||||
v-if="column.editable"
|
v-if="column.key=='email'"
|
||||||
v-model="row[column.key]"
|
v-model="row[column.key]"
|
||||||
class="input custom-text-filter"
|
class="input custom-text-filter"
|
||||||
|
ref="prcsBizsRef"
|
||||||
@blur="onInput(row, column)"
|
@blur="onInput(row, column)"
|
||||||
/>
|
/>
|
||||||
|
<VIMaskInput
|
||||||
|
v-if="column.key=='bizNo'"
|
||||||
|
v-model="row[column.key]"
|
||||||
|
autocomplete="cc-csc"
|
||||||
|
class="input"
|
||||||
|
:options="{
|
||||||
|
mask: '000-00-0000',
|
||||||
|
}"
|
||||||
|
placeholder="000-00-0000"
|
||||||
|
/>
|
||||||
<span v-else-if="column.key=='num'">{{index + 1}}</span>
|
<span v-else-if="column.key=='num'">{{index + 1}}</span>
|
||||||
<!-- readonly 출력 -->
|
<!-- readonly 출력 -->
|
||||||
<span v-else class="lnil lnil-close"
|
<span v-else-if="column.key=='actions'" class="lnil lnil-close"
|
||||||
@click="onDelete(index)">{{ value }}</span>
|
@click="onDelete(index)">{{ value }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user