paytradeorder.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. column: [
  25. {
  26. label: '订单号',
  27. prop: 'orderId',
  28. overHidden: true,
  29. width: 150
  30. },
  31. {
  32. label: '渠道ID',
  33. prop: 'channelId',
  34. width: 120
  35. },
  36. {
  37. label: '渠道商户',
  38. prop: 'channelMchId',
  39. width: 120
  40. },
  41. {
  42. label: '渠道订单号',
  43. prop: 'channelOrderNo',
  44. width: 150,
  45. },
  46. {
  47. label: '商品描述',
  48. prop: 'body',
  49. overHidden:true
  50. },
  51. {
  52. label: '金额',
  53. prop: 'amount'
  54. },
  55. {
  56. label: '币种',
  57. prop: 'currency'
  58. },
  59. {
  60. label: '支付状态',
  61. prop: 'status',
  62. type: 'select',
  63. search: true,
  64. dicUrl: '/admin/dict/type/order_status'
  65. },
  66. {
  67. label: '客户端IP',
  68. prop: 'clientIp',
  69. width: 120,
  70. },
  71. {
  72. label: '商品标题',
  73. prop: 'subject'
  74. },
  75. {
  76. label: '错误码',
  77. prop: 'errCode'
  78. },
  79. {
  80. label: '错误描述',
  81. prop: 'errMsg'
  82. },
  83. {
  84. label: '失效时间',
  85. prop: 'expireTime'
  86. },
  87. {
  88. label: '成功时间',
  89. prop: 'paySuccTime',
  90. width: 150
  91. },
  92. {
  93. label: '创建时间',
  94. width: 150,
  95. prop: 'createTime',
  96. type: 'datetime',
  97. format: 'yyyy-MM-dd HH:mm:ss',
  98. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  99. editDisplay: false,
  100. overHidden: true,
  101. addDisplay: false
  102. }
  103. ]
  104. }