@nixweb/nixloc-ui 0.0.211 → 0.0.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -8,29 +8,31 @@
|
|
|
8
8
|
]" v-model="person.typePerson" :markFormDirty="markFormDirty" />
|
|
9
9
|
</b-col>
|
|
10
10
|
</b-row>
|
|
11
|
-
<
|
|
12
|
-
<b-
|
|
13
|
-
<
|
|
14
|
-
" :
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
11
|
+
<div v-if="showDocument">
|
|
12
|
+
<b-row>
|
|
13
|
+
<b-col xs="12" sm="12" md="12" lg="4" xl="4">
|
|
14
|
+
<InputText :title="person.typePerson == 2 ? 'CNPJ' : 'CPF'" field="document" :formName="formName" :mask="person.typePerson == 2 ? ['##.###.###/####-##'] : ['###.###.###-##']
|
|
15
|
+
" :maxLength="30" :required="required" v-model="person.document" :markFormDirty="markFormDirty">
|
|
16
|
+
<div class="glyphicon margin-button">
|
|
17
|
+
<Button v-if="person.typePerson == 2" _key="searchDocumentFederalRecipe" type="success"
|
|
18
|
+
classIcon="fas fa-search" :disabled="person.document.length < 18" size="small"
|
|
19
|
+
:clicked="searchDocumentFederalRecipe" />
|
|
20
|
+
</div>
|
|
21
|
+
</InputText>
|
|
22
|
+
</b-col>
|
|
23
|
+
<b-col xs="12" sm="12" md="12" lg="4" xl="4">
|
|
24
|
+
<InputText :title="person.typePerson == 2 ? 'Inscrição Estadual' : 'RG'" field="stateInscription"
|
|
25
|
+
:formName="formName" :maxLength="50" :required="required" v-model="person.stateInscription"
|
|
26
|
+
:markFormDirty="markFormDirty" />
|
|
27
|
+
</b-col>
|
|
28
|
+
<b-col xs="12" sm="12" md="12" lg="4" xl="4">
|
|
29
|
+
<InputText v-if="person.typePerson == 2" title="Inscrição Municipal" field="municipalInscription"
|
|
30
|
+
:formName="formName" :maxLength="50" :required="false" v-model="person.municipalInscription"
|
|
31
|
+
:markFormDirty="markFormDirty" />
|
|
32
|
+
</b-col>
|
|
33
|
+
</b-row>
|
|
34
|
+
</div>
|
|
35
|
+
<br v-if="person.typePerson == 2 && showDocument" />
|
|
34
36
|
<b-row>
|
|
35
37
|
<b-col xs="12" sm="12" md="12" lg="8" xl="8">
|
|
36
38
|
<InputText :title="person.typePerson == 2 ? 'Razão Social' : 'Nome'" field="companyName" :formName="formName"
|
|
@@ -64,6 +66,10 @@ export default {
|
|
|
64
66
|
type: Boolean,
|
|
65
67
|
default: true,
|
|
66
68
|
},
|
|
69
|
+
showDocument: {
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: true,
|
|
72
|
+
},
|
|
67
73
|
markFormDirty: {
|
|
68
74
|
type: Boolean,
|
|
69
75
|
default: true,
|