|
@ -22,6 +22,10 @@ |
|
|
<el-input size="medium" v-model="queryParams.downstreamMerchantOrderNo" placeholder="请输入商户下游订单号" |
|
|
<el-input size="medium" v-model="queryParams.downstreamMerchantOrderNo" placeholder="请输入商户下游订单号" |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="批次号" prop="batchNo"> |
|
|
|
|
|
<el-input size="medium" v-model="queryParams.batchNo" placeholder="请输入批次号" @keyup.enter.native="handleQuery" |
|
|
|
|
|
style="width: 180px; border-color: #e6f1ff" /> |
|
|
|
|
|
</el-form-item> |
|
|
<el-form-item label="收款卡号" prop="cardNumber"> |
|
|
<el-form-item label="收款卡号" prop="cardNumber"> |
|
|
<el-input size="medium" v-model="queryParams.cardNumber" placeholder="请输入收款卡号" |
|
|
<el-input size="medium" v-model="queryParams.cardNumber" placeholder="请输入收款卡号" |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
@ -32,6 +36,14 @@ |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="审核状态" prop="auditStatus"> |
|
|
|
|
|
<el-select v-model="queryParams.auditStatus" placeholder="请选择审核状态" clearable size="medium"> |
|
|
|
|
|
<el-option v-for="(item, i) in auditStatusAll" :key="i" :label="item.label" |
|
|
|
|
|
:value="item.value"></el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="姓名" prop="accountName"> |
|
|
<el-form-item label="姓名" prop="accountName"> |
|
|
<el-input size="medium" v-model="queryParams.accountName" placeholder="请输入姓名" |
|
|
<el-input size="medium" v-model="queryParams.accountName" placeholder="请输入姓名" |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
|
@keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" /> |
|
@ -107,7 +119,7 @@ |
|
|
<el-table-column label="商户" align="center" prop="merchantName" /> |
|
|
<el-table-column label="商户" align="center" prop="merchantName" /> |
|
|
<el-table-column label="商户订单号" align="center" prop="merchantOrderNo" /> |
|
|
<el-table-column label="商户订单号" align="center" prop="merchantOrderNo" /> |
|
|
<el-table-column label="商户下游订单号" align="center" prop="downstreamMerchantOrderNo" min-width="120" /> |
|
|
<el-table-column label="商户下游订单号" align="center" prop="downstreamMerchantOrderNo" min-width="120" /> |
|
|
|
|
|
<el-table-column label="批次号" align="center" prop="batchNo" min-width="120" /> |
|
|
<el-table-column :label="'类型'" align="center" prop="securityDepositAmount"> |
|
|
<el-table-column :label="'类型'" align="center" prop="securityDepositAmount"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ scope.row.orderSource == 1 ? '接口' : scope.row.orderSource == 2 ? '商户提现' : scope.row.orderSource |
|
|
{{ scope.row.orderSource == 1 ? '接口' : scope.row.orderSource == 2 ? '商户提现' : scope.row.orderSource |
|
@ -153,6 +165,17 @@ |
|
|
{{ scope.row.orderStatus == 1 ? '待支付' : scope.row.orderStatus == 2 ? '支付成功' : '支付失败' }} |
|
|
{{ scope.row.orderStatus == 1 ? '待支付' : scope.row.orderStatus == 2 ? '支付成功' : '支付失败' }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column :label="'审核状态'" align="center" prop="auditStatus"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<span :class="scope.row.auditStatus == 'turn_down'?'red':scope.row.auditStatus == 'unaudited'?'yellow':scope.row.auditStatus == 'examination_passed'?'green':''"> |
|
|
|
|
|
{{ scope.row.auditStatus == 'unaudited' ? '未审核' : scope.row.auditStatus == 'examination_passed' ? |
|
|
|
|
|
'审核通过' : scope.row.auditStatus == 'turn_down' ? '驳回' : '无需审核' }} |
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> --> |
|
|
|
|
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" /> |
|
|
<el-table-column label="备注" align="center" prop="remark" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -162,22 +185,32 @@ |
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" |
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" |
|
|
min-width="120"> |
|
|
min-width="120"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-button size="small" type="text" @click="switchStatusChange(scope.row, 'status')" |
|
|
<!-- <el-button size="small" type="text" @click="handleUnaudited(scope.row)" style="color: #006eff;" |
|
|
style="color: #006eff;margin-left: 10px;" :class="scope.row.canRace == 1 ? 'red' : 'yellow'"> |
|
|
v-if="scope.row.auditStatus == 'unaudited'">审核</el-button> --> |
|
|
{{ scope.row.canRace == 1 ? '锁定' : '解锁' }} |
|
|
|
|
|
</el-button> |
|
|
<!-- <span v-if="scope.row.auditStatus == 'unaudited'" class="yellow">当前订单未审核</span> |
|
|
<el-button size="small" type="text" @click="handleToOther(scope.row)" |
|
|
<span v-if="scope.row.auditStatus == 'turn_down'" class="red">当前订单已驳回</span> --> |
|
|
style="color: #006eff;">分配</el-button> |
|
|
|
|
|
<el-button size="small" type="text" @click="handleOut(scope.row)" |
|
|
<div v-if="scope.row.auditStatus != 'unaudited' && scope.row.auditStatus != 'turn_down'"> |
|
|
style="color: #006eff">关闭</el-button> |
|
|
<el-button size="small" type="text" @click="switchStatusChange(scope.row, 'status')" |
|
|
|
|
|
style="color: #006eff;margin-left: 10px;" |
|
|
<el-button size="small" type="text" @click="handleSuccess(scope.row)" |
|
|
:class="scope.row.canRace == 1 ? 'red' : 'yellow'"> |
|
|
style="color: #006eff">成功</el-button> |
|
|
{{ scope.row.canRace == 1 ? '锁定' : '解锁' }} |
|
|
|
|
|
</el-button> |
|
|
<el-button size="small" type="text" @click="handleView(scope.row)" |
|
|
<el-button size="small" type="text" @click="handleToOther(scope.row)" |
|
|
style="color: #006eff">详情</el-button> |
|
|
style="color: #006eff;">分配</el-button> |
|
|
<el-button size="small" type="text" @click="handleSonOrder(scope.row)" |
|
|
<el-button size="small" type="text" @click="handleOut(scope.row)" |
|
|
style="color: #006eff">子单</el-button> |
|
|
style="color: #006eff">关闭</el-button> |
|
|
|
|
|
|
|
|
|
|
|
<el-button size="small" type="text" @click="handleSuccess(scope.row)" |
|
|
|
|
|
style="color: #006eff">成功</el-button> |
|
|
|
|
|
|
|
|
|
|
|
<el-button size="small" type="text" @click="handleView(scope.row)" |
|
|
|
|
|
style="color: #006eff">详情</el-button> |
|
|
|
|
|
<el-button size="small" type="text" @click="handleSonOrder(scope.row)" |
|
|
|
|
|
style="color: #006eff">子单</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
@ -198,6 +231,9 @@ |
|
|
<el-form-item label="商户订单号"> |
|
|
<el-form-item label="商户订单号"> |
|
|
{{ detailInfoList.merchantOrderNo }} |
|
|
{{ detailInfoList.merchantOrderNo }} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="批次号"> |
|
|
|
|
|
{{ detailInfoList.batchNo }} |
|
|
|
|
|
</el-form-item> |
|
|
<el-form-item label="商户下游订单号"> |
|
|
<el-form-item label="商户下游订单号"> |
|
|
{{ detailInfoList.downstreamMerchantOrderNo }} |
|
|
{{ detailInfoList.downstreamMerchantOrderNo }} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -296,6 +332,24 @@ |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 审核 --> |
|
|
|
|
|
<el-dialog title="审核" :visible.sync="openAuditStatus" width="500px" append-to-body> |
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="110px"> |
|
|
|
|
|
<el-form-item label="状态"> |
|
|
|
|
|
<el-radio-group v-model="form.auditStatus" @change="change"> |
|
|
|
|
|
<el-radio v-for="dict in auditStatusCon" :key="dict.value" :value="dict.value" |
|
|
|
|
|
:label="dict.value">{{ dict.label }}</el-radio> |
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
|
|
<el-button type="primary" @click="submitFormAudit()">保 存</el-button> |
|
|
|
|
|
<el-button @click="cancel">取 消</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 子单列表 --> |
|
|
<!-- 子单列表 --> |
|
|
<el-dialog v-dialogDrag title="子单列表" :visible.sync="pkCouponScopeRangeParkingStoreOpen" width="80%" append-to-body |
|
|
<el-dialog v-dialogDrag title="子单列表" :visible.sync="pkCouponScopeRangeParkingStoreOpen" width="80%" append-to-body |
|
|
:close-on-click-modal="false"> |
|
|
:close-on-click-modal="false"> |
|
@ -355,6 +409,7 @@ export default { |
|
|
// 是否显示弹出层 |
|
|
// 是否显示弹出层 |
|
|
open: false, |
|
|
open: false, |
|
|
openOther: false, |
|
|
openOther: false, |
|
|
|
|
|
openAuditStatus: false, |
|
|
// 查询参数 |
|
|
// 查询参数 |
|
|
queryParams: { |
|
|
queryParams: { |
|
|
pageNum: 1, |
|
|
pageNum: 1, |
|
@ -368,8 +423,38 @@ export default { |
|
|
orderSource: null, |
|
|
orderSource: null, |
|
|
platformChannelId: null, |
|
|
platformChannelId: null, |
|
|
orderStatus: 1, |
|
|
orderStatus: 1, |
|
|
downstreamMerchantOrderNo: null |
|
|
downstreamMerchantOrderNo: null, |
|
|
|
|
|
batchNo: null, |
|
|
|
|
|
auditStatus: null, |
|
|
}, |
|
|
}, |
|
|
|
|
|
auditStatusAll: [ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '审核通过', |
|
|
|
|
|
value: 'examination_passed', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '驳回', |
|
|
|
|
|
value: 'turn_down', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '未审核', |
|
|
|
|
|
value: 'unaudited', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '无需审核', |
|
|
|
|
|
value: 'no_review_required', |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
auditStatusCon: [ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '审核通过', |
|
|
|
|
|
value: 'examination_passed', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '驳回', |
|
|
|
|
|
value: 'turn_down', |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
showAll: [ |
|
|
showAll: [ |
|
|
{ |
|
|
{ |
|
|
label: '全部', |
|
|
label: '全部', |
|
@ -396,6 +481,9 @@ export default { |
|
|
form: {}, |
|
|
form: {}, |
|
|
// 表单校验 |
|
|
// 表单校验 |
|
|
rules: { |
|
|
rules: { |
|
|
|
|
|
auditStatus: [ |
|
|
|
|
|
{ required: true, message: "请选择状态", trigger: "blur" } |
|
|
|
|
|
], |
|
|
carddealerId: [ |
|
|
carddealerId: [ |
|
|
{ required: true, message: "码商不能为空", trigger: "blur" } |
|
|
{ required: true, message: "码商不能为空", trigger: "blur" } |
|
|
], |
|
|
], |
|
@ -546,6 +634,14 @@ export default { |
|
|
debug: true, |
|
|
debug: true, |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 审核 |
|
|
|
|
|
handleUnaudited(row) { |
|
|
|
|
|
this.reset() |
|
|
|
|
|
this.form.orderNo = row.orderNo |
|
|
|
|
|
this.form.auditStatus = 'examination_passed' |
|
|
|
|
|
this.$forceUpdate() |
|
|
|
|
|
this.openAuditStatus = true |
|
|
|
|
|
}, |
|
|
tableRowClassName({ row, rowIndex }) { |
|
|
tableRowClassName({ row, rowIndex }) { |
|
|
if (row.sameMark == 1) { |
|
|
if (row.sameMark == 1) { |
|
|
return "purpleTransfer"; |
|
|
return "purpleTransfer"; |
|
@ -690,7 +786,9 @@ export default { |
|
|
orderSource: this.queryParams.orderSource, |
|
|
orderSource: this.queryParams.orderSource, |
|
|
orderStatus: this.queryParams.orderStatus, |
|
|
orderStatus: this.queryParams.orderStatus, |
|
|
platformChannelId: this.queryParams.platformChannelId, |
|
|
platformChannelId: this.queryParams.platformChannelId, |
|
|
downstreamMerchantOrderNo: this.queryParams.downstreamMerchantOrderNo |
|
|
downstreamMerchantOrderNo: this.queryParams.downstreamMerchantOrderNo, |
|
|
|
|
|
batchNo: this.queryParams.batchNo, |
|
|
|
|
|
auditStatus: this.queryParams.auditStatus |
|
|
} |
|
|
} |
|
|
listTransferOrder(this.addSESDateRange(queryParams, this.dateRange, 'type')).then(response => { |
|
|
listTransferOrder(this.addSESDateRange(queryParams, this.dateRange, 'type')).then(response => { |
|
|
this.infoList = response.rows; |
|
|
this.infoList = response.rows; |
|
@ -703,7 +801,8 @@ export default { |
|
|
cancel() { |
|
|
cancel() { |
|
|
this.open = false; |
|
|
this.open = false; |
|
|
this.openOther = false, |
|
|
this.openOther = false, |
|
|
this.reset(); |
|
|
this.openAuditStatus = false |
|
|
|
|
|
this.reset(); |
|
|
}, |
|
|
}, |
|
|
// 表单重置 |
|
|
// 表单重置 |
|
|
reset() { |
|
|
reset() { |
|
@ -775,6 +874,17 @@ export default { |
|
|
this.title = "修改代付订单"; |
|
|
this.title = "修改代付订单"; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 审核 |
|
|
|
|
|
submitFormAudit() { |
|
|
|
|
|
payOutOrder.orderReview({ |
|
|
|
|
|
orderNo: this.form.orderNo, |
|
|
|
|
|
auditStatus: this.form.auditStatus |
|
|
|
|
|
}).then(response => { |
|
|
|
|
|
this.msgSuccess("操作成功"); |
|
|
|
|
|
this.openAuditStatus = false; |
|
|
|
|
|
this.getList(); |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
/** 提交按钮 */ |
|
|
/** 提交按钮 */ |
|
|
submitForm() { |
|
|
submitForm() { |
|
|
this.$refs["form"].validate(valid => { |
|
|
this.$refs["form"].validate(valid => { |
|
@ -795,6 +905,7 @@ export default { |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** 成功按钮操作 */ |
|
|
/** 成功按钮操作 */ |
|
|
handleSuccess(row) { |
|
|
handleSuccess(row) { |
|
|
const ids = row.orderNo || this.ids; |
|
|
const ids = row.orderNo || this.ids; |
|
@ -870,6 +981,7 @@ export default { |
|
|
.purpleTransfer { |
|
|
.purpleTransfer { |
|
|
background: #FDF7FF !important; |
|
|
background: #FDF7FF !important; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* #EEF6FF/#F1FAF5/#FDF7FF/#FFF6F4 */ |
|
|
/* #EEF6FF/#F1FAF5/#FDF7FF/#FFF6F4 */ |
|
|
|
|
|
|
|
|
.greyOrder { |
|
|
.greyOrder { |
|
@ -900,7 +1012,9 @@ export default { |
|
|
.yellow { |
|
|
.yellow { |
|
|
color: #F49300 !important; |
|
|
color: #F49300 !important; |
|
|
} |
|
|
} |
|
|
|
|
|
.green{ |
|
|
|
|
|
color: #67c23a !important; |
|
|
|
|
|
} |
|
|
::v-deep .el-table tbody tr:hover>td { |
|
|
::v-deep .el-table tbody tr:hover>td { |
|
|
background-color: rgba(0, 0, 0, 0) !important |
|
|
background-color: rgba(0, 0, 0, 0) !important |
|
|
} |
|
|
} |
|
|