waitinvoice.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  1. <template>
  2. <div class="invoice-wrapper">
  3. <div class="mobile-nav">
  4. <div class="mobile-header mobile-center-header">
  5. <a @click="goBack()"><i class="iconfont icon-fanhui"></i></a>
  6. <p>发票管理</p>
  7. <p class="en-name">
  8. <img :src="`/images/mobile/center/${user.data.enterprise && user.data.enterprise.uu ? 'en' : 'self'}.png`" alt="">{{currentEnName}}
  9. </p>
  10. </div>
  11. </div>
  12. <div class="order-nav">
  13. <nuxt-link to="/mobile/center/user/invoice" tag="div"><span>发票信息</span></nuxt-link>
  14. <div class="active"><span>待开票订单</span></div>
  15. <nuxt-link to="/mobile/center/user/invoice/invoiceRecord" tag=div><span>开票记录</span></nuxt-link>
  16. </div>
  17. <div class="invoice-wrapper-el">
  18. <div class="mobile-invoice">
  19. <div class="mi-remind-area" :class="{less: !showMoreRemind}">
  20. <p class="title">温馨提示</p>
  21. <p class="content">
  22. <span class="inline-block">1、</span>
  23. <span class="inline-block">申请发票时默认将同一店铺的订单合并开一张发票,如需分开开票,请分别申请;</span>
  24. </p>
  25. <p class="content">
  26. <span class="inline-block">2、</span>
  27. <span class="inline-block">您只能对订单状态为<b>“交易完成”</b>,且已不能再发起售后的人民币交易订单进行补开发票;</span>
  28. </p>
  29. <p class="content">
  30. <span class="inline-block">3、</span>
  31. <span class="inline-block">发票金额为产品总金额且不含运费、积分、优惠卷、促销折扣等金额;</span>
  32. </p>
  33. <p class="content">
  34. <span class="inline-block">4、</span>
  35. <span class="inline-block">发票邮寄费用将由卖家承担。</span>
  36. </p>
  37. <p class="more" @click="showMoreRemind = !showMoreRemind">{{showMoreRemind ? '收起' : '查看更多'}}
  38. <i v-show="showMoreRemind" class="iconfont icon-shangshuangjiantou"></i>
  39. <i v-show="!showMoreRemind" class="iconfont icon-xiashuangjiantou"></i>
  40. </p>
  41. </div>
  42. <div class="search-content mi-search-content">
  43. <input type="text" placeholder="商家名称/订单号" v-model="keyword">
  44. <span @click="searchMore()"><i class="iconfont icon-sousuo"></i></span>
  45. </div>
  46. <div class="mi-list-content">
  47. <ul class="mi-list" v-if="invoiceList.length > 0">
  48. <li v-for="inv in invoiceList" @click.stop="setActive(inv)" :class="{active: inv.$active}">
  49. <div class="line">
  50. <span class="inline-block title">
  51. <label class="bottom-modal-check mobile-cart-check" :class="{active: inv.$active}">
  52. <!--<input type="checkbox">-->
  53. </label>
  54. 商家名称:
  55. </span>
  56. <span class="inline-block content" @click.stop="toShopdetails(inv)">{{inv.sellername}}</span>
  57. </div>
  58. <div class="line">
  59. <span class="inline-block title">
  60. 订单号:
  61. </span>
  62. <span class="inline-block content" @click.stop="lookOrderDetail(inv)">
  63. {{inv.orderid}}
  64. </span>
  65. </div>
  66. <div class="line">
  67. <span class="inline-block title">
  68. 可开票金额:
  69. </span>
  70. <span class="inline-block content pri">¥{{inv.price}}</span>
  71. </div>
  72. </li>
  73. </ul>
  74. <div class="com-none-state" v-if="invoiceList.length === 0">
  75. <img src="/images/mobile/@2x/empty-collect.png">
  76. <p>抱歉,暂无发票消息</p>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="mobile-invoice">
  82. <div class="mi-fix-result" v-if="invoiceList.length > 0">
  83. <label class="bottom-modal-check mobile-cart-check" :class="{active: allChecked}">
  84. <input type="checkbox" @change="setActive()">
  85. <span>全选</span>
  86. </label>
  87. <button @click="applyInvoice()">申请开票</button>
  88. </div>
  89. </div>
  90. <mobile-footer></mobile-footer>
  91. <remind-box :title="collectResult" :timeoutCount="timeoutCount"></remind-box>
  92. <addinvoice
  93. :chooseItem="addItem"
  94. @addinvoiceBtn="addinvoiceFn"
  95. v-if="showAddinvoice"
  96. :joinType="joinType"
  97. ></addinvoice>
  98. <pull-up :searchMore="fetching" :allPage="invoices.data.totalPages" :page="page" @pullUpAction="onPullUp"></pull-up>
  99. <!-- 申请发票弹窗 -->
  100. <div class="mobile-modal" @touchmove="preventTouchMove($event)" v-if="showSend">
  101. <div class="applyinvoice_Alert" >
  102. <div class="applyinvoice_title">申请开票<span><i class="iconfont icon-guanbi1" @click="showSend = false"></i></span></div>
  103. <div ref="applyinvoiceAlert" class="scrollContent" >
  104. <div>
  105. <div class="applyinvoice-ul" v-if="invoiceArr.length > 0">
  106. <div class="addinvoice-focus clearfix">
  107. <div class="pull-left addinvoice-focus-name">发票类型:</div>
  108. <div class="pull-left clearfix">
  109. <div class="normal pull-left" style="margin-right: 0.2rem;" @click="chooseVoice('speci', 1205)" v-if="showSpeciBtn">
  110. <div class="icon" :class="waitinvoiceType === 'speci' ? 'active' : ''">
  111. <div class="icon-next"></div>
  112. </div>
  113. 增值税专票
  114. </div>
  115. <div class="normal pull-left" @click="chooseVoice('normal', 1206)" v-if="showNormalBtn">
  116. <div class="icon" :class="waitinvoiceType === 'normal' ? 'active' : ''">
  117. <div class="icon-next"></div>
  118. </div>
  119. 增值税普票
  120. </div>
  121. </div>
  122. </div>
  123. <div class="addinvoice-focus clearfix">
  124. <div class="pull-left addinvoice-focus-name">发票抬头:</div>
  125. <div class="pull-left clearfix">
  126. {{chooseItem.head}}
  127. </div>
  128. </div>
  129. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  130. <div class="pull-left addinvoice-focus-name">单位地址:</div>
  131. <div class="pull-left clearfix">
  132. {{chooseItem.companyAddress}}
  133. </div>
  134. </div>
  135. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  136. <div class="pull-left addinvoice-focus-name">单位电话:</div>
  137. <div class="pull-left clearfix">
  138. {{chooseItem.companyPhone}}
  139. </div>
  140. </div>
  141. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  142. <div class="pull-left addinvoice-focus-name">税务登记号:</div>
  143. <div class="pull-left clearfix">
  144. {{chooseItem.companyTaxNumber}}
  145. </div>
  146. </div>
  147. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  148. <div class="pull-left addinvoice-focus-name">开户银行:</div>
  149. <div class="pull-left clearfix">
  150. {{chooseItem.bankName}}
  151. </div>
  152. </div>
  153. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  154. <div class="pull-left addinvoice-focus-name">开户银行账号:</div>
  155. <div class="pull-left clearfix">
  156. {{chooseItem.bankAccount}}
  157. </div>
  158. </div>
  159. <div class="addinvoice-focus clearfix" >
  160. <div class="pull-left addinvoice-focus-name">收票人:</div>
  161. <div class="pull-left clearfix">
  162. {{chooseItem.name}}
  163. </div>
  164. </div>
  165. <div class="addinvoice-focus clearfix" >
  166. <div class="pull-left addinvoice-focus-name">联系电话:</div>
  167. <div class="pull-left clearfix">
  168. {{chooseItem.telephone}}
  169. </div>
  170. </div>
  171. <div class="addinvoice-focus clearfix" >
  172. <div class="pull-left addinvoice-focus-name">收票地址:</div>
  173. <div class="pull-left clearfix">
  174. <p style="line-height:0.4rem">{{chooseItem.area}}</p>
  175. <p style="line-height:0.4rem">{{chooseItem.detailAddress}}</p>
  176. </div>
  177. </div>
  178. </div>
  179. <div class="applyinvoice-ul" v-else>
  180. <div class="addinvoice-focus clearfix">
  181. <div class="pull-left addinvoice-focus-name">暂无发票信息:</div>
  182. <div class="pull-left clearfix" @click="addInvoiceNew()">
  183. <img src="/images/mobile/center/user/icon-rm-invoice.png"/>新增发票
  184. </div>
  185. </div>
  186. </div>
  187. <div class="applyinvoive_infotitle">共<a class="blue">{{applyObj.sellNum.length}}</a>个商家,<a class="blue">{{applyObj.orderNum}}</a>个订单,发票金额总计:<a class="red">¥{{applyObj.allPrice}}</a>元</div>
  188. <div class="applyinvoive_detailinfo">
  189. <div class="clearfix" v-for="info in applyObj.sellNum">
  190. <div class="pull-left">{{info.sellername}}</div>
  191. <div class="pull-right">金额:¥{{info.orderAllPrice}}</div>
  192. </div>
  193. </div>
  194. <div class="applyinvoice_controll clearfix">
  195. <div @click="showSend = false" class="pull-left">取消</div>
  196. <div class="pull-right" @click="applyInvoiceFn()">确认</div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. </template>
  204. <script>
  205. import { EncryptionFilter } from '~utils/tools.js'
  206. import axios from '~plugins/axios'
  207. import { RemindBox, PullUp } from '~components/mobile/common'
  208. import { addinvoice } from '~components/mobile/center'
  209. import BScroll from 'better-scroll'
  210. import { MobileFooter } from '~components/mobile'
  211. export default {
  212. name: 'invoice-view',
  213. layout: 'mobile',
  214. middleware: 'authenticated',
  215. computed: {
  216. invoices () {
  217. return this.$store.state.invoice.data.Buyerinvoices
  218. },
  219. fetching () {
  220. return this.invoices.fetching
  221. },
  222. listActiveFlag () {
  223. let allChecked = true
  224. for (let i = 0; i < this.invoiceList.length; i++) {
  225. if (!this.invoiceList[i].$active) {
  226. allChecked = false
  227. break
  228. }
  229. }
  230. return allChecked
  231. },
  232. allChecked () {
  233. return this.invoiceList.length && this.listActiveFlag
  234. }
  235. },
  236. fetch ({store}) {
  237. return Promise.all([
  238. store.dispatch('invoice/getBuyerInvoices', {count: 10, keyword: '', page: 1, sorting: {'creattime': 'DESC'}, status: 520})
  239. ])
  240. },
  241. watch: {
  242. '$store.state.invoice.data.Buyerinvoices.data': {
  243. handler: function (val) {
  244. if (val && val.content) {
  245. if (this.isChange) {
  246. this.invoiceList = []
  247. this.isChange = false
  248. }
  249. let arr = this.baseUtils.deepCopy(val.content)
  250. arr.forEach(item => {
  251. item.$active = false
  252. })
  253. this.invoiceList = [...this.invoiceList, ...arr]
  254. }
  255. },
  256. immediate: true
  257. }
  258. },
  259. data() {
  260. return {
  261. waitinvoiceType: 'speci',
  262. showNormalBtn: true, // 是否显示普票按钮
  263. showSpeciBtn: true, // 是否显示专票按钮
  264. activeType: '',
  265. invoiceList: [], // 订单列表
  266. invoiceArr: [], // 当前用户发票数组
  267. collectResult: '',
  268. timeoutCount: 0,
  269. chooseItem: {}, // 当前选中的发票
  270. showAddinvoice: false, // 是否显示新增发票
  271. joinType: 'add', // 新增发票状态
  272. keyword: '',
  273. page: 1,
  274. showSend: false, // 是否显示发票申请
  275. applyObj: { // 申请发票对象
  276. sellNum: []
  277. },
  278. addItem: {}, // 新增发票数组
  279. showMoreRemind: false
  280. }
  281. },
  282. async asyncData() {
  283. let { data } = await axios.get('/trade/bill/list/personal')
  284. let showNormalBtn = data.find(item => {
  285. return item.kind === 1206
  286. })
  287. let showSpeciBtn = data.find(item => {
  288. return item.kind === 1205
  289. })
  290. let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
  291. let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
  292. return {
  293. invoiceArr: data,
  294. showNormalBtn: showNormalBtn ? true: false,
  295. showSpeciBtn: showSpeciBtn ? true : false,
  296. chooseItem: chooseItem,
  297. waitinvoiceType: waitinvoiceType
  298. }
  299. },
  300. methods: {
  301. setActive (inv) {
  302. if (inv) {
  303. inv.$active = !inv.$active
  304. } else {
  305. // 先存储 否则会重新计算
  306. let flag = !this.allChecked
  307. this.invoiceList.forEach(item => {
  308. item.$active = flag
  309. })
  310. }
  311. },
  312. chooseVoice(str, num) {
  313. this.waitinvoiceType = str
  314. this.chooseItem = this.invoiceArr.find(obj => {
  315. return obj.kind === num
  316. })
  317. this._initScroll()
  318. },
  319. async addinvoiceFn(ty, item) {
  320. this.showAddinvoice = false
  321. if (ty) {
  322. let { data } = await axios.get('/trade/bill/list/personal')
  323. let showNormalBtn = data.find(item => {
  324. return item.kind === 1206
  325. })
  326. let showSpeciBtn = data.find(item => {
  327. return item.kind === 1205
  328. })
  329. let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
  330. let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
  331. this.invoiceArr = data
  332. this.showNormalBtn = showNormalBtn ? true: false
  333. this.showSpeciBtn = showSpeciBtn ? true : false
  334. this.chooseItem = chooseItem
  335. this.waitinvoiceType = waitinvoiceType
  336. }
  337. this.showSend = true
  338. },
  339. setRemindText(str) {
  340. this.collectResult = str
  341. this.timeoutCount++
  342. },
  343. // 店铺详情页
  344. toShopdetails(item) {
  345. this.$router.push(`/mobile/shop/${item.storeid}`)
  346. },
  347. // 查看订单详情
  348. lookOrderDetail(item) {
  349. let id = EncryptionFilter(item.orderid)
  350. this.$router.push(`/mobile/order/details?uuid=${id}&type=buyer&paytype=${item.paytype}`)
  351. },
  352. // 申请开票
  353. applyInvoice() {
  354. let _arr = []
  355. let _orderNum = 0
  356. let _AllPice = 0
  357. this.invoiceList.forEach(obj => {
  358. if (obj.$active === true) {
  359. _AllPice += obj.price
  360. _orderNum++
  361. let _find = _arr.find($it => {
  362. return $it.storeid === obj.storeid
  363. })
  364. if (_find) {
  365. _find.orderAllPrice += obj.price
  366. } else {
  367. obj.orderAllPrice = obj.price
  368. _arr.push(obj)
  369. }
  370. }
  371. })
  372. if (_arr.length === 0) {
  373. this.setRemindText('请勾选未开票订单')
  374. return
  375. }
  376. this.applyObj = {
  377. sellNum: _arr,
  378. orderNum: _orderNum,
  379. allPrice: _AllPice
  380. }
  381. this.showSend = true
  382. this._initScroll()
  383. },
  384. // 申请开票最后阶段
  385. applyInvoiceFn() {
  386. if (this.invoiceArr.length === 0) {
  387. this.setRemindText('请选择发票类型')
  388. return
  389. }
  390. let str = ''
  391. this.applyObj.sellNum.forEach(obj => {
  392. str === '' ? str += obj.orderid : str += ',' + obj.orderid
  393. })
  394. let json = {
  395. invoiceid: this.chooseItem.id,
  396. orderids: str
  397. }
  398. this.$http.post('/trade/billSubmit', json).then(res => {
  399. if (res.data instanceof Array) {
  400. this.setRemindText('申请成功')
  401. this.searchMore()
  402. this.showSend = false
  403. }
  404. })
  405. },
  406. reloadList () {
  407. this.isChange = true
  408. this.$store.dispatch('invoice/getBuyerInvoices', {count: 10, page: this.page, keyword: this.keyword, sorting: {'creattime': 'DESC'}, status: 520})
  409. },
  410. searchMore() {
  411. this.page = 1
  412. this.reloadList()
  413. },
  414. onPullUp () {
  415. this.page++
  416. this.reloadList()
  417. },
  418. _initScroll() {
  419. this.$nextTick(res => {
  420. if (!this.scroll) {
  421. this.scroll = new BScroll(this.$refs.applyinvoiceAlert, {click: true})
  422. } else {
  423. this.scroll.refresh()
  424. }
  425. })
  426. },
  427. addInvoiceNew() {
  428. this.showSend = false
  429. this.addItem = {}
  430. this.showAddinvoice = true
  431. }
  432. },
  433. components: {
  434. RemindBox,
  435. addinvoice,
  436. PullUp,
  437. MobileFooter
  438. }
  439. }
  440. </script>
  441. <style lang="scss" scoped>
  442. @import '~assets/scss/mobileInvoice';
  443. @mixin overFlowHidden {
  444. overflow: hidden;
  445. text-overflow: ellipsis;
  446. white-space: nowrap;
  447. }
  448. @mixin lineHeight($value) {
  449. height: $value;
  450. line-height: $value;
  451. }
  452. .invoice-wrapper {
  453. background: #f1f3f6;
  454. /*margin: 1.26rem 0 0 0;*/
  455. left: 0;
  456. bottom: 0;
  457. top: 0;
  458. right: 0;
  459. z-index: 11;
  460. /*padding: 0.82rem 0 1.04rem;*/
  461. /*height: calc(100vh - 1.26rem);*/
  462. position: absolute;
  463. width: 100%;
  464. .invoice-wrapper-el {
  465. margin: 2.08rem 0 0.98rem;
  466. height: calc(100vh - 1.26rem - 0.98rem - 1.06rem);
  467. overflow-y: scroll;
  468. padding-bottom: 0.98rem;
  469. }
  470. .mobile-header{
  471. position: fixed;
  472. top: 0;
  473. z-index: 10;
  474. width:100%;
  475. height: 1.26rem;
  476. line-height: 1.26rem;
  477. /*border-bottom:.01rem solid #ccc;*/
  478. background: #3e82f5;
  479. padding:0 .2rem 0 .1rem;
  480. color:#fff;
  481. }
  482. .mobile-header p{
  483. overflow: hidden;
  484. text-overflow: ellipsis;
  485. white-space: nowrap;
  486. font-size:.36rem;
  487. text-align: center;
  488. width: 6rem;
  489. padding-left: 1rem;
  490. }
  491. .mobile-center-header p.en-name {
  492. font-size: .3rem;
  493. }
  494. .mobile-header a{
  495. font-size:.28rem;
  496. color:#fff;
  497. position: absolute;
  498. }
  499. .mobile-header a i{
  500. font-size: .48rem;
  501. margin-right: -.1rem;
  502. }
  503. .order-nav {
  504. background: #fff;
  505. position: fixed;
  506. width: 100%;
  507. top: 1.26rem;
  508. z-index: 10;
  509. div {
  510. height: 0.82rem;
  511. line-height: 0.82rem;
  512. display: inline-block;
  513. width: 33.3%;
  514. text-align: center;
  515. font-size: .28rem;
  516. color: #666;
  517. &.active span{
  518. color: #3f84f6;
  519. border-bottom: 0.04rem solid #3f84f6;
  520. padding-bottom: 0.2rem;
  521. }
  522. }
  523. }
  524. .mi-remind-area {
  525. margin-top: 0.24rem;
  526. background: #fff;
  527. }
  528. .mi-list-content .mi-list li {
  529. background: #fff;
  530. &:nth-child(1) {
  531. margin-top: 0;
  532. }
  533. }
  534. .mi-search-content input {
  535. width: 7rem;
  536. margin: 0;
  537. }
  538. .mobile-invoice .mi-list-content .mi-list li .line .content {
  539. padding: 0;
  540. color: #3976f4;
  541. width: 67%;
  542. &.pri {
  543. color: #ee1111
  544. }
  545. }
  546. .mobile-invoice .mi-list-content .mi-list li .line .title {
  547. width: 33%;
  548. }
  549. .applyinvoice_Alert {
  550. background: #fff;
  551. position: fixed;
  552. bottom: 0rem;
  553. left: 0;
  554. width: 100%;
  555. border-top-left-radius: 5px;
  556. border-top-right-radius: 5px;
  557. padding-bottom: 0.2rem;
  558. .scrollContent {
  559. max-height: 6rem;
  560. overflow: hidden;
  561. }
  562. .applyinvoice_title {
  563. color: #333;
  564. font-size: 0.42rem;
  565. text-align: center;
  566. line-height: 1rem;
  567. font-weight: 600;
  568. position: relative;
  569. i {
  570. position: absolute;
  571. font-size: 16px;
  572. right: 0.2rem;
  573. }
  574. }
  575. .applyinvoice-ul {
  576. .addinvoice-focus {
  577. font-size: 0.28rem;
  578. color: #666;
  579. line-height: 0.6rem;
  580. margin: 0 0.2rem;
  581. img {
  582. width: 0.29rem;
  583. vertical-align: top;
  584. height: 0.33rem;
  585. margin-top: 0.12rem;
  586. margin-right: 0.04rem;
  587. }
  588. .addinvoice-focus-name {
  589. width: 2.1rem;
  590. }
  591. .normal {
  592. .icon {
  593. font-size: 0.28rem;
  594. color: #333;
  595. width: 0.5rem;
  596. height: 0.5rem;
  597. border-radius: 50%;
  598. border: 1px solid #dcdcdc;
  599. position: relative;
  600. display: inline-block;
  601. vertical-align: top;
  602. &.active .icon-next {
  603. background: #226ce7;
  604. width: 0.3rem;
  605. height: 0.3rem;
  606. border-radius: 50%;
  607. position: absolute;
  608. left: 50%;
  609. top: 50%;
  610. transform: translate3d(-50%, -50%, 0);
  611. }
  612. }
  613. }
  614. }
  615. }
  616. .applyinvoive_infotitle {
  617. color: #333;
  618. font-size: 0.28rem;
  619. @include lineHeight(0.6rem);
  620. background: #e5e5e5;
  621. padding: 0 0.2rem;
  622. .blue {
  623. color: #3e82f5;
  624. }
  625. .red{
  626. max-width: 1.6rem;
  627. @include overFlowHidden();
  628. vertical-align: middle;
  629. display: inline-block;
  630. color: #f43938
  631. }
  632. }
  633. .applyinvoive_detailinfo {
  634. color: #333;
  635. font-size: 0.28rem;
  636. padding: 0.2rem;
  637. .clearfix {
  638. @include lineHeight(0.5rem);
  639. }
  640. .pull-left {
  641. width: 3.5rem;
  642. @include overFlowHidden()
  643. }
  644. .pull-right {
  645. width: 3.4rem;
  646. @include overFlowHidden()
  647. }
  648. }
  649. .applyinvoice_controll {
  650. padding: 0 0.3rem;
  651. div {
  652. width: 3.29rem;
  653. @include lineHeight(0.77rem);
  654. color: #fff;
  655. font-size: 0.32rem;
  656. text-align: center;
  657. border-radius: 0.07rem;
  658. background: #bfbfbf;
  659. &:last-child {
  660. background: #3e82f5;
  661. }
  662. }
  663. }
  664. }
  665. }
  666. </style>