|
@@ -31,9 +31,9 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="search">
|
|
|
+ <el-form-item prop="cooperationOrganId">
|
|
|
<el-select
|
|
|
- v-model.trim="searchForm.search"
|
|
|
+ v-model.trim="searchForm.cooperationOrganId"
|
|
|
:disabled="!searchForm.organId"
|
|
|
filterable
|
|
|
clearable
|
|
@@ -53,8 +53,8 @@
|
|
|
clearable
|
|
|
placeholder="付款状态"
|
|
|
>
|
|
|
- <el-option label="已付款" :value="1"></el-option>
|
|
|
- <el-option label="未付款" :value="0"></el-option>
|
|
|
+ <el-option label="已缴费" value="PAID_COMPLETED"></el-option>
|
|
|
+ <el-option label="未缴费" value="NON_PAYMENT"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -75,20 +75,20 @@
|
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
- prop="cooperationOrganName"
|
|
|
+ prop="cooperationName"
|
|
|
label="合作单位"
|
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
- prop="cooperationOrganName"
|
|
|
+ prop="musicGroupName"
|
|
|
label="乐团"
|
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
- prop="cooperationOrganName"
|
|
|
+ prop="musicalNum"
|
|
|
label="乐器数量"
|
|
|
></el-table-column>
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
align="center"
|
|
|
prop="cooperationOrganName"
|
|
|
label="分润金额(每件/元)"
|
|
@@ -98,7 +98,7 @@
|
|
|
{{ scope.row.receivable | moneyFormat }}
|
|
|
</div>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
prop="cooperationOrganName"
|
|
@@ -106,49 +106,45 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.receivable | moneyFormat }}
|
|
|
+ {{ scope.row.totalAmount | moneyFormat }}
|
|
|
</div>
|
|
|
</template></el-table-column
|
|
|
>
|
|
|
- <el-table-column align="center" prop="studentId" label="乐团主管">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>
|
|
|
- {{ scope.row.receivable | moneyFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <el-table-column align="center" prop="educationUserName" label="乐团主管">
|
|
|
+
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="studentId" label="付款状态">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.income | moneyFormat }}
|
|
|
+ {{ scope.row.paymentStatus | paymentStatusDetall }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" prop="studentId" label="付款流水号">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>
|
|
|
- {{ scope.row.prepaidFee | moneyFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <el-table-column align="center" prop="paymentNo" label="付款流水号">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
- prop="备注"
|
|
|
- label="乐团主管"
|
|
|
+ prop="memo"
|
|
|
+ label="备注"
|
|
|
width="100px"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="studentId" label="凭证">
|
|
|
<template slot-scope="scope">
|
|
|
- <div>
|
|
|
- {{ scope.row.prepaidFee | moneyFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <el-image
|
|
|
+ v-if="scope.row.credentials"
|
|
|
+ style="width: 60px; height: 60px"
|
|
|
+ fit="cover"
|
|
|
+ :src="scope.row.credentials.split(',')[0]"
|
|
|
+ :previewSrcList="scope.row.credentials.split(',')"
|
|
|
+ >
|
|
|
+ </el-image>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="studentId" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- <auth auths="musicGroupCalenderRefundPeriod/queryCoopCalender">
|
|
|
+ <auth auths="cooperationShareProfit/addCredentials">
|
|
|
<el-button type="text" @click="addPayCode(scope.row)"
|
|
|
>添加付款记录</el-button
|
|
|
>
|
|
@@ -167,6 +163,7 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <addPayCode ref='addPayCode' @getList="getList"/>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -178,20 +175,19 @@ import { getTimes } from "@/utils";
|
|
|
import load from "@/utils/loading";
|
|
|
import { backTypeList } from "@/utils/searchArray";
|
|
|
import { Export } from "@/utils/downLoadFile";
|
|
|
-import { getCoopRefundList } from "./api";
|
|
|
+import { getCoopShareList } from "./api";
|
|
|
import { queryByOrganId } from "@/api/systemManage";
|
|
|
+import addPayCode from './modals/addPayCode'
|
|
|
import qs from "qs";
|
|
|
export default {
|
|
|
- components: { pagination },
|
|
|
+ components: { pagination,addPayCode },
|
|
|
data() {
|
|
|
return {
|
|
|
searchForm: {
|
|
|
- search: null,
|
|
|
- returnFeeType: null,
|
|
|
+ cooperationOrganId: null,
|
|
|
+ paymentStatus: null,
|
|
|
organId: null,
|
|
|
- backTime: [],
|
|
|
- payTime: [],
|
|
|
- returnFeeFlag: null,
|
|
|
+
|
|
|
},
|
|
|
backTypeList,
|
|
|
tableList: [],
|
|
@@ -230,9 +226,10 @@ export default {
|
|
|
rows: this.rules.limit,
|
|
|
};
|
|
|
try {
|
|
|
- const res = await getCoopRefundList(params);
|
|
|
- this.tableList = res.data.pageInfo.rows;
|
|
|
- this.rules.total = res.data.pageInfo.total;
|
|
|
+ const res = await getCoopShareList(params);
|
|
|
+ this.tableList = res.data.rows;
|
|
|
+
|
|
|
+ this.rules.total = res.data.total;
|
|
|
} catch (e) {
|
|
|
console.log(e);
|
|
|
}
|
|
@@ -246,7 +243,7 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
addPayCode(row) {
|
|
|
-
|
|
|
+ this.$refs.addPayCode.openDialog(row)
|
|
|
// /financialManager/payschoolList
|
|
|
},
|
|
|
|
|
@@ -301,6 +298,13 @@ export default {
|
|
|
width: 260px !important;
|
|
|
}
|
|
|
}
|
|
|
+::v-deep .el-table .cell {
|
|
|
+ display: -webkit-box;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 3;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+}
|
|
|
.form {
|
|
|
::v-deep .el-input {
|
|
|
width: 220px;
|