往来单位调整

szh-new
张同海 3 months ago
parent 0a7777496c
commit c5634f06a1

@ -107,7 +107,7 @@
</div>
</template>
<script lang="ts">
import { defineComponent, ref, unref } from 'vue'
import { defineComponent, ref, defineExpose, unref } from 'vue'
//
import { useMessage } from '/@/hooks/web/useMessage'
//
@ -165,8 +165,8 @@
},
layout: {
type: String,
default: 'vertical'
}
default: 'vertical',
},
},
emits: ['copy'],
components: {
@ -227,6 +227,7 @@
const submitHandle = async () => {
await props.submit()
}
defineExpose({ toPage })
return {
t,
openPrint,
@ -254,7 +255,7 @@
height: 32px;
border-radius: 2px;
margin-right: 8px;
background: #F5F9FC;
background: #f5f9fc;
cursor: pointer;
.next {
transform: rotate(180deg);
@ -265,7 +266,7 @@
}
}
.ds-action-svg-btn:hover {
box-shadow: 0px 2px 4px #CAD1DB;
box-shadow: 0px 2px 4px #cad1db;
}
}
.ds-action-bar {

@ -5,14 +5,32 @@
<template #title>
<span>保存</span>
</template>
<span class="ds-action-svg-btn" @click="copyHandle">
<span class="ds-action-svg-btn" @click="handleSave">
<img src="../../../assets/svg/infoclient/baocun.svg" class="SvgImg" />
</span>
</a-tooltip>
<a-tooltip placement="top" :mouseEnterDelay="0.5">
<template #title>
<span>上一条</span>
</template>
<span class="ds-action-svg-btn" @click="ClickLast('next')">
<img src="../../../assets/svg/infoclient/shangxia.svg" class="SvgImg" />
</span>
</a-tooltip>
<a-tooltip placement="top" :mouseEnterDelay="0.5">
<template #title>
<span>下一条</span>
</template>
<span class="ds-action-svg-btn" @click="ClickLast('last')">
<img src="../../../assets/svg/infoclient/shangxia.svg" class="SvgImg" />
</span>
</a-tooltip>
</div>
<div class="ds-detail-box sea-export-detail">
<div :style="{ display: 'flex' }">
<ActionBar
ref="RefActionBar"
v-show="false"
:id="route.query.id"
name="wldw"
:save="handleSave"
@ -38,7 +56,7 @@
<span class="title Fapiao">发票信息</span>
<a-button type="link" @click="TableAdd" class="pl0">
<span class="iconfont icon-new_document"></span>
新增
添加
</a-button>
<a-popconfirm
title="确定要删除所选数据?"
@ -71,7 +89,8 @@
</div>
<div class="BTable">
<BasicTable @register="registerTable" @row-dbClick="EditRow" :maxHeight="140">
<template #toolbar>
<template #tableTitle>
<span class="title">银行信息</span>
<a-button
type="link"
@click="addboxLine({ id: rowId })"
@ -649,6 +668,12 @@
// // setModalProps({ confirmLoading: false, loading: false })
// }
}
const RefActionBar = ref()
//
function ClickLast(type) {
console.log(RefActionBar.value)
RefActionBar.value.toPage(type)
}
async function refresh() {
const res: API.DataResult = await getCodeGoodsTypeInfo({ id: unref(rowId) })
if (res.succeeded) {
@ -793,14 +818,20 @@
</script>
<style lang="less" scoped>
.infoclientBox {
display: flex;
background: rgba(245, 249, 252, 1);
padding: 15px 20px;
.SvgImg {
width: 12px;
// &:hover {
// background: #257afa;
// }
.ds-action-svg-btn {
margin-right: 20px;
&:nth-child(2) {
> .SvgImg {
transform: rotate(180deg);
}
}
.SvgImg {
width: 16px;
cursor: pointer;
}
}
}
@ -815,7 +846,7 @@
color: rgba(51, 56, 61, 1);
text-align: left;
&.Fapiao {
padding: 5px;
padding: 7px 5px 5px 5px;
}
}
.FlexTable {
@ -827,7 +858,8 @@
padding: 14px 8px 8px 8px;
display: flex;
.Fapiao {
flex: 1;
// flex: 1;
margin-right: 10px;
}
}
}

@ -3,24 +3,38 @@
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="handleAudit">
<template #tableTitle>
<div class="tableTitleBox">
<a-button
v-repeat
type="link"
@click="handleCreate"
:disabled="checkPermissions('op:infoclient:add')"
>
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
</a-button>
<a-popconfirm
title="确定删除当前选中数据?"
ok-text="是"
cancel-text="否"
@confirm="handleDel"
>
<a-button v-repeat type="link">
<img src="../../../assets/svg/infoclient/shanchu.svg" class="SvgImg" />
</a-button>
</a-popconfirm>
<a-tooltip placement="top" :mouseEnterDelay="0.5">
<template #title>
<span>新建</span>
</template>
<span class="ds-action-svg-btn" @click="handleSave">
<a-button
v-repeat
type="link"
@click="handleCreate"
:disabled="checkPermissions('op:infoclient:add')"
>
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
</a-button>
</span>
</a-tooltip>
<a-tooltip placement="top" :mouseEnterDelay="0.5">
<template #title>
<span>删除</span>
</template>
<span class="ds-action-svg-btn" @click="handleSave">
<a-popconfirm
title="确定删除当前选中数据?"
ok-text="是"
cancel-text="否"
@confirm="handleDel"
>
<a-button v-repeat type="link">
<img src="../../../assets/svg/infoclient/shanchu.svg" class="SvgImg" />
</a-button>
</a-popconfirm>
</span>
</a-tooltip>
</div>
</template>
<template #bodyCell="{ column, record }">

@ -3,12 +3,6 @@
<BasicTable class="ds-table-detail" @register="registerTable" :maxHeight="350">
<template #tableTitle>
<span>账期信息</span>
<a-button type="link" @click="FnAppendix" :disabled="Fndisabled()">
<span class="iconfont icon-fujian1"></span>
合同附件
</a-button>
</template>
<template #toolbar>
<a-button type="link" @click="handleCreate" :disabled="Fndisabled()">
<span class="iconfont icon-new_document"></span>
添加
@ -24,7 +18,12 @@
删除
</a-button>
</a-popconfirm>
<a-button type="link" @click="FnAppendix" :disabled="Fndisabled()">
<span class="iconfont icon-fujian1"></span>
合同附件
</a-button>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<TableAction

Loading…
Cancel
Save