paytradeorder.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * Copyright (c) 2018-2025, lengleng All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the pig4cloud.com developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: lengleng (wangiegie@gmail.com)
  16. */
  17. export const tableOption = {
  18. border: true,
  19. index: true,
  20. indexLabel: '序号',
  21. stripe: true,
  22. menuAlign: 'center',
  23. align: 'center',
  24. searchShow: false,
  25. column: [
  26. {
  27. label: '订单号',
  28. prop: 'orderId',
  29. overHidden: true,
  30. width: 150
  31. },
  32. {
  33. label: '渠道ID',
  34. prop: 'channelId',
  35. width: 120
  36. },
  37. {
  38. label: '渠道商户',
  39. prop: 'channelMchId',
  40. width: 120
  41. },
  42. {
  43. label: '渠道订单',
  44. prop: 'channelOrderNo',
  45. width: 150,
  46. },
  47. {
  48. label: '商品描述',
  49. prop: 'body',
  50. overHidden: true
  51. },
  52. {
  53. label: '金额',
  54. prop: 'amount'
  55. },
  56. {
  57. label: '币种',
  58. prop: 'currency'
  59. },
  60. {
  61. label: '支付状态',
  62. prop: 'status',
  63. type: 'select',
  64. search: true,
  65. dicUrl: '/admin/dict/type/order_status'
  66. },
  67. {
  68. label: '客户端IP',
  69. prop: 'clientIp',
  70. width: 120,
  71. },
  72. {
  73. label: '成功时间',
  74. prop: 'paySuccTime',
  75. width: 150
  76. },
  77. {
  78. label: '创建时间',
  79. width: 150,
  80. prop: 'createTime',
  81. type: 'datetime',
  82. format: 'yyyy-MM-dd HH:mm:ss',
  83. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  84. editDisplay: false,
  85. overHidden: true,
  86. addDisplay: false
  87. }
  88. ]
  89. }