|
|
@@ -182,7 +182,7 @@
|
|
|
@current-change="refreshPageRequest"
|
|
|
:current-page="pageRequest.pageNo"
|
|
|
:page-size="pageRequest.pageSize"
|
|
|
- :page-sizes="[ 20, 50, 100, 200, 300, 400, 500]"
|
|
|
+ :page-sizes="[20, 50, 100, 200, 300, 400, 500]"
|
|
|
:total="pageRequest.totalSize"
|
|
|
style="float: left; margin-left: 20px; margin-top: 20px"
|
|
|
>
|
|
|
@@ -355,13 +355,11 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12" style="text-align: center"
|
|
|
- ><h3 style="margin-left: 120px;">支出方资金归属</h3>
|
|
|
- </el-col
|
|
|
- >
|
|
|
+ ><h3 style="margin-left: 120px">支出方资金归属</h3>
|
|
|
+ </el-col>
|
|
|
<el-col :span="12" style="text-align: center"
|
|
|
- ><h3 style="margin-left: 120px;">收入方资金归属</h3>
|
|
|
- </el-col
|
|
|
- >
|
|
|
+ ><h3 style="margin-left: 120px">收入方资金归属</h3>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
<el-row class="profit_box">
|
|
|
<el-col :span="12">
|
|
|
@@ -742,7 +740,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
prop: "applyTime",
|
|
|
- label: "转账日期",
|
|
|
+ label: "申请日期",
|
|
|
minWidth: 100,
|
|
|
sortable: false,
|
|
|
},
|
|
|
@@ -782,6 +780,14 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ //获取当前时间
|
|
|
+ getNowTime() {
|
|
|
+ const dateMat = new Date();
|
|
|
+ const year = dateMat.getFullYear();
|
|
|
+ const month = dateMat.getMonth() + 1;
|
|
|
+ const day = dateMat.getDate();
|
|
|
+ return year+'-'+(month>9?month:'0'+month) + '-'+(day>9?day:'0'+day)
|
|
|
+ },
|
|
|
//获取归属数据
|
|
|
getAffiliationData() {
|
|
|
this.$api.expense.getList().then((res) => {
|
|
|
@@ -815,7 +821,7 @@ export default {
|
|
|
this.$message.error("暂无导出数据,请重试!");
|
|
|
return;
|
|
|
}
|
|
|
- this.expendFun(res.data)
|
|
|
+ this.expendFun(res.data);
|
|
|
} else {
|
|
|
this.$message.error(res.msg);
|
|
|
}
|
|
|
@@ -829,7 +835,7 @@ export default {
|
|
|
this.$message.error("暂无导出数据,请重试!");
|
|
|
return;
|
|
|
}
|
|
|
- this.expendFun(res.data)
|
|
|
+ this.expendFun(res.data);
|
|
|
} else {
|
|
|
this.$message.error(res.msg);
|
|
|
}
|
|
|
@@ -910,7 +916,7 @@ export default {
|
|
|
it.bankCardNum +
|
|
|
" " +
|
|
|
it.bank;
|
|
|
- it.nameValue = it.name
|
|
|
+ it.nameValue = it.name;
|
|
|
// it.nameValue =
|
|
|
// item.accountName + " " + it.bankCardNum + " " + it.bank;
|
|
|
});
|
|
|
@@ -947,10 +953,11 @@ export default {
|
|
|
obj.entProfit = {};
|
|
|
obj.outProfit = {};
|
|
|
this.affiliationData.forEach((item) => {
|
|
|
- obj.entProfit[item.profitEng] = item.profit==null?0:item.profit;
|
|
|
+ obj.entProfit[item.profitEng] = item.profit == null ? 0 : item.profit;
|
|
|
});
|
|
|
this.affiliationData2.forEach((item) => {
|
|
|
- obj.outProfit[item.profitEng] = item.profit==0||item.profit==null?0:item.profit*-1;
|
|
|
+ obj.outProfit[item.profitEng] =
|
|
|
+ item.profit == 0 || item.profit == null ? 0 : item.profit * -1;
|
|
|
});
|
|
|
//转化资金归属
|
|
|
this.$refs.inComeFormData.validate((valid) => {
|
|
|
@@ -1027,6 +1034,8 @@ export default {
|
|
|
type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
+ console.log(this.getNowTime())
|
|
|
+ return
|
|
|
this.$api.expense
|
|
|
.updateTransferFlag(index.row.excelAccountOperateId)
|
|
|
.then((res) => {
|