| xqd
@@ -5,7 +5,7 @@
|
|
|
<div class="grid-content bg-purple">
|
|
|
<el-input
|
|
|
placeholder="请输入供应商名称"
|
|
|
- v-model="formData.name"
|
|
|
+ v-model="formData.supplierName"
|
|
|
@change="Search"
|
|
|
clearable
|
|
|
style="width: 100%"
|
| xqd
@@ -35,8 +35,8 @@
|
|
|
class="grid-content bg-purple"
|
|
|
style="display: flex; justify-content: flex-end"
|
|
|
>
|
|
|
- <el-button type="primary" @click="successes">审核通过</el-button>
|
|
|
- <el-button type="primary" @click="failed">审核不通过</el-button>
|
|
|
+ <el-button type="primary" @click="successes" v-permission="['admin', 'salesman']">审核通过</el-button>
|
|
|
+ <el-button type="primary" @click="failed" v-permission="['admin', 'salesman']">审核不通过</el-button>
|
|
|
<el-button type="danger" @click="deleteStatuses">删除</el-button>
|
|
|
<el-button type="primary" @click="dialogVisible2 = true" v-permission="['supplier']"
|
|
|
>新增承兑人</el-button
|
| xqd
@@ -45,115 +45,13 @@
|
|
|
</div>
|
|
|
</el-row>
|
|
|
|
|
|
- <!-- 弹窗修改 -->
|
|
|
- <el-dialog title="修改承兑人" :visible.sync="dialogVisible1" width="500px">
|
|
|
- <el-form :model="tableData" label-width="100px">
|
|
|
- <el-form-item label="姓名" prop="tableData.name">
|
|
|
- <el-input v-model="tableData.name" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
-
|
|
|
- <el-form-item label="银行账号" prop="tableData.bankAccount">
|
|
|
- <el-input
|
|
|
- v-model="tableData.bankAccount"
|
|
|
- style="width: 100%"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="银行名称" prop="tableData.bankName">
|
|
|
- <el-input v-model="tableData.bankName" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="开户行行号" prop="bankName">
|
|
|
- <el-input
|
|
|
- v-model="tableData.bankNo"
|
|
|
- style="width: 100%"
|
|
|
- placeholder="请输入开户行行号"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="服务费率" prop="tableData.serviceRate">
|
|
|
- <el-input
|
|
|
- v-model="tableData.serviceRate"
|
|
|
- style="width: 100%"
|
|
|
- onkeyup="value=value.replace(/[^\d.]/g,'')"
|
|
|
- >
|
|
|
- <i slot="suffix" style="font-style: normal; margin-right: 10px"
|
|
|
- >%</i
|
|
|
- >
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="利率" prop="tableData.interest">
|
|
|
- <el-input
|
|
|
- v-model="tableData.interest"
|
|
|
- style="width: 100%"
|
|
|
- onkeyup="value=value.replace(/[^\d.]/g,'')"
|
|
|
- >
|
|
|
- <i slot="suffix" style="font-style: normal; margin-right: 10px"
|
|
|
- >%</i
|
|
|
- >
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item>
|
|
|
- <el-button @click="dialogVisible1 = false">取 消</el-button>
|
|
|
- <el-button type="primary" @click="onSubmit">提交修改</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- </el-dialog>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<!-- 弹窗新增承兑人 -->
|
|
|
<el-dialog title="新增承兑人" :visible.sync="dialogVisible2" width="500px">
|
|
|
<el-form ref="form" :model="form" label-width="100px">
|
|
|
- <el-form-item label="承兑人名称" prop="name">
|
|
|
- <el-input
|
|
|
- v-model="form.name"
|
|
|
- style="width: 100%"
|
|
|
- placeholder="请输入承兑人名称"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="银行账号" prop="bankAccount">
|
|
|
- <el-input
|
|
|
- v-model="form.bankAccount"
|
|
|
- style="width: 100%"
|
|
|
- placeholder="请输入银行账号"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="开户行名称" prop="bankName">
|
|
|
- <el-input
|
|
|
- v-model="form.bankName"
|
|
|
- style="width: 100%"
|
|
|
- placeholder="请输入开户行名称"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="开户行行号" prop="bankName">
|
|
|
- <el-input
|
|
|
- v-model="form.bankNo"
|
|
|
- style="width: 100%"
|
|
|
- placeholder="请输入开户行行号"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="服务费率" prop="serviceRate">
|
|
|
- <el-input
|
|
|
- v-model="form.serviceRate"
|
|
|
- placeholder="请输入服务费率"
|
|
|
- style="width: 100%"
|
|
|
- onkeyup="value=value.replace(/[^\d.]/g,'')"
|
|
|
- >
|
|
|
- <i slot="suffix" style="font-style: normal; margin-right: 10px"
|
|
|
- >%</i
|
|
|
- >
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="利率" prop="interest">
|
|
|
- <el-input
|
|
|
- v-model="form.interest"
|
|
|
- placeholder="请输入利率"
|
|
|
- style="width: 100%"
|
|
|
- onkeyup="value=value.replace(/[^\d.]/g,'')"
|
|
|
- >
|
|
|
- <i slot="suffix" style="font-style: normal; margin-right: 10px"
|
|
|
- >%</i
|
|
|
- >
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
<el-form-item>
|
|
|
- <!-- <el-button @click="resetForm('form')">重置</el-button> -->
|
|
|
<el-button @click="dialogVisible2 = false">取 消</el-button>
|
|
|
<el-button type="primary" @click="addAcceptor">确认添加</el-button>
|
|
|
</el-form-item>
|
| xqd
@@ -184,34 +82,38 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="承兑人名称" align="center" prop="acceptorName">
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="银行名称" prop="bankName">
|
|
|
+ <el-table-column align="center" label="银行名称" prop="bankName" v-if="roleId===999?false:true">
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="银行账号" prop="bankAccount">
|
|
|
+ <el-table-column align="center" label="银行账号" prop="bankAccount" v-if="roleId===999?false:true">
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="银行行号" prop="bankNo">
|
|
|
+ <el-table-column align="center" label="银行行号" prop="bankNo" v-if="roleId===999?false:true">
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="服务费率">
|
|
|
- <template slot-scope="scope"> {{ scope.row.serviceRate }}% </template>
|
|
|
+ <el-table-column align="center" label="服务费率" v-if="roleId===0||roleId===1?false:true">
|
|
|
+ <template slot-scope="scope" v-if="scope.row.status===1?true:false"> {{ scope.row.serviceRate }}% </template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="利率" prop="interest">
|
|
|
- <template slot-scope="scope"> {{ scope.row.interest }}% </template>
|
|
|
+ <el-table-column align="center" label="利率" prop="interest" v-if="roleId===0||roleId===1?false:true">
|
|
|
+ <template slot-scope="scope" v-if="scope.row.status===1?true:false"> {{ scope.row.interest }}% </template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="服务费率" v-if="roleId===0||roleId===1?true:false">
|
|
|
+ <template slot-scope="scope" > {{ scope.row.serviceRate }}% </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="center" label="利率" prop="interest" v-if="roleId===0||roleId===1?true:false">
|
|
|
+ <template slot-scope="scope"> {{ scope.row.interest }}% </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column align="center" label="审核状态" prop="statusText">
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
- prop="created_at"
|
|
|
label="操作"
|
|
|
width="300"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <!-- <el-tag type="primary" style="cursor: pointer; margin-right: 15px" @click="toDetail(scope.row.id)">
|
|
|
- 详情</el-tag> -->
|
|
|
<el-tag
|
|
|
type="primary"
|
|
|
style="cursor: pointer; margin-right: 15px"
|
|
|
@click="success(scope.row.id)"
|
|
|
+ v-permission="['admin', 'salesman']"
|
|
|
v-if="scope.row.status!=1"
|
|
|
>审核通过
|
|
|
</el-tag>
|
| xqd
@@ -219,13 +121,14 @@
|
|
|
type="primary"
|
|
|
style="cursor: pointer; margin-right: 15px"
|
|
|
@click="fail(scope.row.id)"
|
|
|
+ v-permission="['admin', 'salesman']"
|
|
|
v-if="scope.row.status!=2"
|
|
|
>审核不通过
|
|
|
</el-tag>
|
|
|
<el-tag
|
|
|
type="danger"
|
|
|
style="cursor: pointer; margin-right: 15px"
|
|
|
- @click="deleteStatus(scope.row.id)"
|
|
|
+ @click="deleteStatus(scope.row.id,scope.row.status)"
|
|
|
>删除</el-tag
|
|
|
>
|
|
|
</template>
|
| xqd
@@ -280,6 +183,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ // 角色ID
|
|
|
+ roleId:'',
|
|
|
// 弹窗显示 1修改信息 2新增
|
|
|
dialogVisible1: false,
|
|
|
dialogVisible2: false,
|
| xqd
@@ -287,8 +192,9 @@ export default {
|
|
|
formData: {
|
|
|
startTime: "",
|
|
|
endTime: "",
|
|
|
- name: "", // 承兑人名称
|
|
|
- status: "", // 承兑人状态
|
|
|
+ status: "", // 审核状态
|
|
|
+ supplierId:"" ,//供应商ID
|
|
|
+ supplierName:'', //供应商名称
|
|
|
},
|
|
|
// 新增承兑人数据
|
|
|
form: {
|
| xqd
@@ -299,17 +205,6 @@ export default {
|
|
|
serviceRate: "",
|
|
|
interest: "",
|
|
|
},
|
|
|
- // 弹窗修改数据
|
|
|
- tableData: {
|
|
|
- name: "",
|
|
|
- serviceRate: "",
|
|
|
- interest: "",
|
|
|
- bankNo: "",
|
|
|
- bankAccount: "",
|
|
|
- bankName: "",
|
|
|
- id: "",
|
|
|
- },
|
|
|
- oldTableData: "",
|
|
|
/* 当前页数 */
|
|
|
currentPage: 1,
|
|
|
/* 每页显示个数 */
|
| xqd
@@ -363,8 +258,19 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.roleId=this.$store.state.user.userInfo.roleId;
|
|
|
+ console.log(this.roleId,"id")
|
|
|
this.checked = this.$store.state.user.checked;
|
|
|
- this.getAllList();
|
|
|
+ // 获取供应商列表传递的供应商id
|
|
|
+ this.formData.supplierId=this.$route.params.id
|
|
|
+ if(this.formData.supplierId==""){
|
|
|
+ this.getAllList()
|
|
|
+ }else{
|
|
|
+ this.searchForm = {
|
|
|
+ ...this.formData,
|
|
|
+ };
|
|
|
+ this.getAllList(this.searchForm);
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
/* 获取列表数据 */
|
| xqd
@@ -386,44 +292,9 @@ export default {
|
|
|
},
|
|
|
|
|
|
addAcceptor() {
|
|
|
- if (
|
|
|
- this.form.bankAccount.length < 5 ||
|
|
|
- this.form.bankAccount.length > 20
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- type: "error",
|
|
|
- message: "银行账号必须为5~20位!",
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.$request({
|
|
|
- url: "/api/Acceptor",
|
|
|
- method: "post",
|
|
|
- data: this.form,
|
|
|
- }).then((res) => {
|
|
|
- if (res.code === 200) {
|
|
|
- this.$message({
|
|
|
- type: "success",
|
|
|
- message: "添加成功",
|
|
|
- });
|
|
|
- this.getAllList();
|
|
|
- this.dialogVisible2 = false;
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- type: "error",
|
|
|
- message: res.msg,
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
- },
|
|
|
- toDetail(id) {
|
|
|
- this.$router.push({
|
|
|
- path: "table/detail",
|
|
|
- query: {
|
|
|
- id: id,
|
|
|
- },
|
|
|
- });
|
|
|
+
|
|
|
},
|
|
|
+
|
|
|
// 批量审核成功
|
|
|
successes(){
|
|
|
let ids=Array.from(this.multipleSelection,({id})=>id)
|
| xqd
@@ -567,113 +438,96 @@ export default {
|
|
|
// 批量删除
|
|
|
deleteStatuses(){
|
|
|
let ids=Array.from(this.multipleSelection,({id})=>id)
|
|
|
- console.log(ids)
|
|
|
+ let status=Array.from(this.multipleSelection,({status})=>status)
|
|
|
if(ids==""){
|
|
|
this.$message({
|
|
|
type: 'error',
|
|
|
message: '请选择数据'
|
|
|
})
|
|
|
+ }else if(status.includes(1)){
|
|
|
+ this.$message({
|
|
|
+ type:'error',
|
|
|
+ message:'不能删除审核通过的数据'
|
|
|
+ })
|
|
|
}else{
|
|
|
- this.$request({
|
|
|
- url: "/api/SupplierAcceptor/delete",
|
|
|
- method: "post",
|
|
|
- data: ids
|
|
|
- }).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message({
|
|
|
- type: "success",
|
|
|
- message: "删除成功",
|
|
|
- });
|
|
|
- this.$refs.multipleTable.clearSelection();
|
|
|
- this.multipleSelection="";
|
|
|
- this.getAllList();
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- type: "danger",
|
|
|
- message: "删除失败",
|
|
|
- });
|
|
|
- this.getAllList();
|
|
|
- }
|
|
|
- });
|
|
|
+ this.$confirm('您确定要删除吗?','提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type:'warning'
|
|
|
+ }).then(()=>{
|
|
|
+ this.$request({
|
|
|
+ url: "/api/SupplierAcceptor/delete",
|
|
|
+ method: "post",
|
|
|
+ data: ids
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ message: "删除成功",
|
|
|
+ });
|
|
|
+ this.$refs.multipleTable.clearSelection();
|
|
|
+ this.multipleSelection="";
|
|
|
+ this.getAllList();
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: "danger",
|
|
|
+ message: "删除失败",
|
|
|
+ });
|
|
|
+ this.getAllList();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }).catch(()=>{
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: '已取消删除'
|
|
|
+ });
|
|
|
+ })
|
|
|
+
|
|
|
}
|
|
|
|
|
|
},
|
|
|
- deleteStatus(id) {
|
|
|
- this.$request({
|
|
|
- url: "/api/SupplierAcceptor/delete",
|
|
|
- method: "post",
|
|
|
- data: [id]
|
|
|
- }).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message({
|
|
|
- type: "success",
|
|
|
- message: "删除成功",
|
|
|
- });
|
|
|
- this.getAllList();
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- type: "danger",
|
|
|
- message: "删除失败",
|
|
|
- });
|
|
|
- this.getAllList();
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
- resetForm() {
|
|
|
- this.$refs[form].resetFields();
|
|
|
- },
|
|
|
- modify(id) {
|
|
|
- this.$request({
|
|
|
- url: "/api/Acceptor/" + id,
|
|
|
- method: "get",
|
|
|
- }).then((res) => {
|
|
|
- console.log(res);
|
|
|
- this.tableData = res.data;
|
|
|
- this.tableData.id = id;
|
|
|
- this.oldTableData = { ...this.tableData };
|
|
|
- });
|
|
|
- this.dialogVisible1 = true;
|
|
|
- },
|
|
|
- // 弹窗修改
|
|
|
- onSubmit() {
|
|
|
- if (
|
|
|
- JSON.stringify(this.oldTableData) === JSON.stringify(this.tableData)
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- type: "error",
|
|
|
- message: "数据没有改变!",
|
|
|
- });
|
|
|
- } else if (
|
|
|
- this.tableData.bankAccount.length < 5 ||
|
|
|
- this.tableData.bankAccount.length > 20
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- type: "error",
|
|
|
- message: "银行账号必须为5~20位!",
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.$request({
|
|
|
- url: "/api/Acceptor/update",
|
|
|
- method: "post",
|
|
|
- data: this.tableData,
|
|
|
- }).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message({
|
|
|
- type: "success",
|
|
|
- message: "修改成功!",
|
|
|
- });
|
|
|
- this.getAllList();
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- type: "danger",
|
|
|
- message: "修改失败!",
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- this.dialogVisible1 = false;
|
|
|
- }
|
|
|
+ // 单个删除
|
|
|
+ deleteStatus(id,status) {
|
|
|
+ if(status==1){
|
|
|
+ this.$message({
|
|
|
+ type: "error",
|
|
|
+ message: "不能删除审核通过的数据",
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ this.$confirm('您确定要删除吗?','提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type:'warning'
|
|
|
+ }).then(()=>{
|
|
|
+ this.$request({
|
|
|
+ url: "/api/SupplierAcceptor/delete",
|
|
|
+ method: "post",
|
|
|
+ data: [id]
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ message: "删除成功",
|
|
|
+ });
|
|
|
+ this.getAllList();
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: "danger",
|
|
|
+ message: "删除失败",
|
|
|
+ });
|
|
|
+ this.getAllList();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }).catch(()=>{
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: '已取消删除'
|
|
|
+ });
|
|
|
+ })
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
-
|
|
|
/* 输入承兑人状态查询 */
|
|
|
handleCommand(command) {
|
|
|
this.status = command;
|
| xqd
@@ -698,12 +552,17 @@ export default {
|
|
|
this.getAllList(this.searchForm);
|
|
|
},
|
|
|
/* 输入供应商名称查询 */
|
|
|
- Search() {
|
|
|
- this.currentPage = 1;
|
|
|
- this.searchForm = {
|
|
|
- ...this.formData,
|
|
|
- };
|
|
|
- this.getAllList(this.searchForm);
|
|
|
+ Search(){
|
|
|
+ let supplier=this.srcList.filter((item)=>item.supplierName===this.formData.supplierName)
|
|
|
+ if(supplier==""){
|
|
|
+ this.currentPage = 1;
|
|
|
+ this.searchForm = {
|
|
|
+ ...this.formData,
|
|
|
+ };
|
|
|
+ this.getAllList(this.searchForm);
|
|
|
+ }else{
|
|
|
+ this.temporaryList=supplier
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
/* 分页功能,改变当前页 */
|
| xqd
@@ -744,31 +603,31 @@ export default {
|
|
|
var tableHeader = [
|
|
|
[
|
|
|
"序号",
|
|
|
+ "供应商名称",
|
|
|
"承兑人名称",
|
|
|
- "账号",
|
|
|
- "开户行名称",
|
|
|
- "开户行行号",
|
|
|
+ "银行名称",
|
|
|
+ "银行账号",
|
|
|
+ "银行行号",
|
|
|
"服务费率(%)",
|
|
|
"利率(%)",
|
|
|
- "状态",
|
|
|
- "时间",
|
|
|
+ "审核状态",
|
|
|
],
|
|
|
];
|
|
|
var dataList = [];
|
|
|
this.multipleSelection.forEach((item, index) => {
|
|
|
dataList.push([
|
|
|
index + 1,
|
|
|
- item.name,
|
|
|
- item.bankAccount,
|
|
|
+ item.supplierName,
|
|
|
+ item.acceptorName,
|
|
|
item.bankName,
|
|
|
+ item.bankAccount,
|
|
|
item.bankNo,
|
|
|
item.serviceRate,
|
|
|
item.interest,
|
|
|
item.statusText,
|
|
|
- item.createdAt,
|
|
|
]);
|
|
|
});
|
|
|
- dataConversionUtil.dataToExcel("承兑人列表", tableHeader, dataList);
|
|
|
+ dataConversionUtil.dataToExcel("供应商承兑人列表", tableHeader, dataList);
|
|
|
this.$message.success("导出成功!");
|
|
|
}
|
|
|
},
|
| xqd
@@ -786,34 +645,34 @@ export default {
|
|
|
draftStatus: "",
|
|
|
supplierId: "",
|
|
|
};
|
|
|
- getAcceptorSearch({ ...data }).then((res) => {
|
|
|
+ getSupplierAcceptor({ ...data }).then((res) => {
|
|
|
const { result } = res.data;
|
|
|
this.multipleSelection = result;
|
|
|
var tableHeader = [
|
|
|
[
|
|
|
- "序号",
|
|
|
- "承兑人名称",
|
|
|
- "账号",
|
|
|
- "开户行名称",
|
|
|
- "开户行行号",
|
|
|
- "服务费率(%)",
|
|
|
- "利率(%)",
|
|
|
- "状态",
|
|
|
- "时间",
|
|
|
+ "序号",
|
|
|
+ "供应商名称",
|
|
|
+ "承兑人名称",
|
|
|
+ "银行名称",
|
|
|
+ "银行账号",
|
|
|
+ "银行行号",
|
|
|
+ "服务费率(%)",
|
|
|
+ "利率(%)",
|
|
|
+ "审核状态",
|
|
|
],
|
|
|
];
|
|
|
var dataList = [];
|
|
|
this.multipleSelection.forEach((item, index) => {
|
|
|
dataList.push([
|
|
|
index + 1,
|
|
|
- item.name,
|
|
|
- item.bankAccount,
|
|
|
+ item.supplierName,
|
|
|
+ item.acceptorName,
|
|
|
item.bankName,
|
|
|
+ item.bankAccount,
|
|
|
item.bankNo,
|
|
|
item.serviceRate,
|
|
|
item.interest,
|
|
|
item.statusText,
|
|
|
- item.createdAt,
|
|
|
]);
|
|
|
});
|
|
|
dataConversionUtil.dataToExcel("承兑人列表", tableHeader, dataList);
|