applyForInvoice.vue 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <template xmlns:el-col="http://www.w3.org/1999/html">
  2. <div>
  3. <div class="head">
  4. <div style="width: 20%;">
  5. <el-menu
  6. :default-active="activeIndex"
  7. class="el-menu-vertical-demo"
  8. @select="handleSelect"
  9. background-color="#FFFFFF">
  10. <el-menu-item index="1">
  11. <i class="el-icon-menu"></i>
  12. <span slot="title">结算说明</span>
  13. </el-menu-item>
  14. <el-menu-item index="/settlementCenter">
  15. <i class="el-icon-menu"></i>
  16. <span slot="title">生成账单</span>
  17. </el-menu-item>
  18. <el-menu-item index="/confirmTheBill">
  19. <i class="el-icon-menu"></i>
  20. <span slot="title">确认账单</span>
  21. </el-menu-item>
  22. <el-menu-item index="/applyForInvoice">
  23. <i class="el-icon-menu"></i>
  24. <span slot="title">申请发票</span>
  25. </el-menu-item>
  26. </el-menu>
  27. </div>
  28. <div style="background-color: #FFFFFF;border: 1px solid #eeeeee;">
  29. <div style="width:100%;display:flex;justify-content: space-around;float: left">
  30. <div style="width: 20%;">
  31. <el-input placeholder="抬头" style="width: 100%;"></el-input>
  32. <el-input placeholder="申请号"></el-input>
  33. </div>
  34. <div style="width: 20%;">
  35. <el-input placeholder="发票号" style="width: 100%;"></el-input>
  36. <el-input placeholder="状态"></el-input>
  37. </div>
  38. <div style="width: 50%;">
  39. <div style="display:flex;justify-content: space-between;width: 100%;">
  40. <el-date-picker
  41. style="width: 45%;"
  42. type="date"
  43. value-format="yyyy-MM-dd"
  44. placeholder="创建开始时间">
  45. </el-date-picker>
  46. <span style="margin-top: 20px">至</span>
  47. <el-date-picker
  48. style="width: 45%;"
  49. type="date"
  50. value-format="yyyy-MM-dd"
  51. placeholder="创建结束时间">
  52. </el-date-picker>
  53. </div>
  54. <div style="display:flex;justify-content: left;margin-top: 10px;margin-left: 8px">
  55. <el-button type="primary">查询</el-button>
  56. <el-button type="success">申请发票</el-button>
  57. <el-button type="info">导出发票明细</el-button>
  58. </div>
  59. </div>
  60. </div>
  61. <div style="color:#848484;width: 98%;height: 120px;float: left;padding-right: 1%;padding-left: 1%;border-top: 1px solid #eeeeee;border-left: 1px solid #eeeeee">
  62. <div style="width: 100%;height: 160px;">
  63. <div style="display: flex">
  64. <div style="height: 30px;width: 50%;display:flex;align-items: center;justify-content: space-between;margin-left: 10px">
  65. <div style="margin-left: 10px;font-size: 16px;color: #409eff;font-weight: bold;height: 16px">申请号: <span style="color: #848484">17892731</span></div>
  66. </div>
  67. <div style="height: 30px;width: 50%;margin:4px">
  68. <el-button size="mini" round type="primary" style="float: right">费用明细</el-button>
  69. </div>
  70. </div>
  71. <div style="border-bottom: 1px solid #eeeeee;border-top: 1px solid #eee;height:70px;display: flex;width:100%;">
  72. <div style="margin-left: 20px;width:90%;display: flex;font-weight: 600;font-size: 14px;justify-content: space-between;text-align: left;align-items: center">
  73. <div style="width: 45%;">
  74. <div style="margin-bottom: 10px">发票名头:青岛途宝科技有限公司</div>
  75. <div>开票金额合计(元):8927318937189</div>
  76. </div>
  77. <div style="width: 45%;">
  78. <div style="margin-bottom: 10px">服务主体:青岛途宝科技有限公司</div>
  79. <div>申请时间:2021-10-24</div>
  80. </div>
  81. <div style="width: 35%;">
  82. <div style="margin-bottom: 10px">快递单号:aisdhlashd</div>
  83. <div style="height: 14px;"></div>
  84. </div>
  85. <!-- <div style=" display: flex;justify-content: space-between;align-items: center;">-->
  86. <!-- <div>发票名头:<span>青岛途宝科技有限公司</span></div>-->
  87. <!-- <div>申请时间:1823712931</div>-->
  88. <!-- <div>服务主体:<span>sadasffae</span></div>-->
  89. <!-- </div>-->
  90. <!-- <div style=" display: flex;justify-content: space-between;align-items: center;">-->
  91. <!-- <div>开票金额合计(元):<span></span></div>-->
  92. <!-- <div>快递单号:<span>1111111111</span></div>-->
  93. <!-- </div>-->
  94. </div>
  95. <div style="width: 10%;height: 100%;display: flex;align-items: center;justify-content: space-around;">
  96. <img src="@/assets/pass.png" alt="" style="height:70%;transform:rotate(-20deg)">
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </template>
  105. <script>
  106. export default {
  107. name: 'applyForInvoice',
  108. data() {
  109. return {
  110. activeIndex: '/applyForInvoice',
  111. tableData:[]
  112. };
  113. },
  114. methods: {
  115. bug(file){
  116. console.log(file);
  117. },
  118. handleChange(file, fileList) {
  119. this.fileList = fileList.slice(-3);
  120. },
  121. handleSizeChange(val) {
  122. console.log(`每页 ${val} 条`);
  123. },
  124. handleCurrentChange(val) {
  125. console.log(`当前页: ${val}`);
  126. },
  127. handleSelect(key, keyPath) {
  128. this.$router.push(key);
  129. console.log(this.activeIndex);
  130. console.log(key, keyPath);
  131. },
  132. }
  133. };
  134. </script>
  135. <style scoped lang="scss">
  136. .head {
  137. width: 80%;
  138. border: 1px solid #eeeeee;
  139. margin: 10px auto;
  140. display: flex;
  141. }
  142. .head > div:nth-child(2) {
  143. width: 80%;
  144. }
  145. .el-input {
  146. margin: 10px auto;
  147. }
  148. .query div:nth-child(1){
  149. width: 200px;
  150. }
  151. .query div:nth-child(1) div:nth-child(1){
  152. margin-bottom: 10px;
  153. }
  154. .query div:nth-child(1) div:nth-child(2){
  155. margin-bottom: 10px;
  156. }
  157. .query div:nth-child(1) div:nth-child(3){
  158. font-weight:bold;
  159. color: red;
  160. }
  161. .query {
  162. width: 25%;
  163. float: right;
  164. display: flex;
  165. justify-content: center;
  166. margin-top: 40px;
  167. }
  168. </style>