+
{{ t('common_add.freeGold') }}
{{ t('cash.unit') }}
@@ -420,7 +420,7 @@ const submitEdit = async function () {
} else if (!editForm.value.refundReason) {
ElMessage.error(t('elmessage.refundReasonPlaceholder'))
return
- } else if (editRow.value.goodsName === '金币充值' && editForm.value.refundModel == 1) {
+ } else if (editRow.value.goodsName === t('cash.coinRecharge') && editForm.value.refundModel == 1) {
if (!editForm.value.partRefundGold || !editForm.value.partRefundFree) {
ElMessage.error(t('elmessage.inputRefundBeansBoth'))
return
@@ -458,11 +458,11 @@ const submitEdit = async function () {
}
console.log('params',params);
- if (editRow.value.goodsName != '金币充值') {
+ if (editRow.value.goodsName != t('cash.coinRecharge')) {
params.newRefundGold = ''
params.newRefundFree = ''
}
- if (editRow.value.goodsName == '金币充值') {
+ if (editRow.value.goodsName == t('cash.coinRecharge')) {
if (editForm.value.partRefundGold > editRow.value.gold) {
ElMessage.error(t('elmessage.limitRefundGoldNotExceedOriginal'))
return