no message
Showing
3 changed files
with
4 additions
and
3 deletions
| ... | @@ -73,7 +73,7 @@ | ... | @@ -73,7 +73,7 @@ |
| 73 | <div v-if="needPersonNum>0" class="fakeFormItem"> | 73 | <div v-if="needPersonNum>0" class="fakeFormItem"> |
| 74 | <label>需填写{{ needPersonNum }}位游客</label> | 74 | <label>需填写{{ needPersonNum }}位游客</label> |
| 75 | <div> | 75 | <div> |
| 76 | <div v-show="needPersonNum > hasPersonNum">还需填写{{ needPersonNum-hasPersonNum }}位游客</div> | 76 | <label class="text-warning" v-show="needPersonNum > hasPersonNum">还需填写{{ needPersonNum-hasPersonNum }}位游客</label> |
| 77 | </div> | 77 | </div> |
| 78 | </div> | 78 | </div> |
| 79 | <div v-for="(n,i) in gateList" :key="i"> | 79 | <div v-for="(n,i) in gateList" :key="i"> |
| ... | @@ -237,6 +237,7 @@ const checkPersonNum = () => { | ... | @@ -237,6 +237,7 @@ const checkPersonNum = () => { |
| 237 | _.each(gateList.value, item => { | 237 | _.each(gateList.value, item => { |
| 238 | needPersonNum.value += item.count | 238 | needPersonNum.value += item.count |
| 239 | _.each(item.personArr, person => { | 239 | _.each(item.personArr, person => { |
| 240 | console.log(person) | ||
| 240 | if (person.customerId) { | 241 | if (person.customerId) { |
| 241 | hasPersonNum.value++ | 242 | hasPersonNum.value++ |
| 242 | } | 243 | } | ... | ... |
| ... | @@ -123,7 +123,7 @@ function popRemark(type) { | ... | @@ -123,7 +123,7 @@ function popRemark(type) { |
| 123 | (form.value.isMealView == 0 && type == '4') || | 123 | (form.value.isMealView == 0 && type == '4') || |
| 124 | (form.value.isPhotoView == 0 && type == '5') || | 124 | (form.value.isPhotoView == 0 && type == '5') || |
| 125 | (form.value.isTicket == 0 && type == '0') || | 125 | (form.value.isTicket == 0 && type == '0') || |
| 126 | (form.value.isTravel == 0 && type == '8') | 126 | (form.value.isScenicView == 0 && type == '8') |
| 127 | ) { | 127 | ) { |
| 128 | building() | 128 | building() |
| 129 | return | 129 | return | ... | ... |
| ... | @@ -171,7 +171,7 @@ function popRemark(type) { | ... | @@ -171,7 +171,7 @@ function popRemark(type) { |
| 171 | || (form.value.isMealView == 0 && type == '4') | 171 | || (form.value.isMealView == 0 && type == '4') |
| 172 | || (form.value.isPhotoView == 0 && type == '5') | 172 | || (form.value.isPhotoView == 0 && type == '5') |
| 173 | || (form.value.isTicket == 0 && type == '0') | 173 | || (form.value.isTicket == 0 && type == '0') |
| 174 | || (form.value.isTravel == 0 && type == '8') | 174 | || (form.value.isScenicView == 0 && type == '8') |
| 175 | ) { | 175 | ) { |
| 176 | building() | 176 | building() |
| 177 | return | 177 | return | ... | ... |
-
Please register or sign in to post a comment