queryPart.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. <template>
  2. <div class="productInfoList-wrap">
  3. <!-- 搜索条件 -->
  4. <div class="table-page-search-wrapper">
  5. <a-form layout="inline" @keyup.enter.native="searchTable">
  6. <a-row :gutter="15">
  7. <a-col :md="4" :sm="24">
  8. <a-form-item label="产品名称">
  9. <a-input id="productInfoList-name" v-model.trim="queryParam.productName" allowClear placeholder="请输入产品名称"/>
  10. </a-form-item>
  11. </a-col>
  12. <a-col :md="4" :sm="24">
  13. <a-form-item label="产品编码">
  14. <a-input id="productInfoList-code" v-model.trim="queryParam.productCode" allowClear placeholder="请输入产品编码"/>
  15. </a-form-item>
  16. </a-col>
  17. <a-col :md="4" :sm="24">
  18. <a-form-item label="是否促销品">
  19. <v-select
  20. code="FLAG"
  21. id="productInfoList-promoFlag"
  22. v-model="queryParam.promoFlag"
  23. allowClear
  24. placeholder="请选择是否"
  25. ></v-select>
  26. </a-form-item>
  27. </a-col>
  28. <a-col :md="4" :sm="24">
  29. <a-form-item label="类型">
  30. <a-select v-model.trim="queryParam.ptype" :dropdownMatchSelectWidth="false" >
  31. <a-select-option value="0">
  32. 全部产品
  33. </a-select-option>
  34. <a-select-option value="1">
  35. 剩余待下推数量>0的产品
  36. </a-select-option>
  37. <a-select-option value="2">
  38. 可全部下推的产品
  39. </a-select-option>
  40. <a-select-option value="3">
  41. 不可全部下推的产品
  42. </a-select-option>
  43. </a-select>
  44. </a-form-item>
  45. </a-col>
  46. <a-col :md="4" :sm="24">
  47. <a-form-item label="出库仓库">
  48. <chooseWarehouse ref="warehouse" v-model="queryParam.warehouseSn"></chooseWarehouse>
  49. </a-form-item>
  50. </a-col>
  51. <a-col :md="4" :sm="24" style="margin-bottom: 10px;">
  52. <a-button type="primary" class="button-info" @click="searchTable" :disabled="disabled" id="productInfoList-refresh">查询</a-button>
  53. <a-button style="margin-left: 5px" @click="resetSearchForm" id="productInfoList-reset">重置</a-button>
  54. </a-col>
  55. </a-row>
  56. </a-form>
  57. </div>
  58. <!-- alert -->
  59. <div style="margin-bottom: 10px;display: flex;align-items: center;" v-if="detailData">
  60. <div style="display: flex;align-items: center;">
  61. <a-button type="primary" :disabled="newLoading" class="button-info" @click="handlePlAdd">批量添加</a-button>
  62. <a-button type="danger" :disabled="newLoading" class="button-error" @click="handlePlCancel">批量取消</a-button>
  63. <span style="margin-left: 10px;" v-if="selectedRowKeys.length">已选 {{ selectedRowKeys.length }} 项</span>
  64. </div>
  65. <div style="padding-left: 20px;">
  66. 总销售数量:<strong>{{ detailData&&(detailData.totalQty || detailData.totalQty==0) ? detailData.totalQty : '--' }}</strong>;
  67. 已取消数量:<strong>{{ detailData&&(detailData.totalCancelQty || detailData.totalCancelQty==0) ? detailData.totalCancelQty : '--' }}</strong>;
  68. 已下推数量:<strong>{{ detailData&&(detailData.totalPushedQty || detailData.totalPushedQty==0) ? detailData.totalPushedQty : '--' }}</strong>;
  69. 待下推数量:<strong>{{ detailData&&(detailData.totalUnpushedQty || detailData.totalUnpushedQty==0) ? detailData.totalUnpushedQty : '--' }}</strong>;
  70. <span v-if="$hasPermissions('B_salesDispatch_salesPrice')">总售价:<strong>{{ detailData&&(detailData.totalAmount || detailData.totalAmount==0) ? toThousands(detailData.totalAmount) : '--' }}</strong>;</span>
  71. <span v-if="$hasPermissions('B_salesDispatch_costPrice')">总成本:<strong>{{ detailData&&(detailData.totalCost || detailData.totalCost==0) ? toThousands(detailData.totalCost) : '--' }}</strong>;</span>
  72. <span v-if="$hasPermissions('B_salesDispatch_costPrice')&&$hasPermissions('B_salesDispatch_salesPrice')">总毛利:<strong>{{ detailData&&(detailData.grossProfit || detailData.grossProfit==0) ? toThousands(detailData.grossProfit) : '--' }}</strong>;</span>
  73. <span v-if="$hasPermissions('B_salesDispatch_salesPrice')">已取消金额:<strong>{{ detailData&&(detailData.totalCancelAmount || detailData.totalCancelAmount==0) ? toThousands(detailData.totalCancelAmount) : '--' }}</strong>;</span>
  74. <span v-if="$hasPermissions('B_salesDispatch_salesPrice')">已下推金额:<strong>{{ detailData&&(detailData.totalPushedAmount || detailData.totalPushedAmount==0) ? toThousands(detailData.totalPushedAmount) :'--' }}</strong>;</span>
  75. <span v-if="$hasPermissions('B_salesDispatch_salesPrice')">待下推金额:<strong>{{ detailData&&(detailData.totalUnpushedAmount || detailData.totalUnpushedAmount==0) ? toThousands(detailData.totalUnpushedAmount) : '--' }}</strong>;</span>
  76. </div>
  77. </div>
  78. <a-spin :spinning="spinning" tip="Loading...">
  79. <ve-table
  80. border-y
  81. v-show="!showEmpty"
  82. :scroll-width="0"
  83. :max-height="tableHeight"
  84. :show-header="showTableHead"
  85. :row-style-option="{clickHighlight: true}"
  86. :cellSelectionOption="{enable: false}"
  87. :virtual-scroll-option="{enable: true}"
  88. :columns="columns"
  89. :table-data="dataSource"
  90. row-key-field-name="id"
  91. :cell-style-option="cellStyleOption"
  92. :cell-span-option="cellSpanOption"
  93. :column-width-resize-option="columnWidthResizeOption"
  94. :checkbox-option="checkboxOption"
  95. />
  96. <div v-show="showEmpty" class="empty-data">暂无数据</div>
  97. </a-spin>
  98. </div>
  99. </template>
  100. <script>
  101. import { commonMixin } from '@/utils/mixin'
  102. import { salesPromoQueryList } from '@/api/salesNew'
  103. import { salesDetailAllList, salesPromoDetailCount, salesDetaiCount } from '@/api/salesDetailNew'
  104. import { STable, VSelect } from '@/components'
  105. import chooseWarehouse from '@/views/common/chooseWarehouse'
  106. export default {
  107. name: 'QueryPart',
  108. mixins: [commonMixin],
  109. components: { STable, VSelect, chooseWarehouse },
  110. props: {
  111. newLoading: {
  112. type: Boolean,
  113. default: false
  114. },
  115. maxHeight:{
  116. type: [String,Number],
  117. default: '300'
  118. },
  119. showHeader: {
  120. type: Boolean,
  121. default: true
  122. }
  123. },
  124. data () {
  125. return {
  126. advanced: true, // 高级搜索 展开/关闭
  127. productType: [],
  128. salesBillSn: '',
  129. detailData: null,
  130. queryParam: {
  131. ptype: '0', // 类型
  132. productCode: '', // 产品编码
  133. productName: '', // 产品名称
  134. promoFlag: undefined, // 是否促销品
  135. brandSn: undefined, // 产品品牌
  136. productTypeSn1: '', // 产品一级分类
  137. productTypeSn2: '', // 产品二级分类
  138. productTypeSn3: '', // 产品三级分类
  139. salesBillSn: '',
  140. warehouseSn: undefined
  141. },
  142. disabled: false, // 查询、重置按钮是否可操作
  143. activeList: [], // 活动列表
  144. spinning: false,
  145. dataSource: [],
  146. tableHeight: this.maxHeight,
  147. cellStyleOption: {
  148. bodyCellClass: ({ row, column, rowIndex }) => {
  149. if (row.id.indexOf('promo-')>=0 && column.field === "no") {
  150. return "table-body-cell-no";
  151. }
  152. },
  153. },
  154. columnWidthResizeOption: {
  155. // default false
  156. enable: true,
  157. // column resize min width
  158. minWidth: 50
  159. },
  160. cellSpanOption: {
  161. bodyCellSpan: this.bodyCellSpan,
  162. },
  163. showEmpty: false,
  164. showTableHead: true,
  165. disableSelectedRowKeys: [],
  166. selectedRowKeys: [],
  167. colspanNums: 16
  168. }
  169. },
  170. computed: {
  171. checkboxOption () {
  172. return {
  173. disableSelectedRowKeys: this.disableSelectedRowKeys,
  174. selectedRowKeys: this.selectedRowKeys,
  175. // 行选择改变事件
  176. selectedRowChange: ({ row, isSelected, selectedRowKeys }) => {
  177. this.selectedRowChange({ row, isSelected, selectedRowKeys })
  178. },
  179. // 全选改变事件
  180. selectedAllChange: ({ isSelected, selectedRowKeys }) => {
  181. this.selectedAllChange({ isSelected, selectedRowKeys })
  182. },
  183. }
  184. },
  185. columns () {
  186. const _this = this
  187. const priceFormat = function(data){
  188. return _this.toThousands(data) || '--'
  189. }
  190. const numsFormat = function(data){
  191. return data || data == 0 ? data : '--'
  192. }
  193. const codeFormat = function(record,data,h){
  194. let ftext = ''
  195. let fcolor = ''
  196. if(record.promotionFlag == 'GIFT'){
  197. ftext = '促'
  198. fcolor = '#52c41a'
  199. }
  200. // if(record.promotionFlag == 'REGULAR'){
  201. // ftext = '正'
  202. // fcolor = '#108ee9'
  203. // }
  204. if(record.promotionFlag == 'DISCOUNT'){
  205. ftext = '特'
  206. fcolor = '#faad14'
  207. }
  208. return (
  209. <div>
  210. <span style="padding-right: 15px;">{data}</span>
  211. {ftext?(<a-badge count={ftext} number-style={{ backgroundColor: fcolor, zoom:'80%' }}></a-badge>):''}
  212. {Number(record.stockQty||0) < Number(record.unpushedQty||0)?(<a-badge count="缺" number-style={{ zoom:'80%' }}></a-badge>):''}
  213. </div>
  214. )
  215. }
  216. // 输入框
  217. const inputFormat = function(record,data,h) {
  218. if(record.surplusQty>0){
  219. return (
  220. <div>
  221. <a-input-number
  222. size="small"
  223. value={record.cancelNums}
  224. onChange={e => _this.cancelNumsChange(e,record)}
  225. precision={0}
  226. min={0}
  227. max={record.surplusQty}
  228. style="width: 100%;"
  229. placeholder="请输入" />
  230. </div>
  231. )
  232. }
  233. return '--'
  234. }
  235. // 操作按钮
  236. const actionFormat = function(record,data,h) {
  237. if(record.surplusQty>0){
  238. return (
  239. <div>
  240. <a-button
  241. size="small"
  242. type="link"
  243. class="button-info"
  244. onClick={()=>_this.handleAdd(record)}
  245. >添加</a-button>
  246. </div>
  247. )
  248. }
  249. return '--'
  250. }
  251. // 编号,并且格式化活动分类行
  252. const noFormat = function(record,data,h){
  253. return (
  254. <div>
  255. {record.id.indexOf('promo-')>=0 ? (
  256. <div class="active-title">
  257. {record.promo?(
  258. <div>
  259. <strong style="margin-right:10px;font-size:14px;">{record.promo.promotion.title} ({record.promo.promotionRule.description})</strong>
  260. <span style="margin-left:10px;color:#00aaff;cursor: pointer;" onClick={()=>_this.showDesc(record)}>
  261. <a-icon title="查看活动详情" type="eye"/> 活动详情
  262. </span>
  263. </div>
  264. ):(<div></div>)}
  265. <div>
  266. 款数:<strong>{record.total&&record.total.totalCategory||'--'}</strong>;
  267. 数量:<strong>{record.total&&record.total.totalQty||'--'}</strong>;
  268. {_this.$hasPermissions('B_salesEdit_salesPrice') ? (<span>总金额:<strong>{record.total&&record.total.totalAmount||'--'}</strong>;</span>):('')}
  269. </div>
  270. </div>
  271. ):(<span>{data}</span>)}
  272. </div>
  273. )
  274. }
  275. let arr= [
  276. { title: "", field: "", key: "acheck", type: "checkbox", align: "center" },
  277. { title: '序号', field: 'no',key: "a", width: 50, align: 'center', operationColumn: false,renderBodyCell: ({ row, column, rowIndex }, h) => { return noFormat(row,row[column.field],h)} },
  278. { title: '产品编码', field: 'productCode',key: "b", width: 150, align: 'center',operationColumn: false,renderBodyCell: ({ row, column, rowIndex }, h) => { return codeFormat(row,row[column.field],h)} },
  279. { title: '产品名称', field: 'productName',key: "c", width: 250, align: 'center',operationColumn: false , ellipsis: { showTitle: true },renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
  280. { title: '原厂编码', field: 'productOrigCode',key: "d", width: 150, align: 'center',operationColumn: false,ellipsis: { showTitle: true },renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'} },
  281. { title: '出库仓库', field: 'warehouseName',key: "e", width: 100, align: 'center',operationColumn: false,renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}}
  282. ]
  283. this.colspanNums = 6
  284. if (this.$hasPermissions('B_salesDispatch_salesPrice')) { // 售价权限
  285. this.colspanNums = this.colspanNums + 1
  286. arr.push({ title: '销售价', field: 'price', width: 80,key: "f", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return priceFormat(row[column.field])} })
  287. }
  288. if (this.$hasPermissions('B_salesDispatch_costPrice')) {
  289. this.colspanNums = this.colspanNums + 1
  290. arr.push({ title: '成本价', field: 'showCost', width: 80,key: "g", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return priceFormat(row[column.field])} })
  291. }
  292. this.colspanNums = this.colspanNums + 8
  293. arr = arr.concat([
  294. { title: '单位', field: 'productOrigUnit',key: "i", width: 80, align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
  295. { title: '可用库存', field: 'stockQty', width: 80,key: "j", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field])} },
  296. { title: '销售数量', field: 'qty', width: 80,key: "k", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field])} },
  297. { title: '已取消', field: 'cancelQty', width: 80,key: "o", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field])} },
  298. { title: '已下推', field: 'pushedQty', width: 80,key: "p", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field])} },
  299. { title: '待下推', field: 'surplusQty', width: 80,key: "q", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field])} },
  300. { title: '取消数量', field: 'surplusQty', width: 80,key: "r", align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return inputFormat(row,row[column.field],h)} },
  301. { title: '操作', field: 'action', width: 80,key: "s", align: 'center',fixed: 'right',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return actionFormat(row,row[column.field],h)} },
  302. ])
  303. return arr
  304. }
  305. },
  306. methods: {
  307. // 产品分类 change
  308. changeProductType (val, opt) {
  309. this.queryParam.productTypeSn1 = val[0] ? val[0] : ''
  310. this.queryParam.productTypeSn2 = val[1] ? val[1] : ''
  311. this.queryParam.productTypeSn3 = val[2] ? val[2] : ''
  312. },
  313. // 合并活动分类单元格
  314. bodyCellSpan({ row, column, rowIndex }) {
  315. if (row.id.indexOf('promo-')>=0) {
  316. if(column.field=='no'){
  317. return {
  318. rowspan: 1,
  319. colspan: this.colspanNums,
  320. };
  321. }else{
  322. return {
  323. rowspan: 0,
  324. colspan: 0,
  325. }
  326. }
  327. }
  328. },
  329. cancelNumsChange(v,record){
  330. record.cancelNums = v
  331. this.dataSource.splice()
  332. },
  333. // 选择单元格
  334. selectedRowChange({ row, isSelected, selectedRowKeys }){
  335. // console.log(row, isSelected, selectedRowKeys);
  336. this.selectedRowKeys = selectedRowKeys;
  337. },
  338. // 全选行
  339. selectedAllChange({ isSelected, selectedRowKeys }){
  340. // console.log(isSelected, selectedRowKeys);
  341. this.selectedRowKeys = selectedRowKeys;
  342. },
  343. // 获取销售单参与的活动列表
  344. getActiveList(){
  345. salesPromoQueryList({ salesBillSn: this.salesBillSn }).then(res => {
  346. if(res.status == 200){
  347. this.activeList = res.data || []
  348. }
  349. this.$nextTick(()=>{
  350. this.searchTable()
  351. })
  352. })
  353. },
  354. async searchTable(){
  355. this.selectedRowKeys = []
  356. this.disableSelectedRowKeys = []
  357. this.dataSource = []
  358. this.disabled = true
  359. this.spinning = true
  360. this.queryParam.salesBillSn = this.salesBillSn
  361. this.queryParam.showStock = true
  362. const params = this.queryParam
  363. // 正常产品
  364. const proList = await salesDetailAllList(params).then(res => res.data)
  365. const norTotal = await salesDetaiCount(params).then(res => res.data)
  366. let listData = [{
  367. id: 'promo-normal',
  368. total: norTotal
  369. },...proList]
  370. // 循环获取活动产品
  371. const active = this.activeList
  372. for(let i=0;i<active.length;i++){
  373. const promo = active[i]
  374. const activeParams = {
  375. promoRuleSn: promo.promoRuleSn,
  376. promoSn: promo.promoSn,
  377. salesPromoSn: promo.salesPromoSn,
  378. ...params
  379. }
  380. // 获取活动产品列表
  381. const aclist = await salesDetailAllList(activeParams).then(res => res.data)
  382. // 获取活动产品统计
  383. const acTotal = await salesPromoDetailCount(activeParams).then(res => res.data)
  384. const retList = [{
  385. id: 'promo-'+i,
  386. promo: promo,
  387. total: acTotal
  388. },...aclist]
  389. listData = aclist&&aclist.length ? listData.concat(retList) : listData
  390. }
  391. console.log(listData)
  392. this.dataSource = listData
  393. // 格式化数据
  394. let f = 0
  395. this.dataSource.map((item,i) => {
  396. if(item.id.indexOf('promo-')>=0){f = f - 1}
  397. item.no = i + 1 + f
  398. const productCode = (item.productEntity && item.productEntity.code) || (item.dealerProductEntity && item.dealerProductEntity.code)
  399. const productName = (item.productEntity && item.productEntity.name) || (item.dealerProductEntity && item.dealerProductEntity.name)
  400. const productOrigCode = (item.productEntity && item.productEntity.origCode) || (item.dealerProductEntity && item.dealerProductEntity.origCode)
  401. const productOrigUnit = (item.productEntity && item.productEntity.unit) || (item.dealerProductEntity && item.dealerProductEntity.unit)
  402. item.productCode = productCode || '--'
  403. item.productName = productName || '--'
  404. item.productOrigCode = productOrigCode == ' ' ? '--' : productOrigCode
  405. item.productOrigUnit = productOrigUnit || '--'
  406. item.cancelNums = item.surplusQty
  407. // 库存为0或待下推数为0,不可添加
  408. if(!item.surplusQty || item.surplusQty<0){
  409. this.disableSelectedRowKeys.push(item.id)
  410. }
  411. })
  412. this.showEmpty = this.dataSource.length <= 0
  413. this.tableHeight = (this.showEmpty ? 200 : this.maxHeight) + 'px'
  414. this.spinning = false
  415. this.disabled = false
  416. },
  417. // 重置
  418. resetSearchForm () {
  419. this.queryParam.ptype = '0'
  420. this.queryParam.productCode = ''
  421. this.queryParam.productName = ''
  422. this.queryParam.promotionFlag = undefined
  423. this.queryParam.brandSn = undefined
  424. this.queryParam.productTypeSn1 = ''
  425. this.queryParam.productTypeSn2 = ''
  426. this.queryParam.productTypeSn3 = ''
  427. this.queryParam.warehouseSn = undefined
  428. this.productType = []
  429. this.dataSource = []
  430. this.clearSelectTable()
  431. this.searchTable()
  432. },
  433. pageInit (salesBillSn, detailData) {
  434. this.salesBillSn = salesBillSn
  435. this.detailData = detailData
  436. // 获取活动列表
  437. this.getActiveList()
  438. },
  439. // 清空选项
  440. clearSelectTable () {
  441. this.selectedRowKeys = []
  442. },
  443. // 添加
  444. handleAdd (row) {
  445. if (row.stockQty > 0) { // 可用库存大于0才可添加
  446. this.$emit('addProduct', [row.salesBillDetailSn])
  447. } else {
  448. this.$message.warning('库存为0,不可添加!')
  449. }
  450. },
  451. // 批量添加
  452. handlePlAdd () {
  453. const _this = this
  454. const chooseList = this.selectedRowKeys
  455. if (chooseList.length == 0) {
  456. _this.$message.warning('请先选择产品!')
  457. return
  458. }
  459. const chooseRow = this.dataSource.filter(item => chooseList.includes(item.id) && item.id.indexOf('promo-')<0)
  460. const obj = []
  461. chooseRow && chooseRow.map(item => {
  462. if (item.stockQty > 0) {
  463. obj.push(item.salesBillDetailSn)
  464. }
  465. })
  466. this.$confirm({
  467. title: '提示',
  468. content: '确认要批量添加到待下推列表吗?',
  469. centered: true,
  470. closable: true,
  471. onOk () {
  472. _this.$emit('addProduct', obj)
  473. }
  474. })
  475. },
  476. // 批量取消
  477. handlePlCancel () {
  478. const _this = this
  479. const chooseList = this.selectedRowKeys
  480. if (chooseList.length == 0) {
  481. _this.$message.warning('请先选择产品!')
  482. return
  483. }
  484. const chooseRow = this.dataSource.filter(item => chooseList.includes(item.id) && item.id.indexOf('promo-')<0)
  485. const obj = []
  486. chooseRow && chooseRow.map(item => {
  487. obj.push({
  488. 'cancelQty': item.cancelNums,
  489. 'salesBillDetailSn': item.salesBillDetailSn
  490. })
  491. })
  492. this.$emit('cancelProduct', obj)
  493. }
  494. }
  495. }
  496. </script>
  497. <style lang="less">
  498. .empty-data{
  499. color: #999;
  500. text-align: center;
  501. padding: 20px;
  502. }
  503. .ve-table-body-td{
  504. .active-title{
  505. display: flex;
  506. align-items: center;
  507. justify-content: space-between;
  508. padding: 10px;
  509. background: #f3f8fa;
  510. }
  511. }
  512. .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,
  513. .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{
  514. padding: 0;
  515. }
  516. </style>