@7365admin1/layer-common 1.11.34 → 1.11.35
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/CHANGELOG.md +6 -0
- package/components/VisitorForm.vue +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</v-col>
|
|
173
173
|
|
|
174
174
|
<v-col v-if="shouldShowField('unit')" cols="12">
|
|
175
|
-
<InputLabel class="text-capitalize" title="Registered Unit Company Name" required />
|
|
175
|
+
<InputLabel class="text-capitalize" title="Registered Unit Company Name" required :key="'unit-key' + visitor.level" />
|
|
176
176
|
<v-text-field v-model.trim="registeredUnitCompanyName" density="comfortable"
|
|
177
177
|
:loading="buildingUnitDataPending" readonly class="no-pointer" />
|
|
178
178
|
</v-col>
|
|
@@ -807,6 +807,7 @@ function handleChangeBlock(value: any) {
|
|
|
807
807
|
|
|
808
808
|
function handleChangeLevel(value: any) {
|
|
809
809
|
visitor.unit = "";
|
|
810
|
+
visitor.unitName = "";
|
|
810
811
|
}
|
|
811
812
|
|
|
812
813
|
function handleUpdateUnit(value: any) {
|
|
@@ -952,7 +953,7 @@ async function submit() {
|
|
|
952
953
|
|
|
953
954
|
if (passType.value === "QR") {
|
|
954
955
|
console.log("[QR Print] passRes:", passRes);
|
|
955
|
-
const accessCards: any[] = (passRes as any)?.accessCards ?? [];
|
|
956
|
+
const accessCards: any[] = (passRes as any)?.data?.accessCards ?? [];
|
|
956
957
|
console.log("[QR Print] accessCards:", accessCards);
|
|
957
958
|
const printer = entryPassSettings.value?.data?.settings?.printer;
|
|
958
959
|
console.log("[QR Print] printer config:", printer);
|