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

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

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

效果如下所示:

<template>
	<div class="voucher-container">
		<div class="voucher_header">
			<div class="voucher_header_title">記賬憑證</div>
			<div class="voucher_header_number">單據(jù)號(hào): {{voucher.numberId}}</div>
		</div>
		<table class="voucher" cellpadding="0" cellspacing="0">
			<thead>
				<tr>
					<th class="voucher_summary">摘要</th>
					<th class="voucher_subject">會(huì)計(jì)科目</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">
						合計(jì):
						<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)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

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

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

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

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

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

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

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

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

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

    在vue框架下使用指令vue add element安裝element報(bào)錯(cuò)問題

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

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

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

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

    這篇文章主要介紹了vue-router的兩種模式的區(qū)別,本文通過實(shí)例代碼給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    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屬性,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2024-08-08
  • 解決element-ui中Popconfirm氣泡確認(rèn)框的事件不生效問題

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

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

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

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

最新評(píng)論

扎兰屯市| 马龙县| 广昌县| 康定县| 舟曲县| 会泽县| 邮箱| 无棣县| 吉木乃县| 富蕴县| 闵行区| 平南县| 屏边| 涟源市| 金塔县| 和林格尔县| 巩留县| 贵定县| 青海省| 阳春市| 四川省| 甘泉县| 永宁县| 五台县| 松阳县| 乌拉特后旗| 龙口市| 肃宁县| 德惠市| 满城县| 特克斯县| 吉隆县| 略阳县| 永州市| 浙江省| 澜沧| 广东省| 淮南市| 永昌县| 外汇| 正镶白旗|