Фикс окна создания клиента

This commit is contained in:
megavrilinvv
2022-11-18 16:40:01 +03:00
parent ace6b2ec75
commit 9b2885c594
5 changed files with 31 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<template lang="pug">
.flex.box-border.px-4.items-center.w-full.text-sm(:style="{ minWidth : width + 'px' }")
span.text-sm(v-if="!isOpenChange") {{value.phone.username}}
span.text-sm(v-if="!isOpenChange") {{value.phone.username.replace(/\+7(\d{3})(\d{3})(\d{2})(\d{2})/, '+7 ($1) $2-$3-$4')}}
base-input(v-if="isOpenChange" :width-input="154" v-model:value="value.phone.username" :placeholder="value.phone.username")
</template>