diff --git a/src/views/gate/visitlist.vue b/src/views/gate/visitlist.vue index 3717c5c..3333e74 100644 --- a/src/views/gate/visitlist.vue +++ b/src/views/gate/visitlist.vue @@ -136,7 +136,9 @@ this.data = res.data if (this.data.length > 0) { for (var k of this.data) { - if (k.audit_status == 1 || k.audit_status == 3) { + // 待进厂/已进厂可核销;长期访客已离厂后允许再次核销进厂(与后端多日门岗流水一致) + const longTermLeave = Number(k.long_time) === 1 && k.audit_status == 4 + if (k.audit_status == 1 || k.audit_status == 3 || longTermLeave) { this.$refs['showVisit'].form = k this.$refs['showVisit'].formDataType = 'coderecord' this.$refs['showVisit'].gateAdminId = this.gateAdminId diff --git a/src/views/visit/component/showVisit.vue b/src/views/visit/component/showVisit.vue index 40ffef7..29e8f0e 100644 --- a/src/views/visit/component/showVisit.vue +++ b/src/views/visit/component/showVisit.vue @@ -28,11 +28,11 @@ 核销状态:
-
-
-
- {{item.value}} -
+
+
+
+ {{item.value}} +
- - + placeholder="请输入入场牌"> --> + +
@@ -67,12 +67,12 @@
- - - + placeholder="请输入停车牌"> --> + + +
@@ -208,16 +208,16 @@ {{form.company_name}}
- - + - --> - - - + --> + + +