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

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

@ -1,12 +1,4 @@
<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 :style="{ display: 'flex' }">
<ActionBar
@ -16,6 +8,10 @@
lasttext="下一条"
nexttext="上一条"
></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-tab-pane key="1" tab="基本信息"> <BasicForm @register="registerForm1" /></a-tab-pane>
@ -95,23 +91,19 @@
<Tabs3 :client-id="clientId" />
</div>
</a-tab-pane>
<!-- <a-tab-pane key="3" tab="账期信息">
<a-tab-pane key="3" tab="账期信息">
<Tabs3 :client-id="clientId" />
</a-tab-pane> -->
<a-tab-pane key="4" tab="联系人信息">
</a-tab-pane>
<!-- 联系人信息 -->
<a-tab-pane key="4" tab="联系人信息">
<Menus2 :client-id="clientId" class="RUnit" />
</a-tab-pane>
<a-tab-pane key="5" tab="收发货人信息维护">
<!-- 收发货人信息维护 -->
<a-tab-pane key="5" tab="收发货人信息维护">
<Menus3 :client-id="clientId" class="RUnit" />
</a-tab-pane>
<!-- 合同管理 -->
<!-- <a-tab-pane key="6" tab="合同管理">
<Menus4 :client-id="clientId" class="RUnit" />
</a-tab-pane> -->
<a-tab-pane key="7" tab="固定费用">
<!-- 合同管理 -->
<CustTemplateDetail :client-id="clientId" :customer-name="customerName" class="RUnit" />
</a-tab-pane>
<!-- 客户参数表格 -->
@ -123,37 +115,8 @@
<!-- 图片管理 -->
<!-- <Menus5 v-show="selectedKeys[0] == 'menu5'" class="RUnit" /> -->
</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" />
</div>
<!-- </BasicModal> -->
</template>
<script lang="ts" setup>
import { ref, computed, unref, watch, onMounted, watchEffect } from 'vue'
@ -225,7 +188,7 @@
schemas: formSchema2,
showActionButtonGroup: false,
})
const dataSource = ref<any>([])
// const dataSource = ref<any>([])
//
const [registerTable, { reload, setTableData, getPaginationRef, getDataSource, getSelectRows }] =
useTable({
@ -261,7 +224,7 @@
showTableSetting: false,
canResize: false,
immediate: false,
dataSource: dataSource.value,
// dataSource: dataSource.value,
showIndexColumn: true,
actionColumn: {
width: 80,

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

Loading…
Cancel
Save