b76c2301 by zrj

9.16 世锦赛增加现场支付状态

1 parent 58ee748a
...@@ -29,6 +29,9 @@ ...@@ -29,6 +29,9 @@
29 <span v-if="b.status == '7'" class="bg-danger">{{ 29 <span v-if="b.status == '7'" class="bg-danger">{{
30 language == 0 ? '退款审核中' : 'Refund in review' 30 language == 0 ? '退款审核中' : 'Refund in review'
31 }}</span> 31 }}</span>
32 <span v-if="b.status == '8'" class="bg-blue">{{
33 language == 0 ? '现场支付' : 'Pay on Arrival'
34 }}</span>
32 <span v-if="b.status == '-1'" class="bg-blue">{{ 35 <span v-if="b.status == '-1'" class="bg-blue">{{
33 language == 0 ? '已核销' : 'Completed' 36 language == 0 ? '已核销' : 'Completed'
34 }}</span> 37 }}</span>
...@@ -137,7 +140,7 @@ ...@@ -137,7 +140,7 @@
137 @click="cancel(b)"> 140 @click="cancel(b)">
138 {{ language == 0 ? '取消订单' : 'Cancel Order' }} 141 {{ language == 0 ? '取消订单' : 'Cancel Order' }}
139 </el-button> 142 </el-button>
140 <el-button v-if="b.viewStatus==5 && !min" class="mb10" plain round size="small" @click="showunsubscribe(b)"> 143 <el-button v-if="(b.viewStatus==5 || b.viewStatus==8) && !min" class="mb10" plain round size="small" @click="showunsubscribe(b)">
141 {{ language == 0 ? '退订' : 'Unsubscribe' }} 144 {{ language == 0 ? '退订' : 'Unsubscribe' }}
142 </el-button> 145 </el-button>
143 146
...@@ -312,8 +315,6 @@ const unsubscribe = () => { ...@@ -312,8 +315,6 @@ const unsubscribe = () => {
312 proxy.$modal.msgError(language.value == 0 ? '请完善信息' : 'Please complete the information') 315 proxy.$modal.msgError(language.value == 0 ? '请完善信息' : 'Please complete the information')
313 } 316 }
314 }) 317 })
315
316
317 } 318 }
318 319
319 const downInvoice = (row) => { 320 const downInvoice = (row) => {
...@@ -420,7 +421,20 @@ const showunsubscribe = (row) => { ...@@ -420,7 +421,20 @@ const showunsubscribe = (row) => {
420 beneficiaryBankAddress:'', 421 beneficiaryBankAddress:'',
421 swiftCode:'', 422 swiftCode:'',
422 } 423 }
424 if (row.viewStatus==8) {
425 proxy.$modal.confirm(language.value == 0 ? `确定退款吗 ?` : 'Are you sure to refund?').then(() => {
426 return cancelOrderBody(unsubscribeForm.value).then(res => {
427 ElMessage({
428 message: language.value == 0 ? '已提交退款,请等待审核!' : 'Refund has been submitted, please wait for review!',
429 type: 'success'
430 })
431 show2.value = false
432 emit('refresh')
433 })
434 })
435 } else {
423 show2.value = true 436 show2.value = true
437 }
424 } 438 }
425 439
426 </script> 440 </script>
......
...@@ -271,9 +271,10 @@ ...@@ -271,9 +271,10 @@
271 </div> 271 </div>
272 </template> 272 </template>
273 <template #default="scope"> 273 <template #default="scope">
274 <el-select v-model="scope.row.nationality" filterable size="small"> 274 <el-input v-model="scope.row.nationality" size="small"></el-input>
275 <el-option v-for="item in countrys" :key="item.id" :label="item.noc" :value="item.noc"/> 275 <!-- <el-select v-model="scope.row.nationality" filterable size="small">-->
276 </el-select> 276 <!-- <el-option v-for="item in countrys" :key="item.id" :label="item.noc" :value="item.noc"/>-->
277 <!-- </el-select>-->
277 </template> 278 </template>
278 </el-table-column> 279 </el-table-column>
279 <el-table-column :label="language==0?'出生日期':'Birth'" prop="birth" width="130px"> 280 <el-table-column :label="language==0?'出生日期':'Birth'" prop="birth" width="130px">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!