|
|
|
@ -273,7 +273,6 @@ const openRefundConfirm = () => { |
|
|
|
permanentGold: null, |
|
|
|
freeGold: null, |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
const openRefundDialog = () => { |
|
|
|
refundDialog.value = true |
|
|
|
@ -297,6 +296,10 @@ const resetRefund = () => { |
|
|
|
} |
|
|
|
const handleRefund = async () => { |
|
|
|
try { |
|
|
|
if(refundFormData.value.status == 6){ |
|
|
|
ElMessage.error(t('elmessage.refundagain')) |
|
|
|
return |
|
|
|
} |
|
|
|
if (refundFormData.value.refundModel == 1) { |
|
|
|
if (Number(refundFormData.value.permanentGold || 0) > Number(refundFormData.value.oldpermanentGold || 0)) { |
|
|
|
ElMessage.error(t('elmessage.limitRefundGoldNotExceedOriginal')) |
|
|
|
@ -634,7 +637,7 @@ const ipay88Rules = { |
|
|
|
handlingCharge: [ |
|
|
|
{ required: true, message: t("common_add.feePlaceholder"),trigger: 'change'}, |
|
|
|
{ pattern: /^[0-9]+(\.[0-9]{1,2})?$/, message: t('cash.cashFlow.invalidFormat'),trigger: 'change' } ], |
|
|
|
remark: [{ max: 100, message: t('cash.cashFlow.remarksexceed'), trigger: 'change' }] |
|
|
|
remark: [ {required: true, max: 100, message: t('cash.cashFlow.remarksexceed'), trigger: 'change' }] |
|
|
|
}; |
|
|
|
const handleIpay88 =async () =>{ |
|
|
|
if (!ipay88FormRef.value) return; |
|
|
|
@ -907,7 +910,7 @@ onMounted(async () => { |
|
|
|
</el-form> |
|
|
|
<div style="display:flex;justify-content: center;margin-top: 5vh;" class="btnDiv"> |
|
|
|
<el-button type="default" style="background-color: #7E91FF;" @click="showDetail = false">{{t('common.cancel')}}</el-button> |
|
|
|
<el-button type="primary" style="background-color: #2741DE; margin-left: 2.5vw;" @click="openRefundConfirm">{{ t('common.refund') }}</el-button> |
|
|
|
<el-button v-show="formDataRow.orderCode.slice(0, 4) == 'GOLD' && formDataRow.status === 4 " type="primary" style="background-color: #2741DE; margin-left: 2.5vw;" @click="openRefundConfirm">{{ t('common.refund') }}</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
@ -1014,7 +1017,6 @@ onMounted(async () => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 导出列表弹窗 --> |
|
|
|
<el-dialog v-model="exportListVisible" :title="t('common_export.exportList')" width="80%"> |
|
|
|
<el-table :data="exportList" style="width: 100% ;height: 60vh;" :loading="exportListLoading"> |
|
|
|
@ -1333,6 +1335,7 @@ onMounted(async () => { |
|
|
|
} |
|
|
|
|
|
|
|
.newAdd { |
|
|
|
margin-left: auto; |
|
|
|
display: flex; |
|
|
|
width: 240px; |
|
|
|
justify-content: flex-end; |
|
|
|
|