list.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. <template>
  2. <a-card size="small" :bordered="false" class="finacialPay-wrap">
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <!-- 标签页 -->
  5. <a-tabs type="card" size="small" v-model="queryParam.bizType" @change="handleTabChange" class="finacialPay-tabs">
  6. <a-tab-pane v-for="item in tabPaneData" :key="item.bizType">
  7. <span slot="tab">{{ item.bizName }}({{ item.countNum }})</span>
  8. </a-tab-pane>
  9. </a-tabs>
  10. <!-- 搜索条件 -->
  11. <div ref="tableSearch" class="table-page-search-wrapper">
  12. <a-form layout="inline" @keyup.enter.native="searchForm">
  13. <a-row :gutter="15">
  14. <a-col :md="6" :sm="24">
  15. <a-form-item label="付款单号"><a-input id="finacialPay-settleNo" v-model.trim="queryParam.settleNo" allowClear placeholder="请输入付款单号" /></a-form-item>
  16. </a-col>
  17. <a-col :md="6" :sm="24">
  18. <a-form-item label="关联单号"><a-input id="finacialPay-bizNo" v-model.trim="queryParam.bizNo" allowClear placeholder="请输入关联单号" /></a-form-item>
  19. </a-col>
  20. <a-col :md="6" :sm="24">
  21. <a-form-item label="商户名称">
  22. <a-input id="finacialPay-settleClientName" v-model.trim="queryParam.settleClientNameCurrent" allowClear placeholder="请输入商户名称" />
  23. </a-form-item>
  24. </a-col>
  25. <template v-if="advanced">
  26. <a-col :md="6" :sm="24">
  27. <a-form-item label="单据状态">
  28. <v-select
  29. v-model="queryParam.billState"
  30. ref="settleState"
  31. id="finacialPay-settleState"
  32. code="SETTLE_PAY_STATUS"
  33. placeholder="请选择单据状态"
  34. allowClear></v-select>
  35. </a-form-item>
  36. </a-col>
  37. <a-col :md="6" :sm="24">
  38. <a-form-item label="创建时间">
  39. <rangeDate ref="createDate" @change="createDateChange" />
  40. </a-form-item>
  41. </a-col>
  42. <a-col :md="6" :sm="24">
  43. <a-form-item label="审核时间">
  44. <rangeDate ref="rangeDate" @change="dateChange" />
  45. </a-form-item>
  46. </a-col>
  47. <a-col :md="6" :sm="24">
  48. <a-form-item label="付款时间">
  49. <rangeDate ref="settleDate" @change="settleChange" />
  50. </a-form-item>
  51. </a-col>
  52. </template>
  53. <a-col :md="6" :sm="24">
  54. <span class="table-page-search-submitButtons">
  55. <a-button type="primary" @click="searchForm()" :disabled="disabled" id="finacialPay-refresh">查询</a-button>
  56. <a-button style="margin-left: 5px" @click="resetSearchForm()" :disabled="disabled" id="finacialPay-reset">重置</a-button>
  57. <a @click="advanced = !advanced" style="margin-left: 5px">
  58. {{ advanced ? '收起' : '展开' }}
  59. <a-icon :type="advanced ? 'up' : 'down'" />
  60. </a>
  61. </span>
  62. </a-col>
  63. </a-row>
  64. </a-form>
  65. </div>
  66. <!-- alert -->
  67. <a-alert type="info" style="margin-bottom:10px">
  68. <div slot="message">
  69. <strong>{{ totalData&&(totalData.count || totalData.count==0) ? totalData.count : '--' }}</strong>
  70. 条记录,应付金额合计
  71. <strong>{{ totalData&&(totalData.totalAmount || totalData.totalAmount==0) ? toThousands(totalData.totalAmount) : '--' }}</strong>
  72. ,其中已付金额
  73. <strong>{{ totalData&&(totalData.settledAmount || totalData.settledAmount==0) ? toThousands(totalData.settledAmount) : '--' }}</strong>
  74. ,待付金额
  75. <strong>{{ totalData&&(totalData.unsettleAmount || totalData.unsettleAmount==0) ? toThousands(totalData.unsettleAmount) : '--' }}</strong>
  76. </div>
  77. </a-alert>
  78. <div v-if="$hasPermissions('B_financialPaymentPl')" style="margin-bottom: 10px">
  79. <a-button type="primary" id="finacialPay-export" :loading="loading" @click="enableFundAccount ? handleSettleAcountPay(null,1) : handlePayment()">批量付款</a-button>
  80. <span style="margin-left: 8px" v-if="$hasPermissions('B_financialPaymentPl')">
  81. <template v-if="rowSelectionInfo&&rowSelectionInfo.selectedRowKeys.length>0">{{ `已选 ${rowSelectionInfo.selectedRowKeys.length} 项` }}</template>
  82. <template v-if="selectTotalAmount">,合计 {{ toThousands(selectTotalAmount) }}</template>
  83. </span>
  84. </div>
  85. <!-- 列表 -->
  86. <s-table
  87. class="sTable fixPagination"
  88. ref="table"
  89. :style="{ height: tableHeight+84.5+'px' }"
  90. size="small"
  91. :rowKey="record => record.id"
  92. :row-selection="$hasPermissions('B_financialPaymentPl') ? { columnWidth: 40, getCheckboxProps: record => ({ props: { disabled: record.settleState == 'SETTLED' } }) } : null"
  93. @rowSelection="rowSelectionFun"
  94. :columns="columns"
  95. :data="loadData"
  96. :scroll="{ y: tableHeight }"
  97. :defaultLoadData="false"
  98. bordered
  99. >
  100. <!-- 关联单号 -->
  101. <template slot="bizNo" slot-scope="text, record">
  102. <span v-if="$hasPermissions('B_purchaseDetail')||$hasPermissions('B_salesReturnDetail')||$hasPermissions('B_bulkWarehousingOrder_detail')||$hasPermissions('B_allocLinkagePutDetail')||$hasPermissions('B_expenseDetail')" class="table-td-link" @click="handleDetail(record)">{{ record.bizNo }}</span>
  103. <span v-else>{{ record.bizNo }}</span>
  104. </template>
  105. <!-- 客户名称 -->
  106. <template slot="customerName" slot-scope="text, record">
  107. <span v-if="record.settleClientType&&record.settleClientType=='CUSTOMER'">{{ record.settleClientNameCurrent||'--' }}</span>
  108. <span v-else>{{ record.settleClientName || '--' }}</span>
  109. </template>
  110. <!-- 操作 -->
  111. <template slot="action" slot-scope="text, record">
  112. <a-button
  113. size="small"
  114. type="link"
  115. class="button-primary"
  116. v-if="record.settleState == 'SETTLED' && $hasPermissions('B_financialPaymentDetail')"
  117. @click="handleVoucher(record)"
  118. id="finacialPay-voucher-btn">凭证</a-button>
  119. <a-button
  120. size="small"
  121. type="link"
  122. class="button-error"
  123. :loading="loading"
  124. v-else-if="record.settleState != 'SETTLED' && $hasPermissions('B_financialPaymentSing')"
  125. @click="enableFundAccount ? handleSettleAcountPay(record,0) : handlePay(record)"
  126. id="finacialPay-pay-btn">付款</a-button>
  127. <span v-else>--</span>
  128. </template>
  129. </s-table>
  130. </a-spin>
  131. <!-- 详情 -->
  132. <detail-modal :openModal="openModal" ref="detailModal" @close="openModal = false" />
  133. <!-- 收付款弹框 -->
  134. <settleModal ref="settleModal" @ok="settleAcountPay" :openModal="openSettleModal" @close="openSettleModal=false"></settleModal>
  135. <!-- 关联单号详情 -->
  136. <a-modal
  137. centered
  138. class="bizOrderDetail-modal"
  139. :footer="null"
  140. :maskClosable="false"
  141. :bodyStyle="{padding:'12px'}"
  142. :title="curBizTitle"
  143. v-model="openDetailModal"
  144. v-if="openDetailModal"
  145. @cancel="handleDetailClose"
  146. :width="fcBizType=='COST'?'50%':'80%'">
  147. <div style="max-height: 700px;overflow-y: auto;">
  148. <!-- 采购入库 -->
  149. <purchasDetail v-if="fcBizType=='PURCHASE'" :outBizSn="orderSn" />
  150. <stockOrderDetail v-if="fcBizType=='PURCHASE-FH'" :outBizSn="orderSn" />
  151. <!-- 销售退货 -->
  152. <salesReturnDetail v-if="fcBizType=='SELL_REFUND'" :outBizSn="orderSn" />
  153. <!-- 连锁调入 -->
  154. <chainTransInDetail v-if="fcBizType=='LINKAGE_CALL_IN'" :outBizSn="orderSn" />
  155. <!-- 散件入库 -->
  156. <bulkWareDetail v-if="fcBizType=='PARTS_INPUT'" :outBizSn="orderSn" />
  157. <!-- 费用 -->
  158. <expenseDetail v-if="fcBizType=='COST'" :outBizSn="orderSn" ></expenseDetail>
  159. </div>
  160. </a-modal>
  161. </a-card>
  162. </template>
  163. <script>
  164. import { commonMixin } from '@/utils/mixin'
  165. import { mapActions } from 'vuex'
  166. import { STable, VSelect } from '@/components'
  167. import detailModal from './detailModal.vue'
  168. import settleModal from '../settleModal/settleModal.vue'
  169. import { settlePayQuery, queryByTypeSum, settlePayMoney, settlePayQuerySum } from '@/api/settlePay.js'
  170. import rangeDate from '@/views/common/rangeDate.vue'
  171. import purchasDetail from '@/views/purchasingManagement/purchaseOrder/detail'
  172. import stockOrderDetail from '@/views/purchasingManagement/signWarehousing/stockOrderDetail'
  173. import salesReturnDetail from '@/views/salesManagement/salesReturn/detail'
  174. import chainTransInDetail from '@/views/allocationManagement/chainTransferIn/detail'
  175. import bulkWareDetail from '@/views/bulkManagement/bulkWarehousingOrder/detail'
  176. import expenseDetail from './expenseDetail'
  177. export default {
  178. name: 'FinancialPaymentList',
  179. components: { STable, VSelect, detailModal, rangeDate, settleModal, salesReturnDetail, chainTransInDetail, bulkWareDetail, expenseDetail, purchasDetail, stockOrderDetail },
  180. mixins: [commonMixin],
  181. data () {
  182. const _this = this
  183. return {
  184. spinning: false,
  185. advanced: true, // 高级搜索 展开/关闭
  186. disabled: false, // 查询、重置按钮是否可操作
  187. openModal: false, // 详情弹框
  188. openSettleModal: false, // 打开付款弹框
  189. enableFundAccount: false, // 是否开启资金账户管理
  190. tableHeight: 0,
  191. curBizType: 'ALL',
  192. openDetailModal: false, // 关联单详情
  193. curBizTitle: '',
  194. fcBizType: '',
  195. orderSn: null,
  196. // 查询参数
  197. queryParam: {
  198. bizType: 'ALL',
  199. settleNo: '',
  200. bizNo: '',
  201. settleClientNameCurrent: '',
  202. billState: '',
  203. auditBeginDate: '',
  204. auditEndDate: '',
  205. settleBeginDate: '',
  206. settleEndDate: ''
  207. },
  208. // 总计
  209. totalData: {
  210. settledAmount: 0,
  211. totalAmount: 0,
  212. unsettleAmount: 0,
  213. count: 0
  214. },
  215. // 表头
  216. columns: [
  217. { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
  218. { title: '付款单号', dataIndex: 'settleNo', width: '14%', align: 'center', customRender: function (text) { return text || '--' } },
  219. { title: '关联单号', dataIndex: 'bizNo', scopedSlots: { customRender: 'bizNo' }, width: '14%', align: 'center' },
  220. { title: '商户名称', width: '10%', align: 'center', scopedSlots: { customRender: 'customerName' } },
  221. { title: '应付金额', dataIndex: 'totalAmount', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  222. { title: '已付金额', dataIndex: 'settledAmount', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  223. { title: '待付金额', dataIndex: 'unsettleAmount', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  224. { title: '单据类型', dataIndex: 'bizName', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
  225. { title: '付款方式', dataIndex: 'settleStyleName', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
  226. { title: '创建时间', dataIndex: 'createDate', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
  227. { title: '审核时间', dataIndex: 'auditTime', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
  228. { title: '付款时间', dataIndex: 'settleTime', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
  229. { title: '操作', scopedSlots: { customRender: 'action' }, width: '5%', align: 'center' }
  230. ],
  231. loading: false,
  232. // 加载数据方法 必须为 Promise 对象
  233. loadData: parameter => {
  234. this.disabled = true
  235. this.spinning = true
  236. return settlePayQuery(Object.assign(parameter, this.queryParam)).then(res => {
  237. let data
  238. if (res.status == 200) {
  239. data = res.data
  240. const no = (data.pageNo - 1) * data.pageSize
  241. for (var i = 0; i < data.list.length; i++) {
  242. data.list[i].no = no + i + 1
  243. }
  244. this.disabled = false
  245. this.totalData.count = data.count || 0
  246. // 查询总计
  247. this.settlePayQuerySum(Object.assign(parameter, this.queryParam))
  248. }
  249. this.spinning = false
  250. return data
  251. })
  252. },
  253. tabPaneData: [],
  254. rowSelectionInfo: null
  255. }
  256. },
  257. computed: {
  258. selectTotalAmount () {
  259. let ret = 0
  260. if (this.rowSelectionInfo && this.rowSelectionInfo.selectedRows) {
  261. this.rowSelectionInfo.selectedRows.map(item => {
  262. ret = ret + item.unsettleAmount
  263. })
  264. }
  265. return ret ? Number(ret).toFixed(2) : 0
  266. }
  267. },
  268. methods: {
  269. // 查看关联单号
  270. handleDetail (row) {
  271. console.log(row)
  272. this.orderSn = row.bizSn
  273. this.fcBizType = row.bizType
  274. // 采购但
  275. if (row.bizType == 'PURCHASE') {
  276. if (row.bizNo.indexOf('FH') >= 0) {
  277. this.fcBizType = this.fcBizType + '-FH'
  278. }
  279. if (row.bizNo.indexOf('SH') >= 0) {
  280. this.fcBizType = this.fcBizType + '-FH'
  281. }
  282. }
  283. this.curBizTitle = row.bizTypeDictValue + '详情'
  284. this.openDetailModal = true
  285. },
  286. handleDetailClose () {
  287. this.openDetailModal = false
  288. this.fcBizType = null
  289. this.orderSn = null
  290. },
  291. ...mapActions(['GetSettleAccountState']),
  292. // 表格选中项
  293. rowSelectionFun (obj) {
  294. console.log(obj)
  295. this.rowSelectionInfo = obj || null
  296. },
  297. // 时间 change
  298. dateChange (date) {
  299. this.queryParam.auditBeginDate = date[0]
  300. this.queryParam.auditEndDate = date[1]
  301. },
  302. createDateChange (date) {
  303. this.queryParam.beginDate = date[0]
  304. this.queryParam.endDate = date[1]
  305. },
  306. settleChange (date) {
  307. this.queryParam.settleBeginDate = date[0]
  308. this.queryParam.settleEndDate = date[1]
  309. },
  310. // 总计
  311. settlePayQuerySum (params) {
  312. settlePayQuerySum(params).then(res => {
  313. if (res.status == 200) {
  314. this.totalData = Object.assign(this.totalData, res.data)
  315. const tab = this.tabPaneData.find(item => item.bizType == this.queryParam.bizType)
  316. tab.countNum = this.totalData.count || 0
  317. }
  318. })
  319. },
  320. // 获取类型
  321. queryByTypeSum () {
  322. queryByTypeSum({}).then(res => {
  323. if (res.data && res.status == 200) {
  324. this.tabPaneData = res.data
  325. if (this.curBizType == 'ALL') {
  326. this.queryParam.bizType = res.data[0].bizType
  327. }
  328. this.$refs.table.refresh(true)
  329. }
  330. })
  331. },
  332. // 凭证弹框
  333. handleVoucher (row) {
  334. this.$refs.detailModal.getDetail(row.id)
  335. this.openModal = true
  336. },
  337. // 开启结算账户功能付款, type:0 单条付款,1 批量付款
  338. handleSettleAcountPay (row, type) {
  339. this.openSettleModal = true
  340. const data = {
  341. totalAmount: type ? this.selectTotalAmount : row && row.unsettleAmount || 0,
  342. settleClientNameCurrent: type ? '' : row && row.settleClientNameCurrent || '',
  343. title: '付款',
  344. type,
  345. row
  346. }
  347. this.$nextTick(() => {
  348. this.$refs.settleModal.setData(data)
  349. })
  350. },
  351. // 去付款
  352. settleAcountPay (form, data) {
  353. const _this = this
  354. const params =
  355. {
  356. 'settleIds': data.type ? _this.rowSelectionInfo && _this.rowSelectionInfo.selectedRowKeys : [data.row.id]
  357. }
  358. // 资金管理开启
  359. if (this.enableFundAccount) {
  360. params.settleStyleSn = form.settleStyleSn
  361. params.settleAccountSn = form.settleAccountSn
  362. }
  363. _this.loading = true
  364. _this.spinning = true
  365. settlePayMoney(params).then(res => {
  366. _this.loading = false
  367. if (res.status == 200) {
  368. _this.$message.success(res.message)
  369. _this.$refs.table.refresh()
  370. _this.$refs.table.clearSelected() // 清空表格选中项
  371. _this.spinning = false
  372. } else {
  373. _this.spinning = false
  374. }
  375. })
  376. },
  377. // 付款
  378. handlePay (row) {
  379. const _this = this
  380. this.$confirm({
  381. title: '提示',
  382. content: <div style="text-align:center"><p style="margin-top:20px;">{row.settleClientNameCurrent}</p><p>付款单号:{row.settleNo},合计{ this.toThousands(row.unsettleAmount) }</p><p>确认付款吗?</p></div>,
  383. centered: true,
  384. closable: true,
  385. class: 'confirm-center',
  386. onOk () {
  387. _this.settleAcountPay(null, { type: 0, row: row })
  388. }
  389. })
  390. },
  391. // 选择类型
  392. handleTabChange (key) {
  393. this.queryParam.bizType = key
  394. this.$refs.table.refresh(true)
  395. this.curBizType = key
  396. },
  397. // 批量付款
  398. handlePayment () {
  399. if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length < 1)) {
  400. this.$message.warning('请在列表勾选后再进行批量操作!')
  401. return
  402. }
  403. const _this = this
  404. this.$confirm({
  405. title: '提示',
  406. content: <div style="text-align:center"><p style="margin-top:20px;">共计{this.rowSelectionInfo.selectedRowKeys.length}单,合计金额{ _this.toThousands(this.selectTotalAmount) } </p><p>确认批量付款吗?</p></div>,
  407. centered: true,
  408. closable: true,
  409. class: 'confirm-center',
  410. onOk () {
  411. _this.settleAcountPay(null, { type: 1, row: null })
  412. }
  413. })
  414. },
  415. // 查询
  416. searchForm () {
  417. this.$refs.table.clearSelected() // 清空表格选中项
  418. this.$refs.table.refresh(true)
  419. },
  420. // 重置
  421. resetSearchForm () {
  422. this.resetData()
  423. this.$refs.table.refresh(true)
  424. },
  425. // 重置数据
  426. resetData () {
  427. if (this.advanced) {
  428. this.$refs.rangeDate.resetDate()
  429. this.$refs.createDate.resetDate()
  430. this.$refs.settleDate.resetDate()
  431. }
  432. this.$refs.table.clearSelected() // 清空表格选中项
  433. this.queryParam = {
  434. bizType: this.curBizType,
  435. settleNo: '',
  436. bizNo: '',
  437. settleClientNameCurrent: '',
  438. billState: '',
  439. beginDate: '',
  440. endDate: '',
  441. auditBeginDate: '',
  442. auditEndDate: '',
  443. settleBeginDate: '',
  444. settleEndDate: ''
  445. }
  446. },
  447. pageInit () {
  448. const _this = this
  449. this.$nextTick(() => { // 页面渲染完成后的回调
  450. _this.setTableH()
  451. })
  452. this.queryByTypeSum()
  453. },
  454. setTableH () {
  455. const tableSearchH = this.$refs.tableSearch.offsetHeight
  456. this.tableHeight = window.innerHeight - tableSearchH - 330
  457. }
  458. },
  459. watch: {
  460. advanced (newValue, oldValue) {
  461. const _this = this
  462. this.$nextTick(() => { // 页面渲染完成后的回调
  463. _this.setTableH()
  464. })
  465. },
  466. '$store.state.app.winHeight' (newValue, oldValue) { // 窗口变更时,需同时更改表格高度
  467. this.setTableH()
  468. }
  469. },
  470. mounted () {
  471. if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
  472. this.resetData()
  473. this.pageInit()
  474. }
  475. },
  476. activated () {
  477. // 是否从首页点击进入
  478. const isHomeNav = this.getIsHomeNav()[this.$route.name]
  479. console.log(this.getIsHomeNav(), isHomeNav, this.$route.name)
  480. // 待办查询
  481. if (isHomeNav && isHomeNav.type == 'todo') {
  482. this.resetData()
  483. this.curBizType = isHomeNav.pageParams.bizType
  484. this.$refs.createDate.resetDate([isHomeNav.pageParams.beginDate, isHomeNav.pageParams.endDate])
  485. this.queryParam = Object.assign(this.queryParam, isHomeNav.pageParams)
  486. this.pageInit()
  487. } else {
  488. // 如果是新页签打开,则重置当前页面
  489. if (this.$store.state.app.isNewTab) {
  490. this.curBizType = 'ALL'
  491. this.resetData()
  492. this.pageInit()
  493. }
  494. }
  495. // 结算账户状态查询
  496. if (this.$hasPermissions('M_fundAccountList') && this.$hasPermissions('B_fundAccountEnable')) {
  497. this.GetSettleAccountState().then(res => {
  498. if (res.status == 200) {
  499. this.enableFundAccount = res.data.functionEnableFlag == 1
  500. }
  501. })
  502. }
  503. },
  504. beforeRouteEnter (to, from, next) {
  505. next(vm => {})
  506. }
  507. }
  508. </script>
  509. <style lang="less">
  510. .finacialPay-wrap{
  511. .finacialPay-tabs.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container{
  512. height: 30px!important;
  513. }
  514. .finacialPay-tabs.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{
  515. height: 30px!important;
  516. }
  517. .finacialPay-tabs.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{
  518. line-height: 26px!important;
  519. height: 30px!important;
  520. }
  521. }
  522. </style>