|  |  |  | 
|---|
|  |  |  | <el-table-column prop="title" label="收支条目" min-width="100" show-overflow-tooltip /> | 
|---|
|  |  |  | <el-table-column prop="companyName" label="收款公司" min-width="100" show-overflow-tooltip /> | 
|---|
|  |  |  | <el-table-column label="账户类型" min-width="100" show-overflow-tooltip> | 
|---|
|  |  |  | <template v-slot="{row}"> | 
|---|
|  |  |  | <template v-slot="{ row }"> | 
|---|
|  |  |  | <span v-if="row.type == 0">对公</span> | 
|---|
|  |  |  | <span v-if="row.type == 1">个人</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-table-column prop="bankNo" label="银行账号" min-width="100" show-overflow-tooltip /> | 
|---|
|  |  |  | <el-table-column prop="status" label="状态" min-width="100" show-overflow-tooltip> | 
|---|
|  |  |  | <template v-slot="scope"> | 
|---|
|  |  |  | <el-switch v-model="scope.row.status" @change="e =>changeStatus(scope.row)" :active-value="0" :inactive-value="1"> | 
|---|
|  |  |  | <el-switch v-model="scope.row.status" @change="e => changeStatus(scope.row)" :active-value="0" | 
|---|
|  |  |  | :inactive-value="1"> | 
|---|
|  |  |  | </el-switch> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getCompany(){ | 
|---|
|  |  |  | getCompany() { | 
|---|
|  |  |  | companyGetList({ | 
|---|
|  |  |  | model: {type: 2}, | 
|---|
|  |  |  | model: { type: 2 }, | 
|---|
|  |  |  | capacity: 9999, | 
|---|
|  |  |  | page: 1 | 
|---|
|  |  |  | }).then(res => { | 
|---|
|  |  |  | this.queryFormConfig.formItems[1].options = res.records || [] | 
|---|
|  |  |  | this.queryFormConfig.formItems[1].options = res.records || [] | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleEdit(row) { | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleSizeChange(capacity) { | 
|---|
|  |  |  | this.pagination.pageSize = capacity | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|