Commit 7678e3df authored by 谢子梦's avatar 谢子梦

stage:线上任务管理->导入名单问题修复

parent 8dcbad7c
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
@click="handleDelete">删除</el-button> @click="handleDelete">删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="info" icon="el-icon-upload2" @click="importClick" >导入</el-button> <el-button type="info" icon="el-icon-upload2" @click="importClick">导入</el-button>
</el-col> </el-col>
</el-row> </el-row>
<el-table v-loading="loading" :data="page.rows" @selection-change="handleSelectionChange" <el-table v-loading="loading" :data="page.rows" @selection-change="handleSelectionChange"
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<el-table-column label="支付类型" align="center" prop="payTitle" /> <el-table-column label="支付类型" align="center" prop="payTitle" />
<el-table-column label="备注" align="center" prop="payRemark" /> <el-table-column label="备注" align="center" prop="payRemark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot="header" slot-scope="scope"> <template slot="header">
<el-input v-model="page.search" size="mini" @change="searchEvt" placeholder="输入姓名搜索" /> <el-input v-model="page.search" size="mini" @change="searchEvt" placeholder="输入姓名搜索" />
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -88,8 +88,7 @@ ...@@ -88,8 +88,7 @@
</el-table> </el-table>
<el-pagination style="margin-top: 10px" v-show="page.total && page.total > 0" <el-pagination style="margin-top: 10px" v-show="page.total && page.total > 0"
@current-change="handleCurrentChange" :current-page="page.pageNum" :page-size="page.pageSize" @current-change="handleCurrentChange" :current-page="page.pageNum" :page-size="page.pageSize"
@size-change="handlePageSizeChange" @size-change="handlePageSizeChange" layout="total, sizes, prev, pager, next, jumper" :total="page.total">
layout="total, sizes, prev, pager, next, jumper" :total="page.total">
</el-pagination> </el-pagination>
<el-row :gutter="10" class="mb8" style="margin-top: 15px"> <el-row :gutter="10" class="mb8" style="margin-top: 15px">
<el-col :span="1.5" style="float: right"> <el-col :span="1.5" style="float: right">
...@@ -208,6 +207,8 @@ export default { ...@@ -208,6 +207,8 @@ export default {
}, },
indexList: [], indexList: [],
batchForm: { batchForm: {
batchPayName: '',
payTitle: '',
payerAccNo: '' payerAccNo: ''
}, },
batchRules: { batchRules: {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="业务名称" prop="batchPayName"> <el-form-item label="业务名称" prop="batchPayName">
<el-input v-model="batchForm.batchPayName" placeholder="请输入业务名称"/> <el-input v-model="batchForm.batchPayName" placeholder="请输入业务名称" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="支付类型" prop="payTitle"> <el-form-item label="支付类型" prop="payTitle">
<el-select v-model="batchForm.payTitle" @change="chaheuhashjs" placeholder="请选择支付类型"> <el-select v-model="batchForm.payTitle" placeholder="请选择支付类型">
<el-option v-for="dict in dict.type.pay_type_title" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.pay_type_title" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
@click="handleDelete">删除</el-button> @click="handleDelete">删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="info" icon="el-icon-upload2" @click="importClick" >导入</el-button> <el-button type="info" icon="el-icon-upload2" @click="importClick">导入</el-button>
</el-col> </el-col>
</el-row> </el-row>
<el-table v-loading="loading" :data="page.rows" @selection-change="handleSelectionChange" <el-table v-loading="loading" :data="page.rows" @selection-change="handleSelectionChange"
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<el-table-column label="支付类型" align="center" prop="payTitle" /> <el-table-column label="支付类型" align="center" prop="payTitle" />
<el-table-column label="备注" align="center" prop="payRemark" /> <el-table-column label="备注" align="center" prop="payRemark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot="header" slot-scope="scope"> <template slot="header">
<el-input v-model="page.search" size="mini" @change="searchEvt" placeholder="输入姓名搜索" /> <el-input v-model="page.search" size="mini" @change="searchEvt" placeholder="输入姓名搜索" />
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -86,8 +86,7 @@ ...@@ -86,8 +86,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination style="margin-top: 10px" v-show="page.total && page.total > 0" :current-page="page.pageNum" <el-pagination style="margin-top: 10px" v-show="page.total && page.total > 0" :current-page="page.pageNum"
@size-change="handlePageSizeChange" @size-change="handlePageSizeChange" @current-change="handleCurrentChange" :page-size="page.pageSize"
@current-change="handleCurrentChange" :page-size="page.pageSize"
layout="total, sizes, prev, pager, next, jumper" :total="page.total"> layout="total, sizes, prev, pager, next, jumper" :total="page.total">
</el-pagination> </el-pagination>
<el-row :gutter="10" class="mb8" style="margin-top: 15px"> <el-row :gutter="10" class="mb8" style="margin-top: 15px">
...@@ -208,7 +207,11 @@ export default { ...@@ -208,7 +207,11 @@ export default {
url: process.env.VUE_APP_BASE_API + "/business/payOrder/detail/importByExcel" url: process.env.VUE_APP_BASE_API + "/business/payOrder/detail/importByExcel"
}, },
indexList: [], indexList: [],
batchForm: {}, batchForm: {
batchPayName: '',
payTitle: '',
payerAccNo: ''
},
batchRules: { batchRules: {
payTitle: [ payTitle: [
{ required: true, message: "支付类型不能为空", trigger: "blur" } { required: true, message: "支付类型不能为空", trigger: "blur" }
...@@ -272,13 +275,8 @@ export default { ...@@ -272,13 +275,8 @@ export default {
if (this.$route.query.onlineTaskId) { if (this.$route.query.onlineTaskId) {
this.batchForm.onlineTaskId = this.$route.query.onlineTaskId; this.batchForm.onlineTaskId = this.$route.query.onlineTaskId;
} }
console.log(this.batchForm)
}, },
methods: { methods: {
chaheuhashjs() {
console.log('当前选中的数据', this.batchForm);
},
// 新增明细 // 新增明细
handleAdd() { handleAdd() {
if (this.transMap && this.transMap.size >= 1000) { if (this.transMap && this.transMap.size >= 1000) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment