index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. <template>
  2. <div>
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <a-tabs default-active-key="1" @change="handleChange" :tabBarStyle="{'background':'#fff'}">
  5. <a-tab-pane key="1" tab="促销销售单报表">
  6. <a-card size="small" :bordered="false" class="promotionSalesRealTimeReport-wrap searchBoxNormal">
  7. <div ref="tableSearch" class="table-page-search-wrapper newTableSearchName">
  8. <a-form-model
  9. layout="inline"
  10. ref="ruleForm"
  11. :rules="rules"
  12. :model="queryParam">
  13. <a-row :gutter="15">
  14. <a-col :md="6" :sm="24">
  15. <a-form-model-item label="销售审核时间" prop="salesDate">
  16. <rangeDate ref="rangeDate" :value="queryParam.salesDate" @change="salesDateChange" />
  17. </a-form-model-item>
  18. </a-col>
  19. <a-col :md="6" :sm="24">
  20. <!-- :disabledDate="disabledDate" -->
  21. <a-form-model-item label="促销开始时间">
  22. <a-range-picker
  23. style="width:100%"
  24. v-model="time"
  25. :format="dateFormat"
  26. :placeholder="['开始时间', '结束时间']"
  27. @change="dateChange"></a-range-picker>
  28. </a-form-model-item>
  29. </a-col>
  30. <a-col :md="6" :sm="24">
  31. <a-form-model-item label="促销名称">
  32. <a-input id="promotionSalesRealTimeReport-title" v-model.trim="queryParam.promoRuleReport.title" allowClear placeholder="请输入促销名称"/>
  33. </a-form-model-item>
  34. </a-col>
  35. <template v-if="advanced">
  36. <a-col :md="6" :sm="24">
  37. <a-form-model-item label="促销类型">
  38. <v-select
  39. v-model="queryParam.promoRuleReport.promotionRuleType"
  40. ref="ruleType"
  41. id="promotionSalesRealTimeReport-ruleType"
  42. code="PROMOTION_RULE_TYPE"
  43. placeholder="请选择促销类型"
  44. allowClear></v-select>
  45. </a-form-model-item>
  46. </a-col>
  47. <a-col :md="6" :sm="24">
  48. <a-form-model-item label="规则">
  49. <a-input id="promotionSalesRealTimeReport-ruleInfo" v-model.trim="queryParam.promoRuleReport.ruleInfo" allowClear placeholder="请输入规则关键字"/>
  50. </a-form-model-item>
  51. </a-col>
  52. <a-col :md="6" :sm="24">
  53. <a-form-model-item label="销售单号">
  54. <a-input id="promotionSalesRealTimeReport-salesBillNo" v-model.trim="queryParam.salesBillNo" allowClear placeholder="请输入销售单号"/>
  55. </a-form-model-item>
  56. </a-col>
  57. <a-col :md="6" :sm="24">
  58. <a-form-model-item label="客户级别">
  59. <v-select
  60. v-model="queryParam.buyerLevel"
  61. ref="buyerLevel"
  62. id="promotionSalesRealTimeReport-buyerLevel"
  63. code="DEALER_LEVEL"
  64. placeholder="请选择客户级别"
  65. allowClear></v-select>
  66. </a-form-model-item>
  67. </a-col>
  68. <a-col :md="6" :sm="24">
  69. <a-form-model-item label="客户名称">
  70. <a-input id="promotionSalesRealTimeReport-buyerName" v-model.trim="queryParam.buyerName" allowClear placeholder="请输入客户名称"/>
  71. </a-form-model-item>
  72. </a-col>
  73. <a-col :md="6" :sm="24">
  74. <a-form-model-item label="所在区域">
  75. <subarea ref="subarea" id="promotionSalesRealTimeReport-subarea" @change="subareaChange"></subarea>
  76. </a-form-model-item>
  77. </a-col>
  78. <a-col :md="6" :sm="24">
  79. <a-form-model-item label="地区">
  80. <AreaList id="promotionSalesRealTimeReport-areaList" changeOnSelect ref="areaList" @change="areaChange" defValKey="id"></AreaList>
  81. </a-form-model-item>
  82. </a-col>
  83. <a-col :md="6" :sm="24">
  84. <a-form-model-item label="采购额">
  85. <v-select
  86. v-model="queryParam.giveMoney"
  87. ref="giveMoney"
  88. id="promotionSalesRealTimeReport-giveMoney"
  89. code="GIVE_MONEY"
  90. placeholder="请选择采购额"
  91. allowClear></v-select>
  92. </a-form-model-item>
  93. </a-col>
  94. </template>
  95. <a-col :md="6" :sm="24">
  96. <span class="table-page-search-submitButtons">
  97. <a-button type="primary" :disabled="disabled" @click="testForm('search')" >查询</a-button>
  98. <a-button style="margin-left: 8px" :disabled="disabled" @click="resetSearchForm">重置</a-button>
  99. <a-button
  100. style="margin-left: 10px"
  101. type="primary"
  102. class="button-warning"
  103. @click="testForm('export')"
  104. :disabled="disabled"
  105. :loading="exportLoading"
  106. v-if="$hasPermissions('B_promotionSalesExport')"
  107. >导出</a-button>
  108. <a @click="advanced=!advanced" style="margin-left: 8px">
  109. {{ advanced ? '收起' : '展开' }}
  110. <a-icon :type="advanced ? 'up' : 'down'"/>
  111. </a>
  112. </span>
  113. </a-col>
  114. </a-row>
  115. </a-form-model>
  116. </div>
  117. </a-card>
  118. <!-- 列表 -->
  119. <a-card size="small" :bordered="false">
  120. <s-table
  121. class="sTable fixPagination"
  122. ref="table"
  123. size="small"
  124. :rowKey="(record) => record.no"
  125. rowKeyName="no"
  126. :columns="columns"
  127. :data="loadData"
  128. :pageSize="30"
  129. :style="{ height: tableHeight+84.5+'px' }"
  130. :scroll="{ x:1890,y: tableHeight-34}"
  131. :defaultLoadData="false"
  132. bordered>
  133. <!-- 促销时间 -->
  134. <template slot="promotionTime" slot-scope="text, record">
  135. <span>{{ record.promotion.promotionDateStart }}-{{ record.promotion.promotionDateEnd }}</span>
  136. </template>
  137. <!-- 规则 -->
  138. <template slot="promotionDesc" slot-scope="text, record">
  139. <div v-if="record.ruleInfo" v-html="record.ruleInfo"></div>
  140. <span v-else>--</span>
  141. </template>
  142. <!-- 地区 -->
  143. <template slot="addressInfo" slot-scope="text, record">
  144. <span>{{ record.provinceName }}{{ record.cityName?'/'+record.cityName:'' }}{{ record.districtName?'/'+record.districtName :'' }}</span>
  145. </template>
  146. <template slot="footer">
  147. <a-row>
  148. <a-col span="24">
  149. <a-row>
  150. <a-col span="4">数量(非促):{{ (totalData && (totalData.notGiftQty || totalData.notGiftQty==0)) ? totalData.notGiftQty : '--' }}</a-col>
  151. <a-col span="4">数量(促):{{ (totalData && (totalData.giftQty || totalData.giftQty==0)) ? totalData.giftQty: '--' }}</a-col>
  152. <a-col span="4">实售金额:{{ (totalData && (totalData.totalRealAmount || totalData.totalRealAmount==0)) ? toThousands(totalData.totalRealAmount) : '--' }}</a-col>
  153. <a-col span="4">开单金额:{{ (totalData && (totalData.totalAmount || totalData.totalAmount==0)) ? toThousands(totalData.totalAmount) : '--' }}</a-col>
  154. <a-col span="4">成本金额:{{ (totalData && (totalData.totalRealCost || totalData.totalRealCost==0)) ? totalData.totalRealCost : '--' }}</a-col>
  155. <a-col span="4">损失成本:{{ (totalData && (totalData.lossCost || totalData.lossCost==0)) ? toThousands(totalData.lossCost) : '--' }}</a-col>
  156. <a-col span="4">损失费用:{{ (totalData && (totalData.lossAmount || totalData.lossAmount==0)) ? toThousands(totalData.lossAmount) : '--' }}</a-col>
  157. <a-col span="4">采购额结余:{{ (totalData && (totalData.surplusPromoGiftsAmount || totalData.surplusPromoGiftsAmount==0)) ? toThousands(totalData.surplusPromoGiftsAmount) : '--' }}</a-col>
  158. <a-col span="4">采购额超出:{{ (totalData && (totalData.outPromoGiftsAmount || totalData.outPromoGiftsAmount==0)) ? toThousands(totalData.outPromoGiftsAmount) : '--' }}</a-col>
  159. <a-col span="4">转采购额数量:{{ (totalData && (totalData.convertPromoGiftsQty || totalData.convertPromoGiftsQty==0)) ? totalData.convertPromoGiftsQty : '--' }}</a-col>
  160. <a-col span="4">转采购额金额:{{ (totalData && (totalData.convertPromoGiftsAmount || totalData.convertPromoGiftsAmount==0)) ? toThousands(totalData.convertPromoGiftsAmount) : '--' }}</a-col>
  161. </a-row>
  162. </a-col>
  163. </a-row>
  164. </template>
  165. </s-table>
  166. </a-card>
  167. </a-tab-pane>
  168. <a-tab-pane key="2" tab="促销销售单实时报表" force-render>
  169. <gatherList></gatherList>
  170. </a-tab-pane>
  171. </a-tabs>
  172. <!-- 导出提示框 -->
  173. <reportModal :visible="showExport" @close="showExport=false"></reportModal>
  174. </a-spin>
  175. </div>
  176. </template>
  177. <script>
  178. import { commonMixin } from '@/utils/mixin'
  179. import { STable, VSelect } from '@/components'
  180. import reportModal from '@/views/common/reportModal.vue'
  181. import { salesPromoReportList, salesPromoReportQueryCount, exportSalesPromoReport } from '@/api/reportData'
  182. import { hdExportExcel } from '@/libs/exportExcel'
  183. import gatherList from './list'
  184. import rangeDate from '@/views/common/rangeDate.vue'
  185. import getDate from '@/libs/getDate.js'
  186. import subarea from '@/views/common/subarea.js'
  187. import AreaList from '@/views/common/areaList.js'
  188. // import moment from 'moment'
  189. export default {
  190. name: 'PriceDifferenceDetailReportList',
  191. mixins: [commonMixin],
  192. components: { STable, VSelect, gatherList, reportModal, AreaList, rangeDate, subarea },
  193. data () {
  194. const _this = this
  195. return {
  196. advanced: true, // 高级搜索 展开/关闭
  197. time: undefined,
  198. spinning: false,
  199. queryParam: {
  200. salesDate: [
  201. getDate.getCurrMonthDays().starttime,
  202. getDate.getCurrMonthDays().endtime
  203. ],
  204. beginAuditDate: getDate.getCurrMonthDays().starttime, // 审核开始时间
  205. endAuditDate: getDate.getCurrMonthDays().endtime, // 审核结束时间
  206. promoRuleReport: {
  207. promotionDateStart: undefined, // 促销时间-开始
  208. promotionDateEnd: undefined, // 促销时间-结束
  209. title: '', // 促销名称
  210. promotionRuleType: undefined, // 促销类型
  211. ruleInfo: ''// 规则
  212. },
  213. salesBillNo: '', // 销售单号
  214. buyerLevel: undefined, // 客户级别
  215. buyerName: '', // 客户名称
  216. subareaArea: {
  217. subareaSn: '',
  218. subareaAreaSn: ''
  219. },
  220. dealerProvinceSn: undefined, // 省份编码
  221. dealerCitySn: undefined, // 城市编码
  222. dealerDistrictSn: undefined, // 区域编码
  223. giveMoney: undefined
  224. },
  225. rules: {
  226. salesDate: [{ required: true, message: '请选择销售审核时间', trigger: 'change' }]
  227. },
  228. dateFormat: 'YYYY-MM-DD',
  229. tabVal: 1,
  230. disabled: false,
  231. tableHeight: 0,
  232. totalData: null, // 合计
  233. exportLoading: false,
  234. showExport: false,
  235. columns: [
  236. { title: '促销名称', dataIndex: 'promotion.title', width: '160px', align: 'left', customRender: function (text) { return text || '--' }, fixed: 'left', ellipsis: true },
  237. { title: '促销时间', scopedSlots: { customRender: 'promotionTime' }, width: '130px', align: 'center', fixed: 'left' },
  238. { title: '费用所属部门', dataIndex: 'departmentName', width: '160px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true, fixed: 'left' },
  239. { title: '促销类型', dataIndex: 'promotionRule.promotionRuleTypeDictValue', width: '100px', align: 'center', customRender: function (text) { return text || '--' }, fixed: 'left' },
  240. { title: '规则', dataIndex: 'promotionRule.ruleInfo', width: '180px', align: 'left', scopedSlots: { customRender: 'promotionDesc' }, fixed: 'left' },
  241. { title: '销售单号', dataIndex: 'salesBillNo', width: '120px', align: 'center', customRender: function (text) { return text || '--' }, fixed: 'left' },
  242. { title: '区域', dataIndex: 'subareaArea.subareaName', width: '80px', align: 'center', customRender: function (text) { return text || '--' } },
  243. { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: '80px', align: 'center', customRender: function (text) { return text || '--' } },
  244. { title: '地区', dataIndex: 'provinceName', width: '160px', align: 'center', scopedSlots: { customRender: 'addressInfo' } },
  245. { title: '客户名称', dataIndex: 'buyerName', width: '140px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  246. { title: '客户级别', dataIndex: 'buyerLevelDictValue', width: '80px', align: 'center', customRender: function (text) { return text || '--' } },
  247. { title: '销售审核时间', dataIndex: 'auditDate', width: '120px', align: 'center', customRender: function (text) { return text || '--' } },
  248. { title: '数量(非促)', dataIndex: 'notGiftQty', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  249. { title: '数量(促)', dataIndex: 'giftQty', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  250. { title: '实售金额', dataIndex: 'totalRealAmount', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  251. { title: '开单金额', dataIndex: 'totalAmount', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  252. { title: '成本金额', dataIndex: 'totalRealCost', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  253. { title: '损失成本', dataIndex: 'lossCost', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  254. { title: '损失费用', dataIndex: 'lossAmount', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  255. { title: <a-tooltip placement='top' title='即在下推时促销产品已转采购额的数量'>转采购额数量&nbsp;<a-icon type="question-circle" /></a-tooltip>, dataIndex: 'convertPromoGiftsQty', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  256. { title: <a-tooltip placement='top' title='即促销产品转采购额金额,促销产品转采购额数量*销售价'>转采购额金额&nbsp;<a-icon type="question-circle" /></a-tooltip>, dataIndex: 'convertPromoGiftsAmount', width: '100px', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  257. { title: '采购额结余', dataIndex: 'surplusPromoGiftsAmount', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  258. { title: '采购额超出', dataIndex: 'outPromoGiftsAmount', width: '100px', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  259. { title: '促销品费用归属品牌', dataIndex: 'promoProductBrandName', width: '120px', align: 'center', customRender: function (text) { return text || '--' } },
  260. { title: '促销品费用归属分类', dataIndex: 'promoProductTypeName', width: '120px', align: 'center', customRender: function (text) { return text || '--' } }
  261. ],
  262. // 加载数据方法 必须为 Promise 对象
  263. loadData: parameter => {
  264. this.disabled = true
  265. const params = Object.assign(parameter, this.queryParam)
  266. const newParams = JSON.parse(JSON.stringify(params))
  267. delete newParams.salesDate
  268. this.spinning = true
  269. return salesPromoReportList(newParams).then(res => {
  270. let data
  271. if (res.status == 200) {
  272. data = res.data
  273. const no = (data.pageNo - 1) * data.pageSize
  274. for (var i = 0; i < data.list.length; i++) {
  275. data.list[i].no = no + i + 1
  276. }
  277. this.disabled = false
  278. }
  279. this.spinning = false
  280. return data
  281. })
  282. }
  283. }
  284. },
  285. methods: {
  286. salesDateChange (date) {
  287. if (date[0] && date[1]) {
  288. this.queryParam.salesDate = date
  289. } else {
  290. this.queryParam.salesDate = []
  291. }
  292. this.queryParam.beginAuditDate = date[0] || ''
  293. this.queryParam.endAuditDate = date[1] || ''
  294. },
  295. dateChange (date, dateString) {
  296. this.time = date
  297. if (dateString[0] != '' && dateString[1] != '') {
  298. this.queryParam.promoRuleReport.promotionDateStart = dateString[0] + ' 00:00:00'
  299. this.queryParam.promoRuleReport.promotionDateEnd = dateString[1] + ' 23:59:59'
  300. } else {
  301. this.$set(this.queryParam.promoRuleReport, 'promotionDateStart', undefined)
  302. this.$set(this.queryParam.promoRuleReport, 'promotionDateEnd', undefined)
  303. }
  304. },
  305. // // 不可选日期
  306. // disabledDate (date, dateStrings) {
  307. // return date && date.valueOf('day') < moment().subtract(1, 'day') // 今天以后,包含今天
  308. // },
  309. // 统计
  310. getCount (params) {
  311. salesPromoReportQueryCount(params).then(res => {
  312. if (res.status == 200) {
  313. this.totalData = res.data
  314. } else {
  315. this.totalData = null
  316. }
  317. })
  318. },
  319. subareaChange (val) {
  320. this.queryParam.subareaArea.subareaSn = val[0] ? val[0] : undefined
  321. this.queryParam.subareaArea.subareaAreaSn = val[1] ? val[1] : undefined
  322. },
  323. // tab
  324. handleChange (val) {
  325. this.tabVal = val
  326. },
  327. // 导出
  328. handleExport () {
  329. const _this = this
  330. const params = this.queryParam
  331. _this.exportLoading = true
  332. _this.spinning = true
  333. const ajaxUrl = _this.tabVal == 1 ? exportSalesPromoReport : exportSalesPromoRealReport
  334. const ajaxName = _this.tabVal == 1 ? '促销销售单报表导出' : '促销销售单实时报表导出'
  335. hdExportExcel(ajaxUrl, params, ajaxName, function () {
  336. _this.exportLoading = false
  337. _this.spinning = false
  338. _this.showExport = true
  339. })
  340. },
  341. // 验证表单 type值 search查询 export导出
  342. testForm (type) {
  343. const _this = this
  344. if (!_this.queryParam.salesDate[0] || !_this.queryParam.salesDate[1]) {
  345. _this.$message.error('请选择销售审核时间')
  346. return
  347. }
  348. _this.$refs.ruleForm.validate(valid => {
  349. if (valid) {
  350. if (type == 'search') {
  351. _this.handleSearch()
  352. } else {
  353. _this.handleExport()
  354. }
  355. } else {
  356. _this.$message.error('请选择销售审核时间')
  357. return false
  358. }
  359. })
  360. },
  361. areaChange (val) {
  362. this.queryParam.dealerProvinceSn = val[0] ? val[0] : ''
  363. this.queryParam.dealerCitySn = val[1] ? val[1] : ''
  364. this.queryParam.dealerDistrictSn = val[2] ? val[2] : ''
  365. },
  366. // 查询
  367. handleSearch () {
  368. const _this = this
  369. // 总计
  370. const paramData = JSON.parse(JSON.stringify(this.queryParam))
  371. delete paramData.salesDate
  372. _this.getCount(paramData)
  373. _this.$refs.table.refresh(true)
  374. },
  375. // 重置
  376. resetSearchForm () {
  377. this.$refs.ruleForm.resetFields()
  378. this.queryParam = {
  379. salesDate: [
  380. getDate.getCurrMonthDays().starttime,
  381. getDate.getCurrMonthDays().endtime
  382. ],
  383. beginAuditDate: getDate.getCurrMonthDays().starttime, // 审核开始时间
  384. endAuditDate: getDate.getCurrMonthDays().endtime, // 审核结束时间
  385. promoRuleReport: {
  386. promotionDateStart: undefined, // 促销时间-开始
  387. promotionDateEnd: undefined, // 促销时间-结束
  388. title: '', // 促销名称
  389. promotionRuleType: undefined, // 促销类型
  390. ruleInfo: ''// 规则
  391. },
  392. salesBillNo: '', // 销售单号
  393. buyerLevel: undefined, // 客户级别
  394. buyerName: '', // 客户名称
  395. subareaArea: {
  396. subareaSn: '',
  397. subareaAreaSn: ''
  398. },
  399. dealerProvinceSn: undefined, // 省份编码
  400. dealerCitySn: undefined, // 城市编码
  401. dealerDistrictSn: undefined, // 区域编码
  402. giveMoney: undefined
  403. }
  404. this.time = undefined
  405. this.$refs.subarea.clearData()
  406. this.$refs.areaList.clearData()
  407. this.$refs.rangeDate.resetDate(this.queryParam.salesDate)
  408. this.$refs.table.clearTable()
  409. this.totalData = null
  410. },
  411. pageInit () {
  412. const _this = this
  413. this.$nextTick(() => { // 页面渲染完成后的回调
  414. _this.setTableH()
  415. })
  416. },
  417. setTableH () {
  418. const tableSearchH = this.$refs.tableSearch.offsetHeight
  419. this.tableHeight = window.innerHeight - tableSearchH - 260
  420. }
  421. },
  422. watch: {
  423. advanced (newValue, oldValue) {
  424. const _this = this
  425. this.$nextTick(() => { // 页面渲染完成后的回调
  426. _this.setTableH()
  427. })
  428. },
  429. '$store.state.app.winHeight' (newValue, oldValue) { // 窗口变更时,需同时更改表格高度
  430. this.setTableH()
  431. }
  432. },
  433. mounted () {
  434. if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
  435. this.pageInit()
  436. }
  437. },
  438. activated () {
  439. // 如果是新页签打开,则重置当前页面
  440. if (this.$store.state.app.isNewTab) {
  441. this.pageInit()
  442. }
  443. }
  444. }
  445. </script>
  446. <style lang="less" scoped>
  447. .monthBox{
  448. /deep/.ant-calendar-picker-icon{
  449. display:none !important;
  450. }
  451. /deep/.ant-calendar-picker input{
  452. text-align:center;
  453. }
  454. }
  455. .promotionSalesRealTimeReport-wrap{
  456. /deep/ .ant-card-body:first-child{
  457. padding-bottom: 0;
  458. }
  459. }
  460. .ant-tabs-tabpane.ant-tabs-tabpane-active{
  461. margin-top:-11px !important;
  462. }
  463. </style>