szh-new
张同海 4 months ago
parent 526ddc045f
commit b9444fb5c5

@ -156,17 +156,10 @@
} }
id = ids[index + 1] id = ids[index + 1]
} }
console.log({
path: route.path,
query: {
id,
},
})
go({ go({
path: route.path, path: route.path,
query: { query: {
id id,
}, },
}) })
closePage(route.path + '?id=' + id) closePage(route.path + '?id=' + id)

@ -1,12 +1,4 @@
<template> <template>
<!-- <BasicModal
v-bind="$attrs"
:use-wrapper="true"
:title="getTitle"
width="70%"
@register="registerModal"
@ok="handleSave"
> -->
<div class="ds-detail-box sea-export-detail"> <div class="ds-detail-box sea-export-detail">
<div :style="{ display: 'flex' }"> <div :style="{ display: 'flex' }">
<ActionBar <ActionBar
@ -16,6 +8,10 @@
lasttext="下一条" lasttext="下一条"
nexttext="上一条" nexttext="上一条"
></ActionBar> ></ActionBar>
<!-- 合同管理 -->
<!-- <a-tab-pane key="6" tab="合同管理">
<Menus4 :client-id="clientId" class="RUnit" />
</a-tab-pane> -->
<!-- 基本信息 --> <!-- 基本信息 -->
<a-tabs v-model:activeKey="activeKey" class="RUnit"> <a-tabs v-model:activeKey="activeKey" class="RUnit">
<a-tab-pane key="1" tab="基本信息"> <BasicForm @register="registerForm1" /></a-tab-pane> <a-tab-pane key="1" tab="基本信息"> <BasicForm @register="registerForm1" /></a-tab-pane>
@ -95,23 +91,19 @@
<Tabs3 :client-id="clientId" /> <Tabs3 :client-id="clientId" />
</div> </div>
</a-tab-pane> </a-tab-pane>
<!-- <a-tab-pane key="3" tab="账期信息"> <a-tab-pane key="3" tab="账期信息">
<Tabs3 :client-id="clientId" /> <Tabs3 :client-id="clientId" />
</a-tab-pane> --> </a-tab-pane>
<a-tab-pane key="4" tab="联系人信息">
<!-- 联系人信息 --> <!-- 联系人信息 -->
<a-tab-pane key="4" tab="联系人信息">
<Menus2 :client-id="clientId" class="RUnit" /> <Menus2 :client-id="clientId" class="RUnit" />
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="5" tab="收发货人信息维护">
<!-- 收发货人信息维护 --> <!-- 收发货人信息维护 -->
<a-tab-pane key="5" tab="收发货人信息维护">
<Menus3 :client-id="clientId" class="RUnit" /> <Menus3 :client-id="clientId" class="RUnit" />
</a-tab-pane> </a-tab-pane>
<!-- 合同管理 --> <!-- 合同管理 -->
<!-- <a-tab-pane key="6" tab="合同管理">
<Menus4 :client-id="clientId" class="RUnit" />
</a-tab-pane> -->
<a-tab-pane key="7" tab="固定费用"> <a-tab-pane key="7" tab="固定费用">
<!-- 合同管理 -->
<CustTemplateDetail :client-id="clientId" :customer-name="customerName" class="RUnit" /> <CustTemplateDetail :client-id="clientId" :customer-name="customerName" class="RUnit" />
</a-tab-pane> </a-tab-pane>
<!-- 客户参数表格 --> <!-- 客户参数表格 -->
@ -123,37 +115,8 @@
<!-- 图片管理 --> <!-- 图片管理 -->
<!-- <Menus5 v-show="selectedKeys[0] == 'menu5'" class="RUnit" /> --> <!-- <Menus5 v-show="selectedKeys[0] == 'menu5'" class="RUnit" /> -->
</div> </div>
<!--右下角按钮-->
<!-- <template #footer>
<a-button
pre-icon="ant-design:close-outlined"
type="warning"
:loading="loading"
ghost
style="margin-right: 0.8rem"
@click="closeModal"
>取消</a-button
>
<a-button
type="success"
:loading="loading"
pre-icon="ant-design:check-outlined"
style="margin-right: 0.8rem"
@click="handleSave(false)"
>仅保存</a-button
>
<a-button
pre-icon="ant-design:check-circle-outlined"
type="primary"
:loading="loading"
@click="handleSave(true)"
>保存并关闭</a-button
>
</template> -->
<ClientAccountDateModal @register="CADModal" @success="handleSuccess" /> <ClientAccountDateModal @register="CADModal" @success="handleSuccess" />
</div> </div>
<!-- </BasicModal> -->
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, computed, unref, watch, onMounted, watchEffect } from 'vue' import { ref, computed, unref, watch, onMounted, watchEffect } from 'vue'
@ -225,7 +188,7 @@
schemas: formSchema2, schemas: formSchema2,
showActionButtonGroup: false, showActionButtonGroup: false,
}) })
const dataSource = ref<any>([]) // const dataSource = ref<any>([])
// //
const [registerTable, { reload, setTableData, getPaginationRef, getDataSource, getSelectRows }] = const [registerTable, { reload, setTableData, getPaginationRef, getDataSource, getSelectRows }] =
useTable({ useTable({
@ -261,7 +224,7 @@
showTableSetting: false, showTableSetting: false,
canResize: false, canResize: false,
immediate: false, immediate: false,
dataSource: dataSource.value, // dataSource: dataSource.value,
showIndexColumn: true, showIndexColumn: true,
actionColumn: { actionColumn: {
width: 80, width: 80,

@ -1514,11 +1514,13 @@ export const Tablecolumns: BasicColumn[] = [
title: '所在国', title: '所在国',
dataIndex: 'countryName', dataIndex: 'countryName',
align: 'left', align: 'left',
width: 120,
}, },
{ {
title: '是否开票默认账户', title: '是否开票默认账户',
dataIndex: 'isInvoiceDefault', dataIndex: 'isInvoiceDefault',
align: 'left', align: 'left',
width: 120,
customRender: ({ text }) => { customRender: ({ text }) => {
if (text) { if (text) {
return <Tag color="success"></Tag> return <Tag color="success"></Tag>

Loading…
Cancel
Save