edit.vue 23 KB

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