edit.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. <template>
  2. <div class="chainTransferOutEdit-wrap">
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <a-page-header :ghost="false" :backIcon="false" class="chainTransferOutEdit-back" >
  5. <!-- 自定义的二级文字标题 -->
  6. <template slot="subTitle">
  7. <a id="chainTransferOutEdit-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
  8. <span style="margin: 0 15px;color: #666;">调往对象:{{ (basicInfoData&&basicInfoData.putTenantName) || '--' }}</span>
  9. </template>
  10. <!-- 操作区,位于 title 行的行尾 -->
  11. <template slot="extra" v-if="$hasPermissions('B_allocLinkageOutPrint')">
  12. <Print :disabled="localDataSource.length==0" :showExport="false" @handlePrint="handlePrint"></Print>
  13. </template>
  14. </a-page-header>
  15. <!-- 选择产品 -->
  16. <div class="chainTransferOutEdit-cont">
  17. <a-collapse :activeKey="['1']">
  18. <a-collapse-panel key="1" header="选择产品">
  19. <!-- 筛选条件 -->
  20. <div class="table-page-search-wrapper">
  21. <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
  22. <a-row :gutter="15">
  23. <a-col :md="6" :sm="24">
  24. <a-form-item label="产品编码" prop="productCode">
  25. <a-input id="chainTransferOutEdit-productCode" v-model.trim="queryParam.productCode" placeholder="请输入产品编码" allowClear />
  26. </a-form-item>
  27. </a-col>
  28. <a-col :md="6" :sm="24">
  29. <a-form-item label="产品名称" prop="productName">
  30. <a-input id="chainTransferOutEdit-productName" v-model.trim="queryParam.productName" placeholder="请输入产品名称" allowClear />
  31. </a-form-item>
  32. </a-col>
  33. <a-col :md="6" :sm="24">
  34. <a-form-item label="原厂编码" prop="productOrigCode">
  35. <a-input id="chainTransferOutEdit-productOrigCode" v-model.trim="queryParam.productOrigCode" placeholder="请输入原厂编码" allowClear />
  36. </a-form-item>
  37. </a-col>
  38. <template v-if="advanced">
  39. <a-col :md="6" :sm="24">
  40. <a-form-model-item label="产品品牌">
  41. <ProductBrand id="chainTransferOutEdit-brandSn" placeholder="请选择产品品牌" v-model="queryParam.brandSn"></ProductBrand>
  42. </a-form-model-item>
  43. </a-col>
  44. <a-col :md="6" :sm="24">
  45. <a-form-model-item label="产品分类">
  46. <ProductType id="chainTransferOutEdit-productType" placeholder="请选择产品分类" :isDealer="true" @change="changeProductType" v-model="productType"></ProductType>
  47. </a-form-model-item>
  48. </a-col>
  49. <a-col :md="6" :sm="24">
  50. <a-form-item label="仓库">
  51. <a-select id="chainTransferOutEdit-warehouseSn" allowClear placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
  52. <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
  53. </a-select>
  54. </a-form-item>
  55. </a-col>
  56. </template>
  57. <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
  58. <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="chainTransferOutEdit-refresh">查询</a-button>
  59. <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="chainTransferOutEdit-reset">重置</a-button>
  60. <a @click="advanced=!advanced" style="margin-left: 8px">
  61. {{ advanced ? '收起' : '展开' }}
  62. <a-icon :type="advanced ? 'up' : 'down'"/>
  63. </a>
  64. </a-col>
  65. </a-row>
  66. </a-form>
  67. </div>
  68. <!-- 列表 -->
  69. <s-table
  70. class="sTable"
  71. ref="table"
  72. size="small"
  73. :rowKey="(record) => record.stockDetailSn"
  74. rowKeyName="stockDetailSn"
  75. :columns="columns"
  76. @dblclick="handleClickRow"
  77. :data="loadData"
  78. :defaultLoadData="false"
  79. :scroll="{ y: 200 }"
  80. bordered>
  81. <!-- 调出数量 -->
  82. <template slot="outQty" slot-scope="text, record">
  83. <div @dblclick.stop>
  84. <a-input-number
  85. size="small"
  86. id="chainTransferOutEdit-outQty"
  87. v-model="record.outQty"
  88. :precision="0"
  89. :min="1"
  90. :max="record.currentQty"
  91. placeholder="请输入"
  92. style="width: 100%;" />
  93. </div>
  94. </template>
  95. <!-- 操作 -->
  96. <template slot="action" slot-scope="text, record">
  97. <a-button size="small" type="link" class="button-primary" @click="handleAdd(record)" id="chainTransferOutEdit-add-btn">添加</a-button>
  98. </template>
  99. </s-table>
  100. </a-collapse-panel>
  101. </a-collapse>
  102. </div>
  103. <!-- 已选产品 -->
  104. <div class="chainTransferOutEdit-cont">
  105. <a-collapse :activeKey="['1']">
  106. <a-collapse-panel key="1" header="已选产品">
  107. <!-- 总计 -->
  108. <a-alert type="info" style="margin-bottom:10px">
  109. <div slot="message">
  110. 总款数 <strong>{{ (productTotal&&(productTotal.productTotalCategory || productTotal.productTotalCategory==0)) ? productTotal.productTotalCategory : '--' }}</strong> ,
  111. 总数量 <strong>{{ (productTotal&&(productTotal.productTotalQty || productTotal.productTotalQty==0)) ? productTotal.productTotalQty : '--' }}</strong>
  112. <div style="display: inline-block;" v-if="$hasPermissions('M_ShowAllCost')">
  113. ,总成本 <strong>{{ (productTotal&&(productTotal.productTotalCost || productTotal.productTotalCost==0)) ? toThousands(productTotal.productTotalCost,2) : '--' }}</strong>
  114. </div>
  115. </div>
  116. </a-alert>
  117. <!-- 筛选条件 -->
  118. <a-row :gutter="15" justify="space-between">
  119. <a-col :span="17">
  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="9" :sm="24">
  124. <a-form-item label="产品编码" prop="productCode">
  125. <a-input id="chainTransferOutEdit-productCode" v-model.trim="chooseQueryParam.productCode" placeholder="请输入产品编码" allowClear />
  126. </a-form-item>
  127. </a-col>
  128. <a-col :md="9" :sm="24">
  129. <a-form-item label="产品名称" prop="productName">
  130. <a-input id="chainTransferOutEdit-productName" v-model.trim="chooseQueryParam.productName" placeholder="请输入产品名称" allowClear />
  131. </a-form-item>
  132. </a-col>
  133. <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
  134. <a-button type="primary" @click="$refs.chooseTable.refresh(true)" :disabled="chooseDisabled" id="chainTransferOutList-refresh">查询</a-button>
  135. <a-button style="margin-left: 8px" @click="chooseResetSearchForm" :disabled="chooseDisabled" id="chainTransferOutList-reset">重置</a-button>
  136. </a-col>
  137. </a-row>
  138. </a-form>
  139. </div>
  140. </a-col>
  141. <a-col :span="7" style="text-align: right;">
  142. <!-- <a-button size="small" style="margin-left: 8px" id="chainTransferOutEdit-import-btn">导入明细</a-button> -->
  143. <a-button size="small" type="danger" style="margin-left: 8px" @click.stop="handleDel('', 'all')" id="chainTransferOutEdit-del-all-btn">整单删除</a-button>
  144. </a-col>
  145. </a-row>
  146. <!-- 列表 -->
  147. <s-table
  148. class="sTable"
  149. ref="chooseTable"
  150. size="small"
  151. :rowKey="(record) => record.id"
  152. :columns="chooseColumns"
  153. :data="chooseLoadData"
  154. :defaultLoadData="false"
  155. :scroll="{ y: 300 }"
  156. bordered>
  157. <!-- 操作 -->
  158. <template slot="action" slot-scope="text, record">
  159. <a-button size="small" type="link" class="button-error" @click="handleDel(record)" id="chainTransferOutEdit-del-btn">删除</a-button>
  160. </template>
  161. </s-table>
  162. </a-collapse-panel>
  163. </a-collapse>
  164. </div>
  165. </a-spin>
  166. <div class="affix-cont">
  167. <a-button
  168. type="primary"
  169. id="chainTransferOutEdit-submit"
  170. size="large"
  171. :disabled="spinning"
  172. class="button-primary"
  173. @click="handleSubmit"
  174. style="padding: 0 60px;">提交</a-button>
  175. </div>
  176. </div>
  177. </template>
  178. <script>
  179. import { commonMixin } from '@/utils/mixin'
  180. import { STable, VSelect } from '@/components'
  181. import { getOperationalPrecision } from '@/libs/tools.js'
  182. import { allocLinkageOutDetailSn, allocLinkageOutDetailList, allocLinkageOutDetailSave, allocLinkageOutDetailDel, allocLinkageOutDetailCount, allocLinkageOutSubmit, allocLinkageOutDetailDelAll, allocLinkageOutDetailPrint } from '@/api/allocLinkageOut'
  183. import { productQuery } from '@/api/allocWarehouse'
  184. import ProductType from '../../common/productType.js'
  185. import ProductBrand from '../../common/productBrand.js'
  186. import { warehouseAllList } from '@/api/warehouse'
  187. import Print from '@/views/common/print.vue'
  188. import { hdPrint } from '@/libs/JGPrint'
  189. export default {
  190. name: 'AllocLinkageOutEdit',
  191. components: { STable, VSelect, Print, ProductType, ProductBrand },
  192. mixins: [commonMixin],
  193. data () {
  194. return {
  195. spinning: false,
  196. queryParam: {
  197. productCode: '',
  198. productName: '',
  199. productOrigCode: '',
  200. warehouseSn: undefined,
  201. brandSn: undefined,
  202. productTypeSn1: undefined,
  203. productTypeSn2: undefined,
  204. productTypeSn3: undefined
  205. },
  206. productType: [],
  207. warehouseList: [], // 仓库 下拉数据
  208. disabled: false, // 查询、重置按钮是否可操作
  209. chooseDisabled: false,
  210. advanced: false, // 高级搜索 展开/关闭
  211. // 加载数据方法 必须为 Promise 对象
  212. loadData: parameter => {
  213. this.disabled = true
  214. // 箭冠品牌 sysFlag传1,非箭冠品牌传0。与新增时所选调出产品类型有关
  215. this.queryParam.sysFlag = this.basicInfoData.allocationType == 'JIANGUAN' ? '1' : '0'
  216. const params = Object.assign(parameter, this.queryParam)
  217. return productQuery(params).then(res => {
  218. const data = res.data
  219. const no = (data.pageNo - 1) * data.pageSize
  220. for (var i = 0; i < data.list.length; i++) {
  221. data.list[i].no = no + i + 1
  222. }
  223. this.disabled = false
  224. return data
  225. })
  226. },
  227. chooseQueryParam: {
  228. productCode: '',
  229. productName: ''
  230. },
  231. // 加载数据方法 必须为 Promise 对象
  232. chooseLoadData: parameter => {
  233. this.chooseDisabled = true
  234. const params = Object.assign(parameter, this.chooseQueryParam, { allocationLinkageOutSn: this.$route.params.sn })
  235. return allocLinkageOutDetailList(params).then(res => {
  236. const data = res.data
  237. const no = (data.pageNo - 1) * data.pageSize
  238. for (var i = 0; i < data.list.length; i++) {
  239. data.list[i].no = no + i + 1
  240. // 成本小计 由于数据库内小数位数为4位,页面则需显示2位。因此会做小数运算精度处理
  241. data.list[i].costSubtotal = getOperationalPrecision(data.list[i].outCost, data.list[i].outQty)
  242. }
  243. this.chooseDisabled = false
  244. this.getDetailCount(params)
  245. this.localDataSource = data.list
  246. return data
  247. })
  248. },
  249. basicInfoData: null, // 基本信息
  250. productTotal: null, // 合计
  251. localDataSource: []
  252. }
  253. },
  254. computed: {
  255. columns () {
  256. const _this = this
  257. const arr = [
  258. { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
  259. { title: '产品编码', dataIndex: 'productCode', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
  260. { title: '产品名称', dataIndex: 'productName', width: '13%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
  261. { title: '原厂编码', dataIndex: 'productOrigCode', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
  262. { title: '品牌', dataIndex: 'brandName', width: '9%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  263. { title: '仓库', dataIndex: 'warehouseName', width: '9%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  264. { title: '仓位', dataIndex: 'warehouseLocationName', width: '9%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  265. // { title: '成本价', dataIndex: 'putCost', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  266. { title: '库存数量', dataIndex: 'currentQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  267. { title: '单位', dataIndex: 'unit', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
  268. { title: '调出数量', scopedSlots: { customRender: 'outQty' }, width: '8%', align: 'center' },
  269. { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
  270. ]
  271. if (this.$hasPermissions('M_ShowAllCost')) {
  272. arr.splice(7, 0, { title: '成本价', dataIndex: 'putCost', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text, 2) : '--') } })
  273. }
  274. return arr
  275. },
  276. chooseColumns () {
  277. const _this = this
  278. const arr = [
  279. { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
  280. { title: '产品编码', dataIndex: 'dealerProductEntity.code', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
  281. { title: '产品名称', dataIndex: 'dealerProductEntity.name', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
  282. { title: '原厂编码', dataIndex: 'dealerProductEntity.origCode', width: '9%', align: 'center', customRender: function (text) { return text || '--' } },
  283. { title: '品牌', dataIndex: 'dealerProductEntity.productBrandName', width: '9%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  284. { title: '仓库', dataIndex: 'warehouseName', width: '9%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  285. { title: '仓位', dataIndex: 'warehouseLocationName', width: '9%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  286. { title: '单位', dataIndex: 'dealerProductEntity.unit', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
  287. // { title: '成本价', dataIndex: 'outCost', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  288. { title: '调出数量', dataIndex: 'outQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  289. // { title: '成本小计', dataIndex: 'costSubtotal', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  290. { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
  291. ]
  292. if (this.$hasPermissions('M_ShowAllCost')) {
  293. arr.splice(8, 0, { title: '成本价', dataIndex: 'outCost', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text, 2) : '--') } })
  294. arr.splice(10, 0, { title: '成本小计', dataIndex: 'costSubtotal', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text, 2) : '--') } })
  295. }
  296. return arr
  297. }
  298. },
  299. methods: {
  300. // 重置
  301. resetSearchForm () {
  302. this.resetData()
  303. this.$refs.table.refresh(true)
  304. },
  305. resetData () {
  306. this.queryParam.productCode = ''
  307. this.queryParam.productName = ''
  308. this.queryParam.productOrigCode = ''
  309. this.queryParam.warehouseSn = undefined
  310. this.queryParam.brandSn = undefined
  311. this.queryParam.productTypeSn1 = undefined
  312. this.queryParam.productTypeSn2 = undefined
  313. this.queryParam.productTypeSn3 = undefined
  314. this.productType = []
  315. },
  316. // 已选产品 重置
  317. chooseResetSearchForm () {
  318. this.chooseQueryParam.productCode = ''
  319. this.chooseQueryParam.productName = ''
  320. this.$refs.chooseTable.refresh(true)
  321. },
  322. // 双击快速添加
  323. handleClickRow (record) {
  324. this.handleAdd(record)
  325. },
  326. // 基本信息
  327. getDetail () {
  328. allocLinkageOutDetailSn({ sn: this.$route.params.sn }).then(res => {
  329. if (res.status == 200) {
  330. this.basicInfoData = res.data
  331. this.$refs.table.refresh(true)
  332. } else {
  333. this.basicInfoData = null
  334. }
  335. })
  336. },
  337. // 添加/编辑
  338. handleAdd (row, isEdit) {
  339. if (!isEdit && !row.outQty) {
  340. this.$message.warning('请输入调出数量后再添加!')
  341. return
  342. }
  343. const params = {
  344. id: isEdit ? row.id : undefined,
  345. allocationLinkageOutSn: this.$route.params.sn,
  346. outCost: isEdit ? row.outCost : row.putCost,
  347. outQty: row.outQty,
  348. productSn: row.productSn,
  349. productProduceDate: row.productProduceDate,
  350. productExpiryDate: row.productExpiryDate,
  351. warehouseSn: row.warehouseSn,
  352. warehouseLocationSn: row.warehouseLocationSn
  353. }
  354. this.spinning = true
  355. allocLinkageOutDetailSave(params).then(res => {
  356. if (res.status == 200) {
  357. this.$message.success(res.message)
  358. if (isEdit) {
  359. this.$refs.table.refresh()
  360. }
  361. this.$refs.chooseTable.refresh()
  362. this.spinning = false
  363. } else {
  364. this.spinning = false
  365. }
  366. })
  367. },
  368. // 删除
  369. handleDel (row, isAll) {
  370. const _this = this
  371. const content = isAll ? '删除后不可恢复,确定要进行整单删除吗?' : '删除后不可恢复,确定要进行删除吗?'
  372. this.$confirm({
  373. title: '提示',
  374. content: content,
  375. centered: true,
  376. onOk () {
  377. if (isAll) { // 整单删除
  378. _this.spinning = true
  379. allocLinkageOutDetailDelAll({ sn: _this.$route.params.sn }).then(res => {
  380. if (res.status == 200) {
  381. _this.$message.success(res.message)
  382. _this.$refs.table.refresh()
  383. _this.$refs.chooseTable.refresh()
  384. _this.spinning = false
  385. } else {
  386. _this.spinning = false
  387. }
  388. })
  389. } else { // 单个删除
  390. _this.spinning = true
  391. allocLinkageOutDetailDel({ id: row.id }).then(res => {
  392. if (res.status == 200) {
  393. _this.$message.success(res.message)
  394. _this.$refs.table.refresh()
  395. _this.$refs.chooseTable.refresh()
  396. _this.spinning = false
  397. } else {
  398. _this.spinning = false
  399. }
  400. })
  401. }
  402. }
  403. })
  404. },
  405. // 提交
  406. handleSubmit () {
  407. const _this = this
  408. _this.spinning = true
  409. allocLinkageOutSubmit({ sn: this.$route.params.sn }).then(res => {
  410. if (res.status == 200) {
  411. this.$message.success(res.message)
  412. setTimeout(() => {
  413. _this.handleBack()
  414. _this.spinning = false
  415. }, 1000)
  416. } else {
  417. _this.spinning = false
  418. }
  419. })
  420. },
  421. // 返回列表
  422. handleBack () {
  423. this.$router.push({ path: '/allocationManagement/chainTransferOut/list' })
  424. },
  425. filterOption (input, option) {
  426. return (
  427. option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
  428. )
  429. },
  430. // 合计
  431. getDetailCount (params) {
  432. allocLinkageOutDetailCount(params).then(res => {
  433. if (res.status == 200) {
  434. this.productTotal = res.data
  435. } else {
  436. this.productTotal = null
  437. }
  438. })
  439. },
  440. // 产品分类 change
  441. changeProductType (val, opt) {
  442. this.queryParam.productTypeSn1 = val[0] ? val[0] : ''
  443. this.queryParam.productTypeSn2 = val[1] ? val[1] : ''
  444. this.queryParam.productTypeSn3 = val[2] ? val[2] : ''
  445. },
  446. // 仓库下拉数据
  447. getWarehouseList (type) {
  448. warehouseAllList({}).then(res => {
  449. if (res.status == 200) {
  450. this.warehouseList = res.data
  451. } else {
  452. this.warehouseList = []
  453. }
  454. })
  455. },
  456. // 打印预览/快捷打印
  457. handlePrint (type, printerType) {
  458. const _this = this
  459. _this.spinning = true
  460. const url = allocLinkageOutDetailPrint
  461. const params = { sn: this.$route.params.sn, type: printerType, showFlag: this.$hasPermissions('M_ShowAllCost') ? 1 : 0 }
  462. // 打印或导出
  463. hdPrint(printerType, type, url, params, '连锁调出单', function () {
  464. _this.spinning = false
  465. })
  466. },
  467. pageInit () {
  468. this.resetData()
  469. this.chooseResetSearchForm()
  470. this.getDetail()
  471. this.getWarehouseList()
  472. }
  473. },
  474. mounted () {
  475. if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
  476. this.pageInit()
  477. }
  478. },
  479. activated () {
  480. // 如果是新页签打开或者进入新的子页(例:存在列表第2条数据编辑页页签时再打开第4条数据的编辑页),则重置当前页面
  481. if (this.$store.state.app.isNewTab || !this.$store.state.app.isNewSubTab) {
  482. this.pageInit()
  483. }
  484. },
  485. beforeRouteEnter (to, from, next) {
  486. next(vm => {})
  487. }
  488. }
  489. </script>
  490. <style lang="less">
  491. .chainTransferOutEdit-wrap{
  492. position: relative;
  493. height: 100%;
  494. padding-bottom: 51px;
  495. box-sizing: border-box;
  496. .chainTransferOutEdit-back, .chainTransferOutEdit-cont{
  497. margin-bottom: 10px;
  498. }
  499. >.ant-spin-nested-loading{
  500. overflow-y: auto;
  501. height: 100%;
  502. }
  503. }
  504. </style>