dict.js 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  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. 记录规则报工类型: 'record_rules_report_work_type',
  97. 记录规则执行方式: 'produce_task_config_execute_method',
  98. 记录规则事项类型: 'record_rules_item_type',
  99. 冲差类型: 'adjust_type',
  100. 冲差方式: 'adjust_method',
  101. 冲差原因: 'adjust_reason',
  102. 冲差范围: 'adjust_range',
  103. 调整类型: 'adjust_price_type',
  104. 取样类型: 'quality_method_code',
  105. 质检计划类型: 'inspection_plan_type'
  106. };
  107. export const numberList = [
  108. 'capacity_cycle',
  109. 'target_unit',
  110. 'capacity_status',
  111. // 'date_unit',
  112. 'quality_assurance',
  113. 'schedule_type',
  114. 'leadtime_unit',
  115. 'inspection_scheme',
  116. 'angle',
  117. 'id_type',
  118. 'rule_status',
  119. 'ledger',
  120. 'patrol_cycle',
  121. 'quality_method_code',
  122. 'inspection_plan_type'
  123. ];
  124. //报价单-是否接受拆单
  125. export const acceptUnpackoptions = [
  126. { label: '接受', value: 1 },
  127. { label: '不接受', value: 0 }
  128. ];
  129. //发货审核状态
  130. export const reviewStatusEnum = [
  131. { value: 0, label: '未提交' },
  132. { value: 1, label: '审核中' },
  133. { value: 2, label: '已审核' },
  134. { value: 3, label: '审核未通过' }
  135. ];
  136. //主数据分类关联对应常量
  137. export const treeClassifyCodeEnum = {
  138. CHACHE: 'w10-2',
  139. producerType: 'W10',
  140. PROCESSTYPE: 'PROCESS001'
  141. };
  142. export const reviewStatus = {
  143. 0: '未提交',
  144. 1: '审核中',
  145. 2: '已审核',
  146. 3: '审核不通过',
  147. 7: '作废'
  148. };
  149. //项目管理——项目、计划、任务状态
  150. export const proStatusEnum = [
  151. { value: 0, label: '未开始' },
  152. { value: 1, label: '执行中' },
  153. { value: 2, label: '暂停中' },
  154. { value: 3, label: '已完成' },
  155. { value: 4, label: '已终止' }
  156. ];
  157. // 计价方式
  158. export const pricingWayList = [
  159. { id: 1, name: '按数量计价' },
  160. { id: 2, name: '按重量计价' },
  161. { id: 3, name: '按增重计价' }
  162. ];
  163. //来源类型
  164. export const relationTypeOption = {
  165. 1: '发货确认单',
  166. 2: '收货确认单'
  167. };
  168. //委外订单来源类型
  169. export const orderSourceType = ['3', '4', '5', '6', '7'];
  170. //委外场景
  171. export const outsourceSceneList = [
  172. { value: 1, label: '首工序委外' },
  173. { value: 2, label: '单工序' },
  174. { value: 3, label: '多工序' },
  175. { value: 4, label: '首工序及多工序' }
  176. ];
  177. //属性类型
  178. export const lbjtList = {
  179. 1: '自制件',
  180. 2: '采购件',
  181. 3: '外协件',
  182. 4: '受托件'
  183. };
  184. //商品级别
  185. export const levelList = [
  186. { value: '1', label: '特级' },
  187. { value: '2', label: '一级' },
  188. { value: '3', label: '二级' },
  189. { value: '4', label: '三级' }
  190. ];
  191. //变更类型
  192. export const relationTypeList = [{ value: 100, label: '采购订单' }];
  193. //销售订单整体进度
  194. export const saleOrderProgressStatusEnum = [
  195. { value: 0, label: '未开始' },
  196. { value: 100, label: '待排程' },
  197. { value: 200, label: '已排程' },
  198. { value: 300, label: '待派单' },
  199. { value: 400, label: '已派单' },
  200. { value: 500, label: '生产执行中' },
  201. { value: 501, label: '部分入库' },
  202. { value: 600, label: '已入库' },
  203. { value: 700, label: '待发货' },
  204. { value: 701, label: '部分发货' },
  205. { value: 800, label: '全部发货' },
  206. { value: 1000, label: '完成' }
  207. ];
  208. export const topLevel3 = [
  209. {
  210. label: '上级部门负责人',
  211. value: '1'
  212. },
  213. {
  214. label: '上二级部门负责人',
  215. value: '2'
  216. },
  217. {
  218. label: '上三级部门负责人',
  219. value: '3'
  220. },
  221. {
  222. label: '上四级部门负责人',
  223. value: '4'
  224. },
  225. {
  226. label: '上五级部门负责人',
  227. value: '5'
  228. },
  229. {
  230. label: '上六级部门负责人',
  231. value: '6'
  232. },
  233. {
  234. label: '上七级部门负责人',
  235. value: '7'
  236. },
  237. {
  238. label: '上八级部门负责人',
  239. value: '8'
  240. },
  241. {
  242. label: '上九级部门负责人',
  243. value: '9'
  244. }
  245. ];
  246. export const topLevel1 = [
  247. {
  248. label: '直接部门负责人',
  249. value: '1'
  250. },
  251. {
  252. label: '上二级部门负责人',
  253. value: '2'
  254. },
  255. {
  256. label: '上三级部门负责人',
  257. value: '3'
  258. },
  259. {
  260. label: '上四级部门负责人',
  261. value: '4'
  262. },
  263. {
  264. label: '上五级部门负责人',
  265. value: '5'
  266. },
  267. {
  268. label: '上六级部门负责人',
  269. value: '6'
  270. },
  271. {
  272. label: '上七级部门负责人',
  273. value: '7'
  274. },
  275. {
  276. label: '上八级部门负责人',
  277. value: '8'
  278. },
  279. {
  280. label: '上九级部门负责人',
  281. value: '9'
  282. }
  283. ];
  284. export const topLevel2 = [
  285. {
  286. label: '最高级部门负责人',
  287. value: '99'
  288. },
  289. {
  290. label: '第二层部门负责人',
  291. value: '2'
  292. },
  293. {
  294. label: '第三层部门负责人',
  295. value: '3'
  296. },
  297. {
  298. label: '第四层部门负责人',
  299. value: '4'
  300. },
  301. {
  302. label: '第五层部门负责人',
  303. value: '5'
  304. },
  305. {
  306. label: '第六层部门负责人',
  307. value: '6'
  308. },
  309. {
  310. label: '第七层部门负责人',
  311. value: '7'
  312. },
  313. {
  314. label: '第八层部门负责人',
  315. value: '8'
  316. },
  317. {
  318. label: '第九层部门负责人',
  319. value: '9'
  320. }
  321. ];
  322. //采购订单整体进度
  323. export const purchaseOrderProgressStatusEnum = [
  324. { value: 0, label: '未开始' },
  325. { value: 100, label: '在途' },
  326. { value: 101, label: '部分入库' },
  327. { value: 102, label: '待质检' },
  328. { value: 103, label: '质检中' },
  329. { value: 200, label: '已入库' },
  330. { value: 1000, label: '完成' }
  331. ];