index.js 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367
  1. export default {
  2. /**
  3. * @description 配置显示在浏览器标签的title
  4. */
  5. title: '东科MES系统',
  6. /**
  7. * @desc : 登录界面的副标题
  8. * @author : 周兴
  9. * @date : 2023/7/17 17:08
  10. */
  11. loginSubTitle: '东科智能业务运行支撑系统·厂商云',
  12. /**
  13. * @description token在Cookie中存储的天数,默认1天
  14. */
  15. cookieExpires: 1,
  16. /**
  17. * @description 是否使用国际化,默认为false
  18. * 如果不使用,则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
  19. * 用来在菜单中显示文字
  20. */
  21. useI18n: false,
  22. /**
  23. * @description 默认打开的首页的路由name值,默认为home
  24. */
  25. homeName: 'home',
  26. /**
  27. * @description 需要加载的插件
  28. */
  29. plugin: {
  30. 'error-store': {
  31. showInHeader: true, // 设为false后不会在顶部显示错误日志徽标
  32. developmentOff: true // 设为true后在开发环境不会收集错误信息,方便开发中排查错误
  33. }
  34. },
  35. //加载成功
  36. SUCCESS_CODE: 200,
  37. //异常提示
  38. ERROR_CODE_2009: 2009,
  39. ERROR_CODE_2010: 2010,
  40. ERROR_CODE_2011: 2011,
  41. //扫码登录ClientId
  42. qvScanClientId: null,
  43. dkAuthIframePage: null,
  44. dkAuthSysUrl: null,
  45. dkAuthSysServerUrl: null,
  46. sysUuid: '00000002-b4ac-4912-a4c5-0945a775647f',
  47. appUuid: '6d2208ba-7ca9-41b2-96d3-b39a109ba811',
  48. appRegistMenuUuid: 'd891a6cc-8a94-47dd-8bda-2cfddee0710f',// pda数据采集的
  49. appReportMenuUuid: 'd891a6cc-8a94-47dd-8bda-2cfddee0710f',// pda数据采集的
  50. redirectUrl: null,
  51. dkMallUrl: 'https://ibossmp.dongkesoft.com:7050/', /* 菜单查询的类型 1:change 2:Enter */
  52. searchMenuType: 1,
  53. logLoginPw: 'dkno1',
  54. //这几个属性保留
  55. uploadUrl: '',
  56. logsUrl: '',
  57. imgUrl: '',
  58. hgImgUrl: '',
  59. websocketUrl: '',
  60. LOGIN_PAGE_NAME: [],
  61. loginType: 1,
  62. serviceUrl: '',
  63. releaseTime: '',
  64. selectLimit: 10, // 下拉所限制的条数
  65. editTableInitRows: 10, //初始行数
  66. columnWidth: 150, //表格的默认列宽
  67. columnWidthMin: 100, //表格的最小列宽
  68. maxNumber: 100000000, // 数字类可输入的最大值
  69. maxDisplayNo: 46656,// 序号最大值
  70. minNumber: 0,// 数字类可输入的最小值
  71. maxlength: 100, // 文本类可输入的最大长度
  72. exportMax: 100000,// 导出的最大值
  73. pageSize: 500, // 一页数量
  74. maxPageSize: 10000000,// 最大数量
  75. fontSize: 12, // 字体大小
  76. maxTagCount: 2, // 下拉显示的默认数量
  77. maxDiscount: 999.99,//折扣的最大值
  78. textAreaMaxLength: 1000,// 备注文本框的最大值
  79. currentLang: 'zh-CN', // 默认语言
  80. tagNavCurrentColor: '#2D8CF0',// 当前tab的颜色 2E406B
  81. reportMenuUUid: 'd39c5119-bc0b-4f80-b118-cf539bd35bae',// 报表的菜单Id
  82. customReportUuid: '19fb9e00-2b88-4f35-aeb2-1aca012c8950',// 动态报表的菜单Id
  83. type: '分类',
  84. customCondition: '自定义报表-条件',
  85. //语言类型
  86. languages: [
  87. {key: 'zh-CN', name: '简体中文', label: '简体中文', value: 'zh_CN'},
  88. {key: 'en-US', name: 'English', label: 'English', value: 'en_US'},
  89. ]
  90. ,
  91. //字体
  92. fontSizes: [
  93. {key: '12', label: '小'},
  94. {key: '13', label: '中'},
  95. {key: '14', label: '大'},
  96. ]
  97. ,
  98. //字体
  99. fontAppSizes: [
  100. {key: 'normal', name: '小', label: '小'},
  101. {key: 'middle', name: '中', label: '中'},
  102. {key: 'large', name: '大', label: '大'},
  103. ]
  104. ,
  105. //日期(月,日,年
  106. dateTypeList: [
  107. {key: 'd', name: '日', label: '日'},
  108. {key: 'm', name: '月', label: '月'},
  109. {key: 'y', name: '大', label: '大'},
  110. ]
  111. ,
  112. // 查询条件(日期范围)类型
  113. rangeSelList: [
  114. {value: 1, label: '今天'},
  115. {value: 2, label: '昨天'},
  116. {value: 3, label: '本周'},
  117. {value: 4, label: '近一周'},
  118. {value: 5, label: '上一周'},
  119. {value: 6, label: '本月'},
  120. {value: 7, label: '近一月'},
  121. {value: 8, label: '上一月'},
  122. {value: 9, label: '本账务月'},
  123. {value: 10, label: '上账务月'},
  124. {value: -1, label: '自定义'},
  125. ],
  126. // 查询条件(月份范围)类型
  127. rangeSelMonthList: [
  128. {value: 6, label: '本月'},
  129. {value: 7, label: '近一月'},
  130. {value: 8, label: '上一月'},
  131. {value: 9, label: '本账务月'},
  132. {value: 10, label: '上账务月'},
  133. {value: -1, label: '自定义'},
  134. ],
  135. // 查询条件日期范围取值默认值
  136. rangeSel: {
  137. today: {value: 1, label: '今天'},
  138. yesterday: {value: 2, label: '昨天'},
  139. thisWeek: {value: 3, label: '本周'},
  140. nearlyWeek: {value: 4, label: '近一周'},
  141. beforeWeek: {value: 5, label: '上一周'},
  142. thisMonth: {value: 6, label: '本月'},
  143. nearlyMonth: {value: 7, label: '近一月'},
  144. beforeMonth: {value: 8, label: '上一月'},
  145. thisAccountMonth: {value: 9, label: '本账务月'},
  146. beforeAccountMonth: {value: 10, label: '上账务月'},
  147. custom: {value: -1, label: '自定义'},
  148. },
  149. //按钮图标
  150. buttonIcon: {
  151. search: {icon: 'search'},
  152. add: {icon: 'new'},
  153. addUser: {icon: 'new'},
  154. edit: {icon: 'edit'},
  155. editDetail: {icon: 'edit'},
  156. editPrinter: {icon: 'edit'},
  157. clear: {icon: 'clear'},
  158. resetPassword: {icon: 'reset'},
  159. resetCpPassword: {icon: 'reset'},
  160. wxLocked: {icon: 'jiebang'},
  161. unLock: {icon: 'unlock'},
  162. unCpLock: {icon: 'unlock'},
  163. moduleRights: {icon: 'functionRight'},
  164. scopeRights: {icon: 'purview'},
  165. sync: {icon: 'tongbu'},
  166. refresh: {icon: 'refresh'},
  167. save: {icon: 'save'},
  168. enable: {icon: 'qiyong'},
  169. disable: {icon: 'tingyong'},
  170. editPwd: {icon: 'editPassword'},
  171. revert: {icon: 'reverse'},
  172. check: {icon: 'chakan'},
  173. reception: {icon: 'gongwujiedai'},
  174. follow: {icon: 'genjinkehu'},
  175. returnAndExchangeGoods: {icon: 'tuihuanhuo'},
  176. approve: {icon: 'shenpi'},
  177. toExamine: {icon: 'check'},
  178. resign: {icon: 'man-out'},
  179. resignTransfer: {icon: 'fenpeijiaose'},
  180. print: {icon: 'print'},
  181. openAccount: {icon: 'kaihuzhongxin'},
  182. stopAccount: {icon: 'tingyong1'},
  183. pull: {icon: 'tongbu1'},
  184. measuringStickReceipt: {icon: 'celianggongju1'},
  185. saveDms: {icon: 'chaosong'},
  186. getDms: {icon: 'shengchanjindu'},
  187. kujialeDesign: {icon: 'celianggongju1'},
  188. saleReturn: {icon: 'xiaoshoutuihuo'},
  189. saleReturnReverse: {icon: 'zuofei'},
  190. designFile: {icon: 'baojia'},
  191. orderDeposit: {icon: 'dingjin'},
  192. followTask: {icon: 'process'},
  193. import: {icon: 'import'},
  194. downloadTemplate: {icon: 'download'},
  195. draw: {icon: 'takeAmount'},
  196. collection: {icon: 'receive'},
  197. delete: {icon: 'reverse'},
  198. syncCustomer: {icon: 'tongbu1'},
  199. syncResume: {icon: 'rizhi'},
  200. submitForCensorship: {icon: 'songshen'},
  201. export: {icon: 'export'},
  202. saleRefund: {icon: 'refund'},
  203. orderRefund: {icon: 'refund'},
  204. processSetting: {icon: 'celianggongju1'},
  205. importPrinter: {icon: 'import'},
  206. layoutSetting: {icon: 'celianggongju1'},
  207. searchSet: {icon: 'celianggongju1'},
  208. dimission: {icon: 'man-out'},
  209. updateUsedCycle: {icon: 'refresh'},
  210. reverse: {icon: 'reverse'},
  211. scrap: {icon: 'scrap'},
  212. decreaseAllNoCheck: {icon: 'scrap'},
  213. moldDamage: {icon: 'scrap'},
  214. change: {icon: 'change'},
  215. mouldChangeStdNum: {icon: 'change'},
  216. modelMouldChange: {icon: 'change'},
  217. createMould: {icon: 'new2'},
  218. prodCheck: {icon: 'check2'},
  219. bindBarcode: {icon: 'bangding'},
  220. revokeBindBarcode: {icon: 'unlink'},
  221. install: {icon: 'new'},
  222. uninstall: {icon: 'tingyong'},
  223. allNoCheck: {icon: 'check'},
  224. changeModel: {icon: 'change'},
  225. climbKiln: {icon: 'new'},
  226. uninstallKiln: {icon: 'tingyong'},
  227. batchResettingKiln: {icon: 'reset'},
  228. finish: {icon: 'finish'},
  229. close: {icon: 'close'},
  230. moldingUserReplace: {icon: 'changeUser'},
  231. chooseBarCode: {icon: 'finish'},
  232. loadLimit: {icon: 'limit'},
  233. carryover: {icon: 'banjie'},
  234. reverseCarryover: {icon: 'revert'},
  235. leave: {icon: 'sign'},
  236. setLogoColour: {icon: 'change'},
  237. log:{icon:'rizhi'},
  238. },
  239. /**
  240. * @desc : 数据类型
  241. * @author : 周兴
  242. * @date : 2022/3/19 21:17
  243. */
  244. dataType: {
  245. //文本
  246. str: 'string',
  247. //数值
  248. number: 'number',
  249. //日期
  250. date: 'date',
  251. //日期+时间
  252. dateTime: 'dateTime',
  253. // 数组
  254. array: 'array',
  255. // 实体
  256. object: 'object'
  257. },
  258. /**
  259. * @desc : 数据类型数据源
  260. * @author : 周兴
  261. * @date : 2023/3/27 17:20
  262. */
  263. dataTypeList: [
  264. {value: 'string', name: '文本'},
  265. {value: 'number', name: '数值'},
  266. {value: 'date', name: '日期'},
  267. {value: 'dateTime', name: '时间'},
  268. {value: 'switch', name: '开关'},
  269. ],
  270. noAccessPage: ['echarts'],
  271. /**
  272. * @desc : 功能菜单
  273. * @author : 周兴
  274. * @date : 2023/8/17 14:01
  275. */
  276. objectCodes: {
  277. // 班组
  278. workTeam: 'work-team',
  279. // 成型线-分组
  280. moldlineGroup: 'moldline-group',
  281. // 成型线-模具
  282. moldlineItem: 'moldline-item',
  283. // 报工项目
  284. workProjectItem: 'work-project-item',
  285. // 仓库
  286. warehousePlace: 'warehouse-place',
  287. // 模具型号
  288. modelMouldOutput: 'model-mould-output',
  289. // 产品型号(erp)
  290. modelProduct: 'model-pdt-erp',
  291. // 载具型号
  292. modelCarrier:'model-carrier-range',
  293. // 物料BOM
  294. materialBomItem: 'material-bom-item',
  295. // 工位 - 工位工号
  296. workStationUser: 'work-station-user',
  297. // 工位 - 工位打印机
  298. workStationPrinter: 'work-station-printer',
  299. // 模具台账
  300. mould: 'mould',
  301. // 模具盘点
  302. mouldCheck: 'mould-check',
  303. // 模具结转
  304. mouldCarryover: 'mould-carryover',
  305. // 打卡记录
  306. wsClockItem: 'ws-clock-item',
  307. // 报工单-报工员工
  308. workBookStaff: 'work-book-staff',
  309. // 报工单-报工明细
  310. workBookItem: 'work-book-item',
  311. // 生产订单
  312. produceOrderItem: 'produce-order-item',
  313. // 产成品挂起
  314. prodSuspendItem: 'prod-suspend-item',
  315. // 在制品盘点
  316. prodCheck: 'prod-check',
  317. // 在制品结转
  318. prodCarryover: 'prod-carryover',
  319. // 产品实验单
  320. prodExperimentItem :'prod-experiment-item',
  321. // 角色用户
  322. roleUser :'role-user',
  323. // 菜单
  324. menu :'menu',
  325. // 出窑工序策略
  326. outKilnStrategyItem :'out-kiln-strategy-item',
  327. // 作业指导书使用位置
  328. workSopDetail :'work-sop-detail',
  329. // 节点
  330. processNode :'process-node',
  331. // 条码规则
  332. barcodeSet :'set-items'
  333. },
  334. /**
  335. * @desc : 系统基础数据类型
  336. * @author : 周兴
  337. * @date : 2022/3/9 10:28
  338. */
  339. basicTypeCode: {
  340. dealingCorp: '往来单位类型',
  341. channel: '销售渠道',
  342. settlementPoint: '采购结算时点',
  343. sex: '性别',
  344. national: '民族',
  345. supplierType: '供应商类型',
  346. warehouseType: '仓库标识',
  347. organizationType: '部门类型',
  348. staff: '员工',
  349. salesMode: '商品流通方式',
  350. flgEstimate: '计量标识',
  351. salesChannel: '销售渠道',
  352. invoiceType: '发票类型',
  353. customerNature: '客户性质',
  354. settlementCustomer: '结算客户',
  355. relationShip: '联系人关系',
  356. maritalStatus: '婚姻状况',
  357. politicalStatus: '政治面貌',
  358. educational: '学历',
  359. post: '基础-职务',
  360. job: '基础-岗位',
  361. role: '基础-角色',
  362. organization: '组织机构',
  363. company: '公司',
  364. user: '用户',
  365. noticeClass: '公告类别',
  366. taxNature: '公司纳税性质',
  367. approvalType: '审批拒绝再送审处理方式',
  368. kilnCarPlace: '窑车位置',
  369. passwordSecurity: '密码安全',
  370. mould: '成型模具'
  371. },
  372. /**
  373. * @desc : 数据字典类型
  374. * @author : 周兴
  375. * @date : 2023/2/1 9:37
  376. */
  377. dictionaryType: {
  378. // 设备类型
  379. equipmentType: 'equipment-type',
  380. // 窑炉类型
  381. kilnType: 'kiln-type',
  382. // 成型线类型
  383. moldingType: 'molding-type',
  384. // 模具原料
  385. carrierMaterial: 'carrier-material',
  386. // 未成型原因
  387. unformedReason: 'unformed-reason',
  388. // 工艺类别
  389. processType: 'process-type',
  390. // 工序类别
  391. nodeType: 'node-type'
  392. },
  393. /**
  394. * @desc : 粘贴方式
  395. * @date : 2023/3/13 9:39
  396. * @author : 寇珊珊
  397. */
  398. pdtGlueKindType: {
  399. notHave: '无',
  400. grouping: '分组粘接',
  401. group: '组内粘接',
  402. },
  403. /**
  404. * @desc : 窑车状态表 字段
  405. * @date : 2023/3/13 9:39
  406. * @author : 王英杰
  407. */
  408. KilnCarStatusText: {
  409. KilnCarProducts: '窑车产品',
  410. productionData: '生产数据',
  411. },
  412. /**
  413. * @desc : 工序类型
  414. * @date : 2023/3/9 10:17
  415. * @author : 寇珊珊
  416. */
  417. processType: {
  418. productCode: '节点操作-产品码',
  419. dressKilnCar: '节点操作-装载具',
  420. unloadKilnCar: '节点操作-卸载具',
  421. exchangeKilnCar: '节点操作-换载具',
  422. kilnCode: '节点操作-载具码',
  423. special: "节点操作-特殊",
  424. quantity: "节点操作-数量",
  425. carCode: '节点操作-载具码',
  426. },
  427. /**
  428. * @desc : 计件类型
  429. * @date : 2023/3/13 9:39
  430. * @author : 寇珊珊
  431. */
  432. registerType: {
  433. singleProduct: '节点计件-单品',
  434. batch: '节点计件-批量',
  435. quantity: '节点计件-数量',
  436. special: '节点计件-特殊',
  437. },
  438. /**
  439. * @desc : 操作用户类型
  440. * @date : 2023/3/13 13:23
  441. * @author : 寇珊珊
  442. */
  443. operationUserType: {
  444. operationUser: '节点工号-操作',
  445. produceUser: '节点工号-生产',
  446. },
  447. /**
  448. * @desc : 工序节点异常码
  449. * @date : 2023/3/9 15:28
  450. * @author : 寇珊珊
  451. */
  452. processTypeException: {
  453. CHKCAR007: 'CHK-CAR-007',
  454. CHKCAR008: 'CHK-UNS-008',
  455. CHKCAR009: 'CHK-UNS-009',
  456. },
  457. /**
  458. * @desc : 产品等级
  459. * @date : 2023/3/16 9:42
  460. * @author : 寇珊珊
  461. */
  462. limitKindsType: {
  463. product: '装载限制-产品',
  464. logo: '装载限制-商标',
  465. color: '装载限制-色釉',
  466. material: '装载限制-物料',
  467. number: '装载限制-数量',
  468. },
  469. /**
  470. * @desc : 页面类型
  471. * @author : 周兴
  472. * @date : 2023/10/10 15:48
  473. */
  474. pageType:{
  475. // 单一列表
  476. single:'single',
  477. // 上下列表
  478. upDown:'upDown',
  479. // 多列切换
  480. moreCol:'moreCol',
  481. // 多页签类型
  482. tab:'tab'
  483. },
  484. /**
  485. * @desc : 产品等级
  486. * @date : 2023/3/16 9:42
  487. * @author : 寇珊珊
  488. */
  489. gradeKindType: {
  490. flaw: '产品等级-瑕',
  491. inferior: '产品等级-劣',
  492. decrease: '产品等级-损',
  493. goodProduct: '产品等级-良',
  494. excellent: '产品等级-优',
  495. },
  496. /**
  497. * @desc : 工序撤销固定节点码
  498. * @date : 2023/3/9 15:28
  499. * @author : 寇珊珊
  500. */
  501. reverseNodeId: {
  502. id: '00000000-0000-0000-0000-000000000001',
  503. },
  504. /**
  505. * @desc : 工序撤销标识
  506. * @date : 2023/3/9 15:28
  507. * @author : 寇珊珊
  508. */
  509. reverseFlgUndo: {
  510. flg: true,
  511. },
  512. /**
  513. * @desc : 在产盘点盘点状态
  514. * @date : 2023/3/24 13:12
  515. * @author : 寇珊珊
  516. */
  517. prodCheckCheckKind: {
  518. notCounted: '盘点状态-未',
  519. counted: '盘点状态-已',
  520. inventoryProfit: '盘点状态-盈',
  521. decrease: '盘点状态-亏',
  522. },
  523. /**
  524. * @desc : 模具状态
  525. * @date : 2023/3/28 14:01
  526. * @author : 寇珊珊
  527. */
  528. mouldCheckKind: {
  529. mouldKindInTheLibrary: '模具状态-在库',
  530. inTheLibrary: '在库',
  531. mouldKindInProduction: '模具状态-在产',
  532. inProduction: '在产',
  533. mouldKindToBeDelivered: '模具状态-待产',
  534. toBeDelivered: '待产',
  535. },
  536. /**
  537. * @desc : 条码规则
  538. * @date : 2023/6/19 16:50
  539. * @author : 寇珊珊
  540. */
  541. barCodeTypes: {
  542. text: '生码项类-文本',
  543. number: '生码项类-流水',
  544. date: '生码项类-日期',
  545. },
  546. /**
  547. * @desc : 数据字典类型
  548. * @author : 常皓宁
  549. * @date : 2023/2/7 10:37
  550. */
  551. dicCode: {
  552. // 窑炉类型
  553. kilnDicCode: '设备-窑炉类型',
  554. // 成型线类型
  555. moldingDicCode: '设备-成线类型',
  556. // 模具原料
  557. carrierMaterialDicCode: '模具-模具原料',
  558. // 未成型原因
  559. unformedReasonDicCode: '生产-未成型原因',
  560. // 工艺类别
  561. processTypeDicCode: '生产-工艺类别',
  562. // 生产-工序类别
  563. nodeTypeDicCode: '生产-工序类别',
  564. },
  565. /**
  566. * @desc : 报表状态
  567. * @author : 周兴
  568. * @date : 2023/4/3 15:48
  569. */
  570. reportStatus: {
  571. confirm: '报表-发布',
  572. temp: '报表-暂存',
  573. },
  574. /**
  575. * @desc : 用户表格类型(用于表格设置)
  576. * @author : 周兴
  577. * @date : 2023/4/4 14:20
  578. */
  579. userTableType: {
  580. // 页面
  581. page: 1,
  582. // 放大镜
  583. magnifier: 2,
  584. // 表格放大镜
  585. tableSelect: 3
  586. },
  587. /**
  588. * @desc : 菜单的页面代码
  589. * @author : 周兴
  590. * @date : 2023/1/12 11:06
  591. */
  592. formCode: {
  593. // 产品缺陷
  594. productDefect: 'product-defect',
  595. // 损坯原因
  596. productDamage: 'product-damage',
  597. // 开模损原因
  598. moldDamageReason: 'mold-damage-reason',
  599. // 模具型号
  600. modelMould: 'model-mould',
  601. // 物料型号
  602. modelMaterial: 'model-material',
  603. // 载具型号
  604. modelCarrier: 'model-carrier',
  605. // 窑炉类型
  606. modelTypeKiln: 'model-type-kiln',
  607. // 窑车类型
  608. modelTypeCar: 'model-type-car',
  609. // 成型线类型
  610. modelTypeMoldline: 'model-type-moldline',
  611. // 设备型号
  612. modelEquipment: 'model-equipment',
  613. // 产品型号
  614. modelProduct: 'model-product',
  615. // 模具型号模板
  616. modelMouldLayout: 'model-mould-layout',
  617. // 物料型号模板
  618. modelMaterialLayout: 'model-material-layout',
  619. // 载具型号模板
  620. modelCarrierLayout: 'model-carrier-layout',
  621. // 设备型号模板
  622. modelEquipmentLayout: 'model-equipment-layout',
  623. // 产品型号模板
  624. modelProductLayout: 'model-product-layout',
  625. // 成型记录
  626. moldingRecord: 'molding-record',
  627. // 开模报损
  628. moldDamage: 'mold-damage',
  629. // 生产工位
  630. workStation: 'work-station',
  631. // 工位打印机
  632. stationPrinter: 'station-printer',
  633. //温湿度计
  634. thmeterRecord: 'thmeter-record',
  635. // 报工记录
  636. workRecord: 'work-record',
  637. // 自主报工
  638. workBook: 'work-book',
  639. // 统一报工
  640. workBookTogether: 'work-book-together',
  641. // 报工审核
  642. workBookAudit: 'work-book-audit',
  643. },
  644. /**
  645. * @desc : 缺陷类别
  646. * @author : 夏常明
  647. * @date : 2023/1/12 11:25
  648. */
  649. defectKind: {
  650. //产品缺陷
  651. Defect: '缺陷类别-质量',
  652. //损坯
  653. Damage: '缺陷类别-损坯',
  654. //开模损原因
  655. moldDamageReason: '缺陷类别-开模',
  656. },
  657. /**
  658. * @desc : 数据种类编码
  659. * @author : 夏常明
  660. * @date : 2023/2/28 15:19
  661. */
  662. kindCode: {
  663. product: '型号种类-产品',
  664. matter: '型号种类-物料',
  665. },
  666. /**
  667. * @desc : 数据种类
  668. * @author : 夏常明
  669. * @date : 2023/1/30 16:17
  670. */
  671. kindType: {
  672. defectType: '缺陷类别',
  673. productGrade: '产品等级',
  674. modelKind: '型号种类',
  675. modelLabel: '验证标签',
  676. modelCategory: '型号种类',
  677. staffStatus: '员工状态',
  678. mouldKind: '模具状态',
  679. materialType: '原料类型',
  680. userBindKindGroup: '成线工号-线组',
  681. nodeNumber: '节点工号',
  682. halfCheck: '工艺节点-半检',
  683. finishCheck: '工艺节点-成检',
  684. bookWay: '报工方式',
  685. bookStatus: '单据状态',
  686. qualityType:'质量类型',
  687. checkType:'检验类型',
  688. },
  689. /**
  690. * @desc : 产品erp型号-产品bom/产品型号验证标签
  691. * @author : 夏常明
  692. * @date : 2023/2/1 13:04
  693. */
  694. modelProductTab: {
  695. modelPdtErp: 'modelPdtErp',
  696. modelPdtLabel: 'modelPdtLabel',
  697. },
  698. /**
  699. * @desc : 班组信息/用户权限
  700. * @author : 姜宁
  701. * @date : 2023/2/7 15:37
  702. */
  703. userDetailTab: {
  704. workTeam: 'workTeam',
  705. userRight: 'userRight',
  706. },
  707. /**
  708. * @desc : 绑定用户/工位打印机
  709. * @author : 姜宁
  710. * @date : 2023/2/7 15:37
  711. */
  712. workStationDetailTab: {
  713. workStationUser: 'workStationUser',
  714. workStationPrinter: 'workStationPrinter',
  715. },
  716. /**
  717. * @desc : 模具产出
  718. * @author : 姜宁
  719. * @date : 2023/2/7 15:37
  720. */
  721. mouldDetailTab: {
  722. mouldOutput: 'mouldOutput',
  723. },
  724. /**
  725. * @desc : 在产结转明细
  726. * @author : 姜宁
  727. * @date : 2023/3/21 15:42
  728. */
  729. prodCarryoverItemTab: {
  730. prodCarryoverItem: 'prodCarryoverItem',
  731. },
  732. /**
  733. * @desc : 原料结转明细
  734. * @author : 洪旭东
  735. * @date : 2023-11-30 09:14
  736. */
  737. materialCarryoverItemTab: {
  738. materialCarryoverItem: 'materialCarryoverItem',
  739. },
  740. /**
  741. * @desc : 产品跟踪明细
  742. * @author : 姜宁
  743. * @date : 2023/4/14 14:34
  744. */
  745. productFollowItemTab: {
  746. productFollowItem: 'productFollowItem',
  747. },
  748. /**
  749. * @desc : 模具跟踪明细
  750. * @author : 姜宁
  751. * @date : 2023/4/14 14:34
  752. */
  753. mouldFollowItemTab: {
  754. mouldFollowItem: 'mouldFollowItem',
  755. },
  756. /**
  757. * @desc : 生产工号
  758. * @author : 姜宁
  759. * @date : 2023/2/7 15:37
  760. */
  761. userTab: {
  762. pdtUserTab: 'pdtUserTab',
  763. },
  764. /**
  765. * @desc : 商标釉色设定
  766. * @author : 夏常明
  767. * @date : 2023/2/21 13:30
  768. */
  769. logoOrColour: {
  770. colour: 'colour',
  771. logo: 'logo',
  772. },
  773. /**
  774. * @desc : 班组信息/用户权限
  775. * @author : 姜宁
  776. * @date : 2023/2/7 15:37
  777. */
  778. searchDataEnum: {
  779. flgMoldingTrue: '成型',
  780. flgMoldingFalse: '未成型',
  781. flgBindUniqueTrue: '绑码',
  782. flgBindUniqueFalse: '未绑码',
  783. flgScrapTrue: '损坯',
  784. flgScrapFalse: '未损坯',
  785. flgExperimentTrue: '有效',
  786. flgExperimentFalse: '无效',
  787. experimentTrue: '实验产品',
  788. experimentFalse: '正常产品',
  789. flgDeliveryTrue: '交胚',
  790. flgDeliveryFalse: '未交胚',
  791. },
  792. /**
  793. * @desc : 有显示顺序的表
  794. * @author : 周兴
  795. * @date : 2023/1/6 13:09
  796. */
  797. displayNoTable: {
  798. // 工种
  799. job: {model: 'core', table: 't_job'},
  800. // 商品规格
  801. specification: {model: 'apm', table: 't_model_specification'},
  802. // 职务
  803. post: {model: 'core', table: 't_post'},
  804. // 角色
  805. role: {model: 'core', table: 't_role'},
  806. // 釉色
  807. productColour: {model: 'mst', table: 't_product_colour'},
  808. // 缺陷分类
  809. productDefectType: {model: 'mst', table: 't_product_defect_type'},
  810. // 品牌
  811. productBrand: {model: 'mst', table: 't_product_brand'},
  812. // 产品分级
  813. productGrade: {model: 'mst', table: 't_product_grade'},
  814. // 产品商标
  815. productLogo: {model: 'mst', table: 't_product_logo'},
  816. // 标签打印机
  817. labelPrinter: {model: 'mst', table: 't_label_printer'},
  818. // 标签打印机模板
  819. labelPrinterLayout: {model: 'mst', table: 't_label_print_layout'},
  820. // 产品位置
  821. productPlace: {model: 'mst', table: 't_product_place'},
  822. // 组织部门
  823. organization: {model: 'core', table: 't_organization'},
  824. // 工厂区域
  825. factorySpace: {model: 'mst', table: 't_factory_space'},
  826. // 产品缺陷
  827. productDefect: {model: 'mst', table: 't_product_defect'},
  828. // 工厂
  829. factory: {model: 'core', table: 't_factory'},
  830. // 型号类别
  831. modelCategory: {model: 'mst', table: 't_model_category'},
  832. // 产品型号验证标签
  833. modelPdtLabel: {model: 'mst', table: 't_model_pdt_label'},
  834. // 窑车位置
  835. kilnCarPlace: {model: 'mst', table: 't_kiln_car_place'},
  836. // 产品视图
  837. productView: {model: 'mst', table: 't_product_view'},
  838. // 缺陷扣罚
  839. productDefectFine: {model: 'mst', table: 't_product_defect_fine'},
  840. // 窑炉
  841. kiln: {model: 'mst', table: 't_kiln'},
  842. // 数据字典
  843. dictionaryData: {model: 'core', table: 't_dictionary_data'},
  844. // 窑车
  845. kilnCarNo: {model: 'mst', table: 't_kiln_car'},
  846. //产品图片
  847. productViewImage: {model: 'mst', table: 't_product_view_image'},
  848. //打印模板分类
  849. labelPrintType: {model: 'mst', table: 't_label_print_type'},
  850. // 工艺流程
  851. processFlow: {model: 'pdm', table: 't_process_flow'},
  852. // 自定义报表
  853. customReport: {model: 'rpt', table: 't_custom_report'},
  854. // 计量单位
  855. modelUnits: {model: 'mst', table: 't_model_units'},
  856. // 报工项目
  857. workProject: {model: 'mst', table: 't_work_project'},
  858. //自定义表单下拉
  859. customSelectType:{model: 'mst', table: 't_custom_select_type'},
  860. //烘干房管理
  861. dryingRoom:{model: 'mst', table: 't_dry_room'},
  862. //母模组
  863. motherMoldGroup:{model: 'mst', table: 't_mother_mould_group'},
  864. //母模
  865. motherMold:{model: 'mst', table: 't_mother_mould'},
  866. //省市区
  867. area:{model: 'mst', table: 't_area'},
  868. },
  869. /**
  870. * @desc : 出库状态
  871. * @author : 周兴
  872. * @date : 2022/6/24 17:42
  873. */
  874. outStatus: {
  875. noOut: '出库状态-未出',
  876. part: '出库状态-部分',
  877. allOut: '出库状态-完成'
  878. },
  879. /**
  880. * @desc : 查询的类型
  881. * @author : 周兴
  882. * @date : 2022/6/29 8:28
  883. */
  884. searchFlag: {
  885. //总单
  886. total: 0,
  887. //明细
  888. detail: 1
  889. },
  890. /**
  891. * @desc : 组合促销
  892. * @author : 周兴
  893. * @date : 2022/6/5 19:26
  894. */
  895. promotionType: {
  896. // 正常品
  897. sku: 0,
  898. // 单品促销
  899. promotion: 1,
  900. // 组合促销
  901. combined: 2,
  902. },
  903. /**
  904. * @desc : 自定义报表类型
  905. * @author : 姜宁
  906. * @date : 2023/4/6 9:59
  907. */
  908. reportType: {
  909. // pc端
  910. pc: 1,
  911. // 移动端
  912. app: 2,
  913. },
  914. /**
  915. * @desc : 自定义报表类型名称
  916. * @author : 姜宁
  917. * @date : 2023/4/6 10:16
  918. */
  919. reportTypeName: {
  920. // pc端
  921. pc: 'pc端',
  922. // 移动端
  923. app: '移动端',
  924. },
  925. /**
  926. * @desc : 自定义报表所在位置
  927. * @author : 姜宁
  928. * @date : 2023/4/6 9:59
  929. */
  930. position: {
  931. // 主查询
  932. mainSearch: 1,
  933. // 筛选
  934. secondarySearch: 2,
  935. },
  936. /**
  937. * @desc : 默认工厂Id
  938. * @date : 2023/6/5 14:37
  939. * @author : 寇珊珊
  940. */
  941. defaultFty: {
  942. id: 0,
  943. },
  944. /**
  945. * @desc : 自定义报表所在位置名称
  946. * @author : 姜宁
  947. * @date : 2023/4/6 9:59
  948. */
  949. positionName: {
  950. // 主查询
  951. mainSearch: '主查询',
  952. // 筛选
  953. secondarySearch: '筛选',
  954. },
  955. /**
  956. * @desc : 数据字典
  957. * @author : 姜宁
  958. * @date : 2023/2/7 14:54
  959. */
  960. dictType: {
  961. materialType: '模具-模具原料',
  962. unmoldedReason: '生产-未成型原因',
  963. nodeType: '生产-工序类别',
  964. techType: '生产-工艺类别',
  965. moldlineTag: '生产-成型标签',
  966. returnReason: '出库-退货原因',
  967. scrapReason: '报损-损失原因',
  968. },
  969. /**
  970. * @desc : 系统单据
  971. * @author : 周兴
  972. * @date : 2022/3/17 11:25
  973. */
  974. docCode: {
  975. company: '财务主体',
  976. organization: '组织机构',
  977. customer: '客户资料',
  978. supplier: '供应商',
  979. staff: '员工',
  980. middleMan: '中间客户',
  981. dealingCorp: '往来单位',
  982. goods: '商品档案',
  983. warehouse: '仓库',
  984. costItem: '费用项目',
  985. address: '小区档案',
  986. bom: 'BOM配置',
  987. capitalAccount: '资金账户',
  988. orderFee: '订单费用',
  989. deposit: '订单定金',
  990. customerCollection: '客户收款',
  991. useCollection: '使用收款',
  992. customerWithdrawal: '客户取款',
  993. orderOut: '销售出库',
  994. orderOutReturn: '销售退货',
  995. standardPrice: '商品标价',
  996. promotionPrice: '单品促销',
  997. combinedPrice: '组合套餐',
  998. nonGlassPrice: '非标标价',
  999. order: '销售订单',
  1000. refund: '退款单',
  1001. },
  1002. /**
  1003. * @desc : 查询条件中有效标识
  1004. * @author : 周兴
  1005. * @date : 2023/1/29 10:14
  1006. */
  1007. flgValidSearch: {
  1008. itemCode: 'flgValidList',
  1009. valueFormat: {
  1010. data: [
  1011. {valueKey: 'true', flgValid: '有效'},
  1012. {valueKey: 'false', flgValid: '无效'}],
  1013. valueKey: 'valueKey',
  1014. labelKey: 'flgValid',
  1015. default: ['true']
  1016. },
  1017. valueKind: 'M-CHOICE'
  1018. },
  1019. /**
  1020. * @desc : 查询条件中有效标识(全部)
  1021. * @author : 周兴
  1022. * @date : 2023/1/29 10:14
  1023. */
  1024. flgValidAllSearch: {
  1025. itemCode: 'flgValidList',
  1026. valueFormat: {
  1027. data: [
  1028. {valueKey: 'true', flgValid: '有效'},
  1029. {valueKey: 'false', flgValid: '无效'}],
  1030. valueKey: 'valueKey',
  1031. labelKey: 'flgValid',
  1032. default: ['true','false']
  1033. },
  1034. valueKind: 'M-CHOICE'
  1035. },
  1036. /**
  1037. * @desc : 单据编码
  1038. * @author : 周兴
  1039. * @date : 2022/3/15 17:18
  1040. */
  1041. pageCode: {
  1042. 'system-setting': '系统参数-一览',
  1043. 'operation-log': '操作日志-一览',
  1044. 'form-setting': '表单设计-一览',
  1045. 'audit-setting': '审批设置-一览',
  1046. 'print-setting': '打印票据-一览',
  1047. 'workflow-setting': '工作流程设置-一览',
  1048. 'operation-flow-setting': '业务流程设置-一览',
  1049. 'print-control': '打印控制-一览',
  1050. 'dictionary': '数据字典-一览',
  1051. 'organization': '组织机构-一览',
  1052. 'role': '角色管理-一览',
  1053. 'staff': '员工-一览',
  1054. 'customer': '客户-一览',
  1055. 'supplier': '供应商-一览',
  1056. 'dealing-corp': '往来单位-一览',
  1057. 'middle-man': '中间客户-一览',
  1058. 'address': '小区档案-一览',
  1059. 'goods-unit': '计量单位-一览',
  1060. 'goods-attribute': '商品属性-一览',
  1061. 'goods': '商品档案-一览',
  1062. 'bom': 'BOM配置-一览',
  1063. 'warehouse': '仓库档案-一览',
  1064. 'custom-tag': '标签管理-一览',
  1065. 'fee-item': '费用项目-一览',
  1066. 'capital-account': '资金账户-一览',
  1067. 'init-data': '初始化数据-一览',
  1068. 'init-setting': '初始化设置-一览',
  1069. 'goods-basic': '商品资料-一览',
  1070. 'finance-basic': '财务资料-一览',
  1071. 'invoice-purview-settings': '单据范围权限设置-一览',
  1072. 'invoice-design': '单据设计-一览',
  1073. 'user-invoice-purview-settings': '员工单据范围权限设置-一览',
  1074. 'user': '用户-一览',
  1075. 'job': '岗位-一览',
  1076. 'sensitive': '敏感权限-一览',
  1077. 'model-category': '型号类别-一览',
  1078. },
  1079. /**
  1080. * @desc : 放大镜枚举
  1081. * @author : 周兴
  1082. * @date : 2022/3/16 14:42
  1083. */
  1084. MagnifierType: {
  1085. staff: 'staff',
  1086. teamStaff: 'teamStaff',
  1087. user: 'user',
  1088. organization: 'organization',
  1089. company: 'company',
  1090. noticeClass: 'noticeClass',
  1091. customTags: 'customTags',
  1092. goodsAttribute: 'goodsAttribute',
  1093. goodsCategory: 'goodsCategory',
  1094. customer: 'customer',
  1095. customerOrder: 'customerOrder',
  1096. dictionary: 'dictionary',
  1097. channel: 'channel',
  1098. role: 'role',
  1099. job: 'job',
  1100. post: 'post',
  1101. goodsSpecs: 'goodsSpecs',
  1102. order: 'order',
  1103. receipt: 'receipt',
  1104. estate: 'estate',
  1105. promotion: 'promotion',
  1106. combined: 'combined',
  1107. settlementType: 'settlementType',
  1108. store: 'store',
  1109. goods: 'goods',
  1110. skuForNon: 'skuForNon',
  1111. product: 'product',
  1112. mould: 'mould',
  1113. modelMould: 'modelMould',
  1114. //物料型号
  1115. modelMaterial: 'modelMaterial',
  1116. moldlineGroup: 'moldlineGroup',
  1117. //上卸模-成型线分组
  1118. moldlineGroupByMouldManager: 'moldlineGroupByMouldManager',
  1119. productCode: 'productCode',
  1120. processNode: 'processNode',
  1121. // 成型线
  1122. moldline: 'moldline',
  1123. //工号变更选择成型线
  1124. jobNumberChangeMoldline: 'jobNumberChangeMoldline',
  1125. // 产品信息(条码变更)
  1126. productNodeChange: 'productNodeChange',
  1127. // 产品釉色设定
  1128. productColour: 'productColour',
  1129. // 产品商标设定
  1130. productLogoColour: 'productLogoColour',
  1131. // 查询成型产品型号
  1132. getProductModel: 'getProductModel',
  1133. //用户、打卡
  1134. userAndClock: 'userAndClock',
  1135. //产品类别
  1136. modelCategory: 'modelCategory',
  1137. //窑炉
  1138. kilnCode: 'kilnCode',
  1139. //工位工号(工位打卡选择用户)
  1140. stationUser: 'stationUser',
  1141. //工位
  1142. station: 'station',
  1143. workUser: 'workUser',
  1144. //工艺流程
  1145. processFlow: 'processFlow',
  1146. //产品等级
  1147. productGrade: 'productGrade',
  1148. //产品缺陷
  1149. productDefect: 'productDefect',
  1150. //产品类别(在产品明细报表)
  1151. modelCategoryReport: 'modelCategoryReport',
  1152. //模具类别
  1153. getModelCategoryByPage: 'getModelCategoryByPage',
  1154. //模具编码
  1155. getModelMouldByPage: 'getModelMouldByPage',
  1156. //湿温度计
  1157. thmeterRecordByPage: 'thmeterRecordByPage',
  1158. //报工工种
  1159. workJob: 'workJob',
  1160. //获取员工用于报工记录查询
  1161. getStaffWithWork: 'getStaffWithWork',
  1162. //可判分级-检验模型
  1163. judgeGrade: 'judgeGrade',
  1164. //型号种类 成型线类型
  1165. moldlineType: 'moldlineType',
  1166. //数据字典
  1167. dictionaryData: 'dictionaryData',
  1168. //报工项目
  1169. workBook: 'workBook',
  1170. //产品型号、物料型号
  1171. modelBase: 'modelBase',
  1172. //产品型号
  1173. modelProduct: 'modelProduct',
  1174. //仓库
  1175. warehouse: 'warehouse',
  1176. //仓位
  1177. warehousePlace: 'warehousePlace',
  1178. //理化检验
  1179. physicalCollect: 'physicalCollect',
  1180. },
  1181. /**
  1182. * @desc : 报工类型
  1183. * @author : 付斌
  1184. * @date : 2023/6/25 17:13
  1185. */
  1186. projectKind: {
  1187. shuLiang: '报工类型-数量',
  1188. jinE: '报工类型-金额',
  1189. zhiLiang: '报工类型-质量'
  1190. },
  1191. /**
  1192. * @desc : 报工明细类型
  1193. * @author : 付斌
  1194. * @date : 2023/6/25 17:13
  1195. */
  1196. workBookItemKind: {
  1197. guDing: '报工明细-固定',
  1198. ziTian: '报工明细-自填',
  1199. wu: '报工明细-无'
  1200. },
  1201. /**
  1202. * @desc : 设计状态
  1203. * @author : 周兴
  1204. * @date : 2022/6/17 17:13
  1205. */
  1206. designStatus: {
  1207. // yes:'设计状态-待设计',
  1208. yes: '设计状态-需要',
  1209. no: '设计状态-无需'
  1210. },
  1211. /**
  1212. * @desc : 收款完成
  1213. * @author : 周兴
  1214. * @date : 2022/6/17 17:17
  1215. */
  1216. receiptStatus: {
  1217. no: '收款状态-未收',
  1218. part: '收款状态-部分',
  1219. all: '收款状态-完成'
  1220. },
  1221. /**
  1222. * @desc : 成型记录履历类型
  1223. * @author : 夏常明
  1224. * @date : 2023/3/1 13:26
  1225. */
  1226. moldingItemHisType: {
  1227. modelBefore: -4,//型号(变更前)
  1228. modelAfter: 4,//型号(变更后)
  1229. },
  1230. /**
  1231. * @desc : 表格中的选择类型
  1232. * @author : 周兴
  1233. * @date : 2022/3/20 14:33
  1234. */
  1235. tableSelectType: {
  1236. user: 'user',
  1237. organization: 'organization',
  1238. goods: 'goods',
  1239. job: 'job',
  1240. post: 'post',
  1241. staff: 'staff',
  1242. mould: 'mould',
  1243. productPlace: 'productPlace',
  1244. product: 'product',
  1245. carrier: 'carrier',
  1246. defect: 'defect',
  1247. processNode: 'processNode',
  1248. blameUser: 'blameUser',
  1249. addProduct: 'addProduct',
  1250. modelMould: 'modelMould',
  1251. prodExperimentProduct: 'prodExperimentProduct',
  1252. productNodeChange: 'productNodeChange',
  1253. modelId: 'modelId',
  1254. //物料型号
  1255. modelMaterial: 'modelMaterial',
  1256. //仓库
  1257. warehouse: 'warehouse',
  1258. //仓位
  1259. warehousePlace: 'warehousePlace',
  1260. },
  1261. /**
  1262. * @desc : 选择类型
  1263. * @author : 周兴
  1264. * @date : 2022/3/17 14:22
  1265. */
  1266. searchType: {
  1267. //多选
  1268. multiple: 'M',
  1269. //单选
  1270. single: 'S'
  1271. },
  1272. /**
  1273. * @desc : 退款类型(大类)
  1274. * @author : 周兴
  1275. * @date : 2022/10/20 10:47
  1276. */
  1277. refundFlag: {
  1278. // 无
  1279. no: 0,
  1280. // 东科
  1281. dk: 1,
  1282. // 万维
  1283. ww: 2
  1284. },
  1285. /**
  1286. * @desc : 退款类型(入口)
  1287. * @author : 周兴
  1288. * @date : 2022/10/21 8:40
  1289. */
  1290. refundType: {
  1291. // 客户退款
  1292. customer: 11,
  1293. // 销售退款
  1294. order: 12
  1295. },
  1296. /**
  1297. * @desc : ERP退款类型
  1298. * @author : 周兴
  1299. * @date : 2022/10/20 10:38
  1300. */
  1301. erpRefundType: {
  1302. // 无系统对接退预存
  1303. noPreStore: 1,
  1304. // 无系统对接退货款
  1305. noReceive: 2,
  1306. // 无系统对接退定金
  1307. noEarnest: 3,
  1308. // 东科退预存(余额)
  1309. prestore_dk: 11,
  1310. // 东科退定金
  1311. earnest_dk: 12,
  1312. // 东科退货款
  1313. receive_dk: 13,
  1314. // 万维退预存
  1315. prestore_ww: 21,
  1316. // 万维退货款
  1317. receive_ww: 22,
  1318. },
  1319. /**
  1320. * @desc : 工号类型
  1321. * @author : 周兴
  1322. * @date : 2023/3/12 16:52
  1323. */
  1324. userKind: {
  1325. // 操作
  1326. operate: '节点工号-操作',
  1327. // 生产
  1328. product: '节点工号-生产'
  1329. },
  1330. opnKind: {},
  1331. /**
  1332. * @desc : 画面模式
  1333. * @author : 周兴
  1334. * @date : 2022/3/19 21:17
  1335. */
  1336. formMode: {
  1337. //新建
  1338. add: 'add',
  1339. //新建其它
  1340. addTogether: 'addTogether',
  1341. //编辑
  1342. edit: 'edit',
  1343. //复制
  1344. copy: 'copy',
  1345. //批量
  1346. batch: 'batch',
  1347. //查看
  1348. detail: 'detail',
  1349. // 审批
  1350. approval: 'approval',
  1351. // 退款
  1352. refund: 'refund',
  1353. // 更新财年
  1354. updateUsedCycle: 'updateUsedCycle',
  1355. // 上模
  1356. install: 'install',
  1357. // 选择
  1358. choose: 'choose',
  1359. // 开模报损
  1360. moldDamage: 'moldDamage',
  1361. // 更改商标釉色
  1362. setLogoColour: 'setLogoColour',
  1363. //设置缺陷位置
  1364. setDefectPlace: 'setDefectPlace',
  1365. //结转
  1366. carryover: 'carryover',
  1367. //盘点
  1368. prodCheck: 'prodCheck',
  1369. // 变更模具标准次数
  1370. mouldChangeStdNum: 'mouldChangeStdNum',
  1371. //装载具
  1372. climbKiln: 'climbKiln',
  1373. //验证标签
  1374. label: 'label',
  1375. //模具型号变更
  1376. modelMouldChange: 'modelMouldChange',
  1377. //批量重置载具
  1378. batchResettingKiln: 'batchResettingKiln',
  1379. // 历史
  1380. history: 'history',
  1381. },
  1382. /**
  1383. * @desc : 树形节点展开的模式
  1384. * @author : 周兴
  1385. * @date : 2022/5/11 16:19
  1386. */
  1387. expandMode: {
  1388. //所有
  1389. all: 'all',
  1390. //所有一级展开
  1391. one: 'one',
  1392. //第一个节点展开到最末端
  1393. oneDeep: 'oneDeep',
  1394. //不展开
  1395. none: 'none'
  1396. },
  1397. /**
  1398. * @desc : 列类型
  1399. * @author : 周兴
  1400. * @date : 2022/3/19 21:17
  1401. */
  1402. columnType: {
  1403. //文本
  1404. str: 'string',
  1405. //数值
  1406. number: 'number',
  1407. //日期
  1408. date: 'date',
  1409. //日期+时间
  1410. dateTime: 'dateTime',
  1411. // 数组
  1412. array: 'array',
  1413. // 日期(年月)
  1414. dateMonth: 'dateMonth',
  1415. },
  1416. /**
  1417. * @desc : 商品属性
  1418. * @author : 周兴
  1419. * @date : 2022/3/9 10:28
  1420. */
  1421. goodsAttribute: {
  1422. goodsVariety: '商品属性-品种',
  1423. goodsBrand: '商品属性-品牌',
  1424. goodsCategory: '商品属性-种类',
  1425. goodsSeries: '商品属性-系列',
  1426. goodsGrade: '商品属性-等级',
  1427. goodsSpec: '商品属性-规格',
  1428. },
  1429. /**
  1430. * @desc : 项目分类类型 1:总单 2:明细 3:
  1431. * @author : 姜永辉
  1432. * @date : 2022/3/19 17:12
  1433. */
  1434. classType: {
  1435. 'order': '总单',
  1436. 'detail': '明细',
  1437. },
  1438. /**
  1439. * @desc : 主页抽屉类型
  1440. * @author : 周兴
  1441. * @date : 2022/8/20 13:25
  1442. */
  1443. homeDrawType: {
  1444. // 待审中心
  1445. waitAudit: 0,
  1446. // 系统公告
  1447. notice: 1,
  1448. },
  1449. /**
  1450. * @desc : 特殊类型
  1451. * @author : 周兴
  1452. * @date : 2022/8/24 9:32
  1453. */
  1454. specialType: {
  1455. // 普通
  1456. common: {value: 0, label: '客意品类-普通'},
  1457. // 定制
  1458. custom: {value: 1, label: '客意品类-定制'},
  1459. // 智能
  1460. intellect: {value: 2, label: '客意品类-智能'},
  1461. },
  1462. /**
  1463. * @desc : 有效标识
  1464. * @author : 周兴
  1465. * @date : 2022/4/11 15:19
  1466. */
  1467. flgValid: {
  1468. //有效
  1469. valid: 1,
  1470. //无效
  1471. unValid: 0,
  1472. },
  1473. /**
  1474. * @desc : 商品类别
  1475. * @author : 周兴
  1476. * @date : 2022/4/10 10:17
  1477. */
  1478. goodsType: {
  1479. //商品
  1480. goods: 0,
  1481. //套件(子件)
  1482. sub: 1,
  1483. //BOM
  1484. bom: 2
  1485. },
  1486. /**
  1487. * @desc : 单据值类型
  1488. * @author : 姜永辉
  1489. * @date : 2022/3/18 9:55
  1490. */
  1491. docValueKind: {
  1492. userInput: 'USER_INPUT',//用户输入
  1493. dicData: 'DIC_DATA',//数据字典
  1494. basicData: 'BASIC_DATA',//基础数据(需要注意范围权限
  1495. },
  1496. /**
  1497. * @desc : 单据值类型
  1498. * @author : 姜永辉
  1499. * @date : 2022/3/18 9:55
  1500. */
  1501. docUserInput: {
  1502. 'int': 'INT',//整数
  1503. 'num': 'NUM',//数值
  1504. 'str': 'STR',//文本
  1505. 'txt': 'TXT',//多行文本
  1506. 'bool': 'BOOL',//布尔
  1507. 'time': 'TIME',//时间
  1508. 'date': 'DATE',//日期
  1509. 'datetime': 'DATETIME',//日时
  1510. 'dateRange': 'DATE_RANGE',// 日期范围
  1511. 'dateTimeRange': 'DATETIME_RANGE',// 日时范围
  1512. 'monthRange': 'MONTH_RANGE',// 月份范围
  1513. 'month': 'MONTH',// 月份
  1514. 'mSearch': 'M-SEARCH',// 多选放大镜
  1515. 'sSearch': 'S-SEARCH',// 单选放大镜
  1516. 'sChoice': 'S-CHOICE', // 单选下拉
  1517. 'mChoice': 'M-CHOICE', // 多选下拉
  1518. 'radio': 'RADIO', //radio
  1519. },
  1520. /**
  1521. * @desc : 系统类型
  1522. * @author : 洪旭东
  1523. * @date : 2022-05-09 16:32
  1524. */
  1525. sysType: {
  1526. SYS_HEGII: 1,
  1527. SYS_MERCHANT: 2,
  1528. CP_HEGII: 1,
  1529. password_security_policy: 1
  1530. },
  1531. /**
  1532. * @desc : 用户类型
  1533. * @date : 2022/5/14 9:45
  1534. * @author : 寇珊珊
  1535. */
  1536. userType: {
  1537. // 文员
  1538. staffUser: 1,
  1539. // 生产工号
  1540. workTeam: 2,
  1541. // 接口用户
  1542. ApiUser: -1,
  1543. },
  1544. /**
  1545. * @desc : 产品等级
  1546. * @author : 夏常明
  1547. * @date : 2023/2/23 11:22
  1548. */
  1549. gradeKind: {
  1550. good: '产品等级-优',
  1551. fine: '产品等级-良',
  1552. bad: '产品等级-瑕',
  1553. low: '产品等级-劣',
  1554. unChange: '产品等级-合',
  1555. damage: '产品等级-损',
  1556. },
  1557. /**
  1558. * @desc : 授权类型
  1559. * @author : 姜宁
  1560. * @date : 2023/2/3 15:26
  1561. */
  1562. rightType: {
  1563. addUser: 1,
  1564. refuseUser: -1,
  1565. },
  1566. /**
  1567. * @desc : 应用代码
  1568. * @author : 周兴
  1569. * @date : 2023/2/14 15:32
  1570. */
  1571. appCode: {
  1572. // PC端
  1573. WEB_MAIN: 'WEB-MAIN',
  1574. // 移动端
  1575. PDA_PROD: 'PDA-PROD',
  1576. },
  1577. /**
  1578. * @desc : 系统参数
  1579. * @author : 洪旭东
  1580. * @date : 2022-05-11 16:27
  1581. */
  1582. sysCode: {
  1583. SYS_CODE_001: 'PWD_001',
  1584. SYS_CODE_002: 'PWD_002',
  1585. SYS_CODE_003: 'PWD_003',
  1586. SYS_CODE_010: 'PWD_010',
  1587. SYS_CODE_011: 'PWD_011',
  1588. SYS_CODE_012: 'PWD_012',
  1589. SYS_CODE_013: 'PWD_013',
  1590. SYS_CODE_014: 'PWD_014',
  1591. SYS_CODE_015: 'PWD_015',
  1592. SYS_CODE_016: 'PWD_016',
  1593. },
  1594. /**
  1595. * @desc : 订单参数
  1596. * @date : 2022/5/31 16:21
  1597. * @author : 寇珊珊
  1598. */
  1599. orderAllocation: {
  1600. orderAll: 'orderAll',
  1601. priceOrder: 'priceOrder',
  1602. thisMonthOrder: 'thisMonthOrder',//暂时注掉‘本月订单’
  1603. dealOrder: 'dealOrder',
  1604. myOrder: 'myOrder',//暂时注掉'我的订单'
  1605. customDesign: 'customDesign',
  1606. followOrder: 'followOrder',
  1607. docCode: '销售订单',
  1608. orderType: 1, //报价单
  1609. designStatusNo: '设计状态-无需',
  1610. designStatusYes: '设计状态-需要',
  1611. designStatusString: '不需要设计',
  1612. allDesign: 'allDesign',
  1613. toBeDesigned: 'toBeDesigned',
  1614. designed: 'designed',
  1615. determineDesign: 'determineDesign',
  1616. toBeDesignedZh: '设计状态-待设计',
  1617. designedZh: '设计状态-已设计',
  1618. determineDesignZh: '设计状态-确定',
  1619. orderStatus: '订单状态-通过',
  1620. collection: 1,//收款
  1621. draw: -1,//取款
  1622. check: 0,// 查看
  1623. customerCollection: '客户收款',//客户收款
  1624. customerDraw: '客户取款',//客户取款
  1625. receiptDirectionString: '定金',//定金
  1626. },
  1627. /**
  1628. * @desc : 订单类型
  1629. * @author : 周兴
  1630. * @date : 2022/7/16 8:47
  1631. */
  1632. orderType: {
  1633. // 退款单 -2
  1634. refund: -2,
  1635. // 退货单
  1636. return: -1,
  1637. //报价单
  1638. quote: 1,
  1639. //销售订单
  1640. order: 2,
  1641. //跟单
  1642. follow: 3,
  1643. //冲正
  1644. reverse: 4
  1645. },
  1646. /**
  1647. * @desc : erp推送状态
  1648. * @author : 周兴
  1649. * @date : 2022/7/13 11:44
  1650. */
  1651. erpPushStatus: {
  1652. // 未推送
  1653. no: 0,
  1654. //推送成功
  1655. success: 1,
  1656. //推送失败
  1657. fail: 2,
  1658. //推送异常
  1659. error: 3
  1660. },
  1661. /**
  1662. * @desc : 订单状态
  1663. * @author : 周兴
  1664. * @date : 2022/6/21 16:31
  1665. */
  1666. orderStatus: {
  1667. quote: '订单状态-报价',
  1668. waitAudit: '订单状态-待审',
  1669. done: '订单状态-通过',
  1670. refuse: '订单状态-拒绝',
  1671. reverse: '订单状态-冲正',
  1672. },
  1673. /**
  1674. * @desc : 审批状态
  1675. * @date : 2022/9/1 13:57
  1676. * @author : 寇珊珊
  1677. */
  1678. apvResultStatus: {
  1679. adopt: '审-通过',
  1680. },
  1681. /**
  1682. * @desc : 审批状态
  1683. * @author : 周兴
  1684. * @date : 2022/6/21 16:31
  1685. */
  1686. approvalStatus: {
  1687. waitAudit: '审-待审',
  1688. done: '审-通过',
  1689. refuse: '审-拒绝',
  1690. error: '审-异常',
  1691. auditing: '审-审中'
  1692. },
  1693. /**
  1694. * @desc : 标识(是万维还是东科)
  1695. * @author : 周兴
  1696. * @date : 2022/11/14 14:27
  1697. */
  1698. linkPsiSystem: {
  1699. 'DK-IBOSS': 'DK-IBOSS',
  1700. 'WANWEI-PSI': 'WANWEI-PSI',
  1701. },
  1702. /**
  1703. * @desc : 订单明细参数
  1704. * @date : 2022/5/31 19:26
  1705. * @author : 寇珊珊
  1706. */
  1707. orderDetailAllocation: {
  1708. goodsDetail: 'goodsDetail',//货物明细
  1709. collectionDetail: 'collectionDetail',//收款明细
  1710. approvalDetail: 'approvalDetail',//审批明细
  1711. filesDetail: 'filesDetail',//文件列表
  1712. inventory: 'inventory', //产品清单
  1713. designScheme: 'designScheme',//设计方案
  1714. customerMessage: 'customerMessage',//客户信息
  1715. },
  1716. /**
  1717. * @desc : 打印模板数据源
  1718. * @author : 张潇木
  1719. * @date : 2022-5-13 13:02
  1720. */
  1721. printTemplateDataSource: [
  1722. {
  1723. label: '销售订单',
  1724. value: '销售订单',
  1725. dataSource: {
  1726. main: [
  1727. {title: '订单号', key: 'no', value: 'DKRJ2022021000001'},
  1728. {title: '客户名称', key: 'consumerName', value: '员工A'},
  1729. {title: '客户电话', key: 'consumerTelephone', value: '17640177992'},
  1730. {title: '客户地址', key: 'consumerAddress', value: '辽宁省沈阳市浑南区国际软件园F9东科软件'},
  1731. {title: '订单状态', key: 'orderStatus', value: '完成'},
  1732. {title: '备注', key: 'remarks', value: '备注备注备注'}
  1733. ],
  1734. detail: [
  1735. {title: '产品名称', key: 'productName', value: '浴室柜 BC6017-090 木合金'},
  1736. {title: '产品编码', key: 'productCode', value: 'BC6017-090'},
  1737. {title: '色号', key: 'batchNo', value: '洁白'},
  1738. {title: '规格', key: 'specBeforeValue', value: '900×485×185mm'},
  1739. {title: '产品数量', key: 'unprocessedQuantity', value: '1'},
  1740. {title: '备注', key: 'remark', value: '主柜颜色:绅士灰,镜柜颜色:哑光黑'},
  1741. ]
  1742. },
  1743. tableColTemp: [
  1744. {
  1745. title: '产品名称',
  1746. key: 'productName',
  1747. width: 15,
  1748. fontSize: 14,
  1749. align1: 'center',
  1750. align2: 'center',
  1751. fontStyle: false,
  1752. bold: false,
  1753. },
  1754. {
  1755. title: '产品编码',
  1756. key: 'productCode',
  1757. width: 20,
  1758. fontSize: 14,
  1759. align1: 'center',
  1760. align2: 'center',
  1761. fontStyle: false,
  1762. bold: false,
  1763. },
  1764. {
  1765. title: '色号',
  1766. key: 'batchNo',
  1767. width: 15,
  1768. fontSize: 14,
  1769. align1: 'center',
  1770. align2: 'center',
  1771. fontStyle: false,
  1772. bold: false,
  1773. },
  1774. {
  1775. title: '规格',
  1776. key: 'specBeforeValue',
  1777. width: 15,
  1778. fontSize: 14,
  1779. align1: 'center',
  1780. align2: 'center',
  1781. fontStyle: false,
  1782. bold: false,
  1783. },
  1784. ]
  1785. },
  1786. ],
  1787. /**
  1788. * @desc : 打印模板纸张类型
  1789. * @author : 张潇木
  1790. * @date : 2022-5-13 13:10
  1791. */
  1792. paperTypeList: [
  1793. {label: '自定义', value: '0', width: 0, height: 0},
  1794. {label: 'A4 (210mm x 297mm)', value: 1, width: 210, height: 297},
  1795. {label: 'A5 (148mm x 210mm)', value: 2, width: 148, height: 210},
  1796. {label: 'B5 (176mm x 250mm)', value: 3, width: 176, height: 250},
  1797. ],
  1798. uploadFileConfig: {
  1799. maxSize: 2048,//图片大小的最大值 2MB 2048kb
  1800. acceptPicType: 'image/png,image/jpeg,image/jpg',// 接受上传的图片类型
  1801. acceptVideoType: 'video/mp4,video/avi,video/mov',// 接受上传的视频类型
  1802. acceptExcel: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel ',
  1803. acceptPdf: 'application/pdf',
  1804. },
  1805. /**
  1806. * @desc : 组织类型-样式
  1807. * @author : 姜永辉
  1808. * @date : 2022/4/20 9:27
  1809. */
  1810. orgTypeNameStyle: {
  1811. /**
  1812. * @desc : 公司
  1813. * @author : 姜永辉
  1814. * @date : 2022/4/20 9:28
  1815. */
  1816. company: {color: '#fff', background: '#108ffe'},
  1817. /**
  1818. * @desc : 职能部门
  1819. * @author : 姜永辉
  1820. * @date : 2022/4/20 9:28
  1821. */
  1822. orgainzation: {color: '#fff', background: '#EE885C'},
  1823. /**
  1824. * @desc : 零售门店
  1825. * @author : 姜永辉
  1826. * @date : 2022/4/20 9:28
  1827. */
  1828. store: {color: '#fff', background: '#87CEFA'},
  1829. /**
  1830. * @desc : 部门类型-其他
  1831. * @author : 姜永辉
  1832. * @date : 2022/4/20 13:43
  1833. */
  1834. orgTypeOther: {color: '#fff', background: '#DA70D6'},
  1835. /**
  1836. * @desc : 部门类型-总公司
  1837. * @author : 姜永辉
  1838. * @date : 2022/4/20 13:44
  1839. */
  1840. parentCompany: {color: '#fff', background: '#108ffe'},
  1841. /**
  1842. * @desc : 部门类型-分销商
  1843. * @author : 姜永辉
  1844. * @date : 2022/4/20 13:44
  1845. */
  1846. distribution: {color: '#fff', background: '#90EE90'},
  1847. },
  1848. /**
  1849. * @desc : 数据字典类型
  1850. * @author : 洪旭东
  1851. * @date : 2022-05-23 17:25
  1852. */
  1853. dictionaryItemCode: {
  1854. customerClass: '客户-客户分类',
  1855. customerfitupStyle: '客户-装修风格',
  1856. customerFitupType: '客户-装修类型',
  1857. customerAgeComposition: '客户-年龄构成',
  1858. customerDecisionMaker: '客户-决策者',
  1859. customerType: '客户-客户类型',
  1860. customerHouseType: '客户-房屋类型',
  1861. promotionPriceType: '促销-促销分类',
  1862. glassThickness: '商品-玻璃厚度',
  1863. glassCraft: '商品-玻璃工艺',
  1864. substrateColor: '商品-基材颜色',
  1865. usedLocation: '销售-使用位置',
  1866. deliveryType: '销售-交货方式',
  1867. loseReason: '客户-流失原因',
  1868. bank: '销售-开户行',
  1869. rejectReasonType: '销售-退货类别'
  1870. },
  1871. /**
  1872. * @desc : 系统字典类型
  1873. * @author : 周兴
  1874. * @date : 2023/3/15 9:24
  1875. */
  1876. dataKind: {
  1877. checkLabel: '验证标签',
  1878. pieceKind: '节点计件',
  1879. flowKind: '节点流程',
  1880. nodeSysTags: '节点标签',
  1881. opnKind: '节点操作',
  1882. userKind: '节点工号',
  1883. defectType: '缺陷类别',
  1884. checkKind: '盘点状态',
  1885. mouldKind: '模具状态',
  1886. mouldSource: '模具来源',
  1887. mouldOperate: '模具操作',
  1888. moldlineKind: '成线状态',
  1889. moldlineTags: '成线标签',
  1890. moldlineOperate: '成线操作',
  1891. moldlineUser: '成线工号',
  1892. nodeKind: '工艺节点',
  1893. factorySpace: '工厂区域',
  1894. modelKind: '型号种类',
  1895. recover: '回收到达',
  1896. staffStatus: '员工状态',
  1897. productGrade: '产品等级',
  1898. productStatus: '产品状态',
  1899. barCode: '产品条码',
  1900. recycledKind: '产品组装',
  1901. report: '报表引擎',
  1902. carKind: '载具模式',
  1903. limitKind: '装载限制',
  1904. generativeCodeKind: '生码类型',
  1905. generativeItemClass: '生码项类',
  1906. orderStatus: '订单状态',
  1907. area:'区域种类'
  1908. },
  1909. /**
  1910. * @desc : 报表类型
  1911. * @author : 周兴
  1912. * @date : 2023/3/27 14:51
  1913. */
  1914. reportKind: {
  1915. str: '文本',
  1916. date: '日期',
  1917. dateRange: '日期范围',
  1918. dateTimeRange: '日时范围',
  1919. monthRange: '月份范围',
  1920. month: '月份',
  1921. single: '下拉单选',
  1922. multiple: '下拉多选',
  1923. mSearch: '查询多选',
  1924. sSearch: '查询单选',
  1925. },
  1926. /**
  1927. * @desc : 对齐方式
  1928. * @author : 周兴
  1929. * @date : 2023/3/27 16:39
  1930. */
  1931. align: {
  1932. // 左对齐
  1933. left: 'left',
  1934. // 居中
  1935. center: 'center',
  1936. // 左右
  1937. right: 'right',
  1938. },
  1939. /**
  1940. * @desc : 对齐方式数据源
  1941. * @author : 周兴
  1942. * @date : 2023/3/27 16:44
  1943. */
  1944. alignList: [
  1945. {value: 'left', name: '居左'},
  1946. {value: 'center', name: '居中'},
  1947. {value: 'right', name: '居右'}
  1948. ],
  1949. /**
  1950. * 商品类型
  1951. */
  1952. skuType: {
  1953. goods: 0,
  1954. bom: 2
  1955. },
  1956. /**
  1957. * @desc : 型号种类
  1958. * @author : 洪旭东
  1959. * @date : 2023-02-07 15:25
  1960. */
  1961. modelKind: {
  1962. modelMould: '型号种类-模具',
  1963. modelMaterial: '型号种类-物料',
  1964. modelCarrier: '型号种类-载具',
  1965. modelEquipment: '型号种类-设备',
  1966. modelProduct: '型号种类-产品',//产品型号add
  1967. modelTypeCar: '型号种类-窑车',
  1968. modelTypeKiln: '型号种类-窑炉',
  1969. modelTypeMoldline: '型号种类-成型线',
  1970. mouldKindInventory: '模具状态-在库',
  1971. staffStatusDimission: '员工状态-离职',
  1972. staffStatusInOffice: '员工状态-在职',
  1973. },
  1974. /**
  1975. * @desc : 打印方式
  1976. * @date : 2023/7/14 17:06
  1977. * @author : 寇珊珊
  1978. */
  1979. printWay: {
  1980. code: 0, //编码打印
  1981. nodeOut: 1,//工序外箱码打印
  1982. out: 2,//外箱码打印
  1983. comOut: 3//外箱码补码
  1984. },
  1985. /**
  1986. * @desc : 成产计划tab切换变量
  1987. * @date : 2023/8/4 15:33
  1988. * @author : 寇珊珊
  1989. */
  1990. productionPlanTabKind: {
  1991. productionMoldPlan: 'productionMoldPlan', //模具生产计划
  1992. moldBarcode: 'moldBarcode',//模具条码
  1993. molidingMoldChange: 'molidingMoldChange',//成型线模具预测
  1994. molidlineMoldChange: 'molidlineMoldChange',//成型模具预测
  1995. layoutPlan: 'layoutPlan',//布模计划
  1996. },
  1997. /**
  1998. * @desc : 模具状态-在库、在产、报废
  1999. * @author : 姜永辉
  2000. * @date : 2023/2/10 11:35
  2001. */
  2002. mould_kind: {
  2003. mouldKindInventory: '模具状态-在库',
  2004. mouldKindProduction: '模具状态-在产',
  2005. mouldKindScrap: '模具状态-报废',
  2006. },
  2007. /**
  2008. * @desc : 绑定条码父级pdtModelId
  2009. * @date : 2023/4/25 17:24
  2010. * @author : 寇珊珊
  2011. */
  2012. bindBarCodePdtModelId: {
  2013. parentId: -999,
  2014. },
  2015. /**
  2016. * @desc : 报工状态
  2017. * @date : 2023/4/10 11:39
  2018. * @author : 寇珊珊
  2019. */
  2020. workKind: {
  2021. code: '报工类型',
  2022. jiShi: '报工类型-计时',
  2023. jiJian: '报工类型-计件',
  2024. },
  2025. /**
  2026. * @desc : 报工记录查询保证状态
  2027. * @date : 2023/4/11 13:49
  2028. * @author : 寇珊珊
  2029. */
  2030. workKindSearchEnum: {
  2031. jiJian: '计件',
  2032. jiShi: '计时',
  2033. },
  2034. /**
  2035. * @desc : 成线状态
  2036. * @author : 洪旭东
  2037. * @date : 2023-02-07 15:25
  2038. */
  2039. moldlineKind: {
  2040. code: '成线状态',
  2041. zaiChan: '成线状态-在产',
  2042. tingChan: '成线状态-停产',
  2043. wuMo: '成线状态-无模',
  2044. },
  2045. moldlineKindValue: {
  2046. zaiChan: '在产',
  2047. tingChan: '停产',
  2048. },
  2049. /**
  2050. * @desc : 粘接方式
  2051. * @author : 洪旭东
  2052. * @date : 2023-02-08 09:01
  2053. */
  2054. pdtGlueKind: {
  2055. code: '分体粘接',
  2056. zuNei: '分体粘接-组',
  2057. fenZu: '分体粘接-位',
  2058. wu: '分体粘接-无',
  2059. },
  2060. /**
  2061. * @desc : 成型工绑定类型
  2062. * @author : 洪旭东
  2063. * @date : 2023-02-09 08:54
  2064. */
  2065. userBindKind: {
  2066. code: '成线工号',
  2067. fenZu: '成线工号-线组',
  2068. weiZhi: '成线工号-位置'
  2069. },
  2070. /**
  2071. * @desc : 模具状态
  2072. * @author : 洪旭东
  2073. * @date : 2023-02-09 15:04
  2074. */
  2075. mouldKind: {
  2076. zaiKu: '模具状态-在库'
  2077. },
  2078. /**
  2079. * @desc : 成线标签
  2080. * @author : 洪旭东
  2081. * @date : 2023-02-09 15:04
  2082. */
  2083. moldlineSysTag: {
  2084. code: '成线标签'
  2085. },
  2086. /**
  2087. * @desc : table标识
  2088. * @author : 夏常明
  2089. * @date : 2023/2/10 15:36
  2090. */
  2091. tableTitle: {
  2092. labelTitle: '标签',
  2093. bomTitle: 'BOM',
  2094. },
  2095. /**
  2096. * @desc : 工序类型
  2097. * @author : 常皓宁
  2098. * @date : 2023/2/16 10:49
  2099. */
  2100. nodeKind: {
  2101. register: '工艺节点-计件',
  2102. climbKiln: '工艺节点-登窑',
  2103. inKiln: '工艺节点-入窑',
  2104. outKiln: '工艺节点-出窑',
  2105. uninstallKiln: '工艺节点-卸窑',
  2106. halfCheck: '工艺节点-半检',
  2107. finishCheck: '工艺节点-成检',
  2108. recover: '工艺节点-回收',
  2109. shaping: '工艺节点-成型',
  2110. },
  2111. /**
  2112. * @desc : 成型线Info说明
  2113. * @date : 2023/5/8 14:29
  2114. * @author : 寇珊珊
  2115. */
  2116. mlodingInfo: {
  2117. //绑定工序
  2118. flowNodeId: '未绑定工序,成型线无法注浆',
  2119. //绑定工位
  2120. stationId: '高压注浆设备读取生产工号使用',
  2121. //多批次标识
  2122. flgCanBatches: '同一天是否可以多次做成型记录',
  2123. },
  2124. /**
  2125. * @desc : 装载数量Info说明
  2126. * @date : 2023/6/13 14:57
  2127. * @author : 寇珊珊
  2128. */
  2129. carLoadLimitInfo: {
  2130. pdtModelId: '载具型号启用“限制装板产品数量”后生效',
  2131. },
  2132. /**
  2133. * @desc : 工序info说明
  2134. * @author : 张潇木
  2135. * @date : 2023/5/24 14:17
  2136. */
  2137. nodeInfo: {
  2138. //绑定工序
  2139. flgJobDefect: '未设置代表可产生全部缺陷',
  2140. moldlineTags: '需满足所设所有标签条件'
  2141. },
  2142. /**
  2143. * @desc : 窑车管理info静态变量
  2144. * @date : 2023/5/11 10:37
  2145. * @author : 寇珊珊
  2146. */
  2147. carKilnCar: {
  2148. inputRange: '输入范围1-999',
  2149. },
  2150. /**
  2151. * @desc : 回收到达
  2152. * @author : 周兴
  2153. * @date : 2023/3/15 16:40
  2154. */
  2155. recycledKind: {
  2156. before: '回收到达-损前',
  2157. after: '回收到达-流程'
  2158. },
  2159. /**
  2160. * @desc : 菜单的页面代码
  2161. * @author : 姜永辉
  2162. * @date : 2023/2/17 11:23
  2163. */
  2164. appFormCode: {
  2165. // 模具报废
  2166. appMoldScrap: 'app-mold-scrap',
  2167. // 模具变更
  2168. appMoldChangeModel: 'app-mold-change-model',
  2169. // 撤销报废
  2170. appMoldUndoScrap: 'app-mold-undo-scrap',
  2171. //计件撤销
  2172. appPieceUndo: 'app-piece-undo',
  2173. //成品撤销
  2174. appFinishedProductUndo: 'app-finished-product-undo',
  2175. //损坯撤销
  2176. appDamagedBilletUndo: 'app-damaged-billet-undo',
  2177. },
  2178. /**
  2179. * @desc : 节点流程
  2180. * @author : 洪旭东
  2181. * @date : 2023-03-13 14:16
  2182. */
  2183. flowKind: {
  2184. start: '节点流程-开始',
  2185. middle: '节点流程-中间',
  2186. end: '节点流程-结束'
  2187. },
  2188. /**
  2189. * @desc : 工厂区域
  2190. * @author : 张潇木
  2191. * @date : 2023/3/30 14:32
  2192. */
  2193. factorySpace: {
  2194. shop: "工厂区域-车间",
  2195. floor: "工厂区域-楼层",
  2196. area: "工厂区域-区域",
  2197. },
  2198. /**
  2199. * @desc : 节点标签
  2200. * @author : 张潇木
  2201. * @date : 2023/5/15 16:59
  2202. */
  2203. nodeSysTags: {
  2204. mold: "节点标签-成型交接",
  2205. check: "节点标签-成检交接",
  2206. },
  2207. /**
  2208. * @desc : 路由类别
  2209. * @author : 张潇木
  2210. * @date : 2023/5/31 10:27
  2211. */
  2212. routeType: {
  2213. line: 1,//画布中实际存在的线
  2214. check: 2,//检验
  2215. recover: 3,//回收
  2216. cross: 4,//跨工序
  2217. },
  2218. /**
  2219. * @desc : 装载限制
  2220. * @author : 洪旭东
  2221. * @date : 2023-06-13 08:57
  2222. */
  2223. limitKinds: {
  2224. qty: '装载限制-数量'
  2225. },
  2226. /**
  2227. * @desc : 单据状态
  2228. * @author : 付斌
  2229. * @date : 2023-06-26 15:23
  2230. */
  2231. bookStatus: {
  2232. zanCun: '单据状态-暂存',
  2233. daiShenHe: '单据状态-待审核',
  2234. shenHeJuJue: '单据状态-审核拒绝',
  2235. shenHeTongGuo: '单据状态-审核通过',
  2236. wanCheng: '单据状态-完成',
  2237. guanBi: '单据状态-关闭'
  2238. },
  2239. /**
  2240. * @desc : 报工方式
  2241. * @author : 付斌
  2242. * @date : 2023-06-26 15:23
  2243. */
  2244. bookWay: {
  2245. ziBao: '报工方式-自报',
  2246. tongBao: '报工方式-统报',
  2247. }
  2248. }