detail.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. <template>
  2. <div class="salesDetail-wrap" :style="{paddingBottom:hideFooter?'0px':'60px'}">
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <a-page-header :ghost="false" :backIcon="false" class="salesDetail-cont">
  5. <template slot="subTitle" v-if="!bizSn">
  6. <a id="salesEdit-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
  7. <span style="margin: 0 15px;color: #666;font-weight: bold;">单号:{{ detailData&&detailData.salesBillNo }}</span>
  8. <span v-if="detailData&&detailData.salesBillNoSource">(原:{{ detailData&&detailData.salesBillNoSource || '--' }})</span>
  9. <span style="margin: 0 10px;color: #666;">客户名称:{{ detailData&&detailData.buyerName }}</span>
  10. <a-button size="small" type="link" class="button-default" @click="showDetail=!showDetail">
  11. <a-icon :type="showDetail ? 'eye-invisible' : 'eye'"/> {{ showDetail?'隐藏':'查看' }}信息
  12. </a-button>
  13. </template>
  14. <template slot="extra">
  15. <a-button
  16. key="1"
  17. type="primary"
  18. class="button-info"
  19. id="salesDetail-xs-print-btn"
  20. v-if="$hasPermissions('B_salesPrint')"
  21. :disabled="hasData"
  22. @click="handlePrint('SALES_BILL','B_salesPrint')">销售打印</a-button>
  23. <a-button
  24. key="2"
  25. type="primary"
  26. class="button-info"
  27. id="salesDetail-xsfl-print-btn"
  28. v-if="$hasPermissions('B_salesTypePrint')"
  29. :disabled="hasData"
  30. @click="handlePrint('SALES_BILL_TYPE','B_salesTypePrint')">销售分类打印</a-button>
  31. <a-divider type="vertical" />
  32. <a-button
  33. key="3"
  34. type="default"
  35. class="button-info"
  36. id="salesDetail-export-btn"
  37. v-if="$hasPermissions('B_salesDetailExport')"
  38. :disabled="hasData"
  39. @click="handlePrint('export','B_salesDetailExport')">导出Excel</a-button>
  40. <a-button
  41. key="4"
  42. type="default"
  43. class="button-info"
  44. id="salesDetail-export-btn"
  45. v-if="$hasPermissions('B_salesTypeExport')"
  46. :disabled="hasData"
  47. @click="handlePrint('typeExport','B_salesTypeExport')">销售分类导出</a-button>
  48. </template>
  49. </a-page-header>
  50. <!-- 基础信息 -->
  51. <a-card size="small" :bordered="false" class="pages-wrap" style="margin-bottom: 8px;" v-show="showDetail">
  52. <div style="padding: 0;">
  53. <a-descriptions size="small" :column="3">
  54. <a-descriptions-item label="客户名称">{{ detailData&&detailData.buyerName || '--' }}</a-descriptions-item>
  55. <a-descriptions-item label="收货地址" :span="2">{{ shippingAddress||'--' }}</a-descriptions-item>
  56. <a-descriptions-item label="收货人">{{ detailData&&detailData.salesBillExtEntity&&detailData.salesBillExtEntity.consigneeName || '--' }}</a-descriptions-item>
  57. <a-descriptions-item label="收货电话">{{ detailData&&detailData.salesBillExtEntity&&detailData.salesBillExtEntity.consigneeTel || '--' }}</a-descriptions-item>
  58. <a-descriptions-item label="收款方式">{{ detailData&&detailData.settleStyleSnDictValue || '--' }}</a-descriptions-item>
  59. <a-descriptions-item label="审核时间">{{ detailData&&detailData.auditDate || '--' }}</a-descriptions-item>
  60. <a-descriptions-item label="业务状态">{{ detailData&&detailData.billStatusDictValue || '--' }}</a-descriptions-item>
  61. <a-descriptions-item label="财务状态">{{ detailData&&detailData.financialStatusDictValue || '--' }}</a-descriptions-item>
  62. <a-descriptions-item label="改单时间" v-if="detailData&&detailData.salesBillSource=='PURCHASE'&&detailData.submitDate">{{ detailData.submitDate }}</a-descriptions-item>
  63. <a-descriptions-item label="最新提交时间" v-if="detailData&&detailData.salesBillSource=='SALES'&&detailData.submitDate">{{ detailData.submitDate }}</a-descriptions-item>
  64. <a-descriptions-item label="备注" :span="3">{{ detailData&&detailData.remarks || '--' }}</a-descriptions-item>
  65. </a-descriptions>
  66. </div>
  67. </a-card>
  68. <a-card size="small" :bordered="false" class="pages-wrap">
  69. <!-- alert -->
  70. <a-alert type="info" style="margin-bottom: 10px;">
  71. <div slot="message">
  72. <div>
  73. 总销售数量:<strong>{{ detailData&&(detailData.totalQty || detailData.totalQty==0) ? detailData.totalQty : '--' }}</strong>;
  74. 已取消数量:<strong>{{ detailData&&(detailData.totalCancelQty || detailData.totalCancelQty==0) ? detailData.totalCancelQty : '--' }}</strong>;
  75. 已下推数量:<strong>{{ detailData&&(detailData.totalPushedQty || detailData.totalPushedQty==0) ? detailData.totalPushedQty : '--' }}</strong>;
  76. 待下推数量:<strong>{{ detailData&&(detailData.totalUnpushedQty || detailData.totalUnpushedQty==0) ? detailData.totalUnpushedQty : '--' }}</strong>;
  77. 已发货数量:<strong>{{ detailData&&(detailData.totalDispatchQty || detailData.totalDispatchQty==0) ? detailData.totalDispatchQty : '--' }}</strong>;
  78. 待发货数量:<strong>{{ detailData&&(detailData.totalUndispatchQty || detailData.totalUndispatchQty==0) ? detailData.totalUndispatchQty : '--' }}</strong>;<br/>
  79. <span v-if="$hasPermissions(authCode + '_salesPrice')">总售价:<strong>{{ detailData&&(detailData.totalAmount || detailData.totalAmount==0) ? toThousands(detailData.totalAmount) : '--' }}</strong>;</span>
  80. <span v-if="$hasPermissions(authCode + '_costPrice')">总成本:<strong>{{ detailData&&(detailData.totalCost || detailData.totalCost==0) ? toThousands(detailData.totalCost) : '--' }}</strong>;</span>
  81. <span v-if="$hasPermissions(authCode + '_costPrice')">总毛利:<strong>{{ detailData&&(detailData.grossProfit || detailData.grossProfit==0) ? toThousands(detailData.grossProfit) : '--' }}</strong>;</span>
  82. <span v-if="$hasPermissions(authCode + '_salesPrice')">已取消金额:<strong>{{ detailData&&(detailData.totalCancelAmount || detailData.totalCancelAmount==0) ? toThousands(detailData.totalCancelAmount) : '--' }}</strong>;</span>
  83. <span v-if="$hasPermissions(authCode + '_salesPrice')">已下推金额:<strong>{{ detailData&&(detailData.totalPushedAmount || detailData.totalPushedAmount==0) ? toThousands(detailData.totalPushedAmount) : '--' }}</strong>;</span>
  84. <span v-if="$hasPermissions(authCode + '_salesPrice')">待下推金额:<strong>{{ detailData&&(detailData.totalUnpushedAmount || detailData.totalUnpushedAmount==0) ? toThousands(detailData.totalUnpushedAmount) : '--' }}</strong>;</span>
  85. <span v-if="$hasPermissions(authCode + '_salesPrice')">已发货金额:<strong>{{ detailData&&(detailData.totalDispatchAmount || detailData.totalDispatchAmount==0) ? toThousands(detailData.totalDispatchAmount) : '--' }}</strong>;</span>
  86. <span v-if="$hasPermissions(authCode + '_salesPrice')">待发货金额:<strong>{{ detailData&&(detailData.totalUndispatchAmount || detailData.totalUndispatchAmount==0) ? toThousands(detailData.totalUndispatchAmount) : '--' }}</strong>;</span>
  87. <span v-if="isCityPrice">市级总售价:<strong>{{ detailData&&(detailData.totalCityAmount || detailData.totalCityAmount==0) ? toThousands(detailData.totalCityAmount) : '--' }}</strong>;</span>
  88. <span v-if="$hasPermissions(authCode + '_salesPrice')&&detailData&&detailData.totalDiscountAmount" style="color: red;">优惠金额:<strong>{{ Number(detailData.totalDiscountAmount).toFixed(2) }}</strong>;</span>
  89. </div>
  90. </div>
  91. </a-alert>
  92. <!-- 查询 -->
  93. <div class="table-page-search-wrapper">
  94. <div style="display: flex;justify-content: space-between;align-items: center;">
  95. <div style="flex-grow: 1;width: 60%;">
  96. <a-form layout="inline" @keyup.enter.native="searchTable">
  97. <a-row :gutter="15" type="flex">
  98. <a-col flex="350px">
  99. <a-form-item label="出库仓库">
  100. <chooseWarehouse ref="warehouse" v-model="warehouseSn"></chooseWarehouse>
  101. </a-form-item>
  102. </a-col>
  103. <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
  104. <a-button type="primary" @click="searchTable" :disabled="disabled" id="productInfoList-refresh">查询</a-button>
  105. <a-button style="margin-left: 5px" @click="resetSearchForm" id="productInfoList-reset">重置</a-button>
  106. </a-col>
  107. </a-row>
  108. </a-form>
  109. </div>
  110. <div>
  111. <a-button v-if="detailData && (detailData.billStatus == 'WAIT_AUDIT' || detailData.billStatus == 'HQ_CHANGE')" type="link" @click="openStockOut">缺货明细</a-button>
  112. <a-checkbox v-model="isCityPrice" v-if="$hasPermissions(authCode + '_cityPrice')"><span style="display: inline-block;margin-top: 1px;">市级价</span></a-checkbox>
  113. </div>
  114. </div>
  115. </div>
  116. <!-- 产品列表 -->
  117. <div>
  118. <detailProductList
  119. ref="productList"
  120. :detailData="detailData"
  121. :warehouseSn="warehouseSn"
  122. :salesBillSn="$route.params.sn || bizSn"
  123. :authCode="authCode"
  124. :maxHeight="pageHeight"
  125. :showCityPrice="isCityPrice">
  126. </detailProductList>
  127. </div>
  128. </a-card>
  129. </a-spin>
  130. <div class="affix-cont" :style="{padding:hideFooter?0:'7px 0 4px'}">
  131. <a-button
  132. size="large"
  133. style="width: 100px;"
  134. :disabled="spinning"
  135. type="primary"
  136. class="button-info"
  137. id="salesDetail-audit-btn"
  138. v-if="detailData&&detailData.billStatus == 'WAIT_AUDIT'&&$hasPermissions('B_salesAudit')"
  139. @click="handleAudit()"
  140. >
  141. 审核
  142. </a-button>
  143. <a-button
  144. type="primary"
  145. :disabled="spinning"
  146. class="button-info"
  147. size="large"
  148. style="width: 100px;margin: 0 20px;"
  149. id="salesDetail-edit-btn"
  150. v-if="detailData&&detailData.salesBillSource == 'SALES' && (detailData.billStatus == 'WAIT_SUBMIT' || detailData.billStatus == 'WAIT_AUDIT' || detailData.billStatus == 'AUDIT_REJECT' || detailData.billStatus == 'HQ_CHANGE')&&$hasPermissions('B_salesEdit')"
  151. @click="handleEdit()"
  152. >
  153. 编辑
  154. </a-button>
  155. <a-button
  156. size="large"
  157. style="width: 100px;margin: 0 20px;"
  158. :disabled="spinning"
  159. type="primary"
  160. class="button-info"
  161. id="salesDetail-edit-btn"
  162. v-if="detailData&&detailData.salesBillSource == 'PURCHASE' && (detailData.billStatus == 'WAIT_AUDIT'||detailData.billStatus == 'HQ_CHANGE')&&$hasPermissions('B_salesEdit')"
  163. @click="handleEdit()"
  164. >
  165. 改单
  166. </a-button>
  167. <a-button
  168. size="large"
  169. style="width: 100px;"
  170. :disabled="spinning"
  171. type="primary"
  172. class="button-info"
  173. id="salesDetail-batchAudit-btn"
  174. v-if="detailData&&detailData.billStatus == 'WAIT_AUDIT'&&$hasPermissions('B_salesAudit')"
  175. @click="handleAudit('batch')"
  176. >
  177. 一键审核
  178. </a-button>
  179. <a-button
  180. size="large"
  181. style="width: 100px;"
  182. type="primary"
  183. class="button-warning"
  184. v-if="detailData&&detailData.billStatus == 'WAIT_PUSH'&&$hasPermissions('B_salesDispatch')"
  185. @click="handleDispatch(detailData)"
  186. >下推</a-button>
  187. </div>
  188. <!-- 打印导出 -->
  189. <print-modal :openModal="openModal" :itemData="detailData" :nowType="nowType" @ok="handleOk" @close="closePrint" />
  190. <!-- 审核 -->
  191. <auditModal
  192. :openModal="visibleAudit"
  193. :content="auditText"
  194. :spinning="spinningAudit"
  195. @close="visibleAudit=false"
  196. @ok="auditOrder('AUDIT_PASS')"
  197. @fail="auditOrder('AUDIT_REJECT')" />
  198. <!-- 审核加下推 -->
  199. <dsModal ref="dsModal" title="销售单一键审核" :openModal="showDsModal" @close="showDsModal=false" @ok="handleOnceAudit" />
  200. <!-- 缺货明细 -->
  201. <stockOutDetail :openModal="showStockOut" :detailData="detailData" :salesBillSn="$route.params.sn || bizSn" @close="showStockOut=false"></stockOutDetail>
  202. </div>
  203. </template>
  204. <script>
  205. import { printFun, exportExcel } from '@/libs/JGPrint.js'
  206. import { commonMixin } from '@/utils/mixin'
  207. import moment from 'moment'
  208. import { VSelect } from '@/components'
  209. import printModal from './printModal.vue'
  210. import auditModal from '@/views/common/auditModal.vue'
  211. import dsModal from '@/views/salesManagement/waitDispatchNew/dsModal.vue'
  212. import stockOutDetail from './stockOutDetailModal.vue'
  213. import chooseWarehouse from '@/views/common/chooseWarehouse'
  214. import detailProductList from './comps/detailProductList.vue'
  215. // 接口
  216. import {
  217. salesDetailBySn,
  218. salesDetailPrint,
  219. salesDetailExcel,
  220. salesDetailTypeExcel,
  221. salesWriteAuditPass,
  222. salesWriteAuditReject,
  223. salesWriteAuditPush
  224. } from '@/api/salesNew'
  225. export default {
  226. name: 'SalesDetailNew',
  227. mixins: [commonMixin],
  228. components: { VSelect, printModal, auditModal, dsModal, stockOutDetail, chooseWarehouse, detailProductList },
  229. props: {
  230. bizSn: { // 有值则为弹框,无值则为页面
  231. type: [Number, String],
  232. default: ''
  233. }
  234. },
  235. data () {
  236. return {
  237. spinning: false,
  238. disabled: false,
  239. showDsModal: false,
  240. showStockOut: false,
  241. authCode: '', // 权限码
  242. hasData: false, // 是否有数据
  243. showDetail: false,
  244. openModal: false,
  245. detailData: null, // 详情数据
  246. nowType: null,
  247. isCityPrice: false, // 是否显示市级价
  248. visibleAudit: false,
  249. auditInfo: null,
  250. spinningAudit: false,
  251. auditText: null,
  252. fromRouter: null,
  253. warehouseSn: undefined
  254. }
  255. },
  256. computed: {
  257. // 地址
  258. shippingAddress () {
  259. const shippingAddrProvinceName = this.detailData && this.detailData.salesBillExtEntity && this.detailData.salesBillExtEntity.shippingAddrProvinceName ? this.detailData.salesBillExtEntity.shippingAddrProvinceName : ''
  260. const shippingAddrCityName = this.detailData && this.detailData.salesBillExtEntity && this.detailData.salesBillExtEntity.shippingAddrCityName ? this.detailData.salesBillExtEntity.shippingAddrCityName : ''
  261. const shippingAddrCountyName = this.detailData && this.detailData.salesBillExtEntity && this.detailData.salesBillExtEntity.shippingAddrCountyName ? this.detailData.salesBillExtEntity.shippingAddrCountyName : ''
  262. const shippingAddr = this.detailData && this.detailData.salesBillExtEntity && this.detailData.salesBillExtEntity.shippingAddr ? this.detailData.salesBillExtEntity.shippingAddr : ''
  263. if (!shippingAddrProvinceName && !shippingAddrCityName && !shippingAddrCountyName && !shippingAddr) {
  264. return '--'
  265. } else {
  266. return shippingAddrProvinceName + shippingAddrCityName + shippingAddrCountyName + shippingAddr
  267. }
  268. },
  269. hideFooter (){
  270. const detailData = this.detailData
  271. return detailData&&(detailData.billStatus == 'HQ_CHANGE'|| (detailData.salesBillSource != 'SALES'&&detailData.billStatus == 'AUDIT_REJECT') ||detailData.billStatus == 'FINISH'||detailData.billStatus == 'OUTING_WAREHOUSE')
  272. },
  273. pageHeight () {
  274. return window.innerHeight - 333 + (this.hideFooter ? 50 : 0)
  275. }
  276. },
  277. methods: {
  278. // 返回
  279. handleBack () {
  280. this.$router.push({ name: 'salesQueryNewList' })
  281. },
  282. // 编辑
  283. handleEdit () {
  284. const row = this.detailData
  285. this.$router.push({ name: 'salesNewEdit', params: { sn: row.salesBillSn, wSn: row.warehouseSn } })
  286. },
  287. // 重置
  288. resetSearchForm () {
  289. this.warehouseSn = undefined
  290. setTimeout(() => {
  291. this.searchTable()
  292. }, 100)
  293. },
  294. // 查询数据
  295. searchTable () {
  296. this.$refs.productList.searchTable()
  297. },
  298. // 详情
  299. getDetail () {
  300. salesDetailBySn({ salesBillSn: this.bizSn || this.$route.params.sn }).then(res => {
  301. if (res.status == 200) {
  302. this.detailData = res.data || null
  303. this.detailData.totalDiscountAmount = Number(this.detailData.totalOrigAmount || 0) - Number(this.detailData.totalAmount || 0)
  304. }
  305. this.$refs.productList.pageInit()
  306. })
  307. },
  308. // 打开缺货明细
  309. openStockOut () {
  310. if (this.$refs.productList.outStockStr != '') {
  311. this.showStockOut = true
  312. } else {
  313. this.$info({
  314. title: '提示',
  315. content: '此销售单暂无缺货产品!',
  316. centered: true
  317. })
  318. }
  319. },
  320. // 下推
  321. handleDispatch (row) {
  322. this.$router.push({ name: 'waitDispatchNew', params: { salesBillSn: row.salesBillSn } })
  323. },
  324. // 打开审核/一键审核弹框
  325. handleAudit (isBatch) {
  326. if (isBatch) { // 一键审核
  327. if (this.detailData && this.detailData.promoFlag == 1 && this.$refs.productList.outStockStr != '') {
  328. this.$info({
  329. title: '提示',
  330. content: '参加促销活动的销售单,有缺货产品,不可一键审核!',
  331. centered: true
  332. })
  333. return
  334. }
  335. this.showDsModal = true
  336. this.$refs.dsModal.setDetail(this.detailData)
  337. } else {
  338. this.auditText = null
  339. this.visibleAudit = true
  340. }
  341. },
  342. // 一键审核
  343. handleOnceAudit (data) {
  344. const params = {
  345. salesBillSn: this.bizSn || this.$route.params.sn,
  346. billStatus: 'AUDIT_PASS',
  347. dispatchBill: data
  348. }
  349. this.spinningAudit = true
  350. this.spinning = true
  351. salesWriteAuditPush(params).then(res => {
  352. if (res.status == 200) {
  353. this.$message.success(res.message)
  354. // 关闭详情跳列表
  355. this.handleBack()
  356. }
  357. this.spinningAudit = false
  358. this.spinning = false
  359. })
  360. },
  361. // 审核
  362. auditOrder (billStatus) {
  363. this.spinningAudit = true
  364. const auditFun = billStatus == 'AUDIT_PASS' ? salesWriteAuditPass : salesWriteAuditReject
  365. auditFun({
  366. salesBillSn: this.bizSn || this.$route.params.sn,
  367. billStatus: billStatus
  368. }).then(res => {
  369. if (res.status == 200) {
  370. this.visibleAudit = false
  371. this.$message.success(res.message)
  372. this.spinningAudit = false
  373. const _this = this
  374. this.$nextTick(() => {
  375. if (billStatus == 'AUDIT_PASS' && !_this.auditText) {
  376. _this.$router.push({ name: 'waitDispatchNew', params: { salesBillSn: _this.bizSn || _this.$route.params.sn } })
  377. } else {
  378. // 关闭详情跳列表
  379. _this.handleBack()
  380. }
  381. })
  382. } else {
  383. this.visibleAudit = false
  384. this.spinningAudit = false
  385. }
  386. })
  387. },
  388. // 打印导出
  389. handlePrint (type, authCode) {
  390. const _this = this
  391. _this.$store.state.app.curActionPermission = authCode
  392. // 销售分类导出
  393. if (type == 'typeExport') {
  394. const params = {
  395. salesBillSn: this.bizSn || this.$route.params.sn
  396. }
  397. _this.spinning = true
  398. exportExcel(salesDetailTypeExcel, params, '销售分类' + moment().format('YYYYMMDDHHmmss'), () => {
  399. _this.spinning = false
  400. _this.$store.state.app.curActionPermission = ''
  401. })
  402. } else {
  403. this.detailData.authCode = authCode
  404. this.nowType = type
  405. this.openModal = true
  406. }
  407. },
  408. closePrint () {
  409. console.log(9)
  410. this.$store.state.app.curActionPermission = ''
  411. this.openModal = false
  412. },
  413. // 确定打印或预览,导出
  414. handleOk (objs) {
  415. const _this = this
  416. const params = JSON.parse(JSON.stringify(objs))
  417. _this.$store.state.app.curActionPermission = this.detailData.authCode
  418. delete params.type
  419. _this.spinning = true
  420. if (this.nowType == 'export') { // 导出
  421. exportExcel(salesDetailExcel, params, '销售' + moment().format('YYYYMMDDHHmmss'), () => {
  422. _this.spinning = false
  423. _this.$store.state.app.curActionPermission = ''
  424. })
  425. } else { // 打印
  426. const taskName = this.nowType == 'SALES_BILL' ? '销售单' : '销售分类'
  427. printFun(salesDetailPrint, params, objs.type, taskName, () => {
  428. _this.spinning = false
  429. _this.$store.state.app.curActionPermission = ''
  430. })
  431. }
  432. }
  433. },
  434. mounted () {
  435. if (!this.$store.state.app.isNewTab || this.bizSn) { // 页签刷新时调用
  436. this.getDetail()
  437. }
  438. },
  439. activated () {
  440. // 如果是新页签打开或者进入新的子页(例:存在列表第2条数据编辑页页签时再打开第4条数据的编辑页),则重置当前页面
  441. if (this.$store.state.app.isNewTab || !this.$store.state.app.isNewSubTab) {
  442. this.getDetail()
  443. }
  444. },
  445. beforeRouteEnter (to, from, next) {
  446. next(vm => {
  447. vm.fromRouter = from
  448. vm.authCode = to.meta.permission
  449. })
  450. }
  451. }
  452. </script>
  453. <style lang="less">
  454. .salesDetail-wrap{
  455. position: relative;
  456. height: 100%;
  457. padding-bottom: 51px;
  458. box-sizing: border-box;
  459. >.ant-spin-nested-loading{
  460. overflow-y: auto;
  461. height: 100%;
  462. }
  463. .salesDetail-cont{
  464. margin-bottom: 10px;
  465. }
  466. .active-title{
  467. display: flex;
  468. align-items: center;
  469. justify-content: space-between;
  470. padding: 10px;
  471. background: #f3f8fa;
  472. }
  473. .flexBox{
  474. display: flex;
  475. justify-content: space-between;
  476. align-items: center;
  477. }
  478. .footer-cont{
  479. margin-top: 5px;
  480. text-align: center;
  481. }
  482. .redStyle{
  483. font-weight: bold;
  484. color: red;
  485. }
  486. }
  487. </style>