columns.ts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. import { ref } from 'vue';
  2. // 任务管理表格列
  3. export const taskColumns = ref([
  4. { type: 'checkbox', width: 50 },
  5. {
  6. field: 'platformNumber',
  7. title: '平台编号',
  8. editRender: { autofocus: '.vxe-input--inner' },
  9. slots: { edit: 'number_edit' },
  10. minWidth: 87
  11. },
  12. {
  13. field: 'platformName',
  14. title: '平台名称',
  15. editRender: { autofocus: '.vxe-input--inner' },
  16. slots: { edit: 'name_edit' },
  17. align: 'center',
  18. minWidth: 138, isEditing: false
  19. },
  20. {
  21. field: 'country',
  22. title: '国家',
  23. editRender: { autofocus: '.vxe-input--inner' },
  24. slots: { edit: 'country_edit' },
  25. minWidth: 85,
  26. align: 'center'
  27. },
  28. {
  29. field: 'brandName',
  30. title: '品牌',
  31. editRender: {},
  32. slots: { edit: 'brand_edit' },
  33. align: 'center',
  34. minWidth: 89,
  35. },
  36. {
  37. field: 'user_name',
  38. title: '填写人',
  39. editRender: {},
  40. slots: {
  41. edit: 'operation_edit',
  42. //default: 'operation_default'
  43. },
  44. align: 'center',
  45. minWidth: 104
  46. },
  47. {
  48. field: 'operater',
  49. title: '运营',
  50. editRender: {},
  51. slots: { edit: 'operater_name_edit' },
  52. align: 'center',
  53. minWidth: 104
  54. },
  55. {
  56. field: 'currencyCode',
  57. title: '平台币种',
  58. editRender: {},
  59. slots: { edit: 'currency_edit' },
  60. align: 'center',
  61. minWidth: 90
  62. },
  63. {
  64. field: 'currencyCodePlatform',
  65. title: '回款/余额币种',
  66. editRender: {},
  67. slots: { edit: 'currencyCodePlatform_edit' },
  68. minWidth: 120,
  69. align: 'center'
  70. },
  71. {
  72. field: 'platform',
  73. title: '平台',
  74. editRender: {},
  75. slots: { edit: 'platform_edit' },
  76. align: 'center',
  77. minWidth: 89
  78. },
  79. { field: 'line', title: '线路', editRender: {}, slots: { edit: 'line_edit' }, align: 'center', minWidth: 89 },
  80. { field: 'ipaddress', title: 'IP地址', editRender: {}, slots: { edit: 'ipaddress_edit' }, minWidth: 135 },
  81. {
  82. field: 'company',
  83. title: '注册公司',
  84. editRender: {},
  85. slots: { edit: 'company_edit' },
  86. align: 'center',
  87. minWidth: 184
  88. },
  89. {
  90. field: 'companyEnglishName',
  91. title: '公司英文名称',
  92. editRender: {},
  93. slots: { edit: 'companyEnglishName_edit' },
  94. align: 'center',
  95. minWidth: 126
  96. },
  97. {
  98. field: 'address',
  99. title: '公司地址',
  100. editRender: {},
  101. slots: { edit: 'address_edit' },
  102. align: 'center',
  103. minWidth: 262
  104. },
  105. {
  106. field: 'juridicalPerson',
  107. title: '公司法人',
  108. editRender: {},
  109. slots: { edit: 'juridicalPerson_edit' },
  110. align: 'center',
  111. minWidth: 95
  112. },
  113. {
  114. field: 'juridicalPersonCreditCard',
  115. title: '法人信用卡',
  116. editRender: {},
  117. slots: { edit: 'juridicalPersonCreditCard_edit' },
  118. align: 'center',
  119. minWidth: 105
  120. },
  121. {
  122. field: 'juridicalPersonCreditCardAddress',
  123. title: '信用卡地址',
  124. editRender: {},
  125. slots: { edit: 'juridicalPersonCreditCardAddress_edit' },
  126. align: 'center',
  127. minWidth: 262
  128. },
  129. {
  130. field: 'receivablesAccount',
  131. title: '收款账号',
  132. editRender: {},
  133. slots: { edit: 'receivablesAccount_edit' },
  134. align: 'center',
  135. minWidth: 156
  136. },
  137. {
  138. field: 'receivablesAccountCompany',
  139. title: '收款账号公司',
  140. editRender: {},
  141. slots: { edit: 'receivablesAccountCompany_edit' },
  142. align: 'center',
  143. minWidth: 115
  144. },
  145. {
  146. field: 'vatNumber',
  147. title: 'VAT税号',
  148. editRender: {},
  149. slots: { edit: 'vatNumber_edit' },
  150. align: 'center',
  151. minWidth: 95
  152. },
  153. {
  154. field: 'vatCompany',
  155. title: 'VAT税号公司名称',
  156. editRender: {},
  157. slots: { edit: 'vatCompany_edit' },
  158. align: 'center',
  159. minWidth: 135
  160. },
  161. { field: 'status', title: '状态', slots: { default: 'status_default' }, align: 'center', minWidth: 89 },
  162. { title: '操作', minWidth: 108, slots: { default: 'operate' }, fixed: 'right' },
  163. ]);
  164. export const shopInfoColumns = ref([
  165. {
  166. field: 'platformNumber',
  167. title: '平台编号',
  168. minWidth: 87
  169. },
  170. {
  171. field: 'platformName',
  172. title: '平台名称',
  173. align: 'center',
  174. minWidth: 138, isEditing: false
  175. },
  176. {
  177. field: 'country',
  178. title: '国家',
  179. minWidth: 85,
  180. align: 'center'
  181. },
  182. {
  183. field: 'brandName',
  184. title: '品牌',
  185. align: 'center',
  186. minWidth: 89,
  187. },
  188. {
  189. field: 'user_name',
  190. title: '填写人',
  191. align: 'center',
  192. minWidth: 104
  193. },
  194. {
  195. field: 'operater',
  196. title: '运营',
  197. align: 'center',
  198. minWidth: 104
  199. },
  200. {
  201. field: 'currencyCode',
  202. title: '平台币种',
  203. align: 'center',
  204. minWidth: 90
  205. },
  206. {
  207. field: 'currencyCodePlatform',
  208. title: '回款/余额币种',
  209. minWidth: 120,
  210. align: 'center'
  211. },
  212. {
  213. field: 'platform',
  214. title: '平台',
  215. align: 'center',
  216. minWidth: 89
  217. },
  218. { field: 'line', title: '线路', align: 'center', minWidth: 89 },
  219. { field: 'ipaddress', title: 'IP地址', minWidth: 135 },
  220. {
  221. field: 'company',
  222. title: '注册公司',
  223. align: 'center',
  224. minWidth: 184
  225. },
  226. {
  227. field: 'companyEnglishName',
  228. title: '公司英文名称',
  229. align: 'center',
  230. minWidth: 120
  231. },
  232. {
  233. field: 'address',
  234. title: '公司地址',
  235. align: 'center',
  236. minWidth: 262
  237. },
  238. {
  239. field: 'juridicalPerson',
  240. title: '公司法人',
  241. align: 'center',
  242. minWidth: 95
  243. },
  244. {
  245. field: 'juridicalPersonCreditCard',
  246. title: '法人信用卡',
  247. align: 'center',
  248. minWidth: 105
  249. },
  250. {
  251. field: 'juridicalPersonCreditCardAddress',
  252. title: '信用卡地址',
  253. align: 'center',
  254. minWidth: 262
  255. },
  256. {
  257. field: 'receivablesAccount',
  258. title: '收款账号',
  259. align: 'center',
  260. minWidth: 156
  261. },
  262. {
  263. field: 'receivablesAccountCompany',
  264. title: '收款账号公司',
  265. align: 'center',
  266. minWidth: 115
  267. },
  268. { field: 'vatNumber', title: 'VAT税号', align: 'center', minWidth: 95 },
  269. { field: 'vatCompany', title: 'VAT税号公司名称', align: 'center', minWidth: 135 },
  270. { field: 'status', title: '状态', slots: { default: 'status_default' }, align: 'center', minWidth: 89 },
  271. ]);