5303514a by zhangmeng

开票

1 parent 20f16641
...@@ -292,7 +292,7 @@ ...@@ -292,7 +292,7 @@
292 </el-col> 292 </el-col>
293 <el-col :lg="8" :md="12" :sm="12" :xs="24"> 293 <el-col :lg="8" :md="12" :sm="12" :xs="24">
294 <div>{{ 294 <div>{{
295 v.discount ? language == 0 ? '通票' : 'Full Fare' : language == 0 ? '优惠票' : 'Concession Ticket' 295 !v.discount ? language == 0 ? '通票' : 'Full Fare' : language == 0 ? '优惠票' : 'Concession Ticket'
296 }} 296 }}
297 </div> 297 </div>
298 </el-col> 298 </el-col>
......
...@@ -52,7 +52,9 @@ ...@@ -52,7 +52,9 @@
52 </div> 52 </div>
53 <div class="idcard">{{ it.idCard }}</div> 53 <div class="idcard">{{ it.idCard }}</div>
54 </div> 54 </div>
55 <el-checkbox :disabled="!it.pay" :value="it"/> 55 <el-checkbox
56 :disabled="!it.pay ||(orderForm.message.length==5&&!orderForm.message.some(v=>v.id==it.id))"
57 :value="it"/>
56 </div> 58 </div>
57 </el-checkbox-group> 59 </el-checkbox-group>
58 </div> 60 </div>
...@@ -215,8 +217,7 @@ let timer = null; ...@@ -215,8 +217,7 @@ let timer = null;
215 customerList() 217 customerList()
216 218
217 function changeGroup(e) { 219 function changeGroup(e) {
218 // console.log(e) 220 if (orderForm.value.message.length == 6) {
219 if (orderForm.value.message.length == 5) {
220 ElMessageBox.confirm(language.value == 0 ? '最多只能选择5个观众' : 'You can only select up to 5 audience members', { 221 ElMessageBox.confirm(language.value == 0 ? '最多只能选择5个观众' : 'You can only select up to 5 audience members', {
221 confirmButtonText: language.value == 0 ? '确定' : 'Confirm', 222 confirmButtonText: language.value == 0 ? '确定' : 'Confirm',
222 cancelButtonText: language.value == 0 ? '取消' : 'Cancel', 223 cancelButtonText: language.value == 0 ? '取消' : 'Cancel',
...@@ -244,7 +245,6 @@ function changeGroup(e) { ...@@ -244,7 +245,6 @@ function changeGroup(e) {
244 } 245 }
245 console.log(orderForm.value.message) 246 console.log(orderForm.value.message)
246 247
247
248 } 248 }
249 249
250 // 获取人员列表 250 // 获取人员列表
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!