edit.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. <template>
  2. <div class="purchaseReturnEdit-wrap">
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <a-page-header :ghost="false" :backIcon="false" class="purchaseReturnEdit-back" >
  5. <!-- 自定义的二级文字标题 -->
  6. <template slot="subTitle">
  7. <a id="purchaseReturnEdit-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
  8. <a style="margin: 0 10px 0 20px;color: #666;font-size: 14px;font-weight: 600;">单号:{{ detailData&&detailData.purchaseReturnNo || '--' }}</a>
  9. <span style="margin: 0 15px;color: #666;" v-if="detailData">供应商名称:{{ detailData.returnTargetName || '--' }}</span>
  10. </template>
  11. <!-- 操作区,位于 title 行的行尾 -->
  12. <template slot="extra" v-if="$hasPermissions('B_PR_outSnycPrintAndExport')">
  13. <Print :disabled="dataSource.length==0" @handlePrint="handlePrint"></Print>
  14. </template>
  15. </a-page-header>
  16. <!-- 选择产品 -->
  17. <div class="purchaseReturnEdit-cont">
  18. <a-collapse :activeKey="['1']">
  19. <a-collapse-panel key="1" header="选择产品">
  20. <!-- 筛选条件 -->
  21. <div class="table-page-search-wrapper">
  22. <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
  23. <a-row :gutter="15">
  24. <a-col :md="6" :sm="24">
  25. <a-form-item label="产品编码" prop="productCode">
  26. <a-input id="bulkReturnGoodsEdit-productCode" v-model.trim="queryParam.productCode" placeholder="请输入产品编码" allowClear />
  27. </a-form-item>
  28. </a-col>
  29. <a-col :md="6" :sm="24">
  30. <a-form-item label="产品名称" prop="productName">
  31. <a-input id="bulkReturnGoodsEdit-productName" v-model.trim="queryParam.productName" placeholder="请输入产品名称" allowClear />
  32. </a-form-item>
  33. </a-col>
  34. <a-col :md="6" :sm="24">
  35. <a-form-model-item label="仓库">
  36. <a-select
  37. placeholder="请选择仓库"
  38. id="bulkReturnGoodsEdit-warehouseSn"
  39. allowClear
  40. v-model="queryParam.warehouseSn"
  41. :showSearch="true"
  42. option-filter-prop="children"
  43. :filter-option="filterOption">
  44. <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
  45. </a-select>
  46. </a-form-model-item>
  47. </a-col>
  48. <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
  49. <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="bulkReturnGoodsEdit-refresh">查询</a-button>
  50. <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="bulkReturnGoodsEdit-reset">重置</a-button>
  51. </a-col>
  52. </a-row>
  53. </a-form>
  54. </div>
  55. <!-- 列表 -->
  56. <s-table
  57. class="sTable"
  58. ref="table"
  59. size="small"
  60. :rowKey="(record) => record.stockDetailSn"
  61. rowKeyName="stockDetailSn"
  62. :columns="columns"
  63. :data="loadData"
  64. :pageSize="10"
  65. :scroll="{ y: 149 }"
  66. bordered>
  67. <!-- 数量 -->
  68. <template slot="returnQty" slot-scope="text, record">
  69. <a-input-number
  70. size="small"
  71. :id="'purchaseReturnEdit-returnQty-'+record.id"
  72. v-model="record.returnQty"
  73. :precision="0"
  74. :min="1"
  75. :max="record.refundableQty"
  76. placeholder="请输入"
  77. style="width: 100%;" />
  78. </template>
  79. <!-- 单价 -->
  80. <template slot="returnPrice" slot-scope="text, record">
  81. <a-input-number
  82. size="small"
  83. :id="'purchaseReturnEdit-returnPrice-'+record.id"
  84. v-model="record.returnPrice"
  85. :precision="2"
  86. :min="0"
  87. :max="999999"
  88. placeholder="请输入"
  89. style="width: 100%;" />
  90. </template>
  91. <!-- 操作 -->
  92. <template slot="action" slot-scope="text, record">
  93. <span v-if="record.refundableQty==0">--</span>
  94. <a-button
  95. v-else
  96. size="small"
  97. type="link"
  98. class="button-primary"
  99. @click="handleAddNew(record)"
  100. :id="'purchaseReturnEdit-add-'+record.id"
  101. >添加</a-button>
  102. </template>
  103. </s-table>
  104. </a-collapse-panel>
  105. </a-collapse>
  106. </div>
  107. <!-- 已选产品 -->
  108. <div class="purchaseReturnEdit-cont">
  109. <a-collapse :activeKey="['1']">
  110. <a-collapse-panel key="1">
  111. <template slot="header">
  112. 已选产品
  113. <!-- <a-button
  114. size="small"
  115. type="primary"
  116. class="button-error"
  117. id="purchaseReturnEdit-delAll-btn"
  118. @click.stop="handleDel('', 'all')"
  119. style="margin-right: 10px;float: right;">清空列表</a-button> -->
  120. </template>
  121. <!-- 总计 -->
  122. <a-alert type="info" style="margin-bottom:10px">
  123. <div slot="message">
  124. 总款数<strong>{{ (detailData&&(detailData.totalCategory || detailData.totalCategory==0)) ? detailData.totalCategory : '--' }}</strong> ,
  125. 总数量<strong>{{ (detailData&&(detailData.totalQty || detailData.totalQty==0)) ? detailData.totalQty : '--' }}</strong> ,
  126. 总金额<strong>{{ (detailData&&(detailData.totalAmount || detailData.totalAmount==0)) ? toThousands(detailData.totalAmount,2) : '--' }}</strong>
  127. </div>
  128. </a-alert>
  129. <!-- 筛选条件 -->
  130. <a-row :gutter="15" justify="space-between">
  131. <a-col :span="17">
  132. <div class="table-page-search-wrapper">
  133. <a-form layout="inline" @keyup.enter.native="$refs.chooseTable.refresh(true)">
  134. <a-row :gutter="15">
  135. <a-col :md="9" :sm="24">
  136. <a-form-item label="产品编码" prop="productCode">
  137. <a-input id="bulkReturnGoodsEdit-productCode" v-model.trim="chooseQueryParam.productCode" placeholder="请输入产品编码" allowClear />
  138. </a-form-item>
  139. </a-col>
  140. <a-col :md="9" :sm="24">
  141. <a-form-item label="产品名称" prop="productName">
  142. <a-input id="bulkReturnGoodsEdit-productName" v-model.trim="chooseQueryParam.productName" placeholder="请输入产品名称" allowClear />
  143. </a-form-item>
  144. </a-col>
  145. <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
  146. <a-button type="primary" @click="$refs.chooseTable.refresh(true)" :disabled="chooseDisabled" id="bulkReturnGoodsEdit-refresh">查询</a-button>
  147. <a-button style="margin-left: 8px" @click="chooseResetSearchForm" :disabled="chooseDisabled" id="bulkReturnGoodsEdit-reset">重置</a-button>
  148. </a-col>
  149. </a-row>
  150. </a-form>
  151. </div>
  152. </a-col>
  153. <a-col :span="7" style="text-align: right;"></a-col>
  154. </a-row>
  155. <!-- 列表 -->
  156. <s-table
  157. class="sTable"
  158. ref="chooseTable"
  159. size="small"
  160. :rowKey="(record) => record.id"
  161. :columns="chooseColumns"
  162. :data="chooseLoadData"
  163. :defaultLoadData="false"
  164. :pageSize="10"
  165. :scroll="{ y: 149 }"
  166. bordered>
  167. <!-- 退货数量 -->
  168. <template slot="qty" slot-scope="text, record">
  169. <a-input-number
  170. size="small"
  171. :id="'bulkReturnGoodsEdit-qty-'+record.id"
  172. v-model="record.qty"
  173. :precision="0"
  174. :min="1"
  175. placeholder="请输入"
  176. @blur="e => qtyBlur(e.target.value, record)"
  177. style="width: 100%;" />
  178. </template>
  179. <!-- 退货单价 -->
  180. <template slot="price" slot-scope="text, record">
  181. <a-input-number
  182. size="small"
  183. :id="'bulkReturnGoodsEdit-cost-'+record.id"
  184. v-model="record.cost"
  185. :precision="2"
  186. :min="0"
  187. :max="999999"
  188. placeholder="请输入"
  189. @blur="e => costBlur(e.target.value, record)"
  190. style="width: 100%;" />
  191. </template>
  192. <!-- 退货金额合计 amount-->
  193. <template slot="amount" slot-scope="text, record">
  194. {{ toThousands(record.cost * record.qty,2) }}
  195. </template>
  196. <!-- 操作 -->
  197. <template slot="action" slot-scope="text, record">
  198. <a-button :id="'bulkReturnGoodsEdit-del-'+record.id" size="small" type="link" class="button-error" @click="handleDel(record)">删除</a-button>
  199. </template>
  200. </s-table>
  201. </a-collapse-panel>
  202. </a-collapse>
  203. </div>
  204. </a-spin>
  205. <a-card size="small" :bordered="false" class="affix-cont">
  206. <a-button
  207. type="primary"
  208. id="purchaseReturnEdit-submit"
  209. size="large"
  210. :disabled="spinning"
  211. class="button-primary"
  212. @click="handleSubmit"
  213. style="padding: 0 60px;">提交</a-button>
  214. </a-card>
  215. </div>
  216. </template>
  217. <script>
  218. import { commonMixin } from '@/utils/mixin'
  219. import { STable, VSelect } from '@/components'
  220. import Print from '@/views/common/print.vue'
  221. import { hdPrint } from '@/libs/JGPrint'
  222. import { stockDetailProductList } from '@/api/sparePartsRet'
  223. import { warehouseAllList } from '@/api/warehouse'
  224. import {
  225. purchaseReturnDetailList,
  226. purchaseReturnDetailSave,
  227. purchaseReturnDetailDel,
  228. purchaseReturnSubmit,
  229. purchaseReturnDelAll,
  230. purchaseReturnDetailPrint,
  231. purchaseReturnDetailExport,
  232. purchaseReturnDetailSn } from '@/api/purchaseReturn'
  233. export default {
  234. name: 'PurchaseReturnEdit',
  235. components: { STable, VSelect, Print },
  236. mixins: [commonMixin],
  237. data () {
  238. return {
  239. spinning: false,
  240. detailData: null,
  241. queryParam: {
  242. purchaseBillNo: '', // 采购单号
  243. productCode: '', // 产品编码
  244. productName: '' // 产品名称
  245. },
  246. dataSource: [], // 列表数据
  247. disabled: false, // 查询、重置按钮是否可操作
  248. advanced: false, // 高级搜索 展开/关闭
  249. // 表头
  250. columns: [
  251. { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
  252. { title: '产品编码', dataIndex: 'productCode', width: '19%', align: 'center', customRender: function (text) { return text || '--' } },
  253. { title: '产品名称', dataIndex: 'productName', width: '19%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
  254. { title: '仓库', dataIndex: 'warehouseName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
  255. { title: '仓位', dataIndex: 'warehouseLocationName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
  256. { title: '库存数量', dataIndex: 'currentQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  257. { title: '单位', dataIndex: 'unit', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
  258. { title: '退货单价', scopedSlots: { customRender: 'returnPrice' }, width: '8%', align: 'center' },
  259. { title: '退货数量', scopedSlots: { customRender: 'returnQty' }, width: '8%', align: 'center' },
  260. { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
  261. ],
  262. // 加载数据方法 必须为 Promise 对象
  263. loadData: parameter => {
  264. this.disabled = true
  265. return stockDetailProductList(Object.assign(parameter, this.queryParam)).then(res => {
  266. const data = res.data
  267. const no = (data.pageNo - 1) * data.pageSize
  268. for (var i = 0; i < data.list.length; i++) {
  269. data.list[i].no = no + i + 1
  270. }
  271. this.disabled = false
  272. return data
  273. })
  274. },
  275. // 表头
  276. chooseColumns: [
  277. { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
  278. { title: '产品编码', dataIndex: 'dealerProductEntity.code', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
  279. { title: '产品名称', dataIndex: 'dealerProductEntity.name', width: '17%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
  280. { title: '仓库', dataIndex: 'warehouseName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
  281. { title: '仓位', dataIndex: 'warehouseLocationName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
  282. { title: '单位', dataIndex: 'dealerProductEntity.unit', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
  283. { title: '退货单价', scopedSlots: { customRender: 'price' }, width: '10%', align: 'center' },
  284. { title: '退货数量', scopedSlots: { customRender: 'qty' }, width: '10%', align: 'center' },
  285. { title: '退货金额', scopedSlots: { customRender: 'amount' }, width: '6%', align: 'center' },
  286. { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
  287. ],
  288. chooseDisabled: false, // 禁用按钮
  289. chooseQueryParam: {
  290. productCode: '', // 产品编码
  291. productName: '' // 产品名称
  292. },
  293. // 加载数据方法 必须为 Promise 对象
  294. chooseLoadData: parameter => {
  295. return purchaseReturnDetailList(Object.assign(parameter,
  296. this.chooseQueryParam,
  297. {
  298. purchaseReturnSn: this.$route.params.sn,
  299. orderBy: 'qpls_purchase_return_bill_detail.CREATE_DATE desc'
  300. })).then(res => {
  301. const data = res.data
  302. const no = (data.pageNo - 1) * data.pageSize
  303. for (var i = 0; i < data.list.length; i++) {
  304. data.list[i].no = no + i + 1
  305. data.list[i].qtyBackups = data.list[i].qty
  306. data.list[i].costBackups = data.list[i].cost
  307. // data.list[i].refundableQty = data.list[i].purchaseBillRefundableQty + data.list[i].qty
  308. }
  309. this.dataSource = data.list
  310. return data
  311. })
  312. },
  313. warehouseList: [] // 仓库列表
  314. }
  315. },
  316. methods: {
  317. // 打印预览/快捷打印
  318. handlePrint (type, printerType) {
  319. const _this = this
  320. _this.spinning = true
  321. let url = purchaseReturnDetailPrint
  322. const params = { sn: this.$route.params.sn }
  323. params.showFlag = this.$hasPermissions('M_ShowAllCost') ? 1 : 0
  324. if (type == 'export') { // 导出
  325. url = purchaseReturnDetailExport
  326. }
  327. // 打印或导出
  328. hdPrint(printerType, type, url, params, '采购退货单', function () {
  329. _this.spinning = false
  330. })
  331. },
  332. // 重置列表
  333. resetSearchForm () {
  334. this.queryParam.productCode = ''
  335. this.queryParam.productName = ''
  336. this.queryParam.warehouseSn = undefined
  337. this.$refs.table.refresh(true)
  338. },
  339. // 已选产品 重置
  340. chooseResetSearchForm () {
  341. this.chooseQueryParam.productCode = ''
  342. this.chooseQueryParam.productName = ''
  343. this.$refs.chooseTable.refresh(true)
  344. },
  345. // 添加
  346. handleAddNew (record) {
  347. const _this = this
  348. if (record.returnQty === null || record.returnQty === undefined || Number(record.returnQty).toString().trim().length === 0) {
  349. this.$message.warning('请输入退货数量')
  350. return
  351. }
  352. if (record.returnPrice === '' || record.returnPrice === null || record.returnPrice === undefined || Number(record.returnPrice).toString().trim().length === 0) {
  353. this.$message.warning('请输入退货价格')
  354. return
  355. }
  356. if (record.returnPrice === 0) {
  357. this.$confirm({
  358. title: '提示',
  359. content: '退货单价为0,确定添加?',
  360. centered: true,
  361. onOk () {
  362. _this.handleAdd(record)
  363. },
  364. onCancel () {
  365. record.returnPrice = ''
  366. }
  367. })
  368. } else {
  369. _this.handleAdd(record)
  370. }
  371. },
  372. // 添加/编辑
  373. handleAdd (row, isEdit) {
  374. const params = {
  375. id: isEdit ? row.id : undefined,
  376. purchaseReturnSn: this.$route.params.sn,
  377. purchaseReturnDetailSn: row.purchaseReturnDetailSn,
  378. qty: isEdit ? row.qty : row.returnQty, // 退货数量
  379. productSn: row.productSn,
  380. productCode: row.productCode,
  381. productOrigCode: row.productOrigCode,
  382. productTypeSn1: row.productTypeSn1,
  383. productTypeSn2: row.productTypeSn2,
  384. productTypeSn3: row.productTypeSn3,
  385. brandSn: row.brandSn,
  386. warehouseLocationSn: row.warehouseLocationSn,
  387. warehouseSn: row.warehouseSn,
  388. productExpiryDate: row.productExpiryDate,
  389. cost: isEdit ? row.cost : row.returnPrice,
  390. remarks: row.remarks,
  391. promotionFlag: row.promotionFlag
  392. }
  393. this.spinning = true
  394. purchaseReturnDetailSave(params).then(res => {
  395. if (res.status == 200) {
  396. this.$message.success(res.message)
  397. this.getDetail(true, !isEdit)
  398. this.$refs.chooseTable.refresh()
  399. this.spinning = false
  400. } else {
  401. this.spinning = false
  402. row.qty = row.qtyBackups
  403. }
  404. })
  405. },
  406. // 导入明细
  407. handleImport () {},
  408. // 删除
  409. handleDel (row, isAll) {
  410. const _this = this
  411. const content = isAll ? '删除后不可恢复,确定要清空列表吗?' : '删除后不可恢复,确定要进行删除吗?'
  412. this.$confirm({
  413. title: '提示',
  414. content: content,
  415. centered: true,
  416. onOk () {
  417. if (isAll) { // 清空列表
  418. _this.spinning = true
  419. purchaseReturnDelAll({ purchaseReturnSn: _this.$route.params.sn }).then(res => {
  420. if (res.status == 200) {
  421. _this.$message.success(res.message)
  422. _this.getDetail(true, false)
  423. _this.$refs.chooseTable.refresh()
  424. _this.spinning = false
  425. } else {
  426. _this.spinning = false
  427. }
  428. })
  429. } else { // 单个删除
  430. _this.spinning = true
  431. purchaseReturnDetailDel({ id: row.id }).then(res => {
  432. if (res.status == 200) {
  433. _this.$message.success(res.message)
  434. _this.getDetail(true, false)
  435. _this.$refs.chooseTable.refresh()
  436. _this.spinning = false
  437. } else {
  438. _this.spinning = false
  439. }
  440. })
  441. }
  442. }
  443. })
  444. },
  445. // 提交
  446. handleSubmit () {
  447. const _this = this
  448. _this.spinning = true
  449. purchaseReturnSubmit({ id: this.detailData.id }).then(res => {
  450. if (res.status == 200) {
  451. this.$message.success(res.message)
  452. setTimeout(() => {
  453. _this.handleBack()
  454. _this.spinning = false
  455. }, 1000)
  456. } else {
  457. _this.spinning = false
  458. }
  459. })
  460. },
  461. // 返回列表
  462. handleBack () {
  463. this.$router.push({ name: 'purchaseReturnOutSyncList' })
  464. },
  465. // 已选产品 退货数量 blur
  466. qtyBlur (val, record) {
  467. if (val === '') {
  468. record.qty = record.qtyBackups
  469. return
  470. }
  471. // 光标移出,值发生改变再调用编辑接口
  472. if (val != record.qtyBackups) {
  473. this.handleAdd(record, 'edit')
  474. }
  475. },
  476. // 已选产品 退货单价 blur
  477. costBlur (val, record) {
  478. const _this = this
  479. if (val === '') {
  480. record.cost = record.costBackups
  481. return
  482. }
  483. if (Number(val) !== record.costBackups) {
  484. if (Number(val) === 0) {
  485. this.$confirm({
  486. title: '提示',
  487. content: '确定将退货单价修改为0?',
  488. centered: true,
  489. onOk () {
  490. _this.handleAdd(record, 'edit')
  491. },
  492. onCancel () {
  493. record.cost = record.costBackups
  494. }
  495. })
  496. } else {
  497. _this.handleAdd(record, 'edit')
  498. }
  499. }
  500. },
  501. // 仓库
  502. getWarehouse () {
  503. warehouseAllList({}).then(res => {
  504. if (res.status == 200) {
  505. this.warehouseList = res.data
  506. } else {
  507. this.warehouseList = []
  508. }
  509. })
  510. },
  511. // 供应商名称筛选
  512. filterOption (input, option) {
  513. return (
  514. option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
  515. )
  516. },
  517. // 获取详情
  518. getDetail (type, refresh) {
  519. purchaseReturnDetailSn({ sn: this.$route.params.sn }).then(res => {
  520. this.detailData = res.data || null
  521. if (!type) {
  522. this.resetSearchForm()
  523. } else {
  524. if (!refresh) {
  525. this.$refs.table.refresh(true)
  526. }
  527. }
  528. })
  529. },
  530. // 初始化页面
  531. pageInit () {
  532. this.getWarehouse()
  533. this.getDetail(true, true)
  534. this.$refs.chooseTable.refresh(true)
  535. }
  536. },
  537. mounted () {
  538. if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
  539. this.pageInit()
  540. }
  541. },
  542. activated () {
  543. // 如果是新页签打开或者进入新的子页(例:存在列表第2条数据编辑页页签时再打开第4条数据的编辑页),则重置当前页面
  544. if (this.$store.state.app.isNewTab || !this.$store.state.app.isNewSubTab) {
  545. this.pageInit()
  546. }
  547. },
  548. beforeRouteEnter (to, from, next) {
  549. next(vm => {})
  550. }
  551. }
  552. </script>
  553. <style lang="less">
  554. .purchaseReturnEdit-wrap{
  555. position: relative;
  556. height: 100%;
  557. padding-bottom: 75px;
  558. box-sizing: border-box;
  559. >.ant-spin-nested-loading{
  560. overflow-y: auto;
  561. height: 100%;
  562. }
  563. .purchaseReturnEdit-back, .purchaseReturnEdit-cont{
  564. margin-bottom: 6px;
  565. }
  566. }
  567. </style>