Browse Source

修改商户充值订单订单金额搜索

master
j1ack 2 years ago
parent
commit
47896df9d1
  1. 29
      src/views/order/payOrder/csOrder.vue
  2. 29
      src/views/order/payOrder/index.vue
  3. 46
      src/views/order/payOrder/wwc.vue

29
src/views/order/payOrder/csOrder.vue

@ -591,30 +591,8 @@ export default {
}
});
},
timerHandler() {
let queryParams = {
pageNum: this.queryParams.pageNum,
pageSize: this.queryParams.pageSize,
orderNo: this.queryParams.orderNo,
merchantOrderNo: this.queryParams.merchantOrderNo,
carddealerCardNumber: this.queryParams.carddealerCardNumber,
merchantName: this.queryParams.merchantName,
carddealerName: this.queryParams.carddealerName,
payerName: this.queryParams.payerName,
orderAmount: this.queryParams.orderAmount,
channelName: this.queryParams.channelName,
orderStatus: this.queryParams.orderStatus,
carddealerCardHolder: this.queryParams.carddealerCardHolder,
reqAmount: typeof (this.reqAmount) == 'object' ? null : !this.reqAmount ? null : parseFloat(this.reqAmount),
platformChannelId: this.queryParams.platformChannelId,
}
listPayOrder(this.addSESDateRange(queryParams, this.dateRange, 'type')).then(response => {
this.infoList = response.rows;
this.total = Number(response.total);
});
},
/** 查询代收订单列表 */
getList(beginAmount,endAmount) {
getList() {
this.loading = true;
let queryParams = {
pageNum: this.queryParams.pageNum,
@ -638,7 +616,6 @@ export default {
this.infoList = response.rows;
this.total = Number(response.total);
this.loading = false;
this.startTimer(queryParams)
});
},
//
@ -663,11 +640,7 @@ export default {
this.queryParams.pageNum = 1;
this.endAmount=endAmount
this.beginAmount=beginAmount
if(endAmount||beginAmount){
this.getList(beginAmount,endAmount)
}else{
this.getList()
}
},
/** 重置按钮操作 */
resetQuery() {

29
src/views/order/payOrder/index.vue

@ -567,30 +567,8 @@ export default {
}
});
},
timerHandler() {
let queryParams = {
pageNum: this.queryParams.pageNum,
pageSize: this.queryParams.pageSize,
orderNo: this.queryParams.orderNo,
merchantOrderNo: this.queryParams.merchantOrderNo,
carddealerCardNumber: this.queryParams.carddealerCardNumber,
merchantName: this.queryParams.merchantName,
carddealerName: this.queryParams.carddealerName,
payerName: this.queryParams.payerName,
orderAmount: this.queryParams.orderAmount,
channelName: this.queryParams.channelName,
orderStatus: this.queryParams.orderStatus,
carddealerCardHolder: this.queryParams.carddealerCardHolder,
reqAmount: typeof (this.reqAmount) == 'object' ? null : !this.reqAmount ? null : parseFloat(this.reqAmount),
platformChannelId: this.queryParams.platformChannelId,
}
listPayOrder(this.addSESDateRange(queryParams, this.dateRange, 'type')).then(response => {
this.infoList = response.rows;
this.total = Number(response.total);
});
},
/** 查询代收订单列表 */
getList(beginAmount,endAmount) {
getList() {
this.loading = true;
let queryParams = {
pageNum: this.queryParams.pageNum,
@ -614,7 +592,6 @@ export default {
this.infoList = response.rows;
this.total = Number(response.total);
this.loading = false;
this.startTimer(queryParams)
});
},
//
@ -639,11 +616,7 @@ export default {
this.queryParams.pageNum = 1;
this.endAmount=endAmount
this.beginAmount=beginAmount
if(endAmount||beginAmount){
this.getList(beginAmount,endAmount)
}else{
this.getList()
}
},
/** 重置按钮操作 */
resetQuery() {

46
src/views/order/payOrder/wwc.vue

@ -88,7 +88,8 @@
<el-row :gutter="10" class="mb8">
<el-button type="primary" icon="" size="medium" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="medium" @click="resetQuery">重置</el-button>
<el-button type="primary" plain icon="" size="medium" @click="handleExport()" v-hasPermi="['order:payOrder:export']">导出</el-button>
<el-button type="primary" plain icon="" size="medium" @click="handleExport()"
v-hasPermi="['order:payOrder:export']">导出</el-button>
</el-row>
@ -159,12 +160,13 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope">
<el-button size="small" type="text" @click="getCertificate(scope.row)" style="color: #006eff" v-if="scope.row.proofImg">查看凭证</el-button>
<el-button size="small" type="text" @click="handleView(scope.row)" style="color: #006eff" v-hasPermi="['order:payOrder:query']">详情</el-button>
<el-button size="small" type="text" @click="getCertificate(scope.row)" style="color: #006eff"
v-if="scope.row.proofImg">查看凭证</el-button>
<el-button size="small" type="text" @click="handleView(scope.row)" style="color: #006eff"
v-hasPermi="['order:payOrder:query']">详情</el-button>
<el-button size="small" type="text" @click="handleOver(scope.row)" style="color: #006eff"
:disabled="scope.row.sameMark == 1" v-hasPermi="['order:payOrder:overtimePayment']"
v-if="!scope.row.isAcceptorOrder"
>已收款</el-button>
v-if="!scope.row.isAcceptorOrder">已收款</el-button>
<!-- <el-button size="small" type="text" @click="handleNotify(scope.row)" style="color: #006eff">通知</el-button> -->
</template>
</el-table-column>
@ -226,7 +228,8 @@
</div>
<div class="card-detail">
<el-form-item :label="'是否是承兑商订单'">
<span :style="{color:detailInfoList.isAcceptorOrder?'red':'#000'}">{{ detailInfoList.isAcceptorOrder?'是':'否' }}</span>
<span :style="{ color: detailInfoList.isAcceptorOrder ? 'red' : '#000' }">{{ detailInfoList.isAcceptorOrder ? '是' : '否'
}}</span>
</el-form-item>
<el-form-item label="收款卡号">
{{ detailInfoList.carddealerCardNumber }}
@ -587,32 +590,8 @@ export default {
}
});
},
timerHandler() {
let queryParams = {
pageNum: this.queryParams.pageNum,
pageSize: this.queryParams.pageSize,
orderNo: this.queryParams.orderNo,
merchantOrderNo: this.queryParams.merchantOrderNo,
carddealerCardNumber: this.queryParams.carddealerCardNumber,
merchantName: this.queryParams.merchantName,
carddealerName: this.queryParams.carddealerName,
payerName: this.queryParams.payerName,
orderAmount: this.queryParams.orderAmount,
channelName: this.queryParams.channelName,
orderStatus: this.queryParams.orderStatus,
carddealerCardHolder: this.queryParams.carddealerCardHolder,
reqAmount: typeof (this.reqAmount) == 'object' ? null : !this.reqAmount ? null : parseFloat(this.reqAmount),
platformChannelId: this.queryParams.platformChannelId,
downstreamMerchantOrderNo: this.queryParams.downstreamMerchantOrderNo,
}
listPayOrder(this.addSESDateRange(queryParams, this.dateRange, 'type')).then(response => {
this.infoList = response.rows;
this.total = Number(response.total);
});
},
/** 查询代收订单列表 */
getList(beginAmount,endAmount) {
getList() {
this.loading = true;
let queryParams = {
pageNum: this.queryParams.pageNum,
@ -636,7 +615,6 @@ export default {
this.infoList = response.rows;
this.total = Number(response.total);
this.loading = false;
this.startTimer(queryParams)
});
},
//
@ -661,11 +639,7 @@ export default {
this.queryParams.pageNum = 1;
this.endAmount = endAmount
this.beginAmount = beginAmount
if(endAmount||beginAmount){
this.getList(beginAmount,endAmount)
}else{
this.getList()
}
},
/** 重置按钮操作 */
resetQuery() {

Loading…
Cancel
Save