|
|
|
@ -31,14 +31,13 @@ |
|
|
|
<div class="item2"> |
|
|
|
<el-text size="large" style="width:4vw;">付款币种</el-text> |
|
|
|
<el-select v-model="searchForm.paymentCurrency" style="width:9vw;" placeholder="请选择付款币种" clearable> |
|
|
|
<el-option v-for="item in currencies" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
<el-option v-for="item in currencies" :key="item" :label="item" :value="item" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="item2"> |
|
|
|
<el-text size="large" style="width:4vw;">支付方式</el-text> |
|
|
|
<el-select v-model="searchForm.payType" style="width:9vw;" placeholder="请选择支付方式" clearable> |
|
|
|
<el-option v-for="item in channelOptions" :key="item.value" :label="item.label" |
|
|
|
:value="item.value" /> |
|
|
|
<el-option v-for="item in channelOptions" :key="item" :label="item" :value="item" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="item2" style="width: 28.5vw;"> |
|
|
|
@ -350,6 +349,7 @@ import { permissionMapping, findMenuById, hasMenuPermission } from "@/utils/menu |
|
|
|
import moment from 'moment' |
|
|
|
import { productList } from '@/views/moneyManage/receiveDetail/utils/staticData.js' |
|
|
|
import RefundChargeBackground from '@/assets/images/refund-progress.png' |
|
|
|
import { isNumber } from 'lodash' |
|
|
|
|
|
|
|
const currentStep = ref(0)// 进度图 |
|
|
|
const searchForm = ref({ |
|
|
|
@ -393,77 +393,8 @@ const statusStepMap = { |
|
|
|
40: [7, false], |
|
|
|
41: [8, false] |
|
|
|
} |
|
|
|
const currencies = ref([ |
|
|
|
{ |
|
|
|
value: '新币', |
|
|
|
label: '新币' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '港币', |
|
|
|
label: '港币' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '马币', |
|
|
|
label: '马币' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '加币', |
|
|
|
label: '加币' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '泰铢', |
|
|
|
label: '泰铢' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '越南盾', |
|
|
|
label: '越南盾' |
|
|
|
} |
|
|
|
]) |
|
|
|
const channelOptions = ref([{ |
|
|
|
value: '银行转账', |
|
|
|
label: '银行转账' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '刷卡', |
|
|
|
label: '刷卡' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '现金', |
|
|
|
label: '现金' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '支票', |
|
|
|
label: '支票' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 'Grabpay', |
|
|
|
label: 'Grabpay' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 'Nets', |
|
|
|
label: 'Nets' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 'E-Transfer', |
|
|
|
label: 'E-Transfer' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 'PayPal', |
|
|
|
label: 'PayPal' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 'Stripe-链接收款', |
|
|
|
label: 'Stripe-链接收款' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 'PaymentAsia-链接收款', |
|
|
|
label: 'PaymentAsia-链接收款' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 'Ipay88-链接收款', |
|
|
|
label: 'Ipay88-链接收款' |
|
|
|
} |
|
|
|
]) |
|
|
|
const currencies = ref(['美元(USD)', '港币(HKD)', '新币(SGD)', '马币(MYR)', '泰铢(THB)', '加币(CAD)', '越南盾(VDN)', '韩元(KRW)']) |
|
|
|
const channelOptions = ref(["Stripe-链接收款", "PaymentAsia-链接收款", "Ipay88-链接收款", "银行转账", "刷卡", "现金", "支票", "Grabpay", "Nets", "E-Transfer", "Paypal"]) |
|
|
|
const statusList = ref(['待审核', '审核通过', '已驳回', '退款成功']) |
|
|
|
// 查全部 |
|
|
|
const getRefund = async function () { |
|
|
|
@ -485,8 +416,12 @@ const getRefund = async function () { |
|
|
|
statuses.value = [20, 22, 30, 32, 40, 41] |
|
|
|
} |
|
|
|
|
|
|
|
if (searchForm.value.goodsName) { |
|
|
|
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1] |
|
|
|
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' |
|
|
|
|
|
|
|
if(searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)){ |
|
|
|
ElMessage.error('精网号必须为数字') |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
const params = { |
|
|
|
@ -496,7 +431,7 @@ const getRefund = async function () { |
|
|
|
jwcode: searchForm.value.jwcode,//精网号 |
|
|
|
name: searchForm.value.name,//姓名 |
|
|
|
markets: searchForm.value.markets,//地区 |
|
|
|
goodsName: searchForm.value.goodsName,//商品名 |
|
|
|
goodsName: goodsName,//商品名 |
|
|
|
statuses: statuses.value,//10:地区财务待审核;12:地区财务驳回; |
|
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
|
@ -647,10 +582,13 @@ const exportExcel = async function () { |
|
|
|
statuses.value = [20, 22, 30, 32, 40, 41] |
|
|
|
} |
|
|
|
|
|
|
|
if (searchForm.value.goodsName) { |
|
|
|
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1] |
|
|
|
} |
|
|
|
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' |
|
|
|
|
|
|
|
if(searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)){ |
|
|
|
ElMessage.error('精网号必须为数字') |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
const params = { |
|
|
|
pageNum: pagination.value.pageNum, |
|
|
|
@ -659,7 +597,7 @@ const exportExcel = async function () { |
|
|
|
jwcode: searchForm.value.jwcode,//精网号 |
|
|
|
name: searchForm.value.name,//姓名 |
|
|
|
markets: searchForm.value.markets,//地区 |
|
|
|
goodsName: searchForm.value.goodsName,//商品名 |
|
|
|
goodsName: goodsName,//商品名 |
|
|
|
statuses: statuses.value,//10:地区财务待审核;12:地区财务驳回; |
|
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
|
|