|
|
@@ -98,6 +98,34 @@
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</div>
|
|
|
+ <div style="margin:5px;display: inline-block;">
|
|
|
+ <span>操作开始时间:</span>
|
|
|
+ <el-date-picker
|
|
|
+ style="width: 160px;margin-left: 10px;"
|
|
|
+ v-model="outstartTime"
|
|
|
+ align="right"
|
|
|
+ type="datetime"
|
|
|
+ format="yyyy-MM-dd"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择开始时间"
|
|
|
+ >
|
|
|
+ </el-date-picker
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <div style="margin:5px;display: inline-block;">
|
|
|
+ <span>操作截止时间:</span>
|
|
|
+ <el-date-picker
|
|
|
+ style="width: 160px;margin-left: 10px;"
|
|
|
+ v-model="outendTime"
|
|
|
+ align="right"
|
|
|
+ type="datetime"
|
|
|
+ format="yyyy-MM-dd"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择截止时间"
|
|
|
+ >
|
|
|
+ </el-date-picker
|
|
|
+ >
|
|
|
+ </div>
|
|
|
<div style="position: relative;display: inline-block;margin:5px;">
|
|
|
<span>提现总金额:{{ totalMoney }}</span>
|
|
|
</div>
|
|
|
@@ -119,7 +147,7 @@
|
|
|
@click="cleans2"
|
|
|
>重置
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
+ <!-- <el-button
|
|
|
style="margin:0 0 20px 20px;"
|
|
|
size="mini"
|
|
|
type="primary"
|
|
|
@@ -132,6 +160,16 @@
|
|
|
批量转账
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
+ style="margin:0 0 20px 20px;"
|
|
|
+ size="mini"
|
|
|
+ type="warning"
|
|
|
+ icon="document"
|
|
|
+ @click="transferRefuseClcik()"
|
|
|
+ :disabled="checkBoxData.length <= 0 || !isAuth('financeList:refund')"
|
|
|
+ >
|
|
|
+ 批量拒绝
|
|
|
+ </el-button> -->
|
|
|
+ <el-button
|
|
|
style="margin-left:15px;"
|
|
|
size="mini"
|
|
|
type="warning"
|
|
|
@@ -1166,6 +1204,8 @@ export default {
|
|
|
content: "",
|
|
|
startTime: "",
|
|
|
endTime: "",
|
|
|
+ outstartTime:"",
|
|
|
+ outendTime:"",
|
|
|
cashId: "",
|
|
|
type: -1,
|
|
|
totalnum: 0,
|
|
|
@@ -1290,7 +1330,7 @@ export default {
|
|
|
this.$notify({
|
|
|
title: "提示",
|
|
|
duration: 1800,
|
|
|
- message: data.msg,
|
|
|
+ message:'转账成功',
|
|
|
type: "warning"
|
|
|
});
|
|
|
// this.dataSelect();
|
|
|
@@ -1299,7 +1339,7 @@ export default {
|
|
|
this.$notify({
|
|
|
title: "提示",
|
|
|
duration: 1800,
|
|
|
- message: data.msg,
|
|
|
+ message: '转账失败',
|
|
|
type: "error"
|
|
|
});
|
|
|
// this.dataSelect();
|
|
|
@@ -1317,7 +1357,7 @@ export default {
|
|
|
this.$notify({
|
|
|
title: "提示",
|
|
|
duration: 1800,
|
|
|
- message: data.msg,
|
|
|
+ message: '转账成功',
|
|
|
type: "warning"
|
|
|
});
|
|
|
// this.dataSelect();
|
|
|
@@ -1337,7 +1377,7 @@ export default {
|
|
|
this.$notify({
|
|
|
title: "提示",
|
|
|
duration: 1800,
|
|
|
- message: data.msg,
|
|
|
+ message: '转账失败',
|
|
|
type: "error"
|
|
|
});
|
|
|
// this.dataSelect();
|
|
|
@@ -1375,6 +1415,47 @@ export default {
|
|
|
// });
|
|
|
// }
|
|
|
}, 100),
|
|
|
+ // 批量拒绝
|
|
|
+ transferRefuseClcik: debounce(function(id) {
|
|
|
+ var ids = id
|
|
|
+ ? [id]
|
|
|
+ : this.checkBoxData.map(item => {
|
|
|
+ return item.id;
|
|
|
+ });
|
|
|
+ console.log(ids, "勾选的ids");
|
|
|
+ for (var i in ids) {
|
|
|
+ this.$http({
|
|
|
+ url: this.$http.adornUrl(`cash/refund`),
|
|
|
+ method: "post",
|
|
|
+ params: this.$http.adornParams({
|
|
|
+ cashId: ids[i],
|
|
|
+ content: ""
|
|
|
+ })
|
|
|
+ }).then(({ data }) => {
|
|
|
+ // console.log(data, "rht转账");
|
|
|
+ if (data.code == 0) {
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
+ duration: 1800,
|
|
|
+ message: '操作成功',
|
|
|
+ type: "warning"
|
|
|
+ });
|
|
|
+ // this.dataSelect();
|
|
|
+ // return;
|
|
|
+ } else {
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
+ duration: 1800,
|
|
|
+ message: '操作失败',
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
+ // this.dataSelect();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.dataSelect();
|
|
|
+ }, 100),
|
|
|
// 多选
|
|
|
changeFun(val) {
|
|
|
this.checkBoxData = val;
|
|
|
@@ -1832,7 +1913,9 @@ export default {
|
|
|
state: this.indentState,
|
|
|
phone: this.phone,
|
|
|
startTime: this.startTime,
|
|
|
- endTime: this.endTime
|
|
|
+ endTime: this.endTime,
|
|
|
+ outstartTime: this.outstartTime,
|
|
|
+ outendTime: this.outendTime
|
|
|
})
|
|
|
}).then(({ data }) => {
|
|
|
console.log(data, "财务中心");
|
|
|
@@ -1856,7 +1939,9 @@ export default {
|
|
|
state: this.indentState,
|
|
|
phone: this.phone,
|
|
|
startTime: this.startTime,
|
|
|
- endTime: this.endTime
|
|
|
+ endTime: this.endTime,
|
|
|
+ outstartTime: this.outstartTime,
|
|
|
+ outendTime: this.outendTime,
|
|
|
})
|
|
|
}).then(({ data }) => {
|
|
|
this.totalMoney = data.data;
|
|
|
@@ -2032,6 +2117,8 @@ export default {
|
|
|
this.phone = "";
|
|
|
this.startTime = "";
|
|
|
this.endTime = "";
|
|
|
+ this.outstartTime = "";
|
|
|
+ this.outendTime = "";
|
|
|
this.dataSelect();
|
|
|
},
|
|
|
//保证金查询
|
|
|
@@ -2119,7 +2206,9 @@ export default {
|
|
|
phone: this.phone,
|
|
|
state: this.indentState,
|
|
|
startTime: this.startTime,
|
|
|
- endTime: this.endTime
|
|
|
+ endTime: this.endTime,
|
|
|
+ outstartTime: this.outstartTime,
|
|
|
+ outendTime: this.outendTime,
|
|
|
})
|
|
|
}).then(({ data }) => {
|
|
|
console.log(data, "导出");
|
|
|
@@ -2203,7 +2292,7 @@ export default {
|
|
|
type: this.indentState3,
|
|
|
classify: 2,
|
|
|
startTime: this.startTime,
|
|
|
- endTime: this.endTime
|
|
|
+ endTime: this.endTime,
|
|
|
})
|
|
|
}).then(({ data }) => {
|
|
|
console.log(data, "导出");
|