columns.js 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. const columns = [
  2. // {
  3. // prop: "zxNo",
  4. // label: "竞价单编号",
  5. // width: "158px",
  6. // },
  7. {
  8. prop: "infoNo",
  9. label: "任务单号",
  10. width: "153px",
  11. },
  12. {
  13. prop: "bidNo",
  14. label: "反馈商品编号",
  15. width: "153px",
  16. },
  17. {
  18. prop: "good_name",
  19. label: "商品名称",
  20. _slot_: "good_name",
  21. "min-width": "220px",
  22. },
  23. {
  24. prop: "can",
  25. label: "分类",
  26. _slot_: "can",
  27. width: "180px",
  28. },
  29. {
  30. prop: "brand_name",
  31. label: "品牌",
  32. width: "80px",
  33. },
  34. {
  35. prop: "unit",
  36. label: "单位",
  37. width: "50px",
  38. },
  39. {
  40. prop: "companyNo",
  41. label: "业务公司编号",
  42. width: "160",
  43. },
  44. {
  45. prop: "companyName",
  46. label: "业务公司名称",
  47. "min-width": "135",
  48. },
  49. {
  50. prop: "supplierName",
  51. label: "供应商名称",
  52. minWidth: "150px",
  53. },
  54. {
  55. prop: "cgder",
  56. label: "供应商负责人",
  57. width: "95",
  58. },
  59. {
  60. prop: "creater",
  61. label: "商品创建人",
  62. width: "85px",
  63. },
  64. {
  65. prop: "addtime",
  66. label: "创建时间",
  67. width: "145px",
  68. },
  69. {
  70. prop: "",
  71. label: "操作",
  72. fixed: "right",
  73. _noset_: true,
  74. width: "50px",
  75. _slot_: "operation",
  76. },
  77. ];
  78. const statusOptions = [
  79. { value: "0", label: "待与供应商确认" },
  80. { value: "1", label: "待入库" },
  81. { value: "2", label: "部分入库" },
  82. { value: "3", label: "入库完成" },
  83. { value: "4", label: "已取消订单" },
  84. ];
  85. //是否定制
  86. const options1 = [
  87. { id: "0", name: "否" },
  88. { id: "1", name: "是" },
  89. ];
  90. //专属类型
  91. const options2 = [
  92. { id: "0", name: "非泰康" },
  93. { id: "1", name: "泰康" },
  94. ];
  95. //销售权限
  96. const options3 = [
  97. { id: "0", name: "无销售权限" },
  98. { id: "1", name: "有销售权限" },
  99. ];
  100. //是否库存品
  101. const options4 = [
  102. { id: "0", name: "非库存品" },
  103. { id: "1", name: "库存品" },
  104. ];
  105. //是否启用实时金价
  106. const options5 = [
  107. { id: "0", name: "否" },
  108. { id: "1", name: "是" },
  109. ];
  110. //供货区域
  111. const options6 = [
  112. { id: "1", name: "全国" },
  113. { id: "2", name: "全国除偏远" },
  114. ];
  115. //是否启用阶梯
  116. const options7 = [
  117. { id: "0", name: "否" },
  118. { id: "1", name: "是" },
  119. ];
  120. const options8 = [
  121. // { id: "0", name: "待提交" },
  122. { id: "1", name: "待完善成本" },
  123. { id: "2", name: "待产品审核" },
  124. { id: "3", name: "待财务定价" },
  125. { id: "4", name: "待财务审核定价" },
  126. { id: "5", name: "待上线" },
  127. { id: "6", name: "上线成功" },
  128. { id: "7", name: "审核失败" },
  129. { id: "8", name: "已下线" },
  130. ];
  131. const options9 = [
  132. { id: "0", name: "现结" },
  133. { id: "1", name: "月清" },
  134. { id: "2", name: "双月清" },
  135. ];
  136. const costColumns = [
  137. {
  138. prop: "good_name",
  139. label: "商品名称",
  140. _slot_: "good_name",
  141. span: 24,
  142. },
  143. {
  144. prop: "supplierName",
  145. label: "供应商名称",
  146. _slot_: "supplierName",
  147. span: 12,
  148. },
  149. {
  150. prop: "brand_name",
  151. label: "品牌",
  152. span: 12,
  153. },
  154. {
  155. prop: "cat",
  156. label: "分类",
  157. _slot_: "cat",
  158. span: 12,
  159. },
  160. {
  161. prop: "tax",
  162. label: "税点",
  163. append: "%",
  164. span: 6,
  165. },
  166. {
  167. prop: "unit",
  168. label: "单位",
  169. span: 6,
  170. },
  171. {
  172. prop: "delivery_place_cn",
  173. label: "发货地",
  174. span: 9,
  175. },
  176. {
  177. prop: "expire_day",
  178. label: "有效期",
  179. append: "天",
  180. span: 5,
  181. },
  182. {
  183. prop: "delivery_day",
  184. label: "物流时间",
  185. append: "天",
  186. span: 5,
  187. },
  188. {
  189. prop: "work_day",
  190. label: "生产工期",
  191. append: "天",
  192. span: 5,
  193. },
  194. {
  195. prop: "origin_place_cn",
  196. label: "产地",
  197. span: 9,
  198. },
  199. {
  200. prop: "pay_way",
  201. label: "付款方式",
  202. _slot_: "pay_way",
  203. span: 5,
  204. },
  205. {
  206. prop: "good_creater",
  207. label: "反馈人",
  208. span: 4,
  209. },
  210. {
  211. prop: "addtime",
  212. label: "反馈时间",
  213. span: 6,
  214. },
  215. {
  216. prop: "weight",
  217. label: "商品总克重",
  218. append: "g",
  219. span: 6,
  220. },
  221. {
  222. prop: "supply_area",
  223. label: "供货区域",
  224. _slot_: "supply_area",
  225. span: 6,
  226. },
  227. {
  228. prop: "send_way",
  229. label: "发货方式",
  230. _slot_: "send_way",
  231. span: 6,
  232. },
  233. {
  234. prop: "total_fee",
  235. label: "成本合计",
  236. append: "元",
  237. span: 6,
  238. },
  239. {
  240. prop: "cert_fee",
  241. label: "证书费",
  242. append: "元",
  243. span: 6,
  244. },
  245. {
  246. prop: "pakge_fee",
  247. label: "包装费",
  248. append: "元",
  249. span: 6,
  250. },
  251. {
  252. prop: "cost_fee",
  253. label: "工艺费",
  254. append: "元",
  255. span: 6,
  256. },
  257. {
  258. prop: "mark_fee",
  259. label: "加标费",
  260. append: "元",
  261. span: 6,
  262. },
  263. {
  264. prop: "demo_fee",
  265. label: "打样费",
  266. append: "元",
  267. span: 6,
  268. },
  269. {
  270. prop: "open_fee",
  271. label: "开模费",
  272. append: "元",
  273. span: 6,
  274. },
  275. {
  276. prop: "delivery_fee",
  277. label: "物流费",
  278. append: "元",
  279. span: 6,
  280. },
  281. {
  282. prop: "nake_fee",
  283. label: "裸价",
  284. append: "元",
  285. span: 6,
  286. },
  287. // {
  288. // prop: "stock_moq",
  289. // label: "备库起订量",
  290. // span: 4,
  291. // },
  292. {
  293. prop: "remark",
  294. label: "采返备注",
  295. span: 24,
  296. },
  297. {
  298. prop: "cost_desc",
  299. label: "工艺说明",
  300. span: 24,
  301. },
  302. {
  303. prop: "good_img",
  304. _slot_: "good_img",
  305. label: "商品图片",
  306. span: 12,
  307. },
  308. {
  309. prop: "noble",
  310. _slot_: "noble",
  311. label: "贵金属信息",
  312. span: 12,
  313. },
  314. ];
  315. const infoColumns = [
  316. {
  317. prop: "infoNo",
  318. label: "竞价单编号",
  319. span: 6,
  320. },
  321. {
  322. prop: "status",
  323. label: "状态",
  324. _slot_: "status",
  325. span: 6,
  326. },
  327. {
  328. prop: "is_addrs",
  329. label: "是否多地",
  330. _slot_: "is_addrs",
  331. span: 6,
  332. },
  333. {
  334. prop: "num",
  335. label: "数量",
  336. span: 6,
  337. },
  338. {
  339. prop: "company",
  340. label: "销售方公司",
  341. _slot_: "company",
  342. },
  343. {
  344. prop: "khName",
  345. label: "购买方公司",
  346. _slot_: "khName",
  347. },
  348. ];
  349. const is_addrs_options = [
  350. { value: "0", label: "一地" },
  351. { value: "1", label: "多地" },
  352. ];
  353. const options0 = [
  354. { id: "0", label: "待发布竞标" },
  355. { id: "1", label: "招标进行中" },
  356. { id: "2", label: "招标已结束" },
  357. { id: "3", label: "待选择商品" },
  358. { id: "4", label: "已选商品待下单" },
  359. { id: "5", label: "已成功转单" },
  360. { id: "6", label: "已取消转单" },
  361. { id: "7", label: "招标已暂停" },
  362. ];
  363. export {
  364. columns,
  365. statusOptions,
  366. options1,
  367. options2,
  368. options3,
  369. options4,
  370. options5,
  371. options6,
  372. options7,
  373. options8,
  374. options9,
  375. costColumns,
  376. infoColumns,
  377. is_addrs_options,
  378. options0,
  379. };