index.js 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311
  1. export default {
  2. /**
  3. * @description 配置显示在浏览器标签的title
  4. */
  5. title: '东科MES系统',
  6. /**
  7. * @description token在Cookie中存储的天数,默认1天
  8. */
  9. cookieExpires: 1,
  10. /**
  11. * @description 是否使用国际化,默认为false
  12. * 如果不使用,则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
  13. * 用来在菜单中显示文字
  14. */
  15. useI18n: false,
  16. /**
  17. * @description 默认打开的首页的路由name值,默认为home
  18. */
  19. homeName: 'home',
  20. /**
  21. * @description 需要加载的插件
  22. */
  23. plugin: {
  24. 'error-store': {
  25. showInHeader: true, // 设为false后不会在顶部显示错误日志徽标
  26. developmentOff: true // 设为true后在开发环境不会收集错误信息,方便开发中排查错误
  27. }
  28. },
  29. //加载成功
  30. SUCCESS_CODE: 200,
  31. //扫码登录ClientId
  32. qvScanClientId: null,
  33. dkAuthIframePage: null,
  34. dkAuthSysUrl: null,
  35. dkAuthSysServerUrl: null,
  36. sysUuid: '00000002-b4ac-4912-a4c5-0945a775647f',
  37. appUuid: '6d2208ba-7ca9-41b2-96d3-b39a109ba811',
  38. redirectUrl: null,
  39. dkMallUrl: 'https://ibossmp.dongkesoft.com:7050/', /* 菜单查询的类型 1:change 2:Enter */
  40. searchMenuType: 1,
  41. logLoginPw: 'dkno1',
  42. //这几个属性保留
  43. uploadUrl: '',
  44. logsUrl: '',
  45. imgUrl: '',
  46. hgImgUrl: '',
  47. websocketUrl: '',
  48. LOGIN_PAGE_NAME: [],
  49. loginType: 1,
  50. serviceUrl: '',
  51. releaseTime: '',
  52. selectLimit: 10, // 下拉所限制的条数
  53. editTableInitRows: 10, //初始行数
  54. columnWidth: 150, //表格的默认列宽
  55. columnWidthMin: 100, //表格的最小列宽
  56. maxNumber: 100000000, // 数字类可输入的最大值
  57. maxDisplayNo:46656,// 序号最大值
  58. maxlength: 100, // 文本类可输入的最大长度
  59. pageSize: 10, // 一页数量
  60. fontSize: 12, // 字体大小
  61. maxTagCount: 2, // 下拉显示的默认数量
  62. maxDiscount: 999.99,//折扣的最大值
  63. textAreaMaxLength: 1000,// 备注文本框的最大值
  64. currentLang: 'zh-CN', // 默认语言
  65. //语言类型
  66. languages: [
  67. {key: 'zh-CN', label: '简体中文', value: 'zh_CN'},
  68. {key: 'en-US', label: '英语', value: 'en_US'},
  69. ]
  70. ,
  71. //字体
  72. fontSizes: [
  73. {key: '12', label: '12'},
  74. {key: '13', label: '13'},
  75. {key: '14', label: '14'},
  76. ]
  77. ,
  78. //按钮图标
  79. buttonIcon: {
  80. search: {icon: 'search'},
  81. create: {icon: 'new'},
  82. edit: {icon: 'edit'},
  83. clear: {icon: 'clear'},
  84. resetPassword: {icon: 'reset'},
  85. resetCpPassword: {icon: 'reset'},
  86. wxLocked: {icon: 'jiebang'},
  87. unLock: {icon: 'unlock'},
  88. unCpLock: {icon: 'unlock'},
  89. moduleRights: {icon: 'functionRight'},
  90. scopeRights: {icon: 'purview'},
  91. sync: {icon: 'tongbu'},
  92. refresh: {icon: 'refresh'},
  93. save: {icon: 'save'},
  94. enable: {icon: 'qiyong'},
  95. disable: {icon: 'tingyong'},
  96. editPwd: {icon: 'editPassword'},
  97. revert: {icon: 'reverse'},
  98. check: {icon: 'chakan'},
  99. reception: {icon: 'gongwujiedai'},
  100. follow: {icon: 'genjinkehu'},
  101. returnAndExchangeGoods: {icon: 'tuihuanhuo'},
  102. approve: {icon: 'shenpi'},
  103. toExamine: {icon: 'check'},
  104. resign: {icon: 'man-out'},
  105. resignTransfer: {icon: 'fenpeijiaose'},
  106. print: {icon: 'print'},
  107. openAccount: {icon: 'kaihuzhongxin'},
  108. stopAccount: {icon: 'tingyong1'},
  109. pull: {icon: 'tongbu1'},
  110. measuringStickReceipt: {icon: 'celianggongju1'},
  111. saveDms: {icon: 'chaosong'},
  112. getDms: {icon: 'shengchanjindu'},
  113. kujialeDesign: {icon: 'celianggongju1'},
  114. saleReturn: {icon: 'xiaoshoutuihuo'},
  115. saleReturnReverse: {icon: 'zuofei'},
  116. designFile: {icon: 'baojia'},
  117. orderDeposit: {icon: 'dingjin'},
  118. followTask: {icon: 'process'},
  119. import: {icon: 'import'},
  120. downloadTemplate: {icon: 'download'},
  121. draw: {icon: 'takeAmount'},
  122. collection: {icon: 'receive'},
  123. delete: {icon: 'reverse'},
  124. syncCustomer: {icon: 'tongbu1'},
  125. syncResume: {icon: 'rizhi'},
  126. submitForCensorship: {icon: 'songshen'},
  127. export: {icon: 'export'},
  128. saleRefund: {icon: 'refund'},
  129. orderRefund: {icon: 'refund'}
  130. },
  131. /**
  132. * @desc : 数据类型
  133. * @author : 周兴
  134. * @date : 2022/3/19 21:17
  135. */
  136. dataType: {
  137. //文本
  138. str: 'string',
  139. //数值
  140. number: 'number',
  141. //日期
  142. date: 'date',
  143. //日期+时间
  144. dateTime: 'dateTime',
  145. // 数组
  146. array: 'array',
  147. // 实体
  148. object: 'object'
  149. },
  150. noAccessPage: ['echarts'],
  151. /**
  152. * @desc : 系统基础数据类型
  153. * @author : 周兴
  154. * @date : 2022/3/9 10:28
  155. */
  156. basicTypeCode: {
  157. dealingCorp: '往来单位类型',
  158. channel: '销售渠道',
  159. settlementPoint: '采购结算时点',
  160. sex: '性别',
  161. national: '民族',
  162. supplierType: '供应商类型',
  163. warehouseType: '仓库标识',
  164. organizationType: '部门类型',
  165. staff: '员工',
  166. salesMode: '商品流通方式',
  167. flgEstimate: '计量标识',
  168. salesChannel: '销售渠道',
  169. invoiceType: '发票类型',
  170. customerNature: '客户性质',
  171. settlementCustomer: '结算客户',
  172. relationShip: '联系人关系',
  173. maritalStatus: '婚姻状况',
  174. politicalStatus: '政治面貌',
  175. educational: '学历',
  176. post: '基础-职务',
  177. job: '基础-岗位',
  178. role: '基础-角色',
  179. organization: '组织机构',
  180. company: '公司',
  181. user: '用户',
  182. noticeClass: '公告类别',
  183. taxNature: '公司纳税性质',
  184. approvalType: '审批拒绝再送审处理方式',
  185. kilnCarPlace: '窑车位置',
  186. },
  187. /**
  188. * @desc : 菜单的页面代码
  189. * @author : 周兴
  190. * @date : 2023/1/12 11:06
  191. */
  192. formCode:{
  193. // 产品缺陷
  194. productDefect :'product-defect',
  195. // 损坯原因
  196. productDamage :'product-damage',
  197. // 模具型号
  198. modelMould :'model-mould',
  199. // 物料型号
  200. modelMaterial :'model-material',
  201. // 载具型号
  202. modelCarrier :'model-carrier',
  203. // 设备型号
  204. modelEquipment :'model-equipment',
  205. },
  206. /**
  207. * @desc : 缺陷类别
  208. * @author : 夏常明
  209. * @date : 2023/1/12 11:25
  210. */
  211. defectKind:{
  212. //产品缺陷
  213. Defect : '缺陷类别-质量',
  214. //损坯
  215. Damage : '缺陷类别-损坯',
  216. },
  217. /**
  218. * @desc : 数据种类
  219. * @author : 夏常明
  220. * @date : 2023/1/30 16:17
  221. */
  222. kindType:{
  223. defectType:'缺陷类别',
  224. productGrade:'产品等级',
  225. },
  226. /**
  227. * @desc : 有显示顺序的表
  228. * @author : 周兴
  229. * @date : 2023/1/6 13:09
  230. */
  231. displayNoTable: {
  232. // 工种
  233. job: {model: 'core', table: 't_job'},
  234. // 职务
  235. post: {model: 'core', table: 't_post'},
  236. // 角色
  237. role: {model: 'core',table: 't_role'},
  238. // 釉色
  239. productColour:{model: 'mst',table: 't_product_colour'},
  240. // 缺陷分类
  241. productDefectType:{model: 'mst',table:'t_product_defect_type'},
  242. // 品牌
  243. productBrand:{model: 'mst',table:'t_product_brand'},
  244. // 产品分级
  245. productGrade:{model: 'mst',table:'t_product_grade'},
  246. // 产品商标
  247. productLogo:{model: 'mst',table:'t_product_logo'},
  248. // 标签打印机
  249. labelPrinter:{model: 'mst',table: 't_label_printer'},
  250. // 标签打印机模板
  251. labelPrinterLayout:{model: 'mst',table: 't_label_print_layout'},
  252. // 产品位置
  253. productPlace: {model: 'mst',table: 't_product_place'},
  254. // 组织部门
  255. organization:{model: 'core',table: 't_organization'},
  256. // 工厂区域
  257. factorySpace: {model:'mst',table:'t_factory_space'},
  258. // 产品缺陷
  259. productDefect:{model: 'mst',table:'t_product_defect'},
  260. // 工厂
  261. factory:{model:'core',table:'t_factory'},
  262. // 型号类别
  263. modelCategory:{model:'mst',table:'t_model_category'},
  264. // 产品型号验证标签
  265. modelPdtLabel:{model: 'mst',table: 't_model_pdt_label'},
  266. // 窑车位置
  267. kilnCarPlace:{model: 'mst',table: 't_kiln_car_place'},
  268. },
  269. /**
  270. * @desc : 出库状态
  271. * @author : 周兴
  272. * @date : 2022/6/24 17:42
  273. */
  274. outStatus: {
  275. noOut: '出库状态-未出',
  276. part: '出库状态-部分',
  277. allOut: '出库状态-完成'
  278. },
  279. /**
  280. * @desc : 查询的类型
  281. * @author : 周兴
  282. * @date : 2022/6/29 8:28
  283. */
  284. searchFlag: {
  285. //总单
  286. total: 0,
  287. //明细
  288. detail: 1
  289. },
  290. /**
  291. * @desc : 组合促销
  292. * @author : 周兴
  293. * @date : 2022/6/5 19:26
  294. */
  295. promotionType: {
  296. // 正常品
  297. sku: 0,
  298. // 单品促销
  299. promotion: 1,
  300. // 组合促销
  301. combined: 2,
  302. },
  303. /**
  304. * @desc : 系统单据
  305. * @author : 周兴
  306. * @date : 2022/3/17 11:25
  307. */
  308. docCode: {
  309. company: '财务主体',
  310. organization: '组织机构',
  311. customer: '客户资料',
  312. supplier: '供应商',
  313. staff: '员工',
  314. middleMan: '中间客户',
  315. dealingCorp: '往来单位',
  316. goods: '商品档案',
  317. warehouse: '仓库',
  318. costItem: '费用项目',
  319. address: '小区档案',
  320. bom: 'BOM配置',
  321. capitalAccount: '资金账户',
  322. orderFee: '订单费用',
  323. deposit: '订单定金',
  324. customerCollection: '客户收款',
  325. useCollection: '使用收款',
  326. customerWithdrawal: '客户取款',
  327. orderOut: '销售出库',
  328. orderOutReturn: '销售退货',
  329. standardPrice: '商品标价',
  330. promotionPrice: '单品促销',
  331. combinedPrice: '组合套餐',
  332. nonGlassPrice: '非标标价',
  333. order: '销售订单',
  334. refund: '退款单',
  335. },
  336. /**
  337. * @desc : 查询条件中有效标识
  338. * @author : 周兴
  339. * @date : 2023/1/29 10:14
  340. */
  341. flgValidSearch:{
  342. itemCode: 'flgValidList',
  343. valueFormat: {
  344. data: [
  345. {valueKey: 'true', flgValid: '有效'},
  346. {valueKey: 'false', flgValid: '无效'}],
  347. valueKey: 'valueKey',
  348. labelKey: 'flgValid',
  349. default: ['true']
  350. },
  351. valueKind: 'M-SEARCH'
  352. },
  353. /**
  354. * @desc : 单据编码
  355. * @author : 周兴
  356. * @date : 2022/3/15 17:18
  357. */
  358. pageCode: {
  359. 'system-setting': '系统参数-一览',
  360. 'operation-log': '操作日志-一览',
  361. 'form-setting': '表单设计-一览',
  362. 'audit-setting': '审批设置-一览',
  363. 'print-setting': '打印票据-一览',
  364. 'workflow-setting': '工作流程设置-一览',
  365. 'operation-flow-setting': '业务流程设置-一览',
  366. 'print-control': '打印控制-一览',
  367. 'dictionary': '数据字典-一览',
  368. 'organization': '组织机构-一览',
  369. 'role': '角色管理-一览',
  370. 'staff': '员工-一览',
  371. 'customer': '客户-一览',
  372. 'supplier': '供应商-一览',
  373. 'dealing-corp': '往来单位-一览',
  374. 'middle-man': '中间客户-一览',
  375. 'address': '小区档案-一览',
  376. 'goods-unit': '计量单位-一览',
  377. 'goods-attribute': '商品属性-一览',
  378. 'goods': '商品档案-一览',
  379. 'bom': 'BOM配置-一览',
  380. 'warehouse': '仓库档案-一览',
  381. 'custom-tag': '标签管理-一览',
  382. 'fee-item': '费用项目-一览',
  383. 'capital-account': '资金账户-一览',
  384. 'init-data': '初始化数据-一览',
  385. 'init-setting': '初始化设置-一览',
  386. 'goods-basic': '商品资料-一览',
  387. 'finance-basic': '财务资料-一览',
  388. 'invoice-purview-settings': '单据范围权限设置-一览',
  389. 'invoice-design': '单据设计-一览',
  390. 'user-invoice-purview-settings': '员工单据范围权限设置-一览',
  391. 'user': '用户-一览',
  392. 'job': '岗位-一览',
  393. 'sensitive': '敏感权限-一览',
  394. 'model-category': '型号类别-一览',
  395. },
  396. /**
  397. * @desc : 放大镜枚举
  398. * @author : 周兴
  399. * @date : 2022/3/16 14:42
  400. */
  401. MagnifierType: {
  402. staff: 'staff',
  403. user: 'user',
  404. organization: 'organization',
  405. company: 'company',
  406. noticeClass: 'noticeClass',
  407. customTags: 'customTags',
  408. goodsAttribute: 'goodsAttribute',
  409. goodsCategory: 'goodsCategory',
  410. warehouse: 'warehouse',
  411. customer: 'customer',
  412. customerOrder: 'customerOrder',
  413. dictionary: 'dictionary',
  414. channel: 'channel',
  415. role: 'role',
  416. job: 'job',
  417. post: 'post',
  418. goodsSpecs: 'goodsSpecs',
  419. order: 'order',
  420. receipt: 'receipt',
  421. estate: 'estate',
  422. promotion: 'promotion',
  423. combined: 'combined',
  424. settlementType: 'settlementType',
  425. store: 'store',
  426. goods: 'goods',
  427. skuForNon: 'skuForNon',
  428. },
  429. /**
  430. * @desc : 设计状态
  431. * @author : 周兴
  432. * @date : 2022/6/17 17:13
  433. */
  434. designStatus: {
  435. // yes:'设计状态-待设计',
  436. yes: '设计状态-需要',
  437. no: '设计状态-无需'
  438. },
  439. /**
  440. * @desc : 收款完成
  441. * @author : 周兴
  442. * @date : 2022/6/17 17:17
  443. */
  444. receiptStatus: {
  445. no: '收款状态-未收',
  446. part: '收款状态-部分',
  447. all: '收款状态-完成'
  448. },
  449. /**
  450. * @desc : 表格中的选择类型
  451. * @author : 周兴
  452. * @date : 2022/3/20 14:33
  453. */
  454. tableSelectType: {
  455. user: 'user',
  456. organization: 'organization',
  457. goods: 'goods',
  458. job: 'job',
  459. post: 'post',
  460. warehouse: 'warehouse',
  461. customer: 'customer',
  462. goodsSpecs: 'goodsSpecs',
  463. combinedType: 'combinedType',
  464. promotionType: 'promotion',
  465. nonStandList: 'nonStandList',
  466. skuForStand: 'skuForStand',
  467. skuForPromotion: 'skuForPromotion',
  468. skuForCombined: 'skuForCombined',
  469. skuForNon: 'skuForNon',
  470. spu: 'spu',
  471. },
  472. /**
  473. * @desc : 选择类型
  474. * @author : 周兴
  475. * @date : 2022/3/17 14:22
  476. */
  477. searchType: {
  478. //多选
  479. multiple: 'M',
  480. //单选
  481. single: 'S'
  482. },
  483. /**
  484. * @desc : 退款类型(大类)
  485. * @author : 周兴
  486. * @date : 2022/10/20 10:47
  487. */
  488. refundFlag: {
  489. // 无
  490. no: 0,
  491. // 东科
  492. dk: 1,
  493. // 万维
  494. ww: 2
  495. },
  496. /**
  497. * @desc : 退款类型(入口)
  498. * @author : 周兴
  499. * @date : 2022/10/21 8:40
  500. */
  501. refundType: {
  502. // 客户退款
  503. customer: 11,
  504. // 销售退款
  505. order: 12
  506. },
  507. /**
  508. * @desc : ERP退款类型
  509. * @author : 周兴
  510. * @date : 2022/10/20 10:38
  511. */
  512. erpRefundType: {
  513. // 无系统对接退预存
  514. noPreStore: 1,
  515. // 无系统对接退货款
  516. noReceive: 2,
  517. // 无系统对接退定金
  518. noEarnest: 3,
  519. // 东科退预存(余额)
  520. prestore_dk: 11,
  521. // 东科退定金
  522. earnest_dk: 12,
  523. // 东科退货款
  524. receive_dk: 13,
  525. // 万维退预存
  526. prestore_ww: 21,
  527. // 万维退货款
  528. receive_ww: 22,
  529. },
  530. /**
  531. * @desc : 画面模式
  532. * @author : 周兴
  533. * @date : 2022/3/19 21:17
  534. */
  535. formMode: {
  536. //新建
  537. add: 'add',
  538. //编辑
  539. edit: 'edit',
  540. //复制
  541. copy: 'copy',
  542. //批量
  543. batch: 'batch',
  544. //查看
  545. detail: 'detail',
  546. //退换货
  547. returnAndExchangeGoods: 'returnAndExchangeGoods',
  548. //收款
  549. collection: 'collection',
  550. //取款
  551. draw: 'draw',
  552. //收定金
  553. depositReceived: 'depositReceived',
  554. //取定金
  555. depositWithdrawal: 'depositWithdrawal',
  556. //销售退货
  557. saleReturn: 'saleReturn',
  558. //销售退货冲正
  559. saleReturnReverse: 'saleReturnReverse',
  560. // 审批
  561. approval: 'approval',
  562. // 退款
  563. refund: 'refund'
  564. },
  565. /**
  566. * @desc : 树形节点展开的模式
  567. * @author : 周兴
  568. * @date : 2022/5/11 16:19
  569. */
  570. expandMode: {
  571. //所有
  572. all: 'all',
  573. //所有一级展开
  574. one: 'one',
  575. //第一个节点展开到最末端
  576. oneDeep: 'oneDeep',
  577. //不展开
  578. none: 'none'
  579. },
  580. /**
  581. * @desc : 列类型
  582. * @author : 周兴
  583. * @date : 2022/3/19 21:17
  584. */
  585. columnType: {
  586. //文本
  587. str: 'string',
  588. //数值
  589. number: 'number',
  590. //日期
  591. date: 'date',
  592. //日期+时间
  593. dateTime: 'dateTime',
  594. // 数组
  595. array: 'array'
  596. },
  597. /**
  598. * @desc : 商品属性
  599. * @author : 周兴
  600. * @date : 2022/3/9 10:28
  601. */
  602. goodsAttribute: {
  603. goodsVariety: '商品属性-品种',
  604. goodsBrand: '商品属性-品牌',
  605. goodsCategory: '商品属性-种类',
  606. goodsSeries: '商品属性-系列',
  607. goodsGrade: '商品属性-等级',
  608. goodsSpec: '商品属性-规格',
  609. },
  610. /**
  611. * @desc : 项目分类类型 1:总单 2:明细 3:
  612. * @author : 姜永辉
  613. * @date : 2022/3/19 17:12
  614. */
  615. classType: {
  616. 'order': '总单',
  617. 'detail': '明细',
  618. },
  619. /**
  620. * @desc : 主页抽屉类型
  621. * @author : 周兴
  622. * @date : 2022/8/20 13:25
  623. */
  624. homeDrawType: {
  625. // 待审中心
  626. waitAudit: 0,
  627. // 系统公告
  628. notice: 1,
  629. },
  630. /**
  631. * @desc : 特殊类型
  632. * @author : 周兴
  633. * @date : 2022/8/24 9:32
  634. */
  635. specialType: {
  636. // 普通
  637. common: {value: 0, label: '客意品类-普通'},
  638. // 定制
  639. custom: {value: 1, label: '客意品类-定制'},
  640. // 智能
  641. intellect: {value: 2, label: '客意品类-智能'},
  642. },
  643. /**
  644. * @desc : 有效标识
  645. * @author : 周兴
  646. * @date : 2022/4/11 15:19
  647. */
  648. flgValid: {
  649. //有效
  650. valid: 1,
  651. //无效
  652. unValid: 0,
  653. },
  654. /**
  655. * @desc : 商品类别
  656. * @author : 周兴
  657. * @date : 2022/4/10 10:17
  658. */
  659. goodsType: {
  660. //商品
  661. goods: 0,
  662. //套件(子件)
  663. sub: 1,
  664. //BOM
  665. bom: 2
  666. },
  667. /**
  668. * @desc : 单据值类型
  669. * @author : 姜永辉
  670. * @date : 2022/3/18 9:55
  671. */
  672. docValueKind: {
  673. userInput: 'USER_INPUT',//用户输入
  674. dicData: 'DIC_DATA',//数据字典
  675. basicData: 'BASIC_DATA',//基础数据(需要注意范围权限
  676. },
  677. /**
  678. * @desc : 单据值类型
  679. * @author : 姜永辉
  680. * @date : 2022/3/18 9:55
  681. */
  682. docUserInput: {
  683. 'int': 'INT',//整数
  684. 'num': 'NUM',//数值
  685. 'str': 'STR',//文本
  686. 'txt': 'TXT',//多行文本
  687. 'bool': 'BOOL',//布尔
  688. 'time': 'TIME',//时间
  689. 'date': 'DATE',//日期
  690. 'datetime': 'DATETIME',//日时
  691. 'dateRange': 'DATE_RANGE',// 日期范围
  692. 'mSearch': 'M-SEARCH',// 多选放大镜
  693. 'sSearch': 'S-SEARCH',// 单选放大镜
  694. 'sChoice': 'S-CHOICE', // 单选下拉
  695. 'radio': 'RADIO', //radio
  696. },
  697. /**
  698. * 集团公司id
  699. */
  700. hegiiCpId: 1,
  701. /**
  702. * @desc : 系统类型
  703. * @author : 洪旭东
  704. * @date : 2022-05-09 16:32
  705. */
  706. sysType: {
  707. SYS_HEGII: 1,
  708. SYS_MERCHANT: 2,
  709. CP_HEGII: 1,
  710. password_security_policy: 1
  711. },
  712. /**
  713. * @desc : 用户类型
  714. * @date : 2022/5/14 9:45
  715. * @author : 寇珊珊
  716. */
  717. userType: {
  718. staffUser: 1,
  719. ApiUser: -1,
  720. },
  721. /**
  722. * @desc : 平台应用
  723. * @author : 洪旭东
  724. * @date : 2022-05-09 16:32
  725. */
  726. appType: {
  727. APP_WEB_HEGII: 'ffe98125-90a3-4c0e-98b1-ebb02325c4b4',
  728. APP_WEB_MERCHANT: '5096ef17-ee97-47bc-ab99-1d6be28f4b66',
  729. APP_WX_MERCHANT: 'e8d25036-4b95-48d6-a77b-1cfb077dd3e6',
  730. },
  731. /**
  732. * @desc : 系统参数
  733. * @author : 洪旭东
  734. * @date : 2022-05-11 16:27
  735. */
  736. sysCode: {
  737. SYS_CODE_001: 'PWD_001',
  738. SYS_CODE_002: 'PWD_002',
  739. SYS_CODE_003: 'PWD_003',
  740. SYS_CODE_010: 'PWD_010',
  741. SYS_CODE_011: 'PWD_011',
  742. SYS_CODE_012: 'PWD_012',
  743. SYS_CODE_013: 'PWD_013',
  744. SYS_CODE_014: 'PWD_014',
  745. SYS_CODE_015: 'PWD_015',
  746. SYS_CODE_016: 'PWD_016',
  747. },
  748. /**
  749. * @desc : 订单参数
  750. * @date : 2022/5/31 16:21
  751. * @author : 寇珊珊
  752. */
  753. orderAllocation: {
  754. orderAll: 'orderAll',
  755. priceOrder: 'priceOrder',
  756. thisMonthOrder: 'thisMonthOrder',//暂时注掉‘本月订单’
  757. dealOrder: 'dealOrder',
  758. myOrder: 'myOrder',//暂时注掉'我的订单'
  759. customDesign: 'customDesign',
  760. followOrder: 'followOrder',
  761. docCode: '销售订单',
  762. orderType: 1, //报价单
  763. designStatusNo: "设计状态-无需",
  764. designStatusYes: "设计状态-需要",
  765. designStatusString: '不需要设计',
  766. allDesign: 'allDesign',
  767. toBeDesigned: 'toBeDesigned',
  768. designed: 'designed',
  769. determineDesign: 'determineDesign',
  770. toBeDesignedZh: '设计状态-待设计',
  771. designedZh: '设计状态-已设计',
  772. determineDesignZh: '设计状态-确定',
  773. orderStatus: '订单状态-通过',
  774. collection: 1,//收款
  775. draw: -1,//取款
  776. check: 0,// 查看
  777. customerCollection: '客户收款',//客户收款
  778. customerDraw: '客户取款',//客户取款
  779. receiptDirectionString: '定金',//定金
  780. },
  781. /**
  782. * @desc : 订单类型
  783. * @author : 周兴
  784. * @date : 2022/7/16 8:47
  785. */
  786. orderType: {
  787. // 退款单 -2
  788. refund: -2,
  789. // 退货单
  790. return: -1,
  791. //报价单
  792. quote: 1,
  793. //销售订单
  794. order: 2,
  795. //跟单
  796. follow: 3,
  797. //冲正
  798. reverse: 4
  799. },
  800. /**
  801. * @desc : erp推送状态
  802. * @author : 周兴
  803. * @date : 2022/7/13 11:44
  804. */
  805. erpPushStatus: {
  806. // 未推送
  807. no: 0,
  808. //推送成功
  809. success: 1,
  810. //推送失败
  811. fail: 2,
  812. //推送异常
  813. error: 3
  814. },
  815. /**
  816. * @desc : 订单状态
  817. * @author : 周兴
  818. * @date : 2022/6/21 16:31
  819. */
  820. orderStatus: {
  821. quote: '订单状态-报价',
  822. waitAudit: '订单状态-待审',
  823. done: '订单状态-通过',
  824. refuse: '订单状态-拒绝',
  825. reverse: '订单状态-冲正',
  826. },
  827. /**
  828. * @desc : 审批状态
  829. * @date : 2022/9/1 13:57
  830. * @author : 寇珊珊
  831. */
  832. apvResultStatus: {
  833. adopt: '审-通过',
  834. },
  835. /**
  836. * @desc : 审批状态
  837. * @author : 周兴
  838. * @date : 2022/6/21 16:31
  839. */
  840. approvalStatus: {
  841. waitAudit: '审-待审',
  842. done: '审-通过',
  843. refuse: '审-拒绝',
  844. error: '审-异常',
  845. auditing: '审-审中'
  846. },
  847. /**
  848. * @desc : 标识(是万维还是东科)
  849. * @author : 周兴
  850. * @date : 2022/11/14 14:27
  851. */
  852. linkPsiSystem: {
  853. 'DK-IBOSS': 'DK-IBOSS',
  854. 'WANWEI-PSI': 'WANWEI-PSI',
  855. },
  856. /**
  857. * @desc : 订单明细参数
  858. * @date : 2022/5/31 19:26
  859. * @author : 寇珊珊
  860. */
  861. orderDetailAllocation: {
  862. goodsDetail: 'goodsDetail',//货物明细
  863. collectionDetail: 'collectionDetail',//收款明细
  864. approvalDetail: 'approvalDetail',//审批明细
  865. filesDetail: 'filesDetail',//文件列表
  866. inventory: 'inventory', //产品清单
  867. designScheme: 'designScheme',//设计方案
  868. customerMessage: 'customerMessage',//客户信息
  869. },
  870. /**
  871. * @desc : 打印模板数据源
  872. * @author : 张潇木
  873. * @date : 2022-5-13 13:02
  874. */
  875. printTemplateDataSource: [
  876. {
  877. label: '销售订单',
  878. value: '销售订单',
  879. dataSource: {
  880. main: [
  881. {title: '订单号', key: 'no', value: 'DKRJ2022021000001'},
  882. {title: '客户名称', key: 'consumerName', value: '员工A'},
  883. {title: '客户电话', key: 'consumerTelephone', value: '17640177992'},
  884. {title: '客户地址', key: 'consumerAddress', value: '辽宁省沈阳市浑南区国际软件园F9东科软件'},
  885. {title: '订单状态', key: 'orderStatus', value: '完成'},
  886. {title: '备注', key: 'remarks', value: '备注备注备注'}
  887. ],
  888. detail: [
  889. {title: '产品名称', key: 'productName', value: '浴室柜 BC6017-090 木合金'},
  890. {title: '产品编码', key: 'productCode', value: 'BC6017-090'},
  891. {title: '色号', key: 'batchNo', value: '洁白'},
  892. {title: '规格', key: 'specBeforeValue', value: '900×485×185mm'},
  893. {title: '产品数量', key: 'unprocessedQuantity', value: '1'},
  894. {title: '备注', key: 'remark', value: '主柜颜色:绅士灰,镜柜颜色:哑光黑'},
  895. ]
  896. },
  897. tableColTemp: [
  898. {
  899. title: '产品名称',
  900. key: 'productName',
  901. width: 15,
  902. fontSize: 14,
  903. align1: 'center',
  904. align2: 'center',
  905. fontStyle: false,
  906. bold: false,
  907. },
  908. {
  909. title: '产品编码',
  910. key: 'productCode',
  911. width: 20,
  912. fontSize: 14,
  913. align1: 'center',
  914. align2: 'center',
  915. fontStyle: false,
  916. bold: false,
  917. },
  918. {
  919. title: '色号',
  920. key: 'batchNo',
  921. width: 15,
  922. fontSize: 14,
  923. align1: 'center',
  924. align2: 'center',
  925. fontStyle: false,
  926. bold: false,
  927. },
  928. {
  929. title: '规格',
  930. key: 'specBeforeValue',
  931. width: 15,
  932. fontSize: 14,
  933. align1: 'center',
  934. align2: 'center',
  935. fontStyle: false,
  936. bold: false,
  937. },
  938. ]
  939. },
  940. ],
  941. /**
  942. * @desc : 打印模板纸张类型
  943. * @author : 张潇木
  944. * @date : 2022-5-13 13:10
  945. */
  946. paperTypeList: [
  947. {label: 'A4 (21cm x 29.7cm)', value: 0, width: 21, height: 29.7},
  948. {label: 'A5 (14.8cm x 21cm)', value: 1, width: 14.8, height: 21},
  949. {label: 'B5 (17.6cm x 25cm)', value: 2, width: 17.6, height: 25}
  950. ],
  951. uploadFileConfig: {
  952. maxSize: 2048,//图片大小的最大值 2MB 2048kb
  953. acceptPicType: 'image/png,image/jpeg,image/jpg',// 接受上传的图片类型
  954. acceptVideoType: 'video/mp4,video/avi,video/mov',// 接受上传的视频类型
  955. acceptExcel: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel ',
  956. acceptPdf: 'application/pdf',
  957. },
  958. /**
  959. * @desc : 对接系统代码
  960. * @author : 洪旭东
  961. * @date : 2022-05-14 15:01
  962. */
  963. hgHapApiCode: {
  964. token: 'HG-HAP-TOKEN',
  965. org: 'HG-HAP-ORG',
  966. area: 'HG-HAP-AREA',
  967. area1: 'HG-HAP-AREA_1',
  968. dict: 'HG-HAP-DICT',
  969. dict1: 'HG-HAP-DICT_1',
  970. store: 'HG-HAP-STORE',
  971. store1: 'HG-HAP-STORE_1',
  972. category: 'HG-HAP-CATEGORY',
  973. category1: 'HG-HAP-CATEGORY_1',
  974. cpps: 'HG-HAP-CPPS',
  975. cpps1: 'HG-HAP-CPPS_1',
  976. product: 'HG-HAP-PRODUCT',
  977. product1: 'HG-HAP-PRODUCT_1',
  978. pmsCategory: 'HG-HAP-PMS-CATEGORY',
  979. pmsCategory1: 'HG-HAP-PMS-CATEGORY_1',
  980. pmsAttribute: 'HG-HAP-PMS-ATTRIBUTE',
  981. pmsAttribute1: 'HG-HAP-PMS-ATTRIBUTE_1',
  982. pmsProduct: 'HG-HAP-PMS-PRODUCT',
  983. pmsProduct1: 'HG-HAP-PMS-PRODUCT_1',
  984. nonParameter1: 'HG-HAP-PMS-NONPARAMETER_1',
  985. productHtml1: 'HG-HAP-PMS-PRODUCT_1_HTML',
  986. productNsp1: 'HG-HAP-PMS-PRODUCT_1_NSP',
  987. productSku1: 'HG-HAP-PMS-PRODUCT_1_SKU',
  988. },
  989. /**
  990. * @desc : 组织类型-样式
  991. * @author : 姜永辉
  992. * @date : 2022/4/20 9:27
  993. */
  994. orgTypeNameStyle: {
  995. /**
  996. * @desc : 公司
  997. * @author : 姜永辉
  998. * @date : 2022/4/20 9:28
  999. */
  1000. company: {color: '#fff', background: '#108ffe'},
  1001. /**
  1002. * @desc : 职能部门
  1003. * @author : 姜永辉
  1004. * @date : 2022/4/20 9:28
  1005. */
  1006. orgainzation: {color: '#fff', background: '#EE885C'},
  1007. /**
  1008. * @desc : 零售门店
  1009. * @author : 姜永辉
  1010. * @date : 2022/4/20 9:28
  1011. */
  1012. store: {color: '#fff', background: '#87CEFA'},
  1013. /**
  1014. * @desc : 部门类型-其他
  1015. * @author : 姜永辉
  1016. * @date : 2022/4/20 13:43
  1017. */
  1018. orgTypeOther: {color: '#fff', background: '#DA70D6'},
  1019. /**
  1020. * @desc : 部门类型-总公司
  1021. * @author : 姜永辉
  1022. * @date : 2022/4/20 13:44
  1023. */
  1024. parentCompany: {color: '#fff', background: '#108ffe'},
  1025. /**
  1026. * @desc : 部门类型-分销商
  1027. * @author : 姜永辉
  1028. * @date : 2022/4/20 13:44
  1029. */
  1030. distribution: {color: '#fff', background: '#90EE90'},
  1031. },
  1032. /**
  1033. * @desc : 组织类型
  1034. * @author : 姜永辉
  1035. * @date : 2022/4/20 9:27
  1036. */
  1037. orgTypeName: {
  1038. /**
  1039. * @desc : 公司
  1040. * @author : 姜永辉
  1041. * @date : 2022/4/20 9:28
  1042. */
  1043. company: '部门类型-分公司', /**
  1044. * @desc : 职能部门
  1045. * @author : 姜永辉
  1046. * @date : 2022/4/20 9:28
  1047. */
  1048. orgainzation: '部门类型-部门', /**
  1049. * @desc : 零售门店
  1050. * @author : 姜永辉
  1051. * @date : 2022/4/20 9:28
  1052. */
  1053. store: '部门类型-门店', /**
  1054. * @desc : 部门类型-其他
  1055. * @author : 姜永辉
  1056. * @date : 2022/4/20 13:43
  1057. */
  1058. orgTypeOther: '部门类型-其他',
  1059. /**
  1060. * @desc : 部门类型-总公司
  1061. * @author : 姜永辉
  1062. * @date : 2022/4/20 13:44
  1063. */
  1064. parentCompany: '部门类型-总公司',
  1065. /**
  1066. * @desc : 部门类型-分销商
  1067. * @author : 姜永辉
  1068. * @date : 2022/4/20 13:44
  1069. */
  1070. distribution: '部门类型-分销商',
  1071. },
  1072. /**
  1073. * @desc : 企业微信配置项
  1074. * @author : 洪旭东
  1075. * @date : 2022-05-19 16:09
  1076. */
  1077. qvConfig: {
  1078. qv_owner: 'qv_owner',
  1079. qvOwnerList: {
  1080. hegii: '1',
  1081. other: '2'
  1082. },
  1083. cpId: 'cpId',
  1084. cpName: 'cpName'
  1085. },
  1086. /**
  1087. * @desc : 数据字典类型
  1088. * @author : 洪旭东
  1089. * @date : 2022-05-23 17:25
  1090. */
  1091. dictionaryItemCode: {
  1092. customerClass: '客户-客户分类',
  1093. customerfitupStyle: '客户-装修风格',
  1094. customerFitupType: '客户-装修类型',
  1095. customerAgeComposition: '客户-年龄构成',
  1096. customerDecisionMaker: '客户-决策者',
  1097. customerType: '客户-客户类型',
  1098. customerHouseType: '客户-房屋类型',
  1099. promotionPriceType: '促销-促销分类',
  1100. glassThickness: '商品-玻璃厚度',
  1101. glassCraft: '商品-玻璃工艺',
  1102. substrateColor: '商品-基材颜色',
  1103. usedLocation: '销售-使用位置',
  1104. deliveryType: '销售-交货方式',
  1105. loseReason: '客户-流失原因',
  1106. bank: '销售-开户行',
  1107. rejectReasonType: '销售-退货类别'
  1108. },
  1109. /**
  1110. * @desc : 系统字典类型
  1111. * @author : 洪旭东
  1112. * @date : 2022-05-24 17:27
  1113. */
  1114. basicDataType: {
  1115. messageTemplate: '消息模板',
  1116. invoiceType: '发票类型',
  1117. customerDeal: '客成状态',
  1118. followType: '跟进方式',
  1119. inviteResult: '邀约结果',
  1120. gender: '性别',
  1121. followStatus: '跟进状态',
  1122. intention: '客户意向',
  1123. stayTimeLen: '留店时长',
  1124. intentionTags: '客意品类',
  1125. },
  1126. /**
  1127. * @desc : 系统字典dataCode
  1128. * @author : 洪旭东
  1129. * @date : 2022-05-25 19:11
  1130. */
  1131. basicDataCode: {
  1132. // 跟进状态
  1133. followStatus1: '跟进状态-跟进',
  1134. followStatus2: '跟进状态-邀约',
  1135. followStatus3: '跟进状态-约尺',
  1136. followStatus4: '跟进状态-接待',
  1137. followStatus5: '跟进状态-报备',
  1138. followStatus6: '跟进状态-量尺',
  1139. // 跟进状态-报备
  1140. // 跟进状态-报价
  1141. // 跟进状态-成交
  1142. // 跟进类型
  1143. followType1: '跟进方式-进店',
  1144. followType2: '跟进方式-上门',
  1145. // 审核状态
  1146. reviewStatus1: '审-待审',
  1147. // 邀约结果
  1148. inviteResult1: '邀约结果-接受',
  1149. inviteResult2: '邀约结果-拒绝',
  1150. //客意品类
  1151. customerIntention1: '客意品类-智能',
  1152. customerIntention2: '客意品类-定制',
  1153. salesStatus1: '客成状态-潜客',
  1154. salesStatus2: '客成状态-成交',
  1155. },
  1156. /**
  1157. * @desc : 客户意向
  1158. * @author : 洪旭东
  1159. * @date : 2022-06-11 16:30
  1160. */
  1161. intention: {
  1162. sea: '客户意向-放入公海',
  1163. lost: '客户意向-已流失'
  1164. },
  1165. /**
  1166. * 未设置的独立账套对应的顶级部门ID
  1167. */
  1168. companyTopOrgId: 0,
  1169. /**
  1170. * 开户类型
  1171. * 0:未开户 1:经销商独立(可以登录系统) 2:分销商独立(可以登录系统) 3:分销归属经销商
  1172. */
  1173. openingType: {
  1174. type0: 0,
  1175. type1: 1,
  1176. type2: 2,
  1177. type3: 3,
  1178. },
  1179. /**
  1180. * 【商户类型】1:集团 2:办事处 3:经销商 4:分销商
  1181. */
  1182. companyType: {
  1183. type1: 1,
  1184. type2: 2,
  1185. type3: 3,
  1186. type4: 4,
  1187. typeName1: '集团',
  1188. },
  1189. /**
  1190. * 商品类型
  1191. */
  1192. skuType: {
  1193. goods: 0,
  1194. bom: 2
  1195. },
  1196. /**
  1197. * @desc : 客成状态
  1198. * @author : 洪旭东
  1199. * @date : 2022-08-30 15:31
  1200. */
  1201. saleStatus: {
  1202. sea: '客成状态-公海'
  1203. },
  1204. /**
  1205. * @desc : 对接系统默认url
  1206. * @author : 洪旭东
  1207. * @date : 2022-09-06 20:29
  1208. */
  1209. psiSystemIp: {
  1210. iboss: 'http://172.20.12.196',
  1211. wanwei: 'http://172.20.13.213'
  1212. },
  1213. psiSystemPort: {
  1214. iboss: '',
  1215. wanwei: '8888'
  1216. },
  1217. psiSystemBasic: {
  1218. estate: 'estate'
  1219. }
  1220. }