销项电子发票前端界面

界面显示如下图所示:
在这里插入图片描述

样式直接可用,宽度比例自己可调,货物服务名称中的表数据可以直接用el-table格式写 ,在修改表格的默认样式,!important不起作用时,使用scope /deep/

<template>
  <div>
    <div class="invoiceContainer">
      <div class="invoiceHeade">
        <div class="headeLeft"></div>

        <div class="headeMiddle">
          <span class="title">xxx增值税电子普通发票</span>

          <hr />

          <hr />
        </div>

        <div class="headeRight">
          <ul>
            <li>
              <label>发票代码:</label>
              <span>1234</span>
            </li>

            <li>
              <label>发票号码:</label>
              <span>223</span>
            </li>

            <li>
              <label>开票日期:</label>
              <span>2019年11月11日</span>
            </li>

            <li>
              <label>&nbsp;&nbsp;&nbsp;&nbsp;码:</label>
              <span>111111</span>
            </li>
          </ul>
        </div>
      </div>

      <div class="invoiceBody">
        <div class="userInfo">
          <div class="buy">购买方</div>

          <div class="buyInfo">
            <ul>
              <li>
                <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称:</label>
                <span>xxxxxxx公司</span>
              </li>

              <li>
                <label>纳税人识别号:</label>
                <span>12443536377484848</span>
              </li>

              <li>
                <label>地址、&nbsp;&nbsp;&nbsp;电话:</label>
                <span>11223443532</span>
              </li>

              <li>
                <label>开户行及账号:</label>
                <span>中国农业银行</span>
              </li>
            </ul>
          </div>

          <div class="password">密码区</div>
        </div>

        <div class="Table"></div>

        <div class="saleInfo">
          <div class="total">价税合计(大写)</div>

          <span class="max">肆佰陆拾</span>

          <div class="total2">
            (小写)
            <span>¥460.00</span>
          </div>
        </div>

        <div class="userInfo2">
          <div class="buy">销售方</div>

          <div class="buyInfo">
            <ul>
              <li>
                <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称:</label>
                <span>xxxxxxx公司</span>
              </li>

              <li>
                <label>纳税人识别号:</label>
                <span>12443536377484848</span>
              </li>

              <li>
                <label>地址、&nbsp;&nbsp;&nbsp;电话:</label>
                <span>11223443532</span>
              </li>

              <li>
                <label>开户行及账号:</label>
                <span>中国农业银行</span>
              </li>
            </ul>
          </div>

          <div class="remark">备注</div>
        </div>

        <div class="userInfo3">
          <ul class="invoicetFooter">
            <li>
              <label>收款人:</label>
              <span>张三</span>
            </li>

            <li>
              <label>复核:</label>
              <span>李四</span>
            </li>

            <li>
              <label>开票人:</label>
              <span>王五</span>
            </li>
            <li>
              <label>销售方:(章)</label>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</template>


<style>
.headeRight {
  width: 240px;

  height: 100%;

  font-size: 16px;

  line-height: 30px;

  text-align: left;

  float: left;
}

.headeRight > ul {
  display: inline-block;

  margin-left: 16px;

  margin-top: 10px;
}

.invoicetFooter > li {
  margin-top: 16px;
  margin-right: 100px;
  margin-left: 11px;
  /* display: inline-block; */
  float: left;
}

.max {
  /* text-align: center; */
  display: inline-block;
  margin-top: 5px;
  margin-left: 4px;
}

.total {
  width: 270px;
  height: 100%;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  border-right: 1px solid black;
  float: left;
}

.total2 {
  width: 270px;
  height: 100%;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  margin-right: 130px;
  float: right;
}

.buyer {
  width: 30px;
  height: 100%;
  font-size: 17px;
  /* line-height: 33px; */
  text-align: center;
  border-right: 1px solid black;
  float: left;
}

.title {
  font-size: 33px;
  display: inline-block;
  margin-top: 50px;
  font-family: "仿宋";
}

.headeMiddle {
  width: 400px;
  height: 100%;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  float: left;
}

.headeLeft {
  width: 300px;
  height: 100%;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  float: left;
}

.buy {
  width: 30px;
  height: 100%;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  border-right: 1px solid black;
  border-left: 1px solid black;
  float: left;
}

.buyInfo {
  width: 510px;
  height: 100%;
  font-size: 16px;
  line-height: 25px;
  text-align: left;
  border-right: 1px solid black;
  float: left;
}

.password {
  width: 30px;
  height: 100%;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  border-right: 1px solid black;
  float: left;
}

.remark {
  width: 30px;
  height: 100%;
  font-size: 17px;
  line-height: 50px;
  text-align: center;
  border-right: 1px solid black;
  float: left;
}

ul {
  list-style-type: none;
  margin: 0;
  padding-left: 5px;
}

.invoiceContainer {
  width: 1000px;
  margin: 0 auto;
  border-top: 1px solid black;
  /* border-left:1px solid black; */
  /* border-right:1px solid black; */
}

.invoiceHeade {
  width: 1000px;
  height: 140px;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.userInfo {
  width: 1000px;
  height: 100px;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
}

.userInfo2 {
  width: 1000px;
  height: 100px;
  border-right: 1px solid black;
}

.userInfo3 {
  width: 1000px;
  height: 100px;
  border-top: 1px solid black;
}

.Table {
  width: 999px;
  height: 400px;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.sum {
  width: 1000px;
  height: 50px;
  border-bottom: 1px solid black;
}

.saleInfo {
  width: 999px;
  height: 40px;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  border-left: 1px solid black;
}
</style>

作者:长头发不熬夜
链接:https://www.jianshu.com/p/eda8150b47d8点击跳转
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值