dict.js 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. export default {
  2. 类型用途: 'type_use',
  3. 分类编号: 'classify_no',
  4. 分隔符: 'separate',
  5. 任务类型: 'taskCategory',
  6. 流程分类: 'processCategory',
  7. 角度: 'angle',
  8. 生命周期: 'life_cycle',
  9. 网络状态: 'network_status',
  10. 金额单位: 'money_unit',
  11. 时间单位: 'time_unit',
  12. 规则类型: 'rule_type',
  13. 规则状态: 'rule_status',
  14. 规则周期: 'rule_cycle',
  15. 运维计划状态: 'plan_status',
  16. 紧急程度: 'urgent_type',
  17. 计量单位: 'measuring_uint',
  18. 单位: 'packing_unit',
  19. 体积单位: 'volume_unit',
  20. 重量单位: 'weight_unit',
  21. 质保预警参考: 'quality_assurance',
  22. 保质期单位: 'date_unit',
  23. 排程类型: 'schedule_type',
  24. 提前期单位: 'leadtime_unit',
  25. 价格单位: 'price_unit',
  26. 检验方案: 'inspection_scheme',
  27. 文件模块: 'file_module',
  28. 产能计划周期: 'capacity_cycle',
  29. 产量目标单位: 'target_unit',
  30. 产能计划状态: 'capacity_status',
  31. 分类层级: 'bom_level',
  32. 周转车材质: 'turnover_material',
  33. 证件类型: 'id_type',
  34. 台账状态: 'ledger',
  35. 工种: 'workType',
  36. 二级编码规则: 'Secondary',
  37. 三级编码规则: 'Third',
  38. 工艺参数单位: 'parameter_code',
  39. 成型剂类别: 'forming_code',
  40. 工位编码: 'Station coding',
  41. 机构类型: 'group_type',
  42. 工作流任务分配规则的类型: 'bpm_task_assign_rule_type',
  43. 工作流任务分配自定义脚本: 'bpm_task_assign_script',
  44. 流程实例的结果: 'bpm_process_instance_result',
  45. 结算方式: 'settlement_mode',
  46. 质保期单位: 'date_unit',
  47. 商机阶段: 'business_stage_code',
  48. 影响力: 'influence_level_code',
  49. 态度: 'attittude_code',
  50. 商机来源: 'business_opport_code',
  51. 合同类型: 'contract_type',
  52. 销售类型: 'order_type',
  53. 退货类型: 'sale_return_type',
  54. 需求来源类型: 'requirement_source_type',
  55. 采购订单类型: 'purchase_type',
  56. 退货类型: 'sale_return_order_type',
  57. 质检状态: 'quality_control_code',
  58. 质检结果: 'Qc_results_code',
  59. 采购收货单类型: 'purchase_receive_type',
  60. 产品不合格类型: 'product_unqualified_type',
  61. 关联类型: 'fin_link_type',
  62. 巡点检周期: 'patrol_cycle',
  63. '客户/供应商资质类型': 'contact_qc_type',
  64. 派车任务类型: 'logistic_delivery_type',
  65. 计划紧急程度: 'logistic_urgency_level_type',
  66. 计划工单费用类型: 'logistic_list_cost_type',
  67. 驾照类型: 'driver_license_type',
  68. 单据类型: 'receipt_type',
  69. 项目类型: 'pro_projects_type',
  70. 项目优先级别: 'pro_projects_level',
  71. 项目状态: 'pro_projects_status',
  72. 项目任务类型: 'task_type',
  73. 交付物类型: 'deliverables_type',
  74. 交付物流程类型: 'pro_files_approve_type',
  75. 预算单位: 'pro_projects_budget_unit',
  76. 异常类型: 'Exception_type',
  77. 异常判定: 'Exception_decide',
  78. 异常处置: 'Exception_dispose',
  79. 问题类型: 'question_type',
  80. 变更类型: 'change_type',
  81. 请托类型: 'entrust_type',
  82. 设备处置方式: 'equipment_Disposal',
  83. 不拆物料层规格: 'material_layer',
  84. 生产类型: 'productionType',
  85. 协同办公分类: 'collaborative_type',
  86. 市场活动类型: 'activity_type',
  87. 客户联系人状态: 'contact_link_status',
  88. 产地: 'purchase_origin',
  89. 管理类别: 'manage_type',
  90. 商品价格类型: 'goods_price_type',
  91. 文档类型: 'doc_type',
  92. 物品机型: 'product_model_key',
  93. 物品颜色: 'product_color_key',
  94. 检查有效期单位: 'validity_unit',
  95. 记录规则类型: 'record_sheet',
  96. 冲差类型: 'adjust_type',
  97. 冲差方式: 'adjust_method',
  98. 冲差原因: 'adjust_reason',
  99. 冲差范围: 'adjust_range',
  100. 调整类型: 'adjust_price_type'
  101. };
  102. export const numberList = [
  103. 'capacity_cycle',
  104. 'target_unit',
  105. 'capacity_status',
  106. // 'date_unit',
  107. 'quality_assurance',
  108. 'schedule_type',
  109. 'leadtime_unit',
  110. 'inspection_scheme',
  111. 'angle',
  112. 'id_type',
  113. 'rule_status',
  114. 'ledger',
  115. 'patrol_cycle'
  116. ];
  117. //报价单-是否接受拆单
  118. export const acceptUnpackoptions = [
  119. { label: '接受', value: 1 },
  120. { label: '不接受', value: 0 }
  121. ];
  122. //发货审核状态
  123. export const reviewStatusEnum = [
  124. { value: 0, label: '未提交' },
  125. { value: 1, label: '审核中' },
  126. { value: 2, label: '已审核' },
  127. { value: 3, label: '审核未通过' }
  128. ];
  129. //主数据分类关联对应常量
  130. export const treeClassifyCodeEnum = {
  131. CHACHE: 'w10-2',
  132. producerType: 'W10',
  133. PROCESSTYPE: 'PROCESS001'
  134. };
  135. export const reviewStatus = {
  136. 0: '未提交',
  137. 1: '审核中',
  138. 2: '已审核',
  139. 3: '审核不通过',
  140. 7: '作废'
  141. };
  142. //项目管理——项目、计划、任务状态
  143. export const proStatusEnum = [
  144. { value: 0, label: '未开始' },
  145. { value: 1, label: '执行中' },
  146. { value: 2, label: '暂停中' },
  147. { value: 3, label: '已完成' },
  148. { value: 4, label: '已终止' }
  149. ];
  150. // 计价方式
  151. export const pricingWayList = [
  152. { id: 1, name: '按数量计费' },
  153. { id: 2, name: '按重量计费' }
  154. ];
  155. //来源类型
  156. export const relationTypeOption = {
  157. 1: '发货确认单',
  158. 2: '收货确认单'
  159. };
  160. //委外订单来源类型
  161. export const orderSourceType = ['3', '4', '5', '6', '7'];
  162. //委外场景
  163. export const outsourceSceneList = [
  164. { value: 1, label: '首工序委外' },
  165. { value: 2, label: '单工序' },
  166. { value: 3, label: '多工序' },
  167. { value: 4, label: '首工序及多工序' }
  168. ];
  169. //属性类型
  170. export const lbjtList = {
  171. 1: '自制件',
  172. 2: '采购件',
  173. 3: '外协件',
  174. 4: '受托件'
  175. };
  176. //商品级别
  177. export const levelList = [
  178. { value: '1', label: '特级' },
  179. { value: '2', label: '一级' },
  180. { value: '3', label: '二级' },
  181. { value: '4', label: '三级' }
  182. ];
  183. //变更类型
  184. export const relationTypeList = [{ value: 100, label: '采购订单' }];
  185. //销售订单整体进度
  186. export const saleOrderProgressStatusEnum = [
  187. { value: 0, label: '未开始' },
  188. { value: 100, label: '待排程' },
  189. { value: 200, label: '已排程' },
  190. { value: 300, label: '待派单' },
  191. { value: 400, label: '已派单' },
  192. { value: 500, label: '生产执行中' },
  193. { value: 501, label: '部分入库' },
  194. { value: 600, label: '已入库' },
  195. { value: 700, label: '待发货' },
  196. { value: 701, label: '部分发货' },
  197. { value: 800, label: '全部发货' },
  198. { value: 1000, label: '完成' }
  199. ];
  200. export const topLevel3 = [
  201. {
  202. label: '上级部门负责人',
  203. value: '1'
  204. },
  205. {
  206. label: '上二级部门负责人',
  207. value: '2'
  208. },
  209. {
  210. label: '上三级部门负责人',
  211. value: '3'
  212. },
  213. {
  214. label: '上四级部门负责人',
  215. value: '4'
  216. },
  217. {
  218. label: '上五级部门负责人',
  219. value: '5'
  220. },
  221. {
  222. label: '上六级部门负责人',
  223. value: '6'
  224. },
  225. {
  226. label: '上七级部门负责人',
  227. value: '7'
  228. },
  229. {
  230. label: '上八级部门负责人',
  231. value: '8'
  232. },
  233. {
  234. label: '上九级部门负责人',
  235. value: '9'
  236. }
  237. ];
  238. export const topLevel1 = [
  239. {
  240. label: '直接部门负责人',
  241. value: '1'
  242. },
  243. {
  244. label: '上二级部门负责人',
  245. value: '2'
  246. },
  247. {
  248. label: '上三级部门负责人',
  249. value: '3'
  250. },
  251. {
  252. label: '上四级部门负责人',
  253. value: '4'
  254. },
  255. {
  256. label: '上五级部门负责人',
  257. value: '5'
  258. },
  259. {
  260. label: '上六级部门负责人',
  261. value: '6'
  262. },
  263. {
  264. label: '上七级部门负责人',
  265. value: '7'
  266. },
  267. {
  268. label: '上八级部门负责人',
  269. value: '8'
  270. },
  271. {
  272. label: '上九级部门负责人',
  273. value: '9'
  274. }
  275. ];
  276. export const topLevel2 = [
  277. {
  278. label: '最高级部门负责人',
  279. value: '99'
  280. },
  281. {
  282. label: '第二层部门负责人',
  283. value: '2'
  284. },
  285. {
  286. label: '第三层部门负责人',
  287. value: '3'
  288. },
  289. {
  290. label: '第四层部门负责人',
  291. value: '4'
  292. },
  293. {
  294. label: '第五层部门负责人',
  295. value: '5'
  296. },
  297. {
  298. label: '第六层部门负责人',
  299. value: '6'
  300. },
  301. {
  302. label: '第七层部门负责人',
  303. value: '7'
  304. },
  305. {
  306. label: '第八层部门负责人',
  307. value: '8'
  308. },
  309. {
  310. label: '第九层部门负责人',
  311. value: '9'
  312. }
  313. ];
  314. //采购订单整体进度
  315. export const purchaseOrderProgressStatusEnum = [
  316. { value: 0, label: '未开始' },
  317. { value: 100, label: '在途' },
  318. { value: 101, label: '部分入库' },
  319. { value: 102, label: '待质检' },
  320. { value: 103, label: '质检中' },
  321. { value: 200, label: '已入库' },
  322. { value: 1000, label: '完成' }
  323. ];