最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

VUE 記賬憑證模塊組件的示例代碼

 更新時間:2022年03月01日 17:07:27   作者:畫畫520  
這篇文章主要介紹了VUE記賬憑證模塊組件的實例代碼,代碼簡單易懂,對大家的學習或工作具有一定的參考借鑒價值,需要的朋友可以參考下

效果如下所示:

<template>
	<div class="voucher-container">
		<div class="voucher_header">
			<div class="voucher_header_title">記賬憑證</div>
			<div class="voucher_header_number">單據(jù)號: {{voucher.numberId}}</div>
		</div>
		<table class="voucher" cellpadding="0" cellspacing="0">
			<thead>
				<tr>
					<th class="voucher_summary">摘要</th>
					<th class="voucher_subject">會計科目</th>
					<th class="voucher_money">
						<strong class="voucher_title">借方金額</strong>
						<div class="voucher_column voucher_unit">
							<span>億</span>
							<span>千</span>
							<span>百</span>
							<span>十</span>
							<span>萬</span>
							<span>元</span>
							<span>角</span>
							<span class="voucher_last">分</span>
						</div>
					</th>
						<strong class="voucher_title">貸方金額</strong>
				</tr>
			</thead>
			<tbody>
				<tr class="voucher_item" v-for="(item) in voucher.items" :key="item.id">
					<td class="voucher_summary">{{item.summart}}</td>
					<td class="voucher_subject">{{item.subject}}</td>
					<td class="voucher_debite">
						<div class="voucher_number"><money-format :number="item.debite"></money-format></div>
					</td>
					<td class="voucher_credit">
						<div class="voucher_number"><money-format :number="item.credit"></money-format></div>
			</tbody>
			<tfoot>
					<td class="voucher_total" colspan="2">
						合計:
						<money-format :number="voucher.total" :chinese="true"></money-format>
						<div class="voucher_number"><money-format :number="voucher.debite" :colour="true"></money-format></div>
						<div class="voucher_number"><money-format :number="voucher.credit" :colour="true"></money-format></div>
			</tfoot>
		</table>
		<div class="voucher_footer">制單人:{{voucher.bookkeeper}}</div>
	</div>
</template>
<script>
import MoneyFormat from './MoneyFormat';
export default {
	name: 'Voucher',
	props: {
		voucher: {
			type: Object,
		}
	},
	components: {
		MoneyFormat
	}
};
</script>
<style lang="less" rel="stylesheet/less">
.voucher-container {
	height: 100%;
	width: 100%;
	overflow: hidden;
	margin: 0.625rem;
	padding: 0;
}
.voucher_header {
	padding-top: 20px;
	margin-bottom: 10px;
.voucher_header_title {
	float: left;
	display: inline;
	margin: -20px 130px 0px 100px;
	font: 28px/1.8 'Microsoft Yahei';
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
.voucher_header_number {
	text-align: left;
	margin-left: 120px;
.voucher_footer {
	margin: 10px;
	font-weight: bold;
.voucher {
	border-collapse: collapse;
	th,
	td {
		border: 1px solid #ccc;
		height: 35px;
	th {
		height: 48px;
		color: #555555;
		font-size: 14px;
		text-align: center;
		font-weight: bold;
		overflow: hidden;
	.voucher_title {
		display: block;
		height: 25px;
		line-height: 25px;
	.voucher_last {
		margin-right: 0;
		width: 18px;
	.voucher_money {
		font-size: 12px;
		min-width: 221px;
		span {
			float: left;
			display: inline;
			width: 19px;
			height: 100%;
			margin-right: 1px;
	.voucher_column,
	.voucher_credit,
	.voucher_debite {
		background-image: url(../assets/image/money_column.png);
		background-repeat: repeat-y;
	.voucher_summary {
		min-width: 6.25rem;
		word-break: break-all;
		word-wrap: break-word;
	.voucher_subject {
	.voucher_unit {
		height: 22px;
		line-height: 22px;
		font-weight: normal;
		border-top: 1px solid #dadada;
	.voucher_total {
		letter-spacing: 1px;
	.voucher_number {
		position: relative;
		font-family: 'tahoma';
		letter-spacing: 11px;
		text-align: right;
		right: -5px;
	.voucher_item {
</style>

到此這篇關(guān)于VUE 記賬憑證模塊組件的示例代碼的文章就介紹到這了,更多相關(guān)vue記賬憑證內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

  • Vue3實戰(zhàn)學習配置使用vue?router路由步驟示例

    Vue3實戰(zhàn)學習配置使用vue?router路由步驟示例

    這篇文章主要為大家介紹了Vue3實戰(zhàn)學習配置使用vue?router路由步驟示例詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪
    2022-06-06
  • vue3父子組件相互調(diào)用方法詳解

    vue3父子組件相互調(diào)用方法詳解

    在vue3項目開發(fā)中,我們常常會遇到父子組件相互調(diào)用的場景,下面主要以setup語法糖格式詳細聊聊父子組件那些事兒,并通過代碼示例介紹的非常詳細,具有一定的參考價值,需要的朋友可以參考下
    2024-05-05
  • 詳解在vue-cli項目下簡單使用mockjs模擬數(shù)據(jù)

    詳解在vue-cli項目下簡單使用mockjs模擬數(shù)據(jù)

    這篇文章主要介紹了詳解在vue-cli項目下簡單使用mockjs模擬數(shù)據(jù),小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2018-10-10
  • 在vue中添加Echarts圖表的基本使用教程

    在vue中添加Echarts圖表的基本使用教程

    雖然老早就看過很多echarts的例子, 但自己接觸的項目中一直都沒有真正用到過,直到最近才開始真正使用,下面這篇文章主要給大家介紹了關(guān)于在vue中添加Echarts圖表的基本使用教程,文中通過示例代碼介紹的非常詳細,需要的朋友可以參考下。
    2017-11-11
  • 在vue框架下使用指令vue add element安裝element報錯問題

    在vue框架下使用指令vue add element安裝element報錯問題

    這篇文章主要介紹了在vue框架下使用指令vue add element安裝element報錯問題,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2023-10-10
  • vue引入element-ui之后,頁面是空白的問題及解決

    vue引入element-ui之后,頁面是空白的問題及解決

    這篇文章主要介紹了vue引入element-ui之后,頁面是空白的問題及解決方案,具有很好的參考價值,希望對大家有所幫助。如有錯誤或未考慮完全的地方,望不吝賜教
    2023-01-01
  • vue-router的兩種模式的區(qū)別

    vue-router的兩種模式的區(qū)別

    這篇文章主要介紹了vue-router的兩種模式的區(qū)別,本文通過實例代碼給大家介紹的非常詳細,具有一定的參考借鑒價值,需要的朋友可以參考下
    2019-05-05
  • Vue+ElementUI表格狀態(tài)區(qū)分,row-class-name屬性詳解

    Vue+ElementUI表格狀態(tài)區(qū)分,row-class-name屬性詳解

    這篇文章主要介紹了Vue+ElementUI表格狀態(tài)區(qū)分,row-class-name屬性,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2024-08-08
  • 解決element-ui中Popconfirm氣泡確認框的事件不生效問題

    解決element-ui中Popconfirm氣泡確認框的事件不生效問題

    這篇文章主要介紹了解決element-ui中Popconfirm氣泡確認框的事件不生效問題,具有很好的參考價值,希望對大家有所幫助。如有錯誤或未考慮完全的地方,望不吝賜教
    2022-07-07
  • vue2.0 子組件改變props值,并向父組件傳值的方法

    vue2.0 子組件改變props值,并向父組件傳值的方法

    下面小編就為大家分享一篇vue2.0 子組件改變props值,并向父組件傳值的方法,具有很好的參考價值,希望對大家有所幫助。一起跟隨小編過來看看吧
    2018-03-03

最新評論

徐闻县| 昌邑市| 郑州市| 修武县| 北安市| 凤冈县| 奉化市| 临高县| 通化县| 章丘市| 台北市| 绥滨县| 长沙县| 广州市| 佛冈县| 西平县| 普定县| 金沙县| 大邑县| 景谷| 西吉县| 永仁县| 金秀| 灵武市| 若尔盖县| 兴安盟| 紫云| 綦江县| 徐州市| 绥德县| 岐山县| 巫溪县| 页游| 和政县| 定结县| 辽宁省| 威远县| 枣阳市| 微博| 舒兰市| 内乡县|