b76c2301 by zrj

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

1 parent 58ee748a
......@@ -29,6 +29,9 @@
<span v-if="b.status == '7'" class="bg-danger">{{
language == 0 ? '退款审核中' : 'Refund in review'
}}</span>
<span v-if="b.status == '8'" class="bg-blue">{{
language == 0 ? '现场支付' : 'Pay on Arrival'
}}</span>
<span v-if="b.status == '-1'" class="bg-blue">{{
language == 0 ? '已核销' : 'Completed'
}}</span>
......@@ -137,7 +140,7 @@
@click="cancel(b)">
{{ language == 0 ? '取消订单' : 'Cancel Order' }}
</el-button>
<el-button v-if="b.viewStatus==5 && !min" class="mb10" plain round size="small" @click="showunsubscribe(b)">
<el-button v-if="(b.viewStatus==5 || b.viewStatus==8) && !min" class="mb10" plain round size="small" @click="showunsubscribe(b)">
{{ language == 0 ? '退订' : 'Unsubscribe' }}
</el-button>
......@@ -312,8 +315,6 @@ const unsubscribe = () => {
proxy.$modal.msgError(language.value == 0 ? '请完善信息' : 'Please complete the information')
}
})
}
const downInvoice = (row) => {
......@@ -420,7 +421,20 @@ const showunsubscribe = (row) => {
beneficiaryBankAddress:'',
swiftCode:'',
}
show2.value = true
if (row.viewStatus==8) {
proxy.$modal.confirm(language.value == 0 ? `确定退款吗 ?` : 'Are you sure to refund?').then(() => {
return cancelOrderBody(unsubscribeForm.value).then(res => {
ElMessage({
message: language.value == 0 ? '已提交退款,请等待审核!' : 'Refund has been submitted, please wait for review!',
type: 'success'
})
show2.value = false
emit('refresh')
})
})
} else {
show2.value = true
}
}
</script>
......
......@@ -271,9 +271,10 @@
</div>
</template>
<template #default="scope">
<el-select v-model="scope.row.nationality" filterable size="small">
<el-option v-for="item in countrys" :key="item.id" :label="item.noc" :value="item.noc"/>
</el-select>
<el-input v-model="scope.row.nationality" size="small"></el-input>
<!-- <el-select v-model="scope.row.nationality" filterable size="small">-->
<!-- <el-option v-for="item in countrys" :key="item.id" :label="item.noc" :value="item.noc"/>-->
<!-- </el-select>-->
</template>
</el-table-column>
<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!