| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311 |
- export default {
- /**
- * @description 配置显示在浏览器标签的title
- */
- title: '东科MES系统',
- /**
- * @description token在Cookie中存储的天数,默认1天
- */
- cookieExpires: 1,
- /**
- * @description 是否使用国际化,默认为false
- * 如果不使用,则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
- * 用来在菜单中显示文字
- */
- useI18n: false,
- /**
- * @description 默认打开的首页的路由name值,默认为home
- */
- homeName: 'home',
- /**
- * @description 需要加载的插件
- */
- plugin: {
- 'error-store': {
- showInHeader: true, // 设为false后不会在顶部显示错误日志徽标
- developmentOff: true // 设为true后在开发环境不会收集错误信息,方便开发中排查错误
- }
- },
- //加载成功
- SUCCESS_CODE: 200,
- //扫码登录ClientId
- qvScanClientId: null,
- dkAuthIframePage: null,
- dkAuthSysUrl: null,
- dkAuthSysServerUrl: null,
- sysUuid: '00000002-b4ac-4912-a4c5-0945a775647f',
- appUuid: '6d2208ba-7ca9-41b2-96d3-b39a109ba811',
- redirectUrl: null,
- dkMallUrl: 'https://ibossmp.dongkesoft.com:7050/', /* 菜单查询的类型 1:change 2:Enter */
- searchMenuType: 1,
- logLoginPw: 'dkno1',
- //这几个属性保留
- uploadUrl: '',
- logsUrl: '',
- imgUrl: '',
- hgImgUrl: '',
- websocketUrl: '',
- LOGIN_PAGE_NAME: [],
- loginType: 1,
- serviceUrl: '',
- releaseTime: '',
- selectLimit: 10, // 下拉所限制的条数
- editTableInitRows: 10, //初始行数
- columnWidth: 150, //表格的默认列宽
- columnWidthMin: 100, //表格的最小列宽
- maxNumber: 100000000, // 数字类可输入的最大值
- maxDisplayNo:46656,// 序号最大值
- maxlength: 100, // 文本类可输入的最大长度
- pageSize: 10, // 一页数量
- fontSize: 12, // 字体大小
- maxTagCount: 2, // 下拉显示的默认数量
- maxDiscount: 999.99,//折扣的最大值
- textAreaMaxLength: 1000,// 备注文本框的最大值
- currentLang: 'zh-CN', // 默认语言
- //语言类型
- languages: [
- {key: 'zh-CN', label: '简体中文', value: 'zh_CN'},
- {key: 'en-US', label: '英语', value: 'en_US'},
- ]
- ,
- //字体
- fontSizes: [
- {key: '12', label: '12'},
- {key: '13', label: '13'},
- {key: '14', label: '14'},
- ]
- ,
- //按钮图标
- buttonIcon: {
- search: {icon: 'search'},
- create: {icon: 'new'},
- edit: {icon: 'edit'},
- clear: {icon: 'clear'},
- resetPassword: {icon: 'reset'},
- resetCpPassword: {icon: 'reset'},
- wxLocked: {icon: 'jiebang'},
- unLock: {icon: 'unlock'},
- unCpLock: {icon: 'unlock'},
- moduleRights: {icon: 'functionRight'},
- scopeRights: {icon: 'purview'},
- sync: {icon: 'tongbu'},
- refresh: {icon: 'refresh'},
- save: {icon: 'save'},
- enable: {icon: 'qiyong'},
- disable: {icon: 'tingyong'},
- editPwd: {icon: 'editPassword'},
- revert: {icon: 'reverse'},
- check: {icon: 'chakan'},
- reception: {icon: 'gongwujiedai'},
- follow: {icon: 'genjinkehu'},
- returnAndExchangeGoods: {icon: 'tuihuanhuo'},
- approve: {icon: 'shenpi'},
- toExamine: {icon: 'check'},
- resign: {icon: 'man-out'},
- resignTransfer: {icon: 'fenpeijiaose'},
- print: {icon: 'print'},
- openAccount: {icon: 'kaihuzhongxin'},
- stopAccount: {icon: 'tingyong1'},
- pull: {icon: 'tongbu1'},
- measuringStickReceipt: {icon: 'celianggongju1'},
- saveDms: {icon: 'chaosong'},
- getDms: {icon: 'shengchanjindu'},
- kujialeDesign: {icon: 'celianggongju1'},
- saleReturn: {icon: 'xiaoshoutuihuo'},
- saleReturnReverse: {icon: 'zuofei'},
- designFile: {icon: 'baojia'},
- orderDeposit: {icon: 'dingjin'},
- followTask: {icon: 'process'},
- import: {icon: 'import'},
- downloadTemplate: {icon: 'download'},
- draw: {icon: 'takeAmount'},
- collection: {icon: 'receive'},
- delete: {icon: 'reverse'},
- syncCustomer: {icon: 'tongbu1'},
- syncResume: {icon: 'rizhi'},
- submitForCensorship: {icon: 'songshen'},
- export: {icon: 'export'},
- saleRefund: {icon: 'refund'},
- orderRefund: {icon: 'refund'}
- },
- /**
- * @desc : 数据类型
- * @author : 周兴
- * @date : 2022/3/19 21:17
- */
- dataType: {
- //文本
- str: 'string',
- //数值
- number: 'number',
- //日期
- date: 'date',
- //日期+时间
- dateTime: 'dateTime',
- // 数组
- array: 'array',
- // 实体
- object: 'object'
- },
- noAccessPage: ['echarts'],
- /**
- * @desc : 系统基础数据类型
- * @author : 周兴
- * @date : 2022/3/9 10:28
- */
- basicTypeCode: {
- dealingCorp: '往来单位类型',
- channel: '销售渠道',
- settlementPoint: '采购结算时点',
- sex: '性别',
- national: '民族',
- supplierType: '供应商类型',
- warehouseType: '仓库标识',
- organizationType: '部门类型',
- staff: '员工',
- salesMode: '商品流通方式',
- flgEstimate: '计量标识',
- salesChannel: '销售渠道',
- invoiceType: '发票类型',
- customerNature: '客户性质',
- settlementCustomer: '结算客户',
- relationShip: '联系人关系',
- maritalStatus: '婚姻状况',
- politicalStatus: '政治面貌',
- educational: '学历',
- post: '基础-职务',
- job: '基础-岗位',
- role: '基础-角色',
- organization: '组织机构',
- company: '公司',
- user: '用户',
- noticeClass: '公告类别',
- taxNature: '公司纳税性质',
- approvalType: '审批拒绝再送审处理方式',
- kilnCarPlace: '窑车位置',
- },
- /**
- * @desc : 菜单的页面代码
- * @author : 周兴
- * @date : 2023/1/12 11:06
- */
- formCode:{
- // 产品缺陷
- productDefect :'product-defect',
- // 损坯原因
- productDamage :'product-damage',
- // 模具型号
- modelMould :'model-mould',
- // 物料型号
- modelMaterial :'model-material',
- // 载具型号
- modelCarrier :'model-carrier',
- // 设备型号
- modelEquipment :'model-equipment',
- },
- /**
- * @desc : 缺陷类别
- * @author : 夏常明
- * @date : 2023/1/12 11:25
- */
- defectKind:{
- //产品缺陷
- Defect : '缺陷类别-质量',
- //损坯
- Damage : '缺陷类别-损坯',
- },
- /**
- * @desc : 数据种类
- * @author : 夏常明
- * @date : 2023/1/30 16:17
- */
- kindType:{
- defectType:'缺陷类别',
- productGrade:'产品等级',
- },
- /**
- * @desc : 有显示顺序的表
- * @author : 周兴
- * @date : 2023/1/6 13:09
- */
- displayNoTable: {
- // 工种
- job: {model: 'core', table: 't_job'},
- // 职务
- post: {model: 'core', table: 't_post'},
- // 角色
- role: {model: 'core',table: 't_role'},
- // 釉色
- productColour:{model: 'mst',table: 't_product_colour'},
- // 缺陷分类
- productDefectType:{model: 'mst',table:'t_product_defect_type'},
- // 品牌
- productBrand:{model: 'mst',table:'t_product_brand'},
- // 产品分级
- productGrade:{model: 'mst',table:'t_product_grade'},
- // 产品商标
- productLogo:{model: 'mst',table:'t_product_logo'},
- // 标签打印机
- labelPrinter:{model: 'mst',table: 't_label_printer'},
- // 标签打印机模板
- labelPrinterLayout:{model: 'mst',table: 't_label_print_layout'},
- // 产品位置
- productPlace: {model: 'mst',table: 't_product_place'},
- // 组织部门
- organization:{model: 'core',table: 't_organization'},
- // 工厂区域
- factorySpace: {model:'mst',table:'t_factory_space'},
- // 产品缺陷
- productDefect:{model: 'mst',table:'t_product_defect'},
- // 工厂
- factory:{model:'core',table:'t_factory'},
- // 型号类别
- modelCategory:{model:'mst',table:'t_model_category'},
- // 产品型号验证标签
- modelPdtLabel:{model: 'mst',table: 't_model_pdt_label'},
- // 窑车位置
- kilnCarPlace:{model: 'mst',table: 't_kiln_car_place'},
- },
- /**
- * @desc : 出库状态
- * @author : 周兴
- * @date : 2022/6/24 17:42
- */
- outStatus: {
- noOut: '出库状态-未出',
- part: '出库状态-部分',
- allOut: '出库状态-完成'
- },
- /**
- * @desc : 查询的类型
- * @author : 周兴
- * @date : 2022/6/29 8:28
- */
- searchFlag: {
- //总单
- total: 0,
- //明细
- detail: 1
- },
- /**
- * @desc : 组合促销
- * @author : 周兴
- * @date : 2022/6/5 19:26
- */
- promotionType: {
- // 正常品
- sku: 0,
- // 单品促销
- promotion: 1,
- // 组合促销
- combined: 2,
- },
- /**
- * @desc : 系统单据
- * @author : 周兴
- * @date : 2022/3/17 11:25
- */
- docCode: {
- company: '财务主体',
- organization: '组织机构',
- customer: '客户资料',
- supplier: '供应商',
- staff: '员工',
- middleMan: '中间客户',
- dealingCorp: '往来单位',
- goods: '商品档案',
- warehouse: '仓库',
- costItem: '费用项目',
- address: '小区档案',
- bom: 'BOM配置',
- capitalAccount: '资金账户',
- orderFee: '订单费用',
- deposit: '订单定金',
- customerCollection: '客户收款',
- useCollection: '使用收款',
- customerWithdrawal: '客户取款',
- orderOut: '销售出库',
- orderOutReturn: '销售退货',
- standardPrice: '商品标价',
- promotionPrice: '单品促销',
- combinedPrice: '组合套餐',
- nonGlassPrice: '非标标价',
- order: '销售订单',
- refund: '退款单',
- },
- /**
- * @desc : 查询条件中有效标识
- * @author : 周兴
- * @date : 2023/1/29 10:14
- */
- flgValidSearch:{
- itemCode: 'flgValidList',
- valueFormat: {
- data: [
- {valueKey: 'true', flgValid: '有效'},
- {valueKey: 'false', flgValid: '无效'}],
- valueKey: 'valueKey',
- labelKey: 'flgValid',
- default: ['true']
- },
- valueKind: 'M-SEARCH'
- },
- /**
- * @desc : 单据编码
- * @author : 周兴
- * @date : 2022/3/15 17:18
- */
- pageCode: {
- 'system-setting': '系统参数-一览',
- 'operation-log': '操作日志-一览',
- 'form-setting': '表单设计-一览',
- 'audit-setting': '审批设置-一览',
- 'print-setting': '打印票据-一览',
- 'workflow-setting': '工作流程设置-一览',
- 'operation-flow-setting': '业务流程设置-一览',
- 'print-control': '打印控制-一览',
- 'dictionary': '数据字典-一览',
- 'organization': '组织机构-一览',
- 'role': '角色管理-一览',
- 'staff': '员工-一览',
- 'customer': '客户-一览',
- 'supplier': '供应商-一览',
- 'dealing-corp': '往来单位-一览',
- 'middle-man': '中间客户-一览',
- 'address': '小区档案-一览',
- 'goods-unit': '计量单位-一览',
- 'goods-attribute': '商品属性-一览',
- 'goods': '商品档案-一览',
- 'bom': 'BOM配置-一览',
- 'warehouse': '仓库档案-一览',
- 'custom-tag': '标签管理-一览',
- 'fee-item': '费用项目-一览',
- 'capital-account': '资金账户-一览',
- 'init-data': '初始化数据-一览',
- 'init-setting': '初始化设置-一览',
- 'goods-basic': '商品资料-一览',
- 'finance-basic': '财务资料-一览',
- 'invoice-purview-settings': '单据范围权限设置-一览',
- 'invoice-design': '单据设计-一览',
- 'user-invoice-purview-settings': '员工单据范围权限设置-一览',
- 'user': '用户-一览',
- 'job': '岗位-一览',
- 'sensitive': '敏感权限-一览',
- 'model-category': '型号类别-一览',
- },
- /**
- * @desc : 放大镜枚举
- * @author : 周兴
- * @date : 2022/3/16 14:42
- */
- MagnifierType: {
- staff: 'staff',
- user: 'user',
- organization: 'organization',
- company: 'company',
- noticeClass: 'noticeClass',
- customTags: 'customTags',
- goodsAttribute: 'goodsAttribute',
- goodsCategory: 'goodsCategory',
- warehouse: 'warehouse',
- customer: 'customer',
- customerOrder: 'customerOrder',
- dictionary: 'dictionary',
- channel: 'channel',
- role: 'role',
- job: 'job',
- post: 'post',
- goodsSpecs: 'goodsSpecs',
- order: 'order',
- receipt: 'receipt',
- estate: 'estate',
- promotion: 'promotion',
- combined: 'combined',
- settlementType: 'settlementType',
- store: 'store',
- goods: 'goods',
- skuForNon: 'skuForNon',
- },
- /**
- * @desc : 设计状态
- * @author : 周兴
- * @date : 2022/6/17 17:13
- */
- designStatus: {
- // yes:'设计状态-待设计',
- yes: '设计状态-需要',
- no: '设计状态-无需'
- },
- /**
- * @desc : 收款完成
- * @author : 周兴
- * @date : 2022/6/17 17:17
- */
- receiptStatus: {
- no: '收款状态-未收',
- part: '收款状态-部分',
- all: '收款状态-完成'
- },
- /**
- * @desc : 表格中的选择类型
- * @author : 周兴
- * @date : 2022/3/20 14:33
- */
- tableSelectType: {
- user: 'user',
- organization: 'organization',
- goods: 'goods',
- job: 'job',
- post: 'post',
- warehouse: 'warehouse',
- customer: 'customer',
- goodsSpecs: 'goodsSpecs',
- combinedType: 'combinedType',
- promotionType: 'promotion',
- nonStandList: 'nonStandList',
- skuForStand: 'skuForStand',
- skuForPromotion: 'skuForPromotion',
- skuForCombined: 'skuForCombined',
- skuForNon: 'skuForNon',
- spu: 'spu',
- },
- /**
- * @desc : 选择类型
- * @author : 周兴
- * @date : 2022/3/17 14:22
- */
- searchType: {
- //多选
- multiple: 'M',
- //单选
- single: 'S'
- },
- /**
- * @desc : 退款类型(大类)
- * @author : 周兴
- * @date : 2022/10/20 10:47
- */
- refundFlag: {
- // 无
- no: 0,
- // 东科
- dk: 1,
- // 万维
- ww: 2
- },
- /**
- * @desc : 退款类型(入口)
- * @author : 周兴
- * @date : 2022/10/21 8:40
- */
- refundType: {
- // 客户退款
- customer: 11,
- // 销售退款
- order: 12
- },
- /**
- * @desc : ERP退款类型
- * @author : 周兴
- * @date : 2022/10/20 10:38
- */
- erpRefundType: {
- // 无系统对接退预存
- noPreStore: 1,
- // 无系统对接退货款
- noReceive: 2,
- // 无系统对接退定金
- noEarnest: 3,
- // 东科退预存(余额)
- prestore_dk: 11,
- // 东科退定金
- earnest_dk: 12,
- // 东科退货款
- receive_dk: 13,
- // 万维退预存
- prestore_ww: 21,
- // 万维退货款
- receive_ww: 22,
- },
- /**
- * @desc : 画面模式
- * @author : 周兴
- * @date : 2022/3/19 21:17
- */
- formMode: {
- //新建
- add: 'add',
- //编辑
- edit: 'edit',
- //复制
- copy: 'copy',
- //批量
- batch: 'batch',
- //查看
- detail: 'detail',
- //退换货
- returnAndExchangeGoods: 'returnAndExchangeGoods',
- //收款
- collection: 'collection',
- //取款
- draw: 'draw',
- //收定金
- depositReceived: 'depositReceived',
- //取定金
- depositWithdrawal: 'depositWithdrawal',
- //销售退货
- saleReturn: 'saleReturn',
- //销售退货冲正
- saleReturnReverse: 'saleReturnReverse',
- // 审批
- approval: 'approval',
- // 退款
- refund: 'refund'
- },
- /**
- * @desc : 树形节点展开的模式
- * @author : 周兴
- * @date : 2022/5/11 16:19
- */
- expandMode: {
- //所有
- all: 'all',
- //所有一级展开
- one: 'one',
- //第一个节点展开到最末端
- oneDeep: 'oneDeep',
- //不展开
- none: 'none'
- },
- /**
- * @desc : 列类型
- * @author : 周兴
- * @date : 2022/3/19 21:17
- */
- columnType: {
- //文本
- str: 'string',
- //数值
- number: 'number',
- //日期
- date: 'date',
- //日期+时间
- dateTime: 'dateTime',
- // 数组
- array: 'array'
- },
- /**
- * @desc : 商品属性
- * @author : 周兴
- * @date : 2022/3/9 10:28
- */
- goodsAttribute: {
- goodsVariety: '商品属性-品种',
- goodsBrand: '商品属性-品牌',
- goodsCategory: '商品属性-种类',
- goodsSeries: '商品属性-系列',
- goodsGrade: '商品属性-等级',
- goodsSpec: '商品属性-规格',
- },
- /**
- * @desc : 项目分类类型 1:总单 2:明细 3:
- * @author : 姜永辉
- * @date : 2022/3/19 17:12
- */
- classType: {
- 'order': '总单',
- 'detail': '明细',
- },
- /**
- * @desc : 主页抽屉类型
- * @author : 周兴
- * @date : 2022/8/20 13:25
- */
- homeDrawType: {
- // 待审中心
- waitAudit: 0,
- // 系统公告
- notice: 1,
- },
- /**
- * @desc : 特殊类型
- * @author : 周兴
- * @date : 2022/8/24 9:32
- */
- specialType: {
- // 普通
- common: {value: 0, label: '客意品类-普通'},
- // 定制
- custom: {value: 1, label: '客意品类-定制'},
- // 智能
- intellect: {value: 2, label: '客意品类-智能'},
- },
- /**
- * @desc : 有效标识
- * @author : 周兴
- * @date : 2022/4/11 15:19
- */
- flgValid: {
- //有效
- valid: 1,
- //无效
- unValid: 0,
- },
- /**
- * @desc : 商品类别
- * @author : 周兴
- * @date : 2022/4/10 10:17
- */
- goodsType: {
- //商品
- goods: 0,
- //套件(子件)
- sub: 1,
- //BOM
- bom: 2
- },
- /**
- * @desc : 单据值类型
- * @author : 姜永辉
- * @date : 2022/3/18 9:55
- */
- docValueKind: {
- userInput: 'USER_INPUT',//用户输入
- dicData: 'DIC_DATA',//数据字典
- basicData: 'BASIC_DATA',//基础数据(需要注意范围权限
- },
- /**
- * @desc : 单据值类型
- * @author : 姜永辉
- * @date : 2022/3/18 9:55
- */
- docUserInput: {
- 'int': 'INT',//整数
- 'num': 'NUM',//数值
- 'str': 'STR',//文本
- 'txt': 'TXT',//多行文本
- 'bool': 'BOOL',//布尔
- 'time': 'TIME',//时间
- 'date': 'DATE',//日期
- 'datetime': 'DATETIME',//日时
- 'dateRange': 'DATE_RANGE',// 日期范围
- 'mSearch': 'M-SEARCH',// 多选放大镜
- 'sSearch': 'S-SEARCH',// 单选放大镜
- 'sChoice': 'S-CHOICE', // 单选下拉
- 'radio': 'RADIO', //radio
- },
- /**
- * 集团公司id
- */
- hegiiCpId: 1,
- /**
- * @desc : 系统类型
- * @author : 洪旭东
- * @date : 2022-05-09 16:32
- */
- sysType: {
- SYS_HEGII: 1,
- SYS_MERCHANT: 2,
- CP_HEGII: 1,
- password_security_policy: 1
- },
- /**
- * @desc : 用户类型
- * @date : 2022/5/14 9:45
- * @author : 寇珊珊
- */
- userType: {
- staffUser: 1,
- ApiUser: -1,
- },
- /**
- * @desc : 平台应用
- * @author : 洪旭东
- * @date : 2022-05-09 16:32
- */
- appType: {
- APP_WEB_HEGII: 'ffe98125-90a3-4c0e-98b1-ebb02325c4b4',
- APP_WEB_MERCHANT: '5096ef17-ee97-47bc-ab99-1d6be28f4b66',
- APP_WX_MERCHANT: 'e8d25036-4b95-48d6-a77b-1cfb077dd3e6',
- },
- /**
- * @desc : 系统参数
- * @author : 洪旭东
- * @date : 2022-05-11 16:27
- */
- sysCode: {
- SYS_CODE_001: 'PWD_001',
- SYS_CODE_002: 'PWD_002',
- SYS_CODE_003: 'PWD_003',
- SYS_CODE_010: 'PWD_010',
- SYS_CODE_011: 'PWD_011',
- SYS_CODE_012: 'PWD_012',
- SYS_CODE_013: 'PWD_013',
- SYS_CODE_014: 'PWD_014',
- SYS_CODE_015: 'PWD_015',
- SYS_CODE_016: 'PWD_016',
- },
- /**
- * @desc : 订单参数
- * @date : 2022/5/31 16:21
- * @author : 寇珊珊
- */
- orderAllocation: {
- orderAll: 'orderAll',
- priceOrder: 'priceOrder',
- thisMonthOrder: 'thisMonthOrder',//暂时注掉‘本月订单’
- dealOrder: 'dealOrder',
- myOrder: 'myOrder',//暂时注掉'我的订单'
- customDesign: 'customDesign',
- followOrder: 'followOrder',
- docCode: '销售订单',
- orderType: 1, //报价单
- designStatusNo: "设计状态-无需",
- designStatusYes: "设计状态-需要",
- designStatusString: '不需要设计',
- allDesign: 'allDesign',
- toBeDesigned: 'toBeDesigned',
- designed: 'designed',
- determineDesign: 'determineDesign',
- toBeDesignedZh: '设计状态-待设计',
- designedZh: '设计状态-已设计',
- determineDesignZh: '设计状态-确定',
- orderStatus: '订单状态-通过',
- collection: 1,//收款
- draw: -1,//取款
- check: 0,// 查看
- customerCollection: '客户收款',//客户收款
- customerDraw: '客户取款',//客户取款
- receiptDirectionString: '定金',//定金
- },
- /**
- * @desc : 订单类型
- * @author : 周兴
- * @date : 2022/7/16 8:47
- */
- orderType: {
- // 退款单 -2
- refund: -2,
- // 退货单
- return: -1,
- //报价单
- quote: 1,
- //销售订单
- order: 2,
- //跟单
- follow: 3,
- //冲正
- reverse: 4
- },
- /**
- * @desc : erp推送状态
- * @author : 周兴
- * @date : 2022/7/13 11:44
- */
- erpPushStatus: {
- // 未推送
- no: 0,
- //推送成功
- success: 1,
- //推送失败
- fail: 2,
- //推送异常
- error: 3
- },
- /**
- * @desc : 订单状态
- * @author : 周兴
- * @date : 2022/6/21 16:31
- */
- orderStatus: {
- quote: '订单状态-报价',
- waitAudit: '订单状态-待审',
- done: '订单状态-通过',
- refuse: '订单状态-拒绝',
- reverse: '订单状态-冲正',
- },
- /**
- * @desc : 审批状态
- * @date : 2022/9/1 13:57
- * @author : 寇珊珊
- */
- apvResultStatus: {
- adopt: '审-通过',
- },
- /**
- * @desc : 审批状态
- * @author : 周兴
- * @date : 2022/6/21 16:31
- */
- approvalStatus: {
- waitAudit: '审-待审',
- done: '审-通过',
- refuse: '审-拒绝',
- error: '审-异常',
- auditing: '审-审中'
- },
- /**
- * @desc : 标识(是万维还是东科)
- * @author : 周兴
- * @date : 2022/11/14 14:27
- */
- linkPsiSystem: {
- 'DK-IBOSS': 'DK-IBOSS',
- 'WANWEI-PSI': 'WANWEI-PSI',
- },
- /**
- * @desc : 订单明细参数
- * @date : 2022/5/31 19:26
- * @author : 寇珊珊
- */
- orderDetailAllocation: {
- goodsDetail: 'goodsDetail',//货物明细
- collectionDetail: 'collectionDetail',//收款明细
- approvalDetail: 'approvalDetail',//审批明细
- filesDetail: 'filesDetail',//文件列表
- inventory: 'inventory', //产品清单
- designScheme: 'designScheme',//设计方案
- customerMessage: 'customerMessage',//客户信息
- },
- /**
- * @desc : 打印模板数据源
- * @author : 张潇木
- * @date : 2022-5-13 13:02
- */
- printTemplateDataSource: [
- {
- label: '销售订单',
- value: '销售订单',
- dataSource: {
- main: [
- {title: '订单号', key: 'no', value: 'DKRJ2022021000001'},
- {title: '客户名称', key: 'consumerName', value: '员工A'},
- {title: '客户电话', key: 'consumerTelephone', value: '17640177992'},
- {title: '客户地址', key: 'consumerAddress', value: '辽宁省沈阳市浑南区国际软件园F9东科软件'},
- {title: '订单状态', key: 'orderStatus', value: '完成'},
- {title: '备注', key: 'remarks', value: '备注备注备注'}
- ],
- detail: [
- {title: '产品名称', key: 'productName', value: '浴室柜 BC6017-090 木合金'},
- {title: '产品编码', key: 'productCode', value: 'BC6017-090'},
- {title: '色号', key: 'batchNo', value: '洁白'},
- {title: '规格', key: 'specBeforeValue', value: '900×485×185mm'},
- {title: '产品数量', key: 'unprocessedQuantity', value: '1'},
- {title: '备注', key: 'remark', value: '主柜颜色:绅士灰,镜柜颜色:哑光黑'},
- ]
- },
- tableColTemp: [
- {
- title: '产品名称',
- key: 'productName',
- width: 15,
- fontSize: 14,
- align1: 'center',
- align2: 'center',
- fontStyle: false,
- bold: false,
- },
- {
- title: '产品编码',
- key: 'productCode',
- width: 20,
- fontSize: 14,
- align1: 'center',
- align2: 'center',
- fontStyle: false,
- bold: false,
- },
- {
- title: '色号',
- key: 'batchNo',
- width: 15,
- fontSize: 14,
- align1: 'center',
- align2: 'center',
- fontStyle: false,
- bold: false,
- },
- {
- title: '规格',
- key: 'specBeforeValue',
- width: 15,
- fontSize: 14,
- align1: 'center',
- align2: 'center',
- fontStyle: false,
- bold: false,
- },
- ]
- },
- ],
- /**
- * @desc : 打印模板纸张类型
- * @author : 张潇木
- * @date : 2022-5-13 13:10
- */
- paperTypeList: [
- {label: 'A4 (21cm x 29.7cm)', value: 0, width: 21, height: 29.7},
- {label: 'A5 (14.8cm x 21cm)', value: 1, width: 14.8, height: 21},
- {label: 'B5 (17.6cm x 25cm)', value: 2, width: 17.6, height: 25}
- ],
- uploadFileConfig: {
- maxSize: 2048,//图片大小的最大值 2MB 2048kb
- acceptPicType: 'image/png,image/jpeg,image/jpg',// 接受上传的图片类型
- acceptVideoType: 'video/mp4,video/avi,video/mov',// 接受上传的视频类型
- acceptExcel: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel ',
- acceptPdf: 'application/pdf',
- },
- /**
- * @desc : 对接系统代码
- * @author : 洪旭东
- * @date : 2022-05-14 15:01
- */
- hgHapApiCode: {
- token: 'HG-HAP-TOKEN',
- org: 'HG-HAP-ORG',
- area: 'HG-HAP-AREA',
- area1: 'HG-HAP-AREA_1',
- dict: 'HG-HAP-DICT',
- dict1: 'HG-HAP-DICT_1',
- store: 'HG-HAP-STORE',
- store1: 'HG-HAP-STORE_1',
- category: 'HG-HAP-CATEGORY',
- category1: 'HG-HAP-CATEGORY_1',
- cpps: 'HG-HAP-CPPS',
- cpps1: 'HG-HAP-CPPS_1',
- product: 'HG-HAP-PRODUCT',
- product1: 'HG-HAP-PRODUCT_1',
- pmsCategory: 'HG-HAP-PMS-CATEGORY',
- pmsCategory1: 'HG-HAP-PMS-CATEGORY_1',
- pmsAttribute: 'HG-HAP-PMS-ATTRIBUTE',
- pmsAttribute1: 'HG-HAP-PMS-ATTRIBUTE_1',
- pmsProduct: 'HG-HAP-PMS-PRODUCT',
- pmsProduct1: 'HG-HAP-PMS-PRODUCT_1',
- nonParameter1: 'HG-HAP-PMS-NONPARAMETER_1',
- productHtml1: 'HG-HAP-PMS-PRODUCT_1_HTML',
- productNsp1: 'HG-HAP-PMS-PRODUCT_1_NSP',
- productSku1: 'HG-HAP-PMS-PRODUCT_1_SKU',
- },
- /**
- * @desc : 组织类型-样式
- * @author : 姜永辉
- * @date : 2022/4/20 9:27
- */
- orgTypeNameStyle: {
- /**
- * @desc : 公司
- * @author : 姜永辉
- * @date : 2022/4/20 9:28
- */
- company: {color: '#fff', background: '#108ffe'},
- /**
- * @desc : 职能部门
- * @author : 姜永辉
- * @date : 2022/4/20 9:28
- */
- orgainzation: {color: '#fff', background: '#EE885C'},
- /**
- * @desc : 零售门店
- * @author : 姜永辉
- * @date : 2022/4/20 9:28
- */
- store: {color: '#fff', background: '#87CEFA'},
- /**
- * @desc : 部门类型-其他
- * @author : 姜永辉
- * @date : 2022/4/20 13:43
- */
- orgTypeOther: {color: '#fff', background: '#DA70D6'},
- /**
- * @desc : 部门类型-总公司
- * @author : 姜永辉
- * @date : 2022/4/20 13:44
- */
- parentCompany: {color: '#fff', background: '#108ffe'},
- /**
- * @desc : 部门类型-分销商
- * @author : 姜永辉
- * @date : 2022/4/20 13:44
- */
- distribution: {color: '#fff', background: '#90EE90'},
- },
- /**
- * @desc : 组织类型
- * @author : 姜永辉
- * @date : 2022/4/20 9:27
- */
- orgTypeName: {
- /**
- * @desc : 公司
- * @author : 姜永辉
- * @date : 2022/4/20 9:28
- */
- company: '部门类型-分公司', /**
- * @desc : 职能部门
- * @author : 姜永辉
- * @date : 2022/4/20 9:28
- */
- orgainzation: '部门类型-部门', /**
- * @desc : 零售门店
- * @author : 姜永辉
- * @date : 2022/4/20 9:28
- */
- store: '部门类型-门店', /**
- * @desc : 部门类型-其他
- * @author : 姜永辉
- * @date : 2022/4/20 13:43
- */
- orgTypeOther: '部门类型-其他',
- /**
- * @desc : 部门类型-总公司
- * @author : 姜永辉
- * @date : 2022/4/20 13:44
- */
- parentCompany: '部门类型-总公司',
- /**
- * @desc : 部门类型-分销商
- * @author : 姜永辉
- * @date : 2022/4/20 13:44
- */
- distribution: '部门类型-分销商',
- },
- /**
- * @desc : 企业微信配置项
- * @author : 洪旭东
- * @date : 2022-05-19 16:09
- */
- qvConfig: {
- qv_owner: 'qv_owner',
- qvOwnerList: {
- hegii: '1',
- other: '2'
- },
- cpId: 'cpId',
- cpName: 'cpName'
- },
- /**
- * @desc : 数据字典类型
- * @author : 洪旭东
- * @date : 2022-05-23 17:25
- */
- dictionaryItemCode: {
- customerClass: '客户-客户分类',
- customerfitupStyle: '客户-装修风格',
- customerFitupType: '客户-装修类型',
- customerAgeComposition: '客户-年龄构成',
- customerDecisionMaker: '客户-决策者',
- customerType: '客户-客户类型',
- customerHouseType: '客户-房屋类型',
- promotionPriceType: '促销-促销分类',
- glassThickness: '商品-玻璃厚度',
- glassCraft: '商品-玻璃工艺',
- substrateColor: '商品-基材颜色',
- usedLocation: '销售-使用位置',
- deliveryType: '销售-交货方式',
- loseReason: '客户-流失原因',
- bank: '销售-开户行',
- rejectReasonType: '销售-退货类别'
- },
- /**
- * @desc : 系统字典类型
- * @author : 洪旭东
- * @date : 2022-05-24 17:27
- */
- basicDataType: {
- messageTemplate: '消息模板',
- invoiceType: '发票类型',
- customerDeal: '客成状态',
- followType: '跟进方式',
- inviteResult: '邀约结果',
- gender: '性别',
- followStatus: '跟进状态',
- intention: '客户意向',
- stayTimeLen: '留店时长',
- intentionTags: '客意品类',
- },
- /**
- * @desc : 系统字典dataCode
- * @author : 洪旭东
- * @date : 2022-05-25 19:11
- */
- basicDataCode: {
- // 跟进状态
- followStatus1: '跟进状态-跟进',
- followStatus2: '跟进状态-邀约',
- followStatus3: '跟进状态-约尺',
- followStatus4: '跟进状态-接待',
- followStatus5: '跟进状态-报备',
- followStatus6: '跟进状态-量尺',
- // 跟进状态-报备
- // 跟进状态-报价
- // 跟进状态-成交
- // 跟进类型
- followType1: '跟进方式-进店',
- followType2: '跟进方式-上门',
- // 审核状态
- reviewStatus1: '审-待审',
- // 邀约结果
- inviteResult1: '邀约结果-接受',
- inviteResult2: '邀约结果-拒绝',
- //客意品类
- customerIntention1: '客意品类-智能',
- customerIntention2: '客意品类-定制',
- salesStatus1: '客成状态-潜客',
- salesStatus2: '客成状态-成交',
- },
- /**
- * @desc : 客户意向
- * @author : 洪旭东
- * @date : 2022-06-11 16:30
- */
- intention: {
- sea: '客户意向-放入公海',
- lost: '客户意向-已流失'
- },
- /**
- * 未设置的独立账套对应的顶级部门ID
- */
- companyTopOrgId: 0,
- /**
- * 开户类型
- * 0:未开户 1:经销商独立(可以登录系统) 2:分销商独立(可以登录系统) 3:分销归属经销商
- */
- openingType: {
- type0: 0,
- type1: 1,
- type2: 2,
- type3: 3,
- },
- /**
- * 【商户类型】1:集团 2:办事处 3:经销商 4:分销商
- */
- companyType: {
- type1: 1,
- type2: 2,
- type3: 3,
- type4: 4,
- typeName1: '集团',
- },
- /**
- * 商品类型
- */
- skuType: {
- goods: 0,
- bom: 2
- },
- /**
- * @desc : 客成状态
- * @author : 洪旭东
- * @date : 2022-08-30 15:31
- */
- saleStatus: {
- sea: '客成状态-公海'
- },
- /**
- * @desc : 对接系统默认url
- * @author : 洪旭东
- * @date : 2022-09-06 20:29
- */
- psiSystemIp: {
- iboss: 'http://172.20.12.196',
- wanwei: 'http://172.20.13.213'
- },
- psiSystemPort: {
- iboss: '',
- wanwei: '8888'
- },
- psiSystemBasic: {
- estate: 'estate'
- }
- }
|