detailProductList.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. <template>
  2. <!-- 已选配件列表 -->
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <ve-table
  5. border-y
  6. v-show="!showEmpty"
  7. :scroll-width="0"
  8. :max-height="tableHeight"
  9. :show-header="showTableHead"
  10. :row-style-option="{clickHighlight: true}"
  11. :cellSelectionOption="{enable: false}"
  12. :virtual-scroll-option="{enable: true}"
  13. :columns="columns"
  14. :table-data="dataSource"
  15. row-key-field-name="id"
  16. :cell-style-option="cellStyleOption"
  17. :cell-span-option="cellSpanOption"
  18. :column-width-resize-option="columnWidthResizeOption"
  19. />
  20. <div v-show="showEmpty" class="empty-data"><a-empty description="暂无产品" :image="simpleImage"/></div>
  21. <!-- 活动规则详情 -->
  22. <detailModal :openModal="openDetailModal" pageType="salesPage" :itemSn="detailSn" @close="closeDetailModal"></detailModal>
  23. </a-spin>
  24. </template>
  25. <script>
  26. import { commonMixin } from '@/utils/mixin'
  27. import { Empty } from 'ant-design-vue'
  28. import detailModal from '@/views/promotionRulesManagement/dealerPromotions/detailModal.vue'
  29. import { salesPromoQueryList } from '@/api/salesNew'
  30. import { salesDetailAllList, salesPromoDetailCount, salesDetaiCount } from '@/api/salesDetailNew'
  31. export default {
  32. name: 'DetailProductList',
  33. mixins: [commonMixin],
  34. components: { detailModal },
  35. props: {
  36. newLoading: Boolean, // loading
  37. detailData: { // 详情信息
  38. type: Object,
  39. default: function () { return null }
  40. },
  41. // 活动规则详情
  42. promo: {
  43. type: Object,
  44. default: function () { return null }
  45. },
  46. // 表格id
  47. id: {
  48. type: String,
  49. default: ''
  50. },
  51. // 仓库sn
  52. warehouseSn: {
  53. type: String,
  54. default: ''
  55. },
  56. // 是否促销产品
  57. promoFlag: {
  58. type: String,
  59. default: ''
  60. },
  61. // 销售单sn
  62. salesBillSn: {
  63. type: String,
  64. default: ''
  65. },
  66. // 是否显示城市价格
  67. showCityPrice: {
  68. type: Boolean,
  69. default: false
  70. },
  71. // 权限码
  72. authCode: {
  73. type: String,
  74. default: ''
  75. },
  76. // 最大高度
  77. maxHeight: {
  78. type: [String, Number],
  79. default: '300'
  80. },
  81. // 是否显示表格头部
  82. showHeader: {
  83. type: Boolean,
  84. default: true
  85. },
  86. transferQty: {// 发货经销商库存
  87. type: [String, Number],
  88. default: ''
  89. },
  90. chooseList: { // 发货经销商库存
  91. type: Array,
  92. default: function () { return [] }
  93. }
  94. },
  95. data () {
  96. return {
  97. spinning: false,
  98. openDetailModal: false, // 活动规则详情弹框
  99. detailSn: null, // 活动规则详情sn
  100. activeList: [], // 活动列表
  101. dataSource: [], // 列表原始数据
  102. tableHeight: this.maxHeight, // 表格高度
  103. // 自定义单元格样式
  104. cellStyleOption: {
  105. bodyCellClass: ({ row, column, rowIndex }) => {
  106. if (row.id.indexOf('promo-') >= 0 && column.field === 'no') {
  107. return 'table-body-cell-no'
  108. }
  109. }
  110. },
  111. // 表格列可拖曳
  112. columnWidthResizeOption: {
  113. // default false
  114. enable: true,
  115. // column resize min width
  116. minWidth: 50
  117. },
  118. // 自定义单元格内容
  119. cellSpanOption: {
  120. bodyCellSpan: this.bodyCellSpan
  121. },
  122. isCityPrice: false, // 是否显示市级价
  123. outStockStr: '', // 产品库存不足提示信息
  124. showEmpty: false, // 是否显示空数据图片
  125. showTableHead: true, // 是否显示表格头部
  126. colspanNums: 13, // 单元格合并列数
  127. hasOutStockOfActive: false, // 产品是否存在缺货
  128. simpleImage: Empty.PRESENTED_IMAGE_SIMPLE, // 空图片
  129. showStockCol: false, // 显示第三方库存
  130. hasJGtire: false // 是否轮胎产品
  131. }
  132. },
  133. computed: {
  134. columns () {
  135. const _this = this
  136. // 价格单元格
  137. const priceFormat = function (data) {
  138. return _this.toThousands(data) || '--'
  139. }
  140. // 数字单元格
  141. const numsFormat = function (data) {
  142. return data || data == 0 ? data : '--'
  143. }
  144. // 发货经销商库存
  145. const transferDealerInfo = function (record, data, h) {
  146. return (
  147. <div>
  148. {(!data || data && data * 1 < record.qty * 1) ? <span style="color:#ed1c24;">{data || '--'}</span> : <span>{data}</span>}
  149. </div>)
  150. }
  151. // 销售单号
  152. const codeFormat = function (record, data, h) {
  153. let ftext = ''
  154. let fcolor = ''
  155. if (record.promotionFlag == 'GIFT') {
  156. ftext = '促'
  157. fcolor = '#52c41a'
  158. }
  159. if (record.promotionFlag == 'GATE') {
  160. ftext = '槛'
  161. fcolor = '#108ee9'
  162. }
  163. return (
  164. <div>
  165. <span style="padding-right: 15px;">{data}</span>
  166. {ftext ? (<a-badge count={ftext} number-style={{ backgroundColor: fcolor, zoom: '80%' }}></a-badge>) : ''}
  167. {record.convertPromoGiftsQty ? (<a-badge count="转" number-style={{ backgroundColor: '#ffaa00', zoom: '80%' }}></a-badge>) : ''}
  168. {(Number(record.stockQty || 0) < Number(record.unpushedQty || 0)) && _this.showStock ? (<a-badge count="缺" number-style={{ zoom: '80%' }}></a-badge>) : ''}
  169. </div>
  170. )
  171. }
  172. // 编号,并且格式化活动分类行
  173. const noFormat = function (record, data, h) {
  174. const isBuyPSendP = record.promo && record.promo.promotionRule.convertExpenseFlag == 1 && record.promo.promotionRule.promotionRuleType == 'BUY_PROD_GIVE_PROD'
  175. return (
  176. <div>
  177. {record.id.indexOf('promo-') >= 0 ? (
  178. <div class="active-title">
  179. {record.promo ? (
  180. <div>
  181. <strong style="font-size:14px;">{record.promo.promotion.description}</strong>
  182. <span>({record.promo.promotionRule.description})</span>
  183. <span id="salesDetail-activeDesc" style="margin-left:20px;color:#00aaff;cursor: pointer;" onClick={() => _this.showDesc(record.promo)}>
  184. <a-icon title="查看活动详情" type="eye"/> 活动详情
  185. </span>
  186. </div>
  187. ) : (<div></div>)}
  188. <div>
  189. 款数:<strong>{record.total && record.total.totalCategory || '--'}</strong>;
  190. 数量:<strong>{record.total && record.total.totalQty || '--'}</strong>;
  191. {_this.$hasPermissions('B_salesEdit_salesPrice') ? (<span>总金额:<strong>{record.total && record.total.totalAmount || '--'}</strong>;</span>) : ('')}
  192. {_this.$hasPermissions('B_salesEdit_salesPrice') && record.promo && record.total && record.total.lossAmount ? (<span>优惠金额:<strong>{record.total.lossAmount}</strong>;</span>) : ('')}
  193. {_this.$hasPermissions('B_salesEdit_salesPrice') && record.promo && record.total && record.total.cgejyAmount > 0 && !isBuyPSendP ? (<span>采购额结余:<strong>{_this.toThousands(record.total.cgejyAmount)}</strong>;</span>) : ('')}
  194. {_this.$hasPermissions('B_salesEdit_salesPrice') && record.promo && record.total && record.total.cgejyAmount < 0 && !isBuyPSendP ? (<span>采购额超出:<strong>{_this.toThousands(record.total.cgeccAmount)}</strong>;</span>) : ('')}
  195. {_this.$hasPermissions('B_salesEdit_salesPrice') && record.promo && record.total && record.total.totalPromoGiftsAmount && isBuyPSendP ? (<span>促销产品转采购额金额:<strong>{_this.toThousands(record.total.totalPromoGiftsAmount)}</strong>;</span>) : ('')}
  196. {record.total && record.total.expenseAccountFlag != 'WAIT' ? (<span style="color:red;">{record.total.expenseAccountFlagDictValue}</span>) : ''}
  197. </div>
  198. </div>
  199. ) : (<span>{data}</span>)}
  200. </div>
  201. )
  202. }
  203. // 显示折扣价
  204. const discountPriceFormat = function (record, data, h) {
  205. return (
  206. <div>
  207. {_this.toThousands(data)}
  208. {record.promotionFlag == 'GIFT' || record.promotionFlag == 'DISCOUNT' ? (
  209. <span title="原价">({ _this.toThousands(record.origPrice)})</span>
  210. ) : ''}
  211. </div>
  212. )
  213. }
  214. // 列定义
  215. let arr = [
  216. { title: '序号', field: 'no', key: 'a', width: 50, align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return noFormat(row, row[column.field], h) } },
  217. { title: '产品编码', field: 'productCode', key: 'b', width: 150, align: 'left', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return codeFormat(row, row[column.field], h) } },
  218. { title: '产品名称', field: 'productName', key: 'c', width: 250, align: 'left', operationColumn: false, ellipsis: { showTitle: true }, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } },
  219. { title: '原厂编码', field: 'productOrigCode', key: 'd', width: 150, align: 'left', operationColumn: false, ellipsis: { showTitle: true }, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } },
  220. { title: '出库仓库', field: 'warehouseName', key: 'e', width: 100, align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } }
  221. ]
  222. // 计算可合并单元格数
  223. this.colspanNums = this.showConvertPromoGifts ? 6 : 5
  224. if (this.$hasPermissions(this.authCode + '_costPrice')) { // 成本价权限
  225. this.colspanNums = this.colspanNums + 1
  226. arr.push({ title: '成本价', field: 'showCost', width: 80, key: 'f', align: 'right', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return priceFormat(row[column.field]) } })
  227. }
  228. this.colspanNums = this.colspanNums + 2
  229. arr = arr.concat([
  230. { title: '单位', field: 'productOrigUnit', key: 'g', width: 80, align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } },
  231. { title: '销售数量', field: 'qty', width: 80, key: 'h', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } }
  232. ])
  233. if (this.$hasPermissions(this.authCode + '_provincePrice')) {
  234. this.colspanNums = this.colspanNums + 1
  235. arr.push({ title: '省级价', field: 'provincePrice', width: 80, key: 'i', align: 'right', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return priceFormat(row[column.field]) } })
  236. }
  237. // 是否勾选市级价格
  238. if (this.isCityPrice) {
  239. this.colspanNums = this.colspanNums + 1
  240. arr.push({ title: '市级价', field: 'cityPrice', width: 80, key: 'j', align: 'right', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return priceFormat(row[column.field]) } })
  241. if (this.$hasPermissions(this.authCode + '_salesPrice')) { // 售价权限
  242. this.colspanNums = this.colspanNums + 1
  243. arr.push({ title: '销售价', field: 'price', width: 100, key: 'k', align: 'right', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return discountPriceFormat(row, row[column.field], h) } })
  244. }
  245. } else {
  246. if (this.$hasPermissions(this.authCode + '_salesPrice')) { // 售价权限
  247. this.colspanNums = this.colspanNums + 1
  248. arr.push({ title: '销售价', field: 'price', width: 100, key: 'l', align: 'right', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return discountPriceFormat(row, row[column.field], h) } })
  249. }
  250. }
  251. // 审核,需用到库存
  252. if (this.showStock) {
  253. this.colspanNums = this.colspanNums + 1
  254. arr.push({ title: '库存', field: 'stockQty', width: 80, key: 'm', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } })
  255. if (this.showStockCol) {
  256. this.colspanNums = this.colspanNums + 1
  257. arr.push({ title: '第三方库存', field: 'thirdStockQty', width: 80, key: 'mm', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } })
  258. }
  259. }
  260. if (this.detailData.salesBillSource == 'PURCHASE' && this.detailData.orderType == 'TIRE') {
  261. arr.push({ title: '发货经销商库存', field: 'transferDealerStockQty', width: 100, key: 'tt', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return transferDealerInfo(row, row[column.field], h) } })
  262. this.colspanNums = this.colspanNums + 1
  263. }
  264. this.colspanNums = this.colspanNums + 3
  265. arr = arr.concat([
  266. { title: '待下推数', field: 'unpushedQty', width: 80, key: 'o', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } },
  267. { title: '已下推数', field: 'pushedQty', width: 80, key: 'p', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } }
  268. ])
  269. // 如果有转采购额
  270. if (this.showConvertPromoGifts) {
  271. arr.push({ title: '转采购额数量', field: 'convertPromoGiftsQty', width: 100, key: 'z', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row.convertPromoGiftsFlag ? numsFormat(row[column.field]) : '--' } })
  272. }
  273. arr.push({ title: '已取消数', field: 'cancelQty', width: 80, key: 'q', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } })
  274. return arr
  275. },
  276. // 是否有可转采购额
  277. hasConvertPromoGifts () {
  278. return this.detailData && this.detailData.totalConvertPromoGiftsQty
  279. },
  280. // 是否显示可转采购额
  281. showConvertPromoGifts () {
  282. return this.activeList && this.activeList.filter(item => item.enabledFlag == 1).find(item => item.promotionRule && item.promotionRule.convertExpenseFlag == 1 && item.promotionRule.promotionRuleType == 'BUY_PROD_GIVE_PROD')
  283. },
  284. // 是否显示库存列
  285. showStock () {
  286. return this.detailData && (this.detailData.billStatus == 'WAIT_AUDIT' || this.detailData.billStatus == 'HQ_CHANGE') && this.$hasPermissions('B_salesAudit')
  287. }
  288. },
  289. watch: {
  290. // 是否显示城市价格变化时
  291. showCityPrice (newValue, oldValue) {
  292. this.isCityPrice = newValue
  293. }
  294. },
  295. methods: {
  296. // 关闭详情弹窗
  297. closeDetailModal () {
  298. this.detailSn = null
  299. this.openDetailModal = false
  300. },
  301. // 合并活动分类单元格
  302. bodyCellSpan ({ row, column, rowIndex }) {
  303. if (row.id.indexOf('promo-') >= 0) {
  304. if (column.field == 'no') {
  305. return {
  306. rowspan: 1,
  307. colspan: this.colspanNums
  308. }
  309. } else {
  310. return {
  311. rowspan: 0,
  312. colspan: 0
  313. }
  314. }
  315. }
  316. },
  317. // 查看活动详情
  318. showDesc (row) {
  319. this.detailSn = row.promoRuleSn
  320. this.openDetailModal = true
  321. },
  322. // 获取销售单参与的活动列表
  323. pageInit () {
  324. salesPromoQueryList({ salesBillSn: this.salesBillSn }).then(res => {
  325. if (res.status == 200) {
  326. this.activeList = res.data || []
  327. }
  328. this.$nextTick(() => {
  329. this.searchTable()
  330. })
  331. })
  332. },
  333. // 显示第三方库存
  334. showThreeStock () {
  335. this.showStockCol = true
  336. },
  337. // 查询表格数据
  338. async searchTable () {
  339. this.dataSource = []
  340. this.disabled = true
  341. this.spinning = true
  342. // 参数
  343. const params = {
  344. salesBillSn: this.salesBillSn,
  345. showStock: this.showStock,
  346. warehouseSn: this.warehouseSn,
  347. promotionFlag: this.promoFlag == '' ? undefined : this.promoFlag
  348. }
  349. // 参与活动数据
  350. const active = this.activeList.filter(item => item.enabledFlag == 1)
  351. // 是否有活动产品
  352. const hasSearchNormal = !params.promotionFlag || params.promotionFlag == 0
  353. // 没有活动产品时直接查询正常产品
  354. const proList = hasSearchNormal ? await salesDetailAllList(params).then(res => res.data) : []
  355. const norTotal = hasSearchNormal ? await salesDetaiCount(params).then(res => res.data) : null
  356. // 没有活动时,表格不显示统计数据
  357. let listData = active.length ? (proList.length ? [{
  358. id: 'promo-normal',
  359. total: norTotal
  360. }, ...proList] : []) : proList
  361. // 有促销活动产品时,循环获取每个活动的数据
  362. if (params.promotionFlag != 0) {
  363. // 循环获取活动产品
  364. for (let i = 0; i < active.length; i++) {
  365. const promo = active[i]
  366. const activeParams = {
  367. promoRuleSn: promo.promoRuleSn,
  368. promoSn: promo.promoSn,
  369. salesPromoSn: promo.salesPromoSn,
  370. ...params
  371. }
  372. // 获取活动产品统计
  373. const acTotal = await salesPromoDetailCount(activeParams).then(res => res.data)
  374. if (acTotal) {
  375. // 采购额结余
  376. acTotal.cgejyAmount = (Number(acTotal.totalPromoGiftsAmount || 0) - Number(acTotal.totalUsePromoGiftsAmount || 0)).toFixed(2)
  377. // 采购额超出
  378. acTotal.cgeccAmount = (Number(acTotal.totalUsePromoGiftsAmount || 0) - Number(acTotal.totalPromoGiftsAmount || 0)).toFixed(2)
  379. }
  380. // 有数据时才调用接口,避免做无用的调用
  381. if (acTotal && acTotal.totalQty) {
  382. // 获取活动产品列表
  383. const aclist = await salesDetailAllList(activeParams).then(res => res.data)
  384. // 合并结果数据
  385. const retList = aclist.length ? [{
  386. id: 'promo-' + i,
  387. promo: promo,
  388. total: acTotal
  389. }, ...aclist] : []
  390. // 将活动产品数据拼接
  391. listData = aclist && aclist.length ? listData.concat(retList) : listData
  392. }
  393. }
  394. // 如果活动没有任何产品,不显示统计一行
  395. if (active.length) {
  396. // 判断是否有活动产品
  397. const hasAcp = listData.filter(item => item.id != 'promo-normal').filter(item => item.id.indexOf('promo-') >= 0)
  398. if (hasAcp && hasAcp.length == 0) {
  399. listData = listData.filter(item => item.id.indexOf('promo-') < 0) || []
  400. }
  401. }
  402. }
  403. // 发货经销商时 查询
  404. if (this.chooseList && this.chooseList.length) {
  405. this.dataSource = this.chooseList
  406. if (this.transferQty) {
  407. this.dataSource = listData.filter(item => {
  408. if (this.transferQty == '0') { // 不满足
  409. return (item.transferDealerStockQty < item.qty || item.transferDealerStockQty == '--')
  410. } else if (this.transferQty == '1') { // 满足
  411. return item.transferDealerStockQty >= item.qty
  412. }
  413. })
  414. }
  415. } else {
  416. // 赋值
  417. this.dataSource = listData
  418. }
  419. // 格式化数据
  420. let f = 0
  421. let str = ''
  422. this.outStockStr = ''
  423. this.dataSource.map((item, i) => {
  424. if (item.id.indexOf('promo-') >= 0) { f = f - 1 }
  425. item.no = i + 1 + f
  426. // 格式化数据,产品编码、产品名称、原厂编码、包装数单位
  427. const productCode = (item.productEntity && item.productEntity.code) || (item.dealerProductEntity && item.dealerProductEntity.code)
  428. const productName = (item.productEntity && item.productEntity.name) || (item.dealerProductEntity && item.dealerProductEntity.name)
  429. const productOrigCode = (item.productEntity && item.productEntity.origCode) || (item.dealerProductEntity && item.dealerProductEntity.origCode)
  430. const productOrigUnit = (item.productEntity && item.productEntity.unit) || (item.dealerProductEntity && item.dealerProductEntity.unit)
  431. const productBrand = (item.productEntity && item.productEntity.productBrandName) || (item.dealerProductEntity && item.dealerProductEntity.productBrandName)
  432. const productType3 = (item.productEntity && item.productEntity.productTypeName3) || (item.dealerProductEntity && item.dealerProductEntity.productTypeName3)
  433. item.productCode = productCode || '--'
  434. item.productName = productName || '--'
  435. item.productOrigCode = productOrigCode == ' ' ? '--' : productOrigCode
  436. item.productOrigUnit = productOrigUnit || '--'
  437. item.epushedQty = Number(item.pushedQty) - Number(item.pushQty)
  438. // 判断是否有转采购单
  439. if (item.unpushedQty && (Number(item.stockQty) < Number(item.unpushedQty))) {
  440. str += item.productCode + '、'
  441. if (item.promotionFlag != 0) {
  442. this.hasOutStockOfActive = true
  443. }
  444. }
  445. // 判断是否有箭冠轮胎产品
  446. if (productBrand && productBrand.indexOf('箭冠') >= 0 && productBrand && productType3.indexOf('轮胎') >= 0) {
  447. this.hasJGtire = true
  448. }
  449. })
  450. // 是否有缺货明细
  451. if (str.length > 0) {
  452. str = str.substr(0, str.length - 1)
  453. this.outStockStr = '产品编号为:' + str + '的产品库存不足;'
  454. }
  455. this.showEmpty = this.dataSource.length <= 0
  456. this.tableHeight = (this.showEmpty ? 200 : this.maxHeight) + 'px'
  457. this.spinning = false
  458. this.disabled = false
  459. }
  460. }
  461. }
  462. </script>
  463. <style lang="less">
  464. .empty-data{
  465. color: #999;
  466. text-align: center;
  467. padding: 20px;
  468. }
  469. .ve-table-body-td{
  470. .active-title{
  471. display: flex;
  472. align-items: center;
  473. justify-content: space-between;
  474. padding: 10px;
  475. background: #f3f8fa;
  476. }
  477. }
  478. .ve-table .ve-table-container .ve-table-content-wrapper table.ve-table-content tbody.ve-table-body tr.ve-table-body-tr td.table-body-cell-no,
  479. .ve-table .ve-table-container .ve-table-content-wrapper table.ve-table-content tbody.ve-table-body tr.ve-table-expand-tr td.table-body-cell-no{
  480. padding: 0;
  481. }
  482. .ve-table .ve-table-container .ve-table-content-wrapper{
  483. border-bottom: 1px solid #ddd;
  484. }
  485. </style>