5303514a by zhangmeng

开票

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