|
|
@@ -93,9 +93,9 @@ import { getColumns } from './setup';
|
|
|
import Bus from '@/utils/eventBus/index';
|
|
|
import { sortTime } from '@/utils/time';
|
|
|
|
|
|
-const addCode = 'account-manager-agency-sub-add';
|
|
|
-const updateCode = 'account-manager-agency-sub-modiy';
|
|
|
-const deleteCode = 'account-manager-agency-sub-delete';
|
|
|
+const addCode = 'account_manager_agency_sub_add';
|
|
|
+const updateCode = 'account_manager_agency_sub_modiy';
|
|
|
+const deleteCode = 'account_manager_agency_sub_delete';
|
|
|
|
|
|
const useButton = () => {
|
|
|
// 表格操作按钮列表
|
|
|
@@ -156,14 +156,15 @@ export default defineComponent({
|
|
|
|
|
|
// 切换明细
|
|
|
function changeTab(index: number, current: TabList) {
|
|
|
+ if (!current) return;
|
|
|
cacheIndex = index;
|
|
|
const { code, lable } = current;
|
|
|
// executetype: number;//申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金
|
|
|
- if (code === 'account-manager-agency-sub-apply-in') {
|
|
|
+ if (code === 'account_manager_agency_sub_apply_in') {
|
|
|
// 充值申请
|
|
|
detailColumns.value = applyInColumns;
|
|
|
detailList.value = fn(2);
|
|
|
- } else if (code === 'account-manager-agency-sub-apply-out') {
|
|
|
+ } else if (code === 'account_manager_agency_sub_apply_out') {
|
|
|
// 提现申请
|
|
|
detailColumns.value = applyOutCloums;
|
|
|
detailList.value = fn(1);
|