waybill.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. export const formRules = () => {
  2. return [{
  3. field: 'tamperProofLabel',
  4. label: '防拆标签码',
  5. placeholder: '请输入防拆标签码',
  6. type: 'input',
  7. required: true,
  8. }, {
  9. field: 'tamperProofLabelImg',
  10. label: '防拆标签图片',
  11. placeholder: '请上传防拆标签图片',
  12. type: 'upload',
  13. required: true,
  14. }, {
  15. field: 'remark',
  16. label: '备注',
  17. placeholder: '备注',
  18. type: 'textarea',
  19. }]
  20. }
  21. export const pickupRulesil = () => {
  22. return [{
  23. field: 'name',
  24. label: '姓名',
  25. placeholder: '请输入姓名',
  26. type: 'input',
  27. required: true,
  28. }, {
  29. field: 'phone',
  30. label: '电话',
  31. placeholder: '请输入电话',
  32. type: 'input',
  33. required: true,
  34. }, {
  35. field: 'address',
  36. label: '地址',
  37. placeholder: '请输入地址',
  38. type: 'input',
  39. required: true,
  40. }]
  41. }
  42. export const printList = () => {
  43. return [{
  44. arr: [{
  45. arr: [
  46. [{
  47. T_sn: '2024117235321460',
  48. T_id: 1,
  49. T_rh: 59.8,
  50. T_t: 3.1,
  51. T_time: '2024-04-24',
  52. time: '15:30',
  53. },
  54. {
  55. T_sn: '2024117235321460',
  56. T_id: 2,
  57. T_rh: 59.8,
  58. T_t: 2.1,
  59. T_time: '2024-04-24',
  60. time: '15:30',
  61. },
  62. {
  63. T_sn: '2024117235321460',
  64. T_id: 3,
  65. T_rh: 59.8,
  66. T_t: 23.1,
  67. T_time: '2024-04-24',
  68. time: '15:30',
  69. },
  70. {
  71. T_sn: '2024117235321460',
  72. T_id: 4,
  73. T_rh: 59.8,
  74. T_t: 23.1,
  75. T_time: '2024-04-24',
  76. time: '15:30',
  77. }
  78. ]
  79. ],
  80. time: "2024-04-24"
  81. }],
  82. id: 38,
  83. title: '测试',
  84. isChecked: true,
  85. endTime: '2024-04-24 15:31:18',
  86. startTime: '2024-04-24 15:31:18'
  87. }, {
  88. arr: [{
  89. arr: [
  90. [{
  91. T_sn: '2024117235321460',
  92. T_id: 1,
  93. T_rh: 59.8,
  94. T_t: 3.1,
  95. T_time: '2024-04-24',
  96. time: '15:30',
  97. },
  98. {
  99. T_sn: '2024117235321460',
  100. T_id: 2,
  101. T_rh: 59.8,
  102. T_t: 2.1,
  103. T_time: '2024-04-24',
  104. time: '15:30',
  105. },
  106. {
  107. T_sn: '2024117235321460',
  108. T_id: 3,
  109. T_rh: 59.8,
  110. T_t: 23.1,
  111. T_time: '2024-04-24',
  112. time: '15:30',
  113. },
  114. {
  115. T_sn: '2024117235321460',
  116. T_id: 4,
  117. T_rh: 59.8,
  118. T_t: 23.1,
  119. T_time: '2024-04-24',
  120. time: '15:30',
  121. }
  122. ]
  123. ],
  124. time: "2024-04-24"
  125. }],
  126. id: 37,
  127. title: '测试1',
  128. isChecked: true,
  129. endTime: '2024-04-24 15:31:18',
  130. startTime: '2024-04-24 15:31:18'
  131. }, ]
  132. }