|
|
@@ -3,7 +3,11 @@
|
|
|
<van-form
|
|
|
ref="tabstoreVal"
|
|
|
class="QRCodeActivity"
|
|
|
- :disabled="approvalStatus == '1' || approvalStatus == '2' || approvalStatus == null">
|
|
|
+ :disabled="
|
|
|
+ approvalStatus == '1' ||
|
|
|
+ approvalStatus == '2' ||
|
|
|
+ (approvalStatus == null && !!userSummaryId)
|
|
|
+ ">
|
|
|
<div class="activityItem">
|
|
|
<span class="van-f-red">*</span>
|
|
|
<van-field
|
|
|
@@ -179,7 +183,7 @@ export default {
|
|
|
this.approvalStatus == '1' ||
|
|
|
this.approvalStatus == '2' ||
|
|
|
this.approvalStatus == '3' ||
|
|
|
- this.approvalStatus == null
|
|
|
+ (this.approvalStatus == null && this.userSummaryId)
|
|
|
) {
|
|
|
getSummaryQrCodeUUID({ qrUuid: this.qrUuid, userSummaryId: this.userSummaryId }).then(
|
|
|
(res) => {
|
|
|
@@ -208,12 +212,20 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
activityShowCalendarFun() {
|
|
|
- if (this.approvalStatus == '1' || this.approvalStatus == '2' || this.approvalStatus == null)
|
|
|
+ if (
|
|
|
+ this.approvalStatus == '1' ||
|
|
|
+ this.approvalStatus == '2' ||
|
|
|
+ (this.approvalStatus == null && this.userSummaryId)
|
|
|
+ )
|
|
|
return;
|
|
|
this.activityShowCalendar = true;
|
|
|
},
|
|
|
clickValidDateShow(type) {
|
|
|
- if (this.approvalStatus == '1' || this.approvalStatus == '2' || this.approvalStatus == null)
|
|
|
+ if (
|
|
|
+ this.approvalStatus == '1' ||
|
|
|
+ this.approvalStatus == '2' ||
|
|
|
+ (this.approvalStatus == null && this.userSummaryId)
|
|
|
+ )
|
|
|
return;
|
|
|
if (type == 'start') {
|
|
|
this.activate = {
|