edit.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. <template>
  2. <div class="storeTransferOutEdit-wrap">
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <a-page-header :ghost="false" :backIcon="false" class="storeTransferOutEdit-back" >
  5. <!-- 自定义的二级文字标题 -->
  6. <template slot="subTitle">
  7. <a id="storeTransferOutEdit-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
  8. <span style="margin: 0 15px;color: #666;">调往对象名称:{{ (basicInfoData&&basicInfoData.putPersonName) || '--' }}</span>
  9. </template>
  10. <!-- 操作区,位于 title 行的行尾 -->
  11. <template slot="extra" v-if="$hasPermissions('B_storeCallOutPrint')">
  12. <a-radio-group key="3" v-model="printerType">
  13. <a-radio value="NEEDLE">针式</a-radio>
  14. <a-radio value="INK">喷墨</a-radio>
  15. </a-radio-group>
  16. <a-button key="2" id="storeTransferOutEdit-preview-btn" :disabled="chooseLoadDataSource.length==0" @click="handlePrint('preview')">打印预览</a-button>
  17. <a-button key="1" type="primary" id="storeTransferOutEdit-print-btn" :disabled="chooseLoadDataSource.length==0" @click="handlePrint('print')">快捷打印</a-button>
  18. </template>
  19. </a-page-header>
  20. <!-- 选择产品 -->
  21. <a-card size="small" :bordered="false" class="storeTransferOutEdit-cont">
  22. <a-collapse :activeKey="['1']">
  23. <a-collapse-panel key="1" header="选择产品">
  24. <!-- 筛选条件 -->
  25. <div class="table-page-search-wrapper">
  26. <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
  27. <a-row :gutter="15">
  28. <a-col :md="6" :sm="24">
  29. <a-form-item label="产品编码" prop="productCode">
  30. <a-input id="storeTransferOutEdit-productCode" v-model="queryParam.productCode" placeholder="请输入产品编码" allowClear />
  31. </a-form-item>
  32. </a-col>
  33. <a-col :md="6" :sm="24">
  34. <a-form-item label="产品名称" prop="productName">
  35. <a-input id="storeTransferOutEdit-productName" v-model="queryParam.productName" placeholder="请输入产品名称" allowClear />
  36. </a-form-item>
  37. </a-col>
  38. <a-col :md="6" :sm="24">
  39. <a-form-item label="仓库">
  40. <a-select id="storeTransferOutEdit-warehouseSn" allowClear placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
  41. <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
  42. </a-select>
  43. </a-form-item>
  44. </a-col>
  45. <template v-if="advanced">
  46. <a-col :md="6" :sm="24">
  47. <a-form-item label="产品分类">
  48. <a-cascader
  49. @change="changeProductType"
  50. change-on-select
  51. v-model="productType"
  52. expand-trigger="hover"
  53. :options="productTypeList"
  54. :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
  55. id="storeTransferOutEdit-productType"
  56. placeholder="请选择产品分类"
  57. allowClear />
  58. </a-form-item>
  59. </a-col>
  60. <a-col :md="6" :sm="24">
  61. <a-form-item label="产品品牌">
  62. <a-select
  63. placeholder="请选择产品品牌"
  64. id="storeTransferOutEdit-brandSn"
  65. allowClear
  66. v-model="queryParam.brandSn"
  67. :showSearch="true"
  68. option-filter-prop="children"
  69. :filter-option="filterOption">
  70. <a-select-option v-for="item in productBrandList" :key="item.brandSn" :value="item.brandSn">{{ item.brandName }}</a-select-option>
  71. </a-select>
  72. </a-form-item>
  73. </a-col>
  74. </template>
  75. <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
  76. <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="storeTransferOutList-refresh">查询</a-button>
  77. <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="storeTransferOutList-reset">重置</a-button>
  78. <a @click="advanced=!advanced" style="margin-left: 5px">
  79. {{ advanced ? '收起' : '展开' }}
  80. <a-icon :type="advanced ? 'up' : 'down'"/>
  81. </a>
  82. </a-col>
  83. </a-row>
  84. </a-form>
  85. </div>
  86. <!-- 列表 -->
  87. <s-table
  88. class="sTable"
  89. ref="table"
  90. size="small"
  91. :rowKey="(record) => record.stockSn+record.productSn+record.warehouseSn+record.warehouseLocationSn"
  92. :columns="columns"
  93. :customRow="handleClickRow"
  94. :data="loadData"
  95. :scroll="{ x: 1180, y: 300 }"
  96. bordered>
  97. <!-- 操作 -->
  98. <template slot="action" slot-scope="text, record">
  99. <a-button size="small" type="primary" class="button-primary" @click="handleAdd(record)" id="storeTransferOutEdit-add-btn">添加</a-button>
  100. </template>
  101. </s-table>
  102. </a-collapse-panel>
  103. </a-collapse>
  104. </a-card>
  105. <!-- 已选产品 -->
  106. <a-card size="small" :bordered="false" class="storeTransferOutEdit-cont">
  107. <a-collapse :activeKey="['1']">
  108. <a-collapse-panel key="1" header="已选产品">
  109. <!-- 总计 -->
  110. <a-alert type="info" style="margin-bottom:10px">
  111. <div slot="message">
  112. 总款数 <strong>{{ (productTotal&&(productTotal.productTotalCategory || productTotal.productTotalCategory==0)) ? productTotal.productTotalCategory : '--' }}</strong> ,
  113. 总数量 <strong>{{ (productTotal&&(productTotal.productTotalQty || productTotal.productTotalQty==0)) ? productTotal.productTotalQty : '--' }}</strong> ,
  114. 总成本 <strong>{{ (productTotal&&(productTotal.productTotalCost || productTotal.productTotalCost==0)) ? '¥'+productTotal.productTotalCost : '--' }}</strong>
  115. </div>
  116. </a-alert>
  117. <!-- 筛选条件 -->
  118. <a-row :gutter="15">
  119. <a-col :span="20">
  120. <div class="table-page-search-wrapper">
  121. <a-form layout="inline" @keyup.enter.native="$refs.chooseTable.refresh(true)">
  122. <a-row :gutter="15">
  123. <a-col :md="8" :sm="24">
  124. <a-form-item label="产品编码" prop="productCode">
  125. <a-input id="storeTransferOutEdit-productCode" v-model="chooseQueryParam.productCode" placeholder="请输入产品编码" allowClear />
  126. </a-form-item>
  127. </a-col>
  128. <a-col :md="8" :sm="24">
  129. <a-form-item label="产品名称" prop="productName">
  130. <a-input id="storeTransferOutEdit-productName" v-model="chooseQueryParam.productName" placeholder="请输入产品名称" allowClear />
  131. </a-form-item>
  132. </a-col>
  133. <a-col :md="8" :sm="24" style="margin-bottom: 10px;">
  134. <a-button type="primary" @click="$refs.chooseTable.refresh(true)" :disabled="chooseDisabled" id="storeTransferOutList-refresh">查询</a-button>
  135. <a-button style="margin-left: 8px" @click="chooseResetSearchForm" :disabled="chooseDisabled" id="storeTransferOutList-reset">重置</a-button>
  136. </a-col>
  137. </a-row>
  138. </a-form>
  139. </div>
  140. </a-col>
  141. <a-col :span="4" style="text-align: right;">
  142. <!-- <a-button size="small" id="storeTransferOutEdit-import-btn">导入明细</a-button> -->
  143. </a-col>
  144. </a-row>
  145. <!-- 列表 -->
  146. <s-table
  147. class="sTable"
  148. ref="chooseTable"
  149. size="small"
  150. :rowKey="(record) => record.id"
  151. :columns="chooseColumns"
  152. :data="chooseLoadData"
  153. :defaultLoadData="false"
  154. :scroll="{ x: 1335, y: 300 }"
  155. bordered>
  156. <!-- 调出数量 -->
  157. <template slot="outQty" slot-scope="text, record">
  158. <a-input-number
  159. size="small"
  160. id="storeTransferOutEdit-outQty"
  161. v-model="record.outQty"
  162. :precision="0"
  163. :min="1"
  164. :max="999999"
  165. placeholder="请输入"
  166. @blur="e => outQtyBlur(e.target.value, record)"
  167. style="width: 100%;" />
  168. </template>
  169. <!-- 操作 -->
  170. <template slot="action" slot-scope="text, record">
  171. <a-button size="small" type="primary" class="button-error" @click="handleDel(record)" id="storeTransferOutEdit-del-btn">删除</a-button>
  172. </template>
  173. </s-table>
  174. </a-collapse-panel>
  175. </a-collapse>
  176. </a-card>
  177. </a-spin>
  178. <div class="affix-cont">
  179. <a-button
  180. type="primary"
  181. id="storeTransferOutEdit-submit"
  182. size="large"
  183. :disabled="spinning"
  184. class="button-primary"
  185. @click="handleSubmit"
  186. style="padding: 0 60px;">提交</a-button>
  187. </div>
  188. <!-- 打印 -->
  189. <div id="print"></div>
  190. </div>
  191. </template>
  192. <script>
  193. import { STable, VSelect } from '@/components'
  194. import { getOperationalPrecision } from '@/libs/tools.js'
  195. import { storeCallOutDetailList, storeCallOutDetail, storeCallOutDetailCount, storeCallOutDetailSave, storeCallOutDetailDel, storeCallOutSubmit, storeCallOutDetailPrint } from '@/api/storeCallOut'
  196. import { dealerProductBrandQuery } from '@/api/dealerProductBrand'
  197. import { dealerProductTypeList } from '@/api/dealerProductType'
  198. import { warehouseAllList } from '@/api/warehouse'
  199. import { productQuery } from '@/api/allocWarehouse'
  200. export default {
  201. components: { STable, VSelect },
  202. data () {
  203. return {
  204. spinning: false,
  205. queryParam: {
  206. productCode: '',
  207. productName: '',
  208. warehouseSn: undefined,
  209. brandSn: undefined,
  210. productTypeSn1: undefined,
  211. productTypeSn2: undefined,
  212. productTypeSn3: undefined
  213. },
  214. chooseQueryParam: {
  215. productCode: '',
  216. productName: ''
  217. },
  218. disabled: false, // 查询、重置按钮是否可操作
  219. loading: false, // 表格加载中
  220. chooseDisabled: false, // 查询、重置按钮是否可操作
  221. advanced: false, // 高级搜索 展开/关闭
  222. productBrandList: [], // 产品品牌 下拉数据
  223. productTypeList: [], // 产品分类 下拉数据
  224. productType: [],
  225. warehouseList: [], // 仓库 下拉数据
  226. // 表头
  227. columns: [
  228. { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
  229. { title: '产品编码', dataIndex: 'productCode', width: 220, align: 'center', customRender: function (text) { return text || '--' } },
  230. { title: '产品名称', dataIndex: 'productName', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  231. { title: '单位', dataIndex: 'unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
  232. { title: '仓库', dataIndex: 'warehouseName', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  233. { title: '仓位', dataIndex: 'warehouseLocationName', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  234. { title: '库存数量', dataIndex: 'currentQty', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  235. { title: '成本价(¥)', dataIndex: 'putCost', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  236. { title: '操作', scopedSlots: { customRender: 'action' }, width: 100, align: 'center', fixed: 'right' }
  237. ],
  238. // 加载数据方法 必须为 Promise 对象
  239. loadData: parameter => {
  240. this.disabled = true
  241. return productQuery(Object.assign(parameter, this.queryParam)).then(res => {
  242. const data = res.data
  243. const no = (data.pageNo - 1) * data.pageSize
  244. for (var i = 0; i < data.list.length; i++) {
  245. data.list[i].no = no + i + 1
  246. }
  247. this.disabled = false
  248. return data
  249. })
  250. },
  251. // 表头
  252. chooseColumns: [
  253. { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
  254. { title: '产品编码', dataIndex: 'productCode', width: 220, align: 'center', customRender: function (text) { return text || '--' } },
  255. { title: '产品名称', dataIndex: 'productName', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  256. { title: '单位', dataIndex: 'productUnit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
  257. { title: '成本价(¥)', dataIndex: 'outCost', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  258. { title: '仓库', dataIndex: 'warehouseName', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  259. { title: '仓位', dataIndex: 'warehouseLocationName', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  260. { title: '调出数量', scopedSlots: { customRender: 'outQty' }, width: 140, align: 'center' },
  261. { title: '成本小计(¥)', dataIndex: 'costSubtotal', width: 115, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  262. { title: '操作', scopedSlots: { customRender: 'action' }, width: 100, align: 'center', fixed: 'right' }
  263. ],
  264. // chooseLoadData: [],
  265. // choosePaginationProps: {
  266. // total: 0, // 分页总条数
  267. // current: 1,
  268. // pageSize: 20
  269. // },
  270. // 加载数据方法 必须为 Promise 对象
  271. chooseLoadData: parameter => {
  272. this.chooseDisabled = true
  273. const params = Object.assign(this.chooseQueryParam, { storeCallOutSn: this.$route.params.sn })
  274. return storeCallOutDetailList(Object.assign(parameter, params)).then(res => {
  275. this.getDetailCount(params)
  276. const data = res.data
  277. const no = (data.pageNo - 1) * data.pageSize
  278. for (var i = 0; i < data.list.length; i++) {
  279. data.list[i].no = no + i + 1
  280. data.list[i].outQtyBackups = data.list[i].outQty
  281. // 成本小计 由于数据库内小数位数为4位,页面则需显示2位。因此会做小数运算精度处理
  282. data.list[i].costSubtotal = getOperationalPrecision(data.list[i].outCost, data.list[i].outQty)
  283. }
  284. this.chooseLoadDataSource = data.list || []
  285. this.chooseDisabled = false
  286. return data
  287. })
  288. },
  289. chooseLoadDataSource: [],
  290. basicInfoData: null, // 基本信息
  291. productTotal: null, // 合计
  292. printerType: 'NEEDLE' // 打印机类型
  293. }
  294. },
  295. methods: {
  296. // 重置
  297. resetSearchForm () {
  298. this.queryParam.productCode = ''
  299. this.queryParam.productName = ''
  300. this.queryParam.warehouseSn = undefined
  301. this.queryParam.brandSn = undefined
  302. this.queryParam.productTypeSn1 = undefined
  303. this.queryParam.productTypeSn2 = undefined
  304. this.queryParam.productTypeSn3 = undefined
  305. this.productType = []
  306. this.$refs.table.refresh(true)
  307. },
  308. // 打印预览/快捷打印
  309. handlePrint (type) {
  310. const _this = this
  311. _this.spinning = true
  312. storeCallOutDetailPrint({ sn: this.$route.params.sn, type: this.printerType, costFlag: '0' }).then(res => {
  313. _this.spinning = false
  314. if (res.type == 'application/json') {
  315. var reader = new FileReader()
  316. reader.addEventListener('loadend', function () {
  317. const obj = JSON.parse(reader.result)
  318. _this.$notification.error({
  319. message: '提示',
  320. description: obj.message
  321. })
  322. })
  323. reader.readAsText(res)
  324. } else {
  325. this.print(res, type)
  326. }
  327. })
  328. },
  329. print (data, type) {
  330. if (!data) {
  331. return
  332. }
  333. const url = window.URL.createObjectURL(new Blob([data], { type: 'application/pdf' }))
  334. document.getElementById('print').innerHTML = '<iframe id="printfsoe" name="printfsoe" src="' + url + '" hidden></iframe>'
  335. if (type == 'preview') { // 预览
  336. window.open(url)
  337. } else if (type == 'print') { // 打印
  338. window.frames['printfsoe'].focus()
  339. window.frames['printfsoe'].print()
  340. }
  341. },
  342. // 双击快速添加
  343. handleClickRow (record) {
  344. return {
  345. on: {
  346. dblclick: (event) => {
  347. this.handleAdd(record)
  348. }
  349. }
  350. }
  351. },
  352. // 已选产品 重置
  353. chooseResetSearchForm () {
  354. this.chooseQueryParam.productCode = ''
  355. this.chooseQueryParam.productName = ''
  356. this.$refs.chooseTable.refresh(true)
  357. },
  358. // 基本信息
  359. getDetail () {
  360. storeCallOutDetail({ id: this.$route.params.id }).then(res => {
  361. if (res.status == 200) {
  362. this.basicInfoData = res.data
  363. } else {
  364. this.basicInfoData = null
  365. }
  366. })
  367. },
  368. // 添加/编辑
  369. handleAdd (row, isEdit) {
  370. const params = {
  371. id: isEdit ? row.id : undefined,
  372. storeCallOutSn: this.$route.params.sn,
  373. outCost: isEdit ? row.outCost : row.putCost,
  374. outQty: isEdit ? row.outQty : 1, // 添加时调出数量默认为1
  375. productSn: row.productSn,
  376. productCode: row.productCode,
  377. productOrigCode: row.productOrigCode || undefined,
  378. productTypeSn1: row.productTypeSn1,
  379. productTypeSn2: row.productTypeSn2,
  380. productTypeSn3: row.productTypeSn3,
  381. brandSn: row.brandSn,
  382. warehouseSn: row.warehouseSn,
  383. warehouseLocationSn: row.warehouseLocationSn
  384. }
  385. if (isEdit) { // 编辑
  386. // 清空数量时,值应保持未清空前的值,因数量不可为空
  387. if (!row.outQty || row.outQty == row.outQtyBackups) {
  388. row.outQty = row.outQtyBackups
  389. return
  390. }
  391. }
  392. this.spinning = true
  393. storeCallOutDetailSave(params).then(res => {
  394. if (res.status == 200) {
  395. this.$message.success(res.message)
  396. this.$refs.table.refresh()
  397. this.$refs.chooseTable.refresh()
  398. this.spinning = false
  399. } else {
  400. this.spinning = false
  401. }
  402. })
  403. },
  404. // 删除
  405. handleDel (row) {
  406. const _this = this
  407. this.$confirm({
  408. title: '提示',
  409. content: '删除后不可恢复,确定要进行删除吗?',
  410. centered: true,
  411. onOk () {
  412. _this.spinning = true
  413. storeCallOutDetailDel({ id: row.id }).then(res => {
  414. if (res.status == 200) {
  415. _this.$message.success(res.message)
  416. _this.$refs.table.refresh()
  417. _this.$refs.chooseTable.refresh()
  418. _this.spinning = false
  419. } else {
  420. _this.spinning = false
  421. }
  422. })
  423. }
  424. })
  425. },
  426. // 提交
  427. handleSubmit () {
  428. const _this = this
  429. _this.spinning = true
  430. storeCallOutSubmit({ id: this.$route.params.id }).then(res => {
  431. if (res.status == 200) {
  432. this.$message.success(res.message)
  433. setTimeout(() => {
  434. _this.handleBack()
  435. _this.spinning = false
  436. }, 1000)
  437. } else {
  438. _this.spinning = false
  439. }
  440. })
  441. },
  442. // 合计
  443. getDetailCount (params) {
  444. storeCallOutDetailCount(params).then(res => {
  445. if (res.status == 200) {
  446. this.productTotal = res.data
  447. } else {
  448. this.productTotal = null
  449. }
  450. })
  451. },
  452. // 导入明细
  453. handleImport () {
  454. console.log(333)
  455. },
  456. // 返回列表
  457. handleBack () {
  458. this.$router.push({ path: '/allocationManagement/storeTransferOut/list', query: { closeLastOldTab: true } })
  459. },
  460. // 已选产品 调出数量 blur
  461. outQtyBlur (val, record) {
  462. // 光标移出,值发生改变再调用编辑接口
  463. if (val != record.outQtyBackups) {
  464. this.handleAdd(record, 'edit')
  465. }
  466. },
  467. // 产品分类 change
  468. changeProductType (val, opt) {
  469. this.queryParam.productTypeSn1 = val[0] ? val[0] : ''
  470. this.queryParam.productTypeSn2 = val[1] ? val[1] : ''
  471. this.queryParam.productTypeSn3 = val[2] ? val[2] : ''
  472. },
  473. // 产品品牌 列表
  474. getProductBrand () {
  475. // sysFlag不传,此处应查询所有产品
  476. dealerProductBrandQuery({}).then(res => {
  477. if (res.status == 200) {
  478. this.productBrandList = res.data
  479. } else {
  480. this.productBrandList = []
  481. }
  482. })
  483. },
  484. // 产品分类 列表
  485. getProductType () {
  486. dealerProductTypeList({}).then(res => {
  487. if (res.status == 200) {
  488. this.productTypeList = res.data
  489. } else {
  490. this.productTypeList = []
  491. }
  492. })
  493. },
  494. // 仓库下拉数据
  495. getWarehouseList (type) {
  496. warehouseAllList({}).then(res => {
  497. if (res.status == 200) {
  498. this.warehouseList = res.data
  499. } else {
  500. this.warehouseList = []
  501. }
  502. })
  503. },
  504. filterOption (input, option) {
  505. return (
  506. option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
  507. )
  508. },
  509. pageInit () {
  510. this.getDetail()
  511. this.getWarehouseList()
  512. this.getProductBrand()
  513. this.getProductType()
  514. if (!this.disabled) {
  515. this.resetSearchForm()
  516. }
  517. if (!this.chooseDisabled) {
  518. this.chooseResetSearchForm()
  519. }
  520. }
  521. },
  522. mounted () {
  523. this.pageInit()
  524. },
  525. beforeRouteEnter (to, from, next) {
  526. next(vm => {
  527. vm.pageInit()
  528. })
  529. }
  530. }
  531. </script>
  532. <style lang="less">
  533. .storeTransferOutEdit-wrap{
  534. position: relative;
  535. height: 100%;
  536. padding-bottom: 51px;
  537. box-sizing: border-box;
  538. .storeTransferOutEdit-back, .storeTransferOutEdit-cont{
  539. margin-bottom: 10px;
  540. }
  541. >.ant-spin-nested-loading{
  542. overflow-y: scroll;
  543. height: 100%;
  544. }
  545. }
  546. </style>