| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination v-show="pageF.total > 0" :total="pageF.total" v-model:page="queryParams.pageNum" |
| | | v-model:limit="queryParams.pageSize" @pagination="getDataList" /> |
| | | |
| | | <div class="pagination-container"> |
| | | <pagination v-show="pageF.total > 0" :total="pageF.total" v-model:page="queryParams.pageNum" |
| | | v-model:limit="queryParams.pageSize" @pagination="getDataList" /> |
| | | </div> |
| | | |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button @click="handleClose">取消</el-button> |
| | | <el-button type="primary" @click="handleConfirm">确定</el-button> |
| | | <el-button type="primary" @click="handleConfirm">确定</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | |
| | | import useCurrentInstance from "@/utils/useCurrentInstance"; |
| | | import { listBankAccountConfig } from "@/api/cwgl/bankAccountConfig"; |
| | | // import { listInternalBank } from "@/api/cwgl/internalBank"; // 假设这是你的内部银 |
| | | import { listBankConfig,} from "@/api/cwgl/bankConfig"; |
| | | import { listBankConfig, } from "@/api/cwgl/bankConfig"; |
| | | |
| | | const { proxy } = useCurrentInstance(); |
| | | const { sys_currency, sys_account_type, sys_bank_type } = proxy.useDict('sys_currency', 'sys_account_type', 'sys_bank_type'); |
| | |
| | | try { |
| | | // 核心逻辑:根据 mode 切换 API 方法 |
| | | const apiMethod = props.mode === 'internal' ? listBankConfig : listBankAccountConfig; |
| | | |
| | | |
| | | const res = await apiMethod(queryParams); |
| | | |
| | | |
| | | if (res.code === 200) { |
| | | customerList.value = res.rows; |
| | | pageF.total = res.total; |