Columns.ts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. export const CostDetailColumns = [
  2. { type: 'seq', title: '序 号', minWidth: 50, align: 'center' },
  3. { field: 'description', title: '描 述', minWidth: 200, align: 'center', showOverflow: true, slots: { default: 'description' } },
  4. { field: 'station', title: '地 区', minWidth: 100, align: 'center', showOverflow: true, slots: { default:'station' } },
  5. { field: 'platform', title: '平 台', minWidth: 100, align: 'center', showOverflow: true, slots: { default: 'platform' } },
  6. // { field: '', title: '货币单位', minWidth: 'auto', align: 'center', showOverflow: true,},
  7. {
  8. title: '税费成本', align: 'center',
  9. children: [
  10. { field: 'export_tax_rate', title: '出口报关费率', minWidth: 'auto', align: 'center', },
  11. { field: 'import_tax_rate', title: '进口关税率', minWidth: 'auto', align: 'center', },
  12. { field: 'VAT_rate', title: 'VAT', minWidth: 'auto', align: 'center', },
  13. ],
  14. },
  15. {
  16. title: '运输成本', align: 'center',
  17. children: [
  18. { field: 'first_cost', title: '头程运输费率', minWidth: 'auto', align: 'center', },
  19. { field: 'forwarding_fee', title: '转发费', minWidth: 'auto', align: 'center', },
  20. ],
  21. },
  22. {
  23. title: '销售成本', align: 'center',
  24. children: [
  25. { field: 'return_or_refurbishment_rates', title: '退货与翻新费', minWidth: 'auto', align: 'center',
  26. },
  27. { field: 'advertising_budget_rate', title: '广告预算费率', minWidth: 'auto', align: 'center',
  28. },
  29. { field: 'storage_charges_rate', title: '仓储费', minWidth: 'auto', align: 'center',
  30. },
  31. { field: 'brokerage_rate', title: '佣金', minWidth: 'auto', align: 'center',
  32. },
  33. ],
  34. },
  35. // { field: '', title: '经营成本折算率', minWidth: 'auto', align: 'center', },
  36. { field: 'price_supply_rate', title: '供货价折算率', minWidth: 'auto', align: 'center',
  37. slots: { default: 'price_supply_rate' }},
  38. { field: 'operate', fixed: 'right', title: '操 作', align: 'center', width: 90, slots: { default: 'operate' } }
  39. ];
  40. export const CostSelectColumns = [
  41. { type: 'radio', minWidth: 50, align: 'center' },
  42. { field: 'description', title: '描 述', minWidth: 200, align: 'center', showOverflow: true },
  43. { field: 'station', title: '地 区', minWidth: 100, align: 'center', showOverflow: true },
  44. { field: 'platform', title: '平 台', minWidth: 100, align: 'center', showOverflow: true },
  45. // { field: '', title: '货币单位', minWidth: 'auto', align: 'center', showOverflow: true,},
  46. {
  47. title: '税费成本', align: 'center',
  48. children: [
  49. { field: 'export_tax_rate', title: '出口报关费率', minWidth: 'auto', align: 'center', },
  50. { field: 'import_tax_rate', title: '进口关税率', minWidth: 'auto', align: 'center', },
  51. { field: 'VAT_rate', title: 'VAT', minWidth: 'auto', align: 'center', },
  52. ],
  53. },
  54. {
  55. title: '运输成本', align: 'center',
  56. children: [
  57. { field: 'first_cost', title: '头程运输费率', minWidth: 'auto', align: 'center', },
  58. { field: 'forwarding_fee', title: '转发费', minWidth: 'auto', align: 'center', },
  59. ],
  60. },
  61. {
  62. title: '销售成本', align: 'center',
  63. children: [
  64. { field: 'return_or_refurbishment_rates', title: '退货与翻新费', minWidth: 'auto', align: 'center',
  65. },
  66. { field: 'advertising_budget_rate', title: '广告预算费率', minWidth: 'auto', align: 'center',
  67. },
  68. { field: 'storage_charges_rate', title: '仓储费', minWidth: 'auto', align: 'center',
  69. },
  70. { field: 'brokerage_rate', title: '佣金', minWidth: 'auto', align: 'center',
  71. },
  72. ],
  73. },
  74. { field: 'price_supply_rate', title: '供货价折算率', minWidth: 'auto', align: 'center',
  75. slots: { default: 'price_supply_rate' }},
  76. ];
  77. export const SupplyCheckColumns_Regular = [
  78. { type: 'seq', title: '序 号', width: 50, align: 'center' },
  79. { field: 'sku', title: 'SKU', minWidth: 300, align: 'center', showOverflow: true, },
  80. { field: 'sales_mode', title: '销售模式', minWidth: 'auto', align: 'center', showOverflow: true, },
  81. { field: 'platform', title: '平 台', minWidth: 'auto', align: 'center', showOverflow: true, },
  82. { field: 'country_code', title: '国 家', minWidth: 'auto', align: 'center', showOverflow: true,},
  83. // { field: '', title: '亚马逊最低售价', minWidth: 'auto', align: 'center', showOverflow: true,},
  84. { field: 'price_supply', title: '供货价', minWidth: 'auto', align: 'center', showOverflow: true,},
  85. // { field: '', title: '卖场参考价格', minWidth: 'auto', align: 'center', showOverflow: true,},
  86. // { field: '', title: '卖场价格(不含VAT)', minWidth: 'auto', align: 'center', showOverflow: true,},
  87. ]
  88. export const SupplyCheckColumns_Special = [
  89. { type: 'seq', title: '序 号', width: 50, align: 'center' },
  90. { field: 'sku', title: 'SKU', minWidth: 300, align: 'center', showOverflow: true},
  91. { field: 'platform', title: '平 台', width: 'auto', align: 'center', showOverflow: true, },
  92. { field: 'country_code', title: '国 家', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'country_code' },},
  93. { field: 'currency_code', title: '货币代码', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'currency_code' },},
  94. { field: 'estimated_cost', title: '预估硬件成本', width: 'auto', align: 'center', showOverflow: true ,slots: { default: 'estimated_cost' },},
  95. { field: 'weight', title: '重量(KG)', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'weight' },},
  96. { field: 'export_tax', title: '出口报关价', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'export_tax' },},
  97. { field: 'import_tax', title: '进口关税', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'import_tax' },},
  98. { field: 'first_cost', title: '头程运费', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'first_cost' },},
  99. { field: 'final_cost', title: '尾程费用', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'final_cost' },},
  100. { field: 'VAT_price_daily', title: '日常VAT', width: 'auto', align: 'center', showOverflow: true,slots:{ default: 'VAT_price_daily' },},
  101. { field: 'VAT_price_min', title: '最低VAT', width: 'auto', align: 'center', showOverflow: true,slots:{ default: 'VAT_price_min' },},
  102. { field: 'forwarding_fee', title: '转发费', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'forwarding_fee' },},
  103. // { field: '', title: '运费(小计)', width: 'auto', align: 'center', showOverflow: true,},
  104. { field: 'ad_budget', title: '广告费', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'ad_budget' },},
  105. // { field: '', title: 'VAT', width: 'auto', align: 'center', showOverflow: true,},
  106. { field: 'return_or_refurbishment', title: '退货成本/翻新费', width: 'auto', align: 'center', showOverflow: true,slots: { default:'return_or_refurbishment' },},
  107. { field: 'storage_charges', title: '仓储费', width: 'auto', align: 'center', showOverflow: true,slots: { default:'storage_charges' },},
  108. { field: 'brokerage', title: '佣 金', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'brokerage' },},
  109. // { field: '', title: '成本合计', width: 'auto', align: 'center', showOverflow: true,},
  110. { field: 'sales_mode', title: '销售模式', width: 'auto', align: 'center', showOverflow: true,slots: { default:'sales_mode' }},
  111. { field: 'price_min_cost', title: '最低售价成本', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_min_cost' },},
  112. // { field: '', title: '亚马逊最低售价', width: 'auto', align: 'center', showOverflow: true,},
  113. { field: 'price_supply', title: '供货价', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_supply' },},
  114. // { field: '', title: '卖场参考价格', width: 'auto', align: 'center', showOverflow: true,},
  115. // { field: '', title: '卖场价格(不含VAT)', width: 'auto', align: 'center', showOverflow: true,},
  116. // { field: '', title: '卖场价格(含VAT)', width: 'auto', align: 'center', showOverflow: true,},
  117. { field: 'gross_profit_margin', title: '毛利率', width: 'auto', align: 'center', showOverflow: true,slots:{default:'gross_profit_margin'},},
  118. { field: 'exchange_rate', title: '汇率', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'exchange_rate' },},
  119. { field: 'price_daily_rmb', title: '日常活动售价(人民币)', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_daily_rmb' },},
  120. { field: 'average_gross_profit', title: '平均毛利', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'average_gross_profit' },},
  121. { field: 'routine_activity_profit', title: '日常活动销售利润', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'routine_activity_profit' } },
  122. { field: 'gross_margin_daily', title: '日常活动毛利率', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'gross_margin_daily' },},
  123. { field: 'operate', fixed: 'right', title: '操 作', align: 'center', width: 90, slots: { default: 'operate' } }
  124. ]
  125. export const DirectSalesCheckColumns_Regular = [
  126. { type: 'seq', title: '序 号', width: 50, align: 'center' },
  127. { field: 'sku', title: 'SKU', minWidth: 300, align: 'center', showOverflow: true, slots: { default: 'description' } },
  128. { field: 'sales_mode', title: '销售模式', minWidth: 'auto', align: 'center', showOverflow: true, slots: { default:'station' } },
  129. { field: 'platform', title: '平 台', minWidth: 'auto', align: 'center', showOverflow: true, slots: { default: 'platform' } },
  130. { field: 'country_code', title: '国 家', minWidth: 'auto', align: 'center', showOverflow: true,},
  131. { field: 'price_show', title: '展示价格(外币)', minWidth: 'auto', align: 'center', showOverflow: true,},
  132. // { field: '', title: '活动价格', minWidth: 'auto', align: 'center', showOverflow: true,},
  133. // { field: '', title: '最低活动价格', minWidth: 'auto', align: 'center', showOverflow: true,},
  134. { field: 'price_daily', title: '日常活动售价(外币)', width: 'auto', align: 'center', showOverflow: true,},
  135. { field: 'price_daily_rmb', title: '日常活动售价(人民币)', width: 'auto', align: 'center', showOverflow: true,},
  136. { field: 'price_min', title: '最低售价(外币)', width: 'auto', align: 'center', showOverflow: true,},
  137. ]
  138. export const DirectSalesCheckColumns_Special = [
  139. { type: 'seq', title: '序 号', width: 50, align: 'center' },
  140. { field: 'sku', title: 'SKU', minWidth: 300, align: 'center', showOverflow: true},
  141. { field: 'platform', title: '平 台', width: 'auto', align: 'center', showOverflow: true, },
  142. { field: 'country_code', title: '国 家', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'country_code' },},
  143. { field: 'currency_code', title: '货币代码', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'currency_code' },},
  144. { field: 'estimated_cost', title: '预估硬件成本', width: 'auto', align: 'center', showOverflow: true ,slots: { default: 'estimated_cost' },},
  145. { field: 'weight', title: '重量(KG)', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'weight' },},
  146. { field: 'export_tax', title: '出口报关价', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'export_tax' },},
  147. { field: 'import_tax', title: '进口关税', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'import_tax' },},
  148. { field: 'first_cost', title: '头程运费', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'first_cost' },},
  149. { field: 'final_cost', title: '尾程费用', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'final_cost' },},
  150. { field: 'VAT_price_daily', title: '日常VAT', width: 'auto', align: 'center', showOverflow: true,slots:{ default: 'VAT_price_daily' },},
  151. { field: 'VAT_price_min', title: '最低VAT', width: 'auto', align: 'center', showOverflow: true,slots:{ default: 'VAT_price_min' },},
  152. { field: 'forwarding_fee', title: '转发费', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'forwarding_fee' },},
  153. // { field: '', title: '运费(小计)', width: 'auto', align: 'center', showOverflow: true,},
  154. { field: 'ad_budget', title: '广告费', width: 'auto', align: 'center', showOverflow: true,},
  155. // { field: '', title: 'VAT', width: 'auto', align: 'center', showOverflow: true,},
  156. { field: 'return_or_refurbishment', title: '退货成本/翻新费', width: 'auto', align: 'center', showOverflow: true,slots: { default:'return_or_refurbishment' },},
  157. { field: 'storage_charges', title: '仓储费', width: 'auto', align: 'center', showOverflow: true,slots: { default:'storage_charges' },},
  158. { field: 'brokerage', title: '佣 金', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'brokerage' },},
  159. // { field: '', title: '成本合计', width: 'auto', align: 'center', showOverflow: true,},
  160. { field: 'sales_mode', title: '销售模式', width: 'auto', align: 'center', showOverflow: true,slots: { default:'sales_mode' }},
  161. { field: 'price_min_cost', title: '最低售价成本', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_min_cost' },},
  162. { field: 'price_daily', title: '日常活动售价(外币)', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_daily' },},
  163. { field: 'price_show', title: '展示价格(外币)', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_show' },},
  164. { field: 'discount_daily', title: '日常折扣', width: 'auto', align: 'center', showOverflow: true,slots:{ default: 'discount_daily' },},
  165. { field: 'discount_min', title: '最低活动折扣', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'discount_min' },},
  166. { field: 'price_min', title: '最低售价(外币)', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_min' },},
  167. // { field: '', title: '供货价', width: 'auto', align: 'center', showOverflow: true,},
  168. // { field: '', title: '卖场参考价格', width: 'auto', align: 'center', showOverflow: true,},
  169. // { field: '', title: '卖场价格(不含VAT)', width: 'auto', align: 'center', showOverflow: true,},
  170. // { field: '', title: '卖场价格(含VAT)', width: 'auto', align: 'center', showOverflow: true,},
  171. { field: 'gross_profit_margin', title: '毛利率', width: 'auto', align: 'center', showOverflow: true,slots:{default:'gross_profit_margin'},},
  172. { field: 'exchange_rate', title: '汇率', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'exchange_rate' },},
  173. { field: 'price_daily_rmb', title: '日常活动售价(人民币)', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'price_daily_rmb' },},
  174. { field: 'average_gross_profit', title: '平均毛利', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'average_gross_profit' },},
  175. { field: 'routine_activity_profit', title: '日常活动销售利润', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'routine_activity_profit' } },
  176. { field: 'gross_margin_daily', title: '日常活动毛利率', width: 'auto', align: 'center', showOverflow: true,slots: { default: 'gross_margin_daily' },},
  177. { field: 'operate', fixed: 'right', title: '操 作', align: 'center', width: 90, slots: { default: 'operate' } }
  178. ]