Commit 13090ad4 authored by renjintao's avatar renjintao

mesplan

parent a83b7d3f
export default { export default {
locale: 'zh-CN', locale: 'zh-CN',
language: '简体中文', language: '简体中文',
menu: { menu: {
i18n: '多语言' i18n: '多语言'
},
page: {
login: {
title: '登录',
remember: '自动登录',
forgot: '忘记密码',
submit: '登录',
other: '其它登录方式',
signup: '注册账户'
}, },
page: { register: {
login: { title: '注册',
title: '登录', submit: '注册',
remember: '自动登录', other: '使用已有账户登录'
forgot: '忘记密码',
submit: '登录',
other: '其它登录方式',
signup: '注册账户'
},
register: {
title: '注册',
submit: '注册',
other: '使用已有账户登录'
},
exception: {
e403: '抱歉,你无权访问该页面',
e404: '抱歉,你访问的页面不存在',
e500: '抱歉,服务器出错了',
btn: '返回首页'
},
i18n: {
content: '你好,很高兴认识你!'
}
}, },
user: { exception: {
id: 'ID', e403: '抱歉,你无权访问该页面',
userName: '姓名', e404: '抱歉,你访问的页面不存在',
name: '姓名', e500: '抱歉,服务器出错了',
cardTypeId: '卡类型ID', btn: '返回首页'
cardNo: '员工编号',
gender: '性别',
birthday: '出生年月',
title: '职称',
workLicense: '上岗证',
equipment: '可操控设备',
email: '邮箱',
phone: '电话',
department: '所属部门',
jobName: '职位名称',
role: '角色',
account: '用户帐号',
employeeNo: '员工编号',
modifyTime: '修改时间',
remark: '备注',
degreeId: '学历',
degree: '学历',
departmentId: '部门id',
national: '国籍',
status: '状态',
creatorUserId: '创建人',
creationTime: '创建时间',
lastModifierUserId: '最后修改人',
lastModificationTime: '最后修改时间',
accountId: '用户账号',
isDeleted: '是否删除',
positionId: '职位',
licensedToWork: '上岗证',
titleId: '职称',
jobNo: '工号',
departmentTitle: '所属部门',
roleTitles: '角色名称',
enableEquip: '可操控设备'
}, },
resource: { i18n: {
id: '编号', content: '你好,很高兴认识你!'
creationTime: '创建时间', }
creatorUserId: '创建人', },
lastModificationTime: '更新时间', user: {
lastModifierUserId: '更新人', id: 'ID',
isDeleted: '', userName: '姓名',
deletionTime: '', name: '姓名',
deleterUserId: '', cardTypeId: '卡类型ID',
resourceId: '资源编号', cardNo: '员工编号',
resourceCode: '资源编号', gender: '性别',
nameOfResource: '资源名称', birthday: '出生年月',
specifications: '规格', title: '职称',
measuringUnit: '计量单位', workLicense: '上岗证',
qualityCharacteristics: '质量特性', equipment: '可操控设备',
batchNo: '批次号', email: '邮箱',
storeId: '库位ID', phone: '电话',
storeTitle: '库位', department: '所属部门',
state: '状态', jobName: '职位名称',
resourceType: '资源类型', role: '角色',
totalNum: '总数', account: '用户帐号',
numberAvailable: '库存', employeeNo: '员工编号',
count: '数量', modifyTime: '修改时间',
action: '操作', remark: '备注',
creationTime: '操作时间', degreeId: '学历',
libraryTube: '操作人', degree: '学历',
}, departmentId: '部门id',
MaterialPowder: { national: '国籍',
code: '粉末编码', status: '状态',
name: '名称', creatorUserId: '创建人',
brand: '牌号', creationTime: '创建时间',
specifications: '规格', lastModifierUserId: '最后修改人',
originalManufacturer: '原厂家', lastModificationTime: '最后修改时间',
batch: '批次号', accountId: '用户账号',
totalInventory: '入库总量(kg)', isDeleted: '是否删除',
remainingAmount: '剩余量(kg)', positionId: '职位',
remainingAmount1: '实际剩余量(kg)', licensedToWork: '上岗证',
changeState: '盈亏', titleId: '职称',
unitPrice: '单价(元/kg)', jobNo: '工号',
certificateOfApproval: '合格证', departmentTitle: '所属部门',
storeId: '库位Id', roleTitles: '角色名称',
storeTitle: '库位', enableEquip: '可操控设备'
location: '位置', },
category: '类别', resource: {
reinspectionDate: '复验日期', id: '编号',
reinspectionStatus: '复验状态', creationTime: '创建时间',
id: '编号', creatorUserId: '创建人',
creationTime: '创建时间', lastModificationTime: '更新时间',
lastModificationTime: '更新时间', lastModifierUserId: '更新人',
lastModifierUserId: '更新人', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
isDeleted: '', resourceId: '资源编号',
creator: "经办人", resourceCode: '资源编号',
creatorUserId: "经办人Id", nameOfResource: '资源名称',
storeCode: '入库编号', specifications: '规格',
minNum: '最低库存', measuringUnit: '计量单位',
remark: '备注', qualityCharacteristics: '质量特性',
total: '总数', batchNo: '批次号',
batchNo: '批次号', storeId: '库位ID',
}, storeTitle: '库位',
waitReview: { state: '状态',
id: '', resourceType: '资源类型',
brand: '粉末牌号', totalNum: '总数',
name: '粉末名称', numberAvailable: '库存',
specifications: '粉末规格', count: '数量',
batchNo: '批次号', action: '操作',
originalManufacturer: '生产厂家', creationTime: '操作时间',
reinspectionDate: '复验日期', libraryTube: '操作人',
remainingAmount: '库存余量', },
storeId: '货架号', MaterialPowder: {
location: '所处位置', code: '粉末编码',
category: '粉末类别', name: '名称',
reinspectionStatus: '复验状态', brand: '牌号',
}, specifications: '规格',
MaterialPlacode: { originalManufacturer: '原厂家',
id: '', batch: '批次号',
substrateCoding: '基板编码', totalInventory: '入库总量(kg)',
name: '名称', remainingAmount: '剩余量(kg)',
brand: '牌号', remainingAmount1: '实际剩余量(kg)',
specifications: '规格', changeState: '盈亏',
baseMaterial: '基板材质', unitPrice: '单价(元/kg)',
materialNumber: '材料编号', certificateOfApproval: '合格证',
applyToEquipment: '适用设备', storeId: '库位Id',
thickness: '厚度(mm)', storeTitle: '库位',
state: '状态', location: '位置',
location: '所处位置', category: '类别',
inventory: '库存', reinspectionDate: '复验日期',
minNum: '最低库存', reinspectionStatus: '复验状态',
availableInStock: '可用库存', id: '编号',
remainingAmount1: '实际库存', creationTime: '创建时间',
creator: '经办人', lastModificationTime: '更新时间',
storeId: '库位Id', lastModifierUserId: '更新人',
storeTitle: '库位', deletionTime: '',
changeState: '盈亏', deleterUserId: '',
remark: '备注', isDeleted: '',
total: '总数', creator: "经办人",
code: '基板编码', creatorUserId: "经办人Id",
storeCode: '入库编号',
minNum: '最低库存',
remark: '备注',
total: '总数',
batchNo: '批次号',
},
waitReview: {
id: '',
brand: '粉末牌号',
name: '粉末名称',
specifications: '粉末规格',
batchNo: '批次号',
originalManufacturer: '生产厂家',
reinspectionDate: '复验日期',
remainingAmount: '库存余量',
storeId: '货架号',
location: '所处位置',
category: '粉末类别',
reinspectionStatus: '复验状态',
},
MaterialPlacode: {
id: '',
substrateCoding: '基板编码',
name: '名称',
brand: '牌号',
specifications: '规格',
baseMaterial: '基板材质',
materialNumber: '材料编号',
applyToEquipment: '适用设备',
thickness: '厚度(mm)',
state: '状态',
location: '所处位置',
inventory: '库存',
minNum: '最低库存',
availableInStock: '可用库存',
remainingAmount1: '实际库存',
creator: '经办人',
storeId: '库位Id',
storeTitle: '库位',
changeState: '盈亏',
remark: '备注',
total: '总数',
code: '基板编码',
}, },
MaterialScraper: { MaterialScraper: {
id: '编号', id: '编号',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
code: '刮刀编号', code: '刮刀编号',
materialSpecification: '材质/规格', materialSpecification: '材质/规格',
applyEquipment: '适用设备', applyEquipment: '适用设备',
freeCount: '剩余套数', freeCount: '剩余套数',
remainingAmount1: '实际套数', remainingAmount1: '实际套数',
inCount: '入库套数', inCount: '入库套数',
quantityCount: '每套数量(片)', quantityCount: '每套数量(片)',
price: '单价(元/套)', price: '单价(元/套)',
storageTime: '入库时间', storageTime: '入库时间',
location: '所处位置', location: '所处位置',
minNum: '最低库存', minNum: '最低库存',
creator: '经办人', creator: '经办人',
storeId: '库位Id', storeId: '库位Id',
storeTitle: '库位', storeTitle: '库位',
changeState: '盈亏', changeState: '盈亏',
remark: '备注', remark: '备注',
total: '总数', total: '总数',
specifications: '材质/规格', specifications: '材质/规格',
applyToEquipment: '适用设备', applyToEquipment: '适用设备',
unitPrice: '单价(元/套)', unitPrice: '单价(元/套)',
}, },
order_material: { order_material: {
id: '编号', id: '编号',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '', isDeleted: '',
deleterUserId: '', deleterUserId: '',
deletionTime: '', deletionTime: '',
code: '料单编号', code: '料单编号',
name: '料单名称', name: '料单名称',
platesnum: '基板数量', platesnum: '基板数量',
quotaPerBoard: '每板定额', quotaPerBoard: '每板定额',
fileTemplate: '文件模版', fileTemplate: '文件模版',
remarks: '备注', remarks: '备注',
extend: '扩展字段', extend: '扩展字段',
orderids: '订单编号', orderids: '订单编号',
status: '料单状态', status: '料单状态',
}, },
menu: { menu: {
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
name: '名称', name: '名称',
upId: '父级', upId: '父级',
upTitle: '上级名称', upTitle: '上级名称',
type: '类型', type: '类型',
code: '编码', code: '编码',
icon: '图标', icon: '图标',
target: '打开方式', target: '打开方式',
url: '地址', url: '地址',
status: '显示', status: '显示',
description: '备注', description: '备注',
source: '来源', source: '来源',
app: '系统', app: '系统',
priority: '排序', priority: '排序',
}, },
order_material: { order_material: {
id: '编号', id: '编号',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '', isDeleted: '',
deleterUserId: '', deleterUserId: '',
deletionTime: '', deletionTime: '',
code: '料单编号', code: '料单编号',
name: '料单名称', name: '料单名称',
platesnum: '基板数量', platesnum: '基板数量',
quotaPerBoard: '每板定额', quotaPerBoard: '每板定额',
fileTemplate: '文件模版', fileTemplate: '文件模版',
remarks: '备注', remarks: '备注',
extend: '扩展字段', extend: '扩展字段',
orderids: '订单编号', orderids: '订单编号',
status: '料单状态', status: '料单状态',
}, },
business_code_config: { business_code_config: {
id: '编号', id: '编号',
businessName: '业务名称', businessName: '业务名称',
businessCode: '业务代号', businessCode: '业务代号',
prefix: '编码前缀', prefix: '编码前缀',
maxSerial: '最大序列号', maxSerial: '最大序列号',
day: '清零规则', day: '清零规则',
remark: '备注', remark: '备注',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
}, },
method: { method: {
id: 'Id', id: 'Id',
title: '名称', title: '名称',
methodDescription: '方法描述', methodDescription: '方法描述',
controller: '模块', controller: '模块',
controllerDescription: '模块描述', controllerDescription: '模块描述',
service: '服务', service: '服务',
serviceDescription: '服务描述', serviceDescription: '服务描述',
url: '地址', url: '地址',
httpMethod: '方法', httpMethod: '方法',
level: '级别', level: '级别',
creatorUserId: '创建人呢', creatorUserId: '创建人呢',
lastModificationTime: '修改时间', lastModificationTime: '修改时间',
lastModifierUserId: '修改人', lastModifierUserId: '修改人',
isDeleted: '是否删除', isDeleted: '是否删除',
deletionTime: '删除时间', deletionTime: '删除时间',
deleterUserId: '删除用户', deleterUserId: '删除用户',
creationTime: '创建时间', creationTime: '创建时间',
}, },
mes_order_watch: { //订单监控 mes_order_watch: { //订单监控
id: '', id: '',
status: '订单状态', status: '订单状态',
mesCode: '订单编号', mesCode: '订单编号',
demandStartDate: '计划开始时间', demandStartDate: '计划开始时间',
demandFinishDate: '计划结束时间', demandFinishDate: '计划结束时间',
actualStartDate: '实际开始时间', actualStartDate: '实际开始时间',
actualFinishDate: '实际结束时间', actualFinishDate: '实际结束时间',
productName: '产品名称', productName: '产品名称',
drawnNumber: '图号', drawnNumber: '图号',
routingType: '工艺类型', routingType: '工艺类型',
orderWarning: '订单预警', orderWarning: '订单预警',
startWarning: '开工预警', startWarning: '开工预警',
finishWarning: '完工预警', finishWarning: '完工预警',
jindu: '订单进度', jindu: '订单进度',
startCount: '开工数', startCount: '开工数',
stopCount: '暂停数', stopCount: '暂停数',
finishCount: '完工数', finishCount: '完工数',
remark: '备注', remark: '备注',
productingpreparationpeople: '车间', productingpreparationpeople: '车间',
detailId: '工序Id', detailId: '工序Id',
taskSeq: '工序号', taskSeq: '工序号',
detailName: '工序名称', detailName: '工序名称',
routingCode: '工艺文件编号', routingCode: '工艺文件编号',
userNames: '人员名称', userNames: '人员名称',
userIds: '', userIds: '',
routingHeaderId: '工艺规程id', routingHeaderId: '工艺规程id',
dispatchExecuteId: '工单执行表id' dispatchExecuteId: '工单执行表id'
}, },
order_pause: { order_pause: {
id: '', id: '',
creationTime: '暂停时间', creationTime: '暂停时间',
creatorUserId: '', creatorUserId: '',
creator: '暂停人', creator: '暂停人',
lastModificationTime: '恢复时间', lastModificationTime: '恢复时间',
lastModifierUserId: '', lastModifierUserId: '',
laster: '恢复人', laster: '恢复人',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
orderId: '订单id', orderId: '订单id',
mesCode: '订单编号', mesCode: '订单编号',
productId: '产品id', productId: '产品id',
productName: '产品名称', productName: '产品名称',
drawnNumber: '产品图号', drawnNumber: '产品图号',
pauseCause: '暂停原因', pauseCause: '暂停原因',
remark: '描述', remark: '描述',
path: '附件路径', path: '附件路径',
relatedPerson: '相关人员', relatedPerson: '相关人员',
relatedPersoner: '相关人员', relatedPersoner: '相关人员',
}, },
waitOpened: { waitOpened: {
id: '', id: '',
orderId: '订单主键', orderId: '订单主键',
serialNumber: '合格证编号', serialNumber: '合格证编号',
mesCode: '订单编号', mesCode: '订单编号',
drawnNumber: '图号', drawnNumber: '图号',
productId: '产品id', productId: '产品id',
productName: '产品名称', productName: '产品名称',
quantity: '计划数量', quantity: '计划数量',
productQuantity: '合格数量', productQuantity: '合格数量',
actualFinishDate: '完成时间', actualFinishDate: '完成时间',
productingPreparationPeople: '承制单位', productingPreparationPeople: '承制单位',
uncertificateQuantity: '待开具数量', uncertificateQuantity: '待开具数量',
status: '状态', status: '状态',
userUnit: '用户单位', userUnit: '用户单位',
taskBased: '任务依据', taskBased: '任务依据',
productCode: '产品代号(图号)', productCode: '产品代号(图号)',
productSerialNumber: '产品编号', productSerialNumber: '产品编号',
productStatus: '产品状态', productStatus: '产品状态',
materialCode: '原材料牌号', materialCode: '原材料牌号',
materialSerialNumber: '原材料批次号', materialSerialNumber: '原材料批次号',
addMaterialBatch: '增材制造批次号', addMaterialBatch: '增材制造批次号',
materialCertificationNumber: '原材合格证编号', materialCertificationNumber: '原材合格证编号',
conclusion: '结论', conclusion: '结论',
examUser: '检验员', examUser: '检验员',
approveUser: '批准人', approveUser: '批准人',
approveDate: '批准时间', approveDate: '批准时间',
remark: '备注', remark: '备注',
certificateId: '合格证主键', certificateId: '合格证主键',
name: '检验项目', name: '检验项目',
require: '检验要求', require: '检验要求',
result: '测试结果', result: '测试结果',
creationTime: '创建时间', creationTime: '创建时间',
examDate: '检验时间', examDate: '检验时间',
}, },
StoreroomLocation: { //库房库位 StoreroomLocation: { //库房库位
upId: '', upId: '',
materialType: '', materialType: '',
storeroomTiitle: '', storeroomTiitle: '',
storeroomId: '', storeroomId: '',
recommend: '', recommend: '',
status: '', status: '',
sizes: '', sizes: '',
levels: '', levels: '',
departmentType: '', departmentType: '',
userName: '', userName: '',
userIds: '', userIds: '',
title: '库位名称', title: '库位名称',
material_type: '所属资源', material_type: '所属资源',
department_name: '所属部门', department_name: '所属部门',
user_name: '库管员', user_name: '库管员',
description: '位置', description: '位置',
}, },
bug: { //bug bug: { //bug
id: 'ID', id: 'ID',
level: '级别', level: '级别',
title: '标题', title: '标题',
pagePath: '地址', pagePath: '地址',
status: '状态', status: '状态',
creationTime: '创建时间', creationTime: '创建时间',
createor: '创建人', createor: '创建人',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '处理时间', lastModificationTime: '处理时间',
auditUser: '处理人', auditUser: '处理人',
alloter: '指派给', alloter: '指派给',
lastModifierUserId: '处理人', lastModifierUserId: '处理人',
content: '内容', content: '内容',
remark: 'bug处理', remark: 'bug处理',
time: '工时', time: '工时',
actionName: '处理人', actionName: '处理人',
workHours: '工时', workHours: '工时',
}, },
DipartLocation: { DipartLocation: {
name: "部门", name: "部门",
organizationType: "组织类型", organizationType: "组织类型",
status: '是否生产班组', status: '是否生产班组',
departcode: '部门编号', departcode: '部门编号',
department: '部门名称', department: '部门名称',
cityName: '省市县', cityName: '省市县',
creationTime: '创建时间', creationTime: '创建时间',
upMent: '上级部门', upMent: '上级部门',
}, },
instance: { instance: {
id: '主键', id: '主键',
workflowStatus: '工作流状态', //处理中\1;审核通过\2;终止\3; workflowStatus: '工作流状态', //处理中\1;审核通过\2;终止\3;
instanceId: '流程Id', instanceId: '流程Id',
name: '名称', name: '名称',
status: '状态', //启用0;禁用1; status: '状态', //启用0;禁用1;
version: '版本', version: '版本',
processingStatus: '审核状态', processingStatus: '审核状态',
rejectStatus: '驳回状态', rejectStatus: '驳回状态',
endStatus: '完成状态', endStatus: '完成状态',
terminateStatus: '终止状态', terminateStatus: '终止状态',
creationTime: '创建时间', //记录创建时间 creationTime: '创建时间', //记录创建时间
creatorUserId: '创建人Id', creatorUserId: '创建人Id',
creator: "创建人", creator: "创建人",
baseDataUrl: '基础表单地址', baseDataUrl: '基础表单地址',
updateBaseStatusUrl: '更新状态地址', updateBaseStatusUrl: '更新状态地址',
}, },
form: { form: {
id: '', id: '',
formId: '对应表单主键', formId: '对应表单主键',
name: '表单名称', name: '表单名称',
status: '状态', status: '状态',
version: '版本', version: '版本',
creationTime: '创建时间', creationTime: '创建时间',
creator: "创建人", creator: "创建人",
creatorUserId: '创建人Id', creatorUserId: '创建人Id',
lastModificationTime: '处理时间', lastModificationTime: '处理时间',
lastModifierUserId: '处理人', lastModifierUserId: '处理人',
deleterUserId: '', deleterUserId: '',
deletionTime: '', deletionTime: '',
isDeleted: '', isDeleted: '',
}, },
form_column: { form_column: {
id: '', id: '',
formId: '表单主键', formId: '表单主键',
cnName: '中文名称', cnName: '中文名称',
enName: '英文名称', enName: '英文名称',
dataType: '数据类型', dataType: '数据类型',
dicSource: '', dicSource: '',
dataLength: '数据长度', dataLength: '数据长度',
required: '必填', required: '必填',
controlType: '控件类型', controlType: '控件类型',
dicSource: '字典项', dicSource: '字典项',
align: '对齐方式', align: '对齐方式',
remark: '备注', remark: '备注',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创造者的用户id', creatorUserId: '创造者的用户id',
lastModificationTime: '最后修改时间', lastModificationTime: '最后修改时间',
lastModifierUserId: '最后修改的用户id', lastModifierUserId: '最后修改的用户id',
isDeleted: '被删除', isDeleted: '被删除',
deleterUserId: '删除人的用户id', deleterUserId: '删除人的用户id',
deletionTime: '删除时间', deletionTime: '删除时间',
}, },
Message: { Message: {
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
title: '标题', title: '标题',
content: '内容', content: '内容',
state: '状态', state: '状态',
}, },
node: { node: {
id: '', id: '',
schemaId: '工作流Id', schemaId: '工作流Id',
formId: '表单', formId: '表单',
name: '节点名称', name: '节点名称',
operation: '审核类型', operation: '审核类型',
rejectOption: '驳回类型', rejectOption: '驳回类型',
category: '类别', category: '类别',
userIdList: "审批人", userIdList: "审批人",
roleIdList: "审批角色", roleIdList: "审批角色",
isFixed: "固定", isFixed: "固定",
// creationTime:'创建时间', // creationTime:'创建时间',
// creatorUserId:'创造者的用户id', // creatorUserId:'创造者的用户id',
// lastModificationTime:'最后修改时间', // lastModificationTime:'最后修改时间',
// lastModifierUserId:'最后修改的用户id', // lastModifierUserId:'最后修改的用户id',
// isDeleted:'被删除', // isDeleted:'被删除',
// deleterUserId:'删除人的用户id', // deleterUserId:'删除人的用户id',
// deletionTime:'删除时间', // deletionTime:'删除时间',
}, },
orderInfo: { //订单详细信息 orderInfo: { //订单详细信息
id: '', id: '',
orderId: '订单主键', orderId: '订单主键',
mesCode: '订单编号', mesCode: '订单编号',
drawnNumber: '图号', drawnNumber: '图号',
productId: '产品id', productId: '产品id',
productName: '产品名称', productName: '产品名称',
taskType: '任务类型', taskType: '任务类型',
quantity: '计划数量', quantity: '计划数量',
stage: '阶段', stage: '阶段',
quantity: '数量', quantity: '数量',
materialId: '材料', materialId: '材料',
routing_Method: '工艺方法', routing_Method: '工艺方法',
outer_Envelope_Size: '外包络尺寸', outer_Envelope_Size: '外包络尺寸',
demandStartDate: '开始时间', demandStartDate: '开始时间',
demandFinishDate: '完成时间', demandFinishDate: '完成时间',
qualifiedQuantity: '合格数量', qualifiedQuantity: '合格数量',
guestName: '甲方客户', guestName: '甲方客户',
printSupply: '3D打印承制单', printSupply: '3D打印承制单',
functionaryOffice: '厂内责任机关', functionaryOffice: '厂内责任机关',
mainDepartmentId: '厂内主体责任部门', mainDepartmentId: '厂内主体责任部门',
status: '状态', status: '状态',
taskInputDate: '任务输入日期', taskInputDate: '任务输入日期',
taskRequire: '任务节点要求', taskRequire: '任务节点要求',
putintDocmentCode: '甲方投产输入文件(编号)', putintDocmentCode: '甲方投产输入文件(编号)',
technologyDocmentCode: '甲方技术输入文件(编号)', technologyDocmentCode: '甲方技术输入文件(编号)',
outerDrawnNumber: '外部图号/模型号', outerDrawnNumber: '外部图号/模型号',
modelVersion: '模型版本', modelVersion: '模型版本',
taskCode: '甲方任务号', taskCode: '甲方任务号',
designer: '甲方设计人员', designer: '甲方设计人员',
officeFunctionary: '厂内机关负责人', officeFunctionary: '厂内机关负责人',
mainRoutingPeople: '厂内主工艺人员', mainRoutingPeople: '厂内主工艺人员',
remark: '备注', remark: '备注',
batchNumber: '批次号', batchNumber: '批次号',
projectNumber: '项目号', projectNumber: '项目号',
urgencyLevel: '紧急程度', urgencyLevel: '紧急程度',
}, },
materialInfo: { //料单送审详情 materialInfo: { //料单送审详情
id: '', id: '',
documentCode: '文档编号', documentCode: '文档编号',
platesNum: '板数', platesNum: '板数',
perBoard: '每板定额', perBoard: '每板定额',
powderName: '粉末名称', powderName: '粉末名称',
powderBrand: '粉末牌号', powderBrand: '粉末牌号',
powderSpec: '粉末规格', powderSpec: '粉末规格',
powderCategory: '粉末类别', powderCategory: '粉末类别',
powderTotal: '预估粉末总量', powderTotal: '预估粉末总量',
partHeight: '预估零件高度', partHeight: '预估零件高度',
PlacodeName: '基板名称', PlacodeName: '基板名称',
PlacodeBrand: '基板牌号', PlacodeBrand: '基板牌号',
PlacodeSpec: '基板规格', PlacodeSpec: '基板规格',
PlacodeDevice: '基板适用设备', PlacodeDevice: '基板适用设备',
Placodeland: '基板厚度下限', Placodeland: '基板厚度下限',
PlacodeTotal: '基板总量', PlacodeTotal: '基板总量',
ScraperSpec: '刮刀规格', ScraperSpec: '刮刀规格',
ScraperTotal: '刮刀数量', ScraperTotal: '刮刀数量',
remark: '备注' remark: '备注'
}, },
Unqualified: { Unqualified: {
unqualifiedCode: "审理单编号", unqualifiedCode: "审理单编号",
department: "申请部门", department: "申请部门",
customer: "客户名称", customer: "客户名称",
outsourcing: "外包供方名称", outsourcing: "外包供方名称",
product: "产品名称", product: "产品名称",
material: "材料牌号", material: "材料牌号",
quantity: "数量", quantity: "数量",
code: "代号", code: "代号",
problemDesc: "问题描述", problemDesc: "问题描述",
inspectionPerson: "检验员", inspectionPerson: "检验员",
inspectionDate: "检验日期", inspectionDate: "检验日期",
}, },
handleList: { //待办事宜 handleList: { //待办事宜
id: 'id', id: 'id',
schemaId: '审批类型Id', schemaId: '审批类型Id',
schemaName: '审批类型', schemaName: '审批类型',
code: '编号', code: '编号',
status: '状态', status: '状态',
startRecordId: '开始节点Id', startRecordId: '开始节点Id',
currentNodeId: '当前环节Id', currentNodeId: '当前环节Id',
currentNodeName: '当前环节', currentNodeName: '当前环节',
nextNodeId: '下一环节Id', nextNodeId: '下一环节Id',
nextNodeName: '下一环节', nextNodeName: '下一环节',
creatorUserId: '创建用户Id', creatorUserId: '创建用户Id',
creator: '创建人', creator: '创建人',
creationTime: '创建时间', creationTime: '创建时间',
}, },
processList: { //工艺规程列表 processList: { //工艺规程列表
id: 'id', id: 'id',
productName: '产品名称', productName: '产品名称',
name: '工艺名称', name: '工艺名称',
routingType: '', routingType: '',
routingTypeDesc: '工艺类型', routingTypeDesc: '工艺类型',
version: '文档版本', version: '文档版本',
code: '规程编号', code: '规程编号',
}, },
OrderDataReview: { //数据审查 OrderDataReview: { //数据审查
id: 'id', id: 'id',
code: '文件编号', code: '文件编号',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建用户Id', creatorUserId: '创建用户Id',
lastModificationTime: '最后修改时间', lastModificationTime: '最后修改时间',
lastModifierUserId: '最后修改人id', lastModifierUserId: '最后修改人id',
repair_file_name: '修复文件', repair_file_name: '修复文件',
repair_file_notes: '', repair_file_notes: '',
repair_file_status: '修复文件状态', repair_file_status: '修复文件状态',
repair_file_url: '修复文件地址', repair_file_url: '修复文件地址',
slicing_file_name: '切片文件', slicing_file_name: '切片文件',
slicing_file_notes: '', slicing_file_notes: '',
slicing_file_status: '切片文件状态', slicing_file_status: '切片文件状态',
slicing_file_url: '切片文件地址', slicing_file_url: '切片文件地址',
supporting_file_name: '支撑文件', supporting_file_name: '支撑文件',
supporting_file_url: "支撑文件地址", supporting_file_url: "支撑文件地址",
supporting_file_notes: '', supporting_file_notes: '',
supporting_file_status: '支撑文件状态', supporting_file_status: '支撑文件状态',
}, },
Customer: { //客户管理 Customer: { //客户管理
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
name: '客户名称', name: '客户名称',
abbre: '客户简称', abbre: '客户简称',
address: '邮政地址', address: '邮政地址',
principal: '负责人', principal: '负责人',
telephone: '办公电话', telephone: '办公电话',
mobile: '手机', mobile: '手机',
type: '客户类型', type: '客户类型',
area: '客户区域', area: '客户区域',
isInform: '是否报备', isInform: '是否报备',
status: '状态', status: '状态',
notes: '备注', notes: '备注',
code: '客户编码', code: '客户编码',
trade: '行业', trade: '行业',
}, },
Shop: { Shop: {
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
name: '组织名称', name: '组织名称',
upId: '上层组织id', upId: '上层组织id',
customerId: '客户id', customerId: '客户id',
principal: '负责人', principal: '负责人',
telephone: '办公电话', telephone: '办公电话',
mobile: '手机', mobile: '手机',
status: '状态', status: '状态',
notes: '备注', notes: '备注',
}, },
Project: { Project: {
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
name: '项目名称', name: '项目名称',
customerId: '客户Id', customerId: '客户Id',
shopId: '主管部门', shopId: '主管部门',
stage: '销售阶段', stage: '销售阶段',
principal: '负责人', principal: '负责人',
isInform: '是否报备', isInform: '是否报备',
status: '状态', status: '状态',
notes: '备注', notes: '备注',
budget: '预算(元)', budget: '预算(元)',
}, },
Follow: { Follow: {
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
projectId: '项目Id', projectId: '项目Id',
customerId: '客户Id', customerId: '客户Id',
userId: '销售人员Id', userId: '销售人员Id',
type: '跟进类型', type: '跟进类型',
time: '跟进时间', time: '跟进时间',
deliverable: '跟进交付物', deliverable: '跟进交付物',
arrange: '后续安排', arrange: '后续安排',
principal: '负责人', principal: '负责人',
status: '状态', status: '状态',
notes: '备注', notes: '备注',
accessory: '上传' accessory: '上传'
}, },
Contract: { Contract: {
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
projectId: '项目编号', projectId: '项目编号',
name: '名称', name: '名称',
accessory: '附件', accessory: '附件',
userId: '销售人员', userId: '销售人员',
proceeds: '已收款', proceeds: '已收款',
status: '状态', status: '状态',
notes: '备注', notes: '备注',
}, },
// 工厂日历 // 工厂日历
calendar_class: { calendar_class: {
id: '', id: '',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '删除人', isDeleted: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
deleterUserId: '删除人', deleterUserId: '删除人',
title: '班次名称', title: '班次名称',
startTime: '开始时间', startTime: '开始时间',
endTime: '结束时间', endTime: '结束时间',
startendTime: '班次时间', startendTime: '班次时间',
workHours: '工作时长', workHours: '工作时长',
}, },
calendar_holiday: { calendar_holiday: {
id: '', id: '',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '删除人', isDeleted: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
deleterUserId: '删除人', deleterUserId: '删除人',
title: '节日名称', title: '节日名称',
startTime: '开始时间', startTime: '开始时间',
days: '工作时长(小时)', days: '工作时长(小时)',
status: '状态', status: '状态',
endTime: '结束时间', endTime: '结束时间',
}, },
calendar_overtime: { calendar_overtime: {
id: '', id: '',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '删除人', isDeleted: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
deleterUserId: '删除人', deleterUserId: '删除人',
title: '日历名称', title: '日历名称',
restType: '', restType: '',
holidayId: '', holidayId: '',
holidayTitle: '关联节假日', holidayTitle: '关联节假日',
status: '', status: '',
}, },
calendar_work: { calendar_work: {
id: '', id: '',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '删除人', isDeleted: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
deleterUserId: '删除人', deleterUserId: '删除人',
title: '日历名称', title: '日历名称',
calendarClassId: '', calendarClassId: '',
calendarClassTitle: '关联班次', calendarClassTitle: '关联班次',
calendarClassStart: '开始时间', calendarClassStart: '开始时间',
calendarClassEnd: '结束时间', calendarClassEnd: '结束时间',
workHours: '工作时长', workHours: '工作时长',
}, },
Connector: { Connector: {
id: '', id: '',
creationTime: '', creationTime: '',
creatorUserId: '', creatorUserId: '',
lastModificationTime: '', lastModificationTime: '',
lastModifierUserId: '', lastModifierUserId: '',
isDeleted: '', isDeleted: '',
deletionTime: '', deletionTime: '',
deleterUserId: '', deleterUserId: '',
name: '人员名称', name: '人员名称',
shopId: '组织id', shopId: '组织id',
duties: '职务', duties: '职务',
telephone: '办公电话', telephone: '办公电话',
mobile: '手机', mobile: '手机',
status: '状态', status: '状态',
notes: '备注', notes: '备注',
customerId: '客户Id', customerId: '客户Id',
shopName: '组织名称', shopName: '组织名称',
}, },
mes_order: { mes_order: {
id: '', id: '',
upId: '父订单id', upId: '父订单id',
mesCode: '订单编号', mesCode: '订单编号',
taskType: '任务类型', taskType: '任务类型',
productId: '产品表主键', productId: '产品表主键',
stage: '阶段', stage: '阶段',
materialId: '材料表主键', materialId: '材料表主键',
quantity: '数量', quantity: '数量',
guestName: '甲方客户', guestName: '甲方客户',
printSupply: '3D打印承制单位', printSupply: '3D打印承制单位',
functionaryOffice: '厂内责任机关', functionaryOffice: '厂内责任机关',
mainDepartmentId: '厂内主主体责任部门', mainDepartmentId: '厂内主主体责任部门',
remark: '备注', remark: '备注',
taskInputDate: '创建日期', taskInputDate: '创建日期',
taskRequire: '任务接点要求', taskRequire: '任务接点要求',
putintDocmentCode: '上传文件名称', putintDocmentCode: '上传文件名称',
technologyDocmentCode: '上传文件名称', technologyDocmentCode: '上传文件名称',
outerDrawnNumber: '外部图号/模型号', outerDrawnNumber: '外部图号/模型号',
modelVersion: '模型版本', modelVersion: '模型版本',
taskCode: '甲方任务号', taskCode: '甲方任务号',
designer: '甲方设计人员', designer: '甲方设计人员',
officeFunctionary: '厂内机关负责人', officeFunctionary: '厂内机关负责人',
mainRoutingPeople: '厂内主工艺人员', mainRoutingPeople: '厂内主工艺人员',
status: '订单状态', status: '订单状态',
workHours: '工时', workHours: '工时',
printPeriod: '打印周期', printPeriod: '打印周期',
equipment: '设备', equipment: '设备',
materialWeight: '材料重量', materialWeight: '材料重量',
isSupportingFinish: '配套状态',//是否配套,0 未配套,1 已配套 isSupportingFinish: '配套状态', //是否配套,0 未配套,1 已配套
demandStartDate: '投料时间', demandStartDate: '投料时间',
demandFinishDate: '节点时间', demandFinishDate: '节点时间',
actualStartDate: '订单实际开始时间,实际为第一道工序的开始时间', actualStartDate: '订单实际开始时间,实际为第一道工序的开始时间',
actualFinishDate: '订单实际结束时间,实际为最后一道工序的结束时间', actualFinishDate: '订单实际结束时间,实际为最后一道工序的结束时间',
isDeleted: '是否被删除,0 : 否,1 是', isDeleted: '是否被删除,0 : 否,1 是',
creatorUserId: '记录创建人', creatorUserId: '记录创建人',
creationTime: '创建时间', creationTime: '创建时间',
lastModifierUserId: '修改人', lastModifierUserId: '修改人',
lastModificationTime: '修改时间', lastModificationTime: '修改时间',
orderQuotationStatus: '报价状态', orderQuotationStatus: '报价状态',
distributeMainRouting: '(派发)工艺人员', distributeMainRouting: '(派发)工艺人员',
mainRoutingFinishDate: '工艺完成时间', mainRoutingFinishDate: '工艺完成时间',
majorRoutingPeople: '专业工艺人员', majorRoutingPeople: '专业工艺人员',
majorRoutingFinishDate: '专业工艺完成时间', majorRoutingFinishDate: '专业工艺完成时间',
checkUpPeople: '校对人员', checkUpPeople: '校对人员',
checkUpFinishDate: '校对完成时间', checkUpFinishDate: '校对完成时间',
productingPreparationPeople: '生产准备人员', productingPreparationPeople: '生产准备人员',
productingPreparationFinishDate: '生产准备完成时间', productingPreparationFinishDate: '生产准备完成时间',
quotationPeople: '订单报价人员', quotationPeople: '订单报价人员',
quotationFinishDate: '订单报价完成时间', quotationFinishDate: '订单报价完成时间',
routingMethod: '工艺方法', routingMethod: '工艺方法',
outerEnvelopeSize: '外包络尺寸', outerEnvelopeSize: '外包络尺寸',
divideMark: '分解标记:1-已分解',//1-已分解 divideMark: '分解标记:1-已分解', //1-已分解
productCode: '产品序号', productCode: '产品序号',
productName: '产品名称', productName: '产品名称',
drawnNumber: '产品图号', drawnNumber: '产品图号',
qualifiedQuantity: '合格数量', qualifiedQuantity: '合格数量',
uncertificateQuantity: '待开具数量', uncertificateQuantity: '待开具数量',
mainRoutingSetStatus: '工艺状态', mainRoutingSetStatus: '工艺状态',
majorRoutingSetStatus: '', majorRoutingSetStatus: '',
materialBillSetStatus: '', materialBillSetStatus: '',
routingDataSetStatus: '', routingDataSetStatus: '',
rootId: '', rootId: '',
mainRoutingExecuteStatus: '', mainRoutingExecuteStatus: '',
majorRoutingExecuteStatus: '', majorRoutingExecuteStatus: '',
mainRoutingActualStartDate: '', mainRoutingActualStartDate: '',
mainRoutingActualFinishDate: '', mainRoutingActualFinishDate: '',
majorRoutingActualStartDate: '', majorRoutingActualStartDate: '',
majorRoutingActualFinishDate: '', majorRoutingActualFinishDate: '',
batchNumber: '批次号', batchNumber: '批次号',
projectNumber: '项目号', projectNumber: '项目号',
urgencyLevel: '紧急程度', urgencyLevel: '紧急程度',
materialName: '材料名称', materialName: '材料名称',
isPreschedule: '移入排产', isPreschedule: '移入排产',
spareQty: '(APS)备件数量', spareQty: '(APS)备件数量',
demandStart: '(APS)投料时间', demandStart: '(APS)投料时间',
demandFinish: '(APS)节点时间', demandFinish: '(APS)节点时间',
partNamePro: '(APS)产品名称增强', partNamePro: '(APS)产品名称增强',
selection: '多选', selection: '多选',
DistributeMainRouting: '工艺人员', DistributeMainRouting: '工艺人员',
MainRoutingFinishDate: '完成时间', MainRoutingFinishDate: '完成时间',
}, },
mes_part_task_plan_simulate: { mes_plan: {
id: '', id: '',
part_task_pk: '计划编号', creationTime: '创建时间',
priority: '优先级', creatorUserId: '创建人',
plan_qty: '排产数量', lastModificationTime: '更新时间',
spare_qty: '备件数量', lastModifierUserId: '更新人',
plan_start: '计划排产开始', isDeleted: '删除人',
plan_finish: '计划排产结束', deletionTime: '删除时间',
notes: '备注', deleterUserId: '删除人',
demand_start: '计划要求开始', mesCode: '订单编号',
demand_finish: '计划要求结束', taskType: '任务类型',
insert_flag: '插单', productId: '产品主键',
badjustflag: '', quantity: '数量',
},//多租户-服务器数据源 remark: '备注',
host: { taskRequire: '任务节点要求',
id: '', status: '订单状态',
name: '数据源名称', divideMark: '分解标记:1-已分解;0-未分解',
ip: '服务器地址', productCode: '产品序号:No1~No99',
user: '用户名', productName: '产品名称',
password: '密码', drawnNumber: '图号',
port: 'ssh端口', rootId: '根节点Id',
creationTime: '创建时间', batchNumber: '批次号',
creatorUserId: '创建人', projectNumber: '项目号',
lastModificationTime: '更新时间', urgencyLevel: '紧急程度',
lastModifierUserId: '更新人', productingPreparationPeople: '生产准备(主制车间)',
isDeleted: '是否删除', productingPreparationFinishDate: '生产准备完成时间',
deletionTime: '删除时间', quotationPeople: '订单报价人员',
deleterUserId: '删除人', quotationFinishDate: '订单报价完成时间',
},//多租户-公司 upId: '父订单id',
tanant: { demandStartDate: '投料时间',
id: '', demandFinishDate: '节点时间',
name: '公司名称', },
code: '公司编码', mes_part_task_plan_simulate: {
typeId: '公司类型', id: '',
startTime: '服务开始时间', part_task_pk: '计划编号',
endTime: '服务结束时间', priority: '优先级',
initialized: '是否已初始化', plan_qty: '排产数量',
dataSourceId: '数据源', spare_qty: '备件数量',
creationTime: '创建时间', plan_start: '计划排产开始',
creatorUserId: '创建人', plan_finish: '计划排产结束',
lastModificationTime: '更新时间', notes: '备注',
lastModifierUserId: '更新人', demand_start: '计划要求开始',
isDeleted: '是否删除', demand_finish: '计划要求结束',
deletionTime: '删除时间', insert_flag: '插单',
deleterUserId: '删除人', badjustflag: '',
hostId: '服务器', }, //多租户-服务器数据源
}, host: {
data_source: { id: '',
id: '', name: '数据源名称',
hostId: '数据源ID', ip: '服务器地址',
port: '端口', user: '用户名',
userName: '用户名', password: '密码',
password: '密码', port: 'ssh端口',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '更新时间', lastModificationTime: '更新时间',
lastModifierUserId: '更新人', lastModifierUserId: '更新人',
isDeleted: '是否删除', isDeleted: '是否删除',
deletionTime: '删除时间', deletionTime: '删除时间',
deleterUserId: '删除人', deleterUserId: '删除人',
}, }, //多租户-公司
mes_part_task_execute: { //排产方案的 tanant: {
pARTTASKPK: '', id: '',
cLASSID: '产品Id', name: '公司名称',
pARTID: '产品Id', code: '公司编码',
oRDERID: '', typeId: '公司类型',
pARTTASKID: '计划Id', startTime: '服务开始时间',
bATCHNUM: '批次号', endTime: '服务结束时间',
pLANSTART: '计划排产开始', initialized: '是否已初始化',
pLANFINISH: '计划排产结束', dataSourceId: '数据源',
aCTUALSTART: '', creationTime: '创建时间',
aCTUALFINISH: '', creatorUserId: '创建人',
dEMANDSTART: '要求开始时间', lastModificationTime: '更新时间',
dEMANDFINISH: '要求结束时间', lastModifierUserId: '更新人',
pLANQTY: '计划数量', isDeleted: '是否删除',
sPAREQTY: '', deletionTime: '删除时间',
pRODUCEDQTY: '', deleterUserId: '删除人',
pASSEDQTY: '', hostId: '服务器',
sCRAPPEDQTY: '', },
rEWORKQTY: '', data_source: {
tASKTYPE: '任务类型', id: '',
iNSERTFLAG: '插单', hostId: '数据源ID',
tASKFLAG: '', port: '端口',
sTATUS: '状态', userName: '用户名',
nOTES: '', password: '密码',
lOCKFLAG: '', creationTime: '创建时间',
sCHEDULEID: '排产方案', creatorUserId: '创建人',
}, lastModificationTime: '更新时间',
lastModifierUserId: '更新人',
isDeleted: '是否删除',
deletionTime: '删除时间',
deleterUserId: '删除人',
},
mes_part_task_execute: { //排产方案的
pARTTASKPK: '',
cLASSID: '产品Id',
pARTID: '产品Id',
oRDERID: '',
pARTTASKID: '计划Id',
bATCHNUM: '批次号',
pLANSTART: '计划排产开始',
pLANFINISH: '计划排产结束',
aCTUALSTART: '',
aCTUALFINISH: '',
dEMANDSTART: '要求开始时间',
dEMANDFINISH: '要求结束时间',
pLANQTY: '计划数量',
sPAREQTY: '',
pRODUCEDQTY: '',
pASSEDQTY: '',
sCRAPPEDQTY: '',
rEWORKQTY: '',
tASKTYPE: '任务类型',
iNSERTFLAG: '插单',
tASKFLAG: '',
sTATUS: '状态',
nOTES: '',
lOCKFLAG: '',
sCHEDULEID: '排产方案',
},
mes_op_task_execute: {//子表 mes_op_task_execute: { //子表
iD: '', iD: '',
oPTASKPK: '工单Id', oPTASKPK: '工单Id',
pARTTASKPK: '计划Id', pARTTASKPK: '计划Id',
tASKSEQ: '工序号', tASKSEQ: '工序号',
tASKNAME: '工序名称', tASKNAME: '工序名称',
pLANFINISH: '计划排产结束', pLANFINISH: '计划排产结束',
pLANSTART: '计划排产开始', pLANSTART: '计划排产开始',
aCTUALFINISH: '', aCTUALFINISH: '',
aCTUALSTART: '', aCTUALSTART: '',
sHOPID: '车间Id', sHOPID: '车间Id',
eQUIPID: '设备编号', eQUIPID: '设备编号',
eQUIPTYPE: '设备类型', eQUIPTYPE: '设备类型',
sINGLEOUT: '单间产出', sINGLEOUT: '单间产出',
rUNTIME: '单件工时', rUNTIME: '单件工时',
sETUPTIME: '准备工时', sETUPTIME: '准备工时',
pUTINTOQTY: '投产数量', pUTINTOQTY: '投产数量',
tRANSPORTTIME: '转运工时', tRANSPORTTIME: '转运工时',
cHECKTIME: '检验工时', cHECKTIME: '检验工时',
dISPATCHQTY: '派工数量', dISPATCHQTY: '派工数量',
pRODUCEDQTY: '', pRODUCEDQTY: '',
pASSEDQTY: '', pASSEDQTY: '',
sCRAPPEDQTY: '', sCRAPPEDQTY: '',
rEWORKQTY: '', rEWORKQTY: '',
tASKTYPE: '任务类型', tASKTYPE: '任务类型',
tASKFLAG: '', tASKFLAG: '',
iNSERTFLAG: '插单', iNSERTFLAG: '插单',
sTATUS: '状态', sTATUS: '状态',
nOTES: '备注', nOTES: '备注',
lOCKFLAG: '', lOCKFLAG: '',
routingHEADERID: '工艺规程Id', routingHEADERID: '工艺规程Id',
rOUTINGDETAILID: '工序Id', rOUTINGDETAILID: '工序Id',
isSynchronization: '', isSynchronization: '',
outsideTime: '外协时间', outsideTime: '外协时间',
sCHEDULEID: '排产方案编号', sCHEDULEID: '排产方案编号',
}, },
mes_op_task_plan_simulate: { //参数设置的表 mes_op_task_plan_simulate: { //参数设置的表
id: '', id: '',
op_task_pk: '工单编号', op_task_pk: '工单编号',
part_task_pk: '计划编号', part_task_pk: '计划编号',
task_seq: '工序号', task_seq: '工序号',
task_name: '工序名称', task_name: '工序名称',
put_into_qty: '投产数量', put_into_qty: '投产数量',
plan_start: '计划排产开始', plan_start: '计划排产开始',
plan_finish: '计划排产结束', plan_finish: '计划排产结束',
setup_time: '准备工时', setup_time: '准备工时',
run_time: '单件工时', run_time: '单件工时',
transport_time: '转运时间', transport_time: '转运时间',
check_time: '检验时间', check_time: '检验时间',
efficiency_value: '效率系数', efficiency_value: '效率系数',
singleout: '单件产出', singleout: '单件产出',
first_equip: '设备编号', first_equip: '设备编号',
equip_type: '设备类型', equip_type: '设备类型',
cal_id: '连班策略', cal_id: '连班策略',
machine_rule: '设备优先规则', machine_rule: '设备优先规则',
plan_method: '重叠转序', plan_method: '重叠转序',
over_time: '六日加班', over_time: '六日加班',
isdiscrete: '是否离散', isdiscrete: '是否离散',
discrete_value: '离散值', discrete_value: '离散值',
multi_machine: '多台分配', multi_machine: '多台分配',
notes: '备注', notes: '备注',
insert_flag: '插单', insert_flag: '插单',
important_flag:"插单", important_flag: "插单",
outside_time: '外协时间', outside_time: '外协时间',
discrete_percent: '离散度', discrete_percent: '离散度',
taskseq_des: '', taskseq_des: '',
workshopcode: '', workshopcode: '',
routing_detail_id: '', routing_detail_id: '',
routing_header_id: '', routing_header_id: '',
comb_param: '', comb_param: '',
rule_qty: '', rule_qty: '',
taskSeq: '工序号', taskSeq: '工序号',
efficiencyValue: '效率系数', efficiencyValue: '效率系数',
calId: '连班策略', calId: '连班策略',
overTime: '六日加班', overTime: '六日加班',
isDiscrete: '是否离散', isDiscrete: '是否离散',
multipleEquip: "是否多台安排设备",// 否 是 multipleEquip: "是否多台安排设备", // 否 是
multipleEquipIds: "设备id", //用英文逗号分隔 multipleEquipIds: "设备id", //用英文逗号分隔
discrete: '离散值', discrete: '离散值',
}, },
routing_header:{ routing_header: {
id:'', id: '',
creationTime:'', creationTime: '',
creatorUserId:'', creatorUserId: '',
lastModificationTime:'', lastModificationTime: '',
lastModifierUserId:'', lastModifierUserId: '',
deleterUserId:'', deleterUserId: '',
deletionTime:'', deletionTime: '',
classId:'类id', classId: '类id',
unicode:'unicode', unicode: 'unicode',
name:'工艺名称', name: '工艺名称',
code:'工艺编号', code: '工艺编号',
productId:'产品id', productId: '产品id',
productName:'产品名称', productName: '产品名称',
productCode:'产品图号', productCode: '产品图号',
version:'工艺文件版本', version: '工艺文件版本',
author:'编制人', author: '编制人',
departmentId:'', departmentId: '',
isMain:'', isMain: '',
upId:'', upId: '',
upDetailId:'', upDetailId: '',
routingType:'工艺类型', routingType: '工艺类型',
status:'', status: '',
approvalStatus:'状态', approvalStatus: '状态',
remark:'工艺说明', remark: '工艺说明',
roufile:'多媒体附件', roufile: '多媒体附件',
approvalStatusRemark:'', approvalStatusRemark: '',
auditUserId1:'审核人', auditUserId1: '审核人',
auditUserId2:'审批人', auditUserId2: '审批人',
isDeleted:'', isDeleted: '',
platesnum:'', platesnum: '',
isEffect:'', isEffect: '',
developmentMode:'研制方式', developmentMode: '研制方式',
changeOrderCode:'更改单编号', changeOrderCode: '更改单编号',
changeOrderDate:'更改单日期', changeOrderDate: '更改单日期',
changeMethod:'更改办法', changeMethod: '更改办法',
taskType:'任务类型', taskType: '任务类型',
}, },
routing_detail: { routing_detail: {
id: '', id: '',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '修改时间', lastModificationTime: '修改时间',
lastModifierUserId: '修改人', lastModifierUserId: '修改人',
isDeleted: '是否删除', isDeleted: '是否删除',
deleterUserId: '删除人', deleterUserId: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
classId: '', classId: '',
routingHeaderId: '工艺ID', routingHeaderId: '工艺ID',
name: '工序名', name: '工序名',
taskSeq: '工序号', taskSeq: '工序号',
description: '工序名称详细描述', description: '工序名称详细描述',
taskContent: '工序内容', taskContent: '工序内容',
resourceId: '设备', resourceId: '设备',
resourceType: '设备类型', resourceType: '设备类型',
runtime: '单件排产工时', runtime: '单件排产工时',
performancehours: '绩效工时', performancehours: '绩效工时',
setupTime: '工序准备工时', setupTime: '工序准备工时',
transportTime: '转运工时', transportTime: '转运工时',
checkTime: '检验工时', checkTime: '检验工时',
checkFlag: '检验标识', checkFlag: '检验标识',
efficiencyValue: '效率系数', efficiencyValue: '效率系数',
singleOut: '单件产出', singleOut: '单件产出',
isOutside: '是否外协', isOutside: '是否外协',
departmentId: '工序的承制单位', departmentId: '工序的承制单位',
isImportant: '是否关键工序', isImportant: '是否关键工序',
milestoneId: '里程碑', milestoneId: '里程碑',
phaseId: '阶段', phaseId: '阶段',
status: '状态', status: '状态',
remark: '备注', remark: '备注',
extend: '扩展字段', extend: '扩展字段',
outsideTime: '外协工期', outsideTime: '外协工期',
}, },
RoutingSupporting: { RoutingSupporting: {
id: '', id: '',
routingHeaderId: '工艺规程ID', routingHeaderId: '工艺规程ID',
routingHeaderId: '工艺规程ID', routingHeaderId: '工艺规程ID',
routingDetailId: '工序ID', routingDetailId: '工序ID',
routingStepId: '工步ID', routingStepId: '工步ID',
isDeleted: '删除人', isDeleted: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
deleterUserId: '删除人', deleterUserId: '删除人',
routingHeaderId: '工艺规程ID', routingHeaderId: '工艺规程ID',
routingDetailId: '工序ID', routingDetailId: '工序ID',
routingStepId: '工步ID', routingStepId: '工步ID',
quantity: '数量', quantity: '数量',
singlequantity: '总计数量', singlequantity: '总计数量',
materialId: '物料id', materialId: '物料id',
materialType: '物料类型', materialType: '物料类型',
materialNumber: '物料编号', materialNumber: '物料编号',
nameMaterial: '物料名称', nameMaterial: '物料名称',
state: '状态', state: '状态',
extend: '扩展字段', extend: '扩展字段',
remark: '备注', remark: '备注',
brand: '牌号', brand: '牌号',
specifications: '规格', specifications: '规格',
xhgg: '型号规格', xhgg: '型号规格',
texture: '材质', texture: '材质',
procurementStandards: '采购标准', procurementStandards: '采购标准',
qualityGrade: '质量等级', qualityGrade: '质量等级',
state: '状态', state: '状态',
extend: '扩展字段', extend: '扩展字段',
remark: '备注', remark: '备注',
}, },
routing_step: { routing_step: {
id: '', id: '',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '修改时间', lastModificationTime: '修改时间',
lastModifierUserId: '修改人', lastModifierUserId: '修改人',
isDeleted: '是否删除', isDeleted: '是否删除',
deleterUserId: '删除人', deleterUserId: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
routingHeaderId: '工艺', routingHeaderId: '工艺',
routingDetailId: '工序', routingDetailId: '工序',
classId: '', classId: '',
stepSeq: '工步号', stepSeq: '工步号',
name: '名称', name: '名称',
description: '描述', description: '描述',
status: '状态', status: '状态',
remark: '备注', remark: '备注',
stepContent: '工步内容', stepContent: '工步内容',
extend: '扩展字段', extend: '扩展字段',
}, },
routing_qc_card: { routing_qc_card: {
id: '', id: '',
creationTime: '创建时间', creationTime: '创建时间',
creatorUserId: '创建人', creatorUserId: '创建人',
lastModificationTime: '修改时间', lastModificationTime: '修改时间',
lastModifierUserId: '修改人', lastModifierUserId: '修改人',
isDeleted: '是否删除', isDeleted: '是否删除',
deleterUserId: '删除人', deleterUserId: '删除人',
deletionTime: '删除时间', deletionTime: '删除时间',
routingHeaderId: '工艺', routingHeaderId: '工艺',
routingDetailId: '工序', routingDetailId: '工序',
routingStepId: '工步', routingStepId: '工步',
checkContent: '检验内容', checkContent: '检验内容',
checkType: '检验标记', checkType: '检验标记',
checkParams: '参数名称', checkParams: '参数名称',
measurementUnit: '单位', measurementUnit: '单位',
fillintype: '汇报类型', fillintype: '汇报类型',
qualityTemplate: '模板', qualityTemplate: '模板',
isphotograph: '是否拍照', isphotograph: '是否拍照',
status: '状态', status: '状态',
extend: '扩展字段', extend: '扩展字段',
remark: '备注', remark: '备注',
productionRequirement: '生产要求', productionRequirement: '生产要求',
standard: '标准指标', standard: '标准指标',
qualityTemplateName: '模板文件名称', qualityTemplateName: '模板文件名称',
} }
} }
\ No newline at end of file
<template>
<Form ref="form" :model="entity" :rules="rules" :label-width="90">
<Row>
<Col :span="12">
<FormItem :label="l('mesCode')" prop="mesCode">
<Input v-model="entity.mesCode"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('taskType')" prop="taskType">
<Dictionary code="mes.mes_plan.task_type" v-model="entity.taskType"></Dictionary>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('productId')" prop="productId">
<InputNumber v-model="entity.productId"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('quantity')" prop="quantity">
<InputNumber v-model="entity.quantity"></InputNumber>
</FormItem>
</Col>
<Col :span="24">
<FormItem :label="l('remark')" prop="remark">
<Input v-model="entity.remark" type="textarea" :rows="5"></Input>
</FormItem>
</Col>
<Col :span="24">
<FormItem :label="l('taskRequire')" prop="taskRequire">
<Input v-model="entity.taskRequire" type="textarea" :rows="5"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('status')" prop="status">
<Dictionary code="mes.mes_plan.status" v-model="entity.status"></Dictionary>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('divideMark')" prop="divideMark">
<Dictionary code="mes.mes_plan.divide_mark" v-model="entity.divideMark"></Dictionary>
</FormItem>
</Col>
<Col :span="24">
<FormItem :label="l('productCode')" prop="productCode">
<Input v-model="entity.productCode" type="textarea" :rows="5"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('productName')" prop="productName">
<Input v-model="entity.productName"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('drawnNumber')" prop="drawnNumber">
<Input v-model="entity.drawnNumber"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('rootId')" prop="rootId">
<InputNumber v-model="entity.rootId"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('batchNumber')" prop="batchNumber">
<Input v-model="entity.batchNumber"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('projectNumber')" prop="projectNumber">
<Input v-model="entity.projectNumber"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('urgencyLevel')" prop="urgencyLevel">
<Dictionary code="mes.mes_plan.urgency_level" v-model="entity.urgencyLevel"></Dictionary>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('productingPreparationPeople')" prop="productingPreparationPeople">
<InputNumber v-model="entity.productingPreparationPeople"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem
:label="l('productingPreparationFinishDate')"
prop="productingPreparationFinishDate"
>
<DatePicker type="date" v-model="entity.productingPreparationFinishDate"></DatePicker>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('quotationPeople')" prop="quotationPeople">
<InputNumber v-model="entity.quotationPeople"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('quotationFinishDate')" prop="quotationFinishDate">
<DatePicker type="date" v-model="entity.quotationFinishDate"></DatePicker>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('upId')" prop="upId">
<InputNumber v-model="entity.upId"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('demandStartDate')" prop="demandStartDate">
<DatePicker type="date" v-model="entity.demandStartDate"></DatePicker>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('demandFinishDate')" prop="demandFinishDate">
<DatePicker type="date" v-model="entity.demandFinishDate"></DatePicker>
</FormItem>
</Col>
</Row>
<FormItem>
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button>
<Button @click="handleClose" class="ml20">取消</Button>
</FormItem>
</Form>
</template>
<script>
import Api from "./api";
export default {
name: "Add",
data() {
return {
disabled: false,
entity: {},
rules: {
name: [{ required: true, message: "必填", trigger: "blur" }]
}
};
},
props: {
v: Object
},
methods: {
handleSubmit() {
this.$refs.form.validate(v => {
if (v) {
this.disabled = true;
Api.create(this.entity)
.then(r => {
this.disabled = false;
if (r.success) {
this.$Message.success("保存成功");
this.$emit("on-ok");
} else {
this.$Message.error("保存失败");
}
})
.catch(err => {
this.disabled = false;
this.$Message.error("保存失败");
console.warn(err);
});
}
});
},
handleClose() {
this.$emit("on-close");
},
l(key) {
key = "mes_plan" + "." + key;
return this.$t(key);
}
},
watch: {
v() {
this.entity = this.$u.clone(this.v);
}
}
};
</script>
import Api from '@/plugins/request'
export default {
index: `${PlanUrl}/mesplan/paged`,
paged(params) {
return Api.post(`${PlanUrl}/mesplan/paged`, params);
},
get(params) {
return Api.get(`${PlanUrl}/mesplan/get`, params);
},
create(params) {
return Api.post(`${PlanUrl}/mesplan/create`, params);
},
update(params) {
return Api.post(`${PlanUrl}/mesplan/update`, params);
},
//删除:
delete(params) {
return Api.delete(`${PlanUrl}/mesplan/delete`, {
params: params
});
},
}
<template>
<div class="detail">
<Row>
<Filed :span="12" :name="l('mesCode')">{{entity.mesCode}}</Filed>
<Filed :span="12" :name="l('taskType')">{{entity.taskType}}</Filed>
<Filed :span="12" :name="l('productId')">{{entity.productId}}</Filed>
<Filed :span="12" :name="l('quantity')">{{entity.quantity}}</Filed>
<Filed :span="24" :name="l('remark')">{{entity.remark}}</Filed>
<Filed :span="24" :name="l('taskRequire')">{{entity.taskRequire}}</Filed>
<Filed :span="12" :name="l('status')">{{entity.status}}</Filed>
<Filed :span="12" :name="l('divideMark')">{{entity.divideMark}}</Filed>
<Filed :span="24" :name="l('productCode')">{{entity.productCode}}</Filed>
<Filed :span="12" :name="l('productName')">{{entity.productName}}</Filed>
<Filed :span="12" :name="l('drawnNumber')">{{entity.drawnNumber}}</Filed>
<Filed :span="12" :name="l('rootId')">{{entity.rootId}}</Filed>
<Filed :span="12" :name="l('batchNumber')">{{entity.batchNumber}}</Filed>
<Filed :span="12" :name="l('projectNumber')">{{entity.projectNumber}}</Filed>
<Filed :span="12" :name="l('urgencyLevel')">{{entity.urgencyLevel}}</Filed>
<Filed
:span="12"
:name="l('productingPreparationPeople')"
>{{entity.productingPreparationPeople}}</Filed>
<Filed
:span="12"
:name="l('productingPreparationFinishDate')"
>{{entity.productingPreparationFinishDate}}</Filed>
<Filed :span="12" :name="l('quotationPeople')">{{entity.quotationPeople}}</Filed>
<Filed :span="12" :name="l('quotationFinishDate')">{{entity.quotationFinishDate}}</Filed>
<Filed :span="12" :name="l('upId')">{{entity.upId}}</Filed>
<Filed :span="12" :name="l('demandStartDate')">{{entity.demandStartDate}}</Filed>
<Filed :span="12" :name="l('demandFinishDate')">{{entity.demandFinishDate}}</Filed>
</Row>
</div>
</template>
<script>
import Api from "./api";
export default {
name: "Add",
data() {
return {
entity: {},
rules: {
name: [{ required: true, message: "必填", trigger: "blur" }],
code: [{ required: true, message: "必填", trigger: "blur" }]
}
};
},
props: {
eid: Number
},
methods: {
load(v) {
Api.get({ id: v }).then(r => {
this.entity = r.result;
this.$emit("on-load");
});
},
handleClose() {
this.$emit("on-close");
},
l(key) {
key = "mes_plan" + "." + key;
return this.$t(key);
}
},
watch: {
eid(v) {
if (v != 0) {
this.load(v);
}
}
}
};
</script>
<template>
<Form ref="form" :model="entity" :rules="rules" :label-width="90">
<Row>
<Col :span="12">
<FormItem :label="l('mesCode')" prop="mesCode">
<Input v-model="entity.mesCode"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('taskType')" prop="taskType">
<Dictionary code="mes.mes_plan.task_type" v-model="entity.taskType"></Dictionary>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('productId')" prop="productId">
<InputNumber v-model="entity.productId"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('quantity')" prop="quantity">
<InputNumber v-model="entity.quantity"></InputNumber>
</FormItem>
</Col>
<Col :span="24">
<FormItem :label="l('remark')" prop="remark">
<Input v-model="entity.remark" type="textarea" :rows="5"></Input>
</FormItem>
</Col>
<Col :span="24">
<FormItem :label="l('taskRequire')" prop="taskRequire">
<Input v-model="entity.taskRequire" type="textarea" :rows="5"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('status')" prop="status">
<Dictionary code="mes.mes_plan.status" v-model="entity.status"></Dictionary>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('divideMark')" prop="divideMark">
<Dictionary code="mes.mes_plan.divide_mark" v-model="entity.divideMark"></Dictionary>
</FormItem>
</Col>
<Col :span="24">
<FormItem :label="l('productCode')" prop="productCode">
<Input v-model="entity.productCode" type="textarea" :rows="5"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('productName')" prop="productName">
<Input v-model="entity.productName"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('drawnNumber')" prop="drawnNumber">
<Input v-model="entity.drawnNumber"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('rootId')" prop="rootId">
<InputNumber v-model="entity.rootId"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('batchNumber')" prop="batchNumber">
<Input v-model="entity.batchNumber"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('projectNumber')" prop="projectNumber">
<Input v-model="entity.projectNumber"></Input>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('urgencyLevel')" prop="urgencyLevel">
<Dictionary code="mes.mes_plan.urgency_level" v-model="entity.urgencyLevel"></Dictionary>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('productingPreparationPeople')" prop="productingPreparationPeople">
<InputNumber v-model="entity.productingPreparationPeople"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem
:label="l('productingPreparationFinishDate')"
prop="productingPreparationFinishDate"
>
<DatePicker type="date" v-model="entity.productingPreparationFinishDate"></DatePicker>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('quotationPeople')" prop="quotationPeople">
<InputNumber v-model="entity.quotationPeople"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('quotationFinishDate')" prop="quotationFinishDate">
<DatePicker type="date" v-model="entity.quotationFinishDate"></DatePicker>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('upId')" prop="upId">
<InputNumber v-model="entity.upId"></InputNumber>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('demandStartDate')" prop="demandStartDate">
<DatePicker type="date" v-model="entity.demandStartDate"></DatePicker>
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('demandFinishDate')" prop="demandFinishDate">
<DatePicker type="date" v-model="entity.demandFinishDate"></DatePicker>
</FormItem>
</Col>
</Row>
<FormItem>
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button>
<Button @click="handleClose" class="ml20">取消</Button>
</FormItem>
</Form>
</template>
<script>
import Api from "./api";
export default {
name: "Edit",
data() {
return {
disabled: false,
entity: {},
rules: {
name: [{ required: true, message: "必填", trigger: "blur" }]
}
};
},
props: {
eid: Number
},
methods: {
load(v) {
Api.get({ id: v }).then(r => {
this.entity = r.result;
this.$emit("on-load");
});
},
handleSubmit() {
this.$refs.form.validate(v => {
if (v) {
this.disabled = true;
Api.update(this.entity)
.then(r => {
this.disabled = false;
if (r.success) {
this.$Message.success("保存成功");
this.$emit("on-ok");
} else {
this.$Message.error("保存失败");
}
})
.catch(err => {
this.disabled = false;
this.$Message.error("保存失败");
console.warn(err);
});
}
});
},
handleClose() {
this.$emit("on-close");
},
l(key) {
key = "mes_plan" + "." + key;
return this.$t(key);
}
},
watch: {
eid(v) {
if (v != 0) {
this.load(v);
}
}
}
};
</script>
<template>
<div>
<DataGrid :columns="columns" ref="grid" :action="action">
<template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys">
<Input
placeholder="请输入关键字订单编号/备注/任务节点要求/产品序号:No1~No99/产品名称/图号/批次号/项目号"
v-model="easySearch.keys.value"
/>
</FormItem>
<FormItem>
<Button type="primary" @click="search">查询</Button>
</FormItem>
</Form>
</template>
<template slot="searchForm">
<Search />
</template>
<template slot="buttons">
<Button type="primary" @click="addModal=true">新增</Button>
</template>
</DataGrid>
<Modal v-model="addModal" title="新增" footer-hide>
<Add @on-close="cancel" @on-ok="addOk" />
</Modal>
<Modal v-model="editModal" title="编辑" footer-hide>
<Edit :eid="curId" @on-close="cancel" @on-ok="addOk" />
</Modal>
<Modal v-model="detailModal" title="详情">
<Detail :eid="curId" />
</Modal>
<Modal v-model="deletelModal" title="删除" @on-ok="removeOk" @on-cancel="cancel">
<p>确定删除?</p>
</Modal>
</div>
</template>
<script>
import Api from "./api";
import Add from "./add";
import Edit from "./edit";
import Detail from "./detail";
import Search from "./search";
export default {
name: "list",
components: {
Add,
Edit,
Detail,
Search
},
data() {
return {
action: Api.index,
easySearch: {
keys: {
op:
"mesCode,remark,taskRequire,productCode,productName,drawnNumber,batchNumber,projectNumber",
value: null
}
},
addModal: false,
editModal: false,
detailModal: false,
deletelModal: false,
curId: 0,
columns: [
{ key: "id", title: this.l("id"), hide: true, align: "left" },
{
key: "creationTime",
title: this.l("creationTime"),
hide: true,
align: "left"
},
{
key: "creatorUserId",
title: this.l("creatorUserId"),
hide: true,
align: "left"
},
{
key: "lastModificationTime",
title: this.l("lastModificationTime"),
hide: true,
align: "left"
},
{
key: "lastModifierUserId",
title: this.l("lastModifierUserId"),
hide: true,
align: "left"
},
{
key: "isDeleted",
title: this.l("isDeleted"),
hide: true,
align: "left"
},
{
key: "deletionTime",
title: this.l("deletionTime"),
hide: true,
align: "left"
},
{
key: "deleterUserId",
title: this.l("deleterUserId"),
hide: true,
align: "left"
},
{
key: "mesCode",
title: this.l("mesCode"),
align: "left",
easy: true,
high: true
},
{
key: "taskType",
title: this.l("taskType"),
align: "left",
high: true,
code: "mes.mes_plan.task_type"
},
{
key: "productId",
title: this.l("productId"),
align: "left",
high: true
},
{
key: "quantity",
title: this.l("quantity"),
align: "left",
high: true
},
{
key: "remark",
title: this.l("remark"),
align: "left",
easy: true,
high: true
},
{
key: "taskRequire",
title: this.l("taskRequire"),
align: "left",
easy: true,
high: true
},
{
key: "status",
title: this.l("status"),
align: "left",
high: true,
code: "mes.mes_plan.status"
},
{
key: "divideMark",
title: this.l("divideMark"),
align: "left",
high: true,
code: "mes.mes_plan.divide_mark"
},
{
key: "productCode",
title: this.l("productCode"),
align: "left",
easy: true,
high: true
},
{
key: "productName",
title: this.l("productName"),
align: "left",
easy: true,
high: true
},
{
key: "drawnNumber",
title: this.l("drawnNumber"),
align: "left",
easy: true,
high: true
},
{ key: "rootId", title: this.l("rootId"), align: "left", high: true },
{
key: "batchNumber",
title: this.l("batchNumber"),
align: "left",
easy: true,
high: true
},
{
key: "projectNumber",
title: this.l("projectNumber"),
align: "left",
easy: true,
high: true
},
{
key: "urgencyLevel",
title: this.l("urgencyLevel"),
align: "left",
high: true,
code: "mes.mes_plan.urgency_level"
},
{
key: "productingPreparationPeople",
title: this.l("productingPreparationPeople"),
align: "left",
high: true
},
{
key: "productingPreparationFinishDate",
title: this.l("productingPreparationFinishDate"),
align: "left",
high: true
},
{
key: "quotationPeople",
title: this.l("quotationPeople"),
align: "left",
high: true
},
{
key: "quotationFinishDate",
title: this.l("quotationFinishDate"),
align: "left",
high: true
},
{ key: "upId", title: this.l("upId"), align: "left", high: true },
{
key: "demandStartDate",
title: this.l("demandStartDate"),
align: "left",
high: true
},
{
key: "demandFinishDate",
title: this.l("demandFinishDate"),
align: "left",
high: true
},
{
title: "操作",
key: "id",
width: 140,
align: "center",
render: (h, params) => {
return h("div", { class: "action" }, [
h(
"op",
{
attrs: { oprate: "detail" },
on: { click: () => this.detail(params.row.id) }
},
"查看"
),
h(
"op",
{
attrs: { oprate: "edit" },
on: { click: () => this.edit(params.row.id) }
},
"编辑"
),
h(
"op",
{
attrs: { oprate: "remove" },
on: { click: () => this.remove(params.row.id) }
},
"删除"
)
]);
}
}
]
};
},
mounted() {
console.log(this);
},
async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
methods: {
addOk() {
this.$refs.grid.load();
this.addModal = false;
this.detailModal = false;
this.editModal = false;
this.curId = 0;
},
search() {
this.$refs.grid.reload(this.easySearch);
},
detail(id) {
this.detailModal = true;
this.curId = id;
},
edit(id) {
this.editModal = true;
this.curId = id;
},
remove(id) {
this.deletelModal = true;
this.curId = id;
},
removeOk() {
Api.delete({ id: this.curId }).then(r => {
if (r.success) {
this.$refs.grid.load();
this.deletelModal = false;
this.$Message.success("删除成功");
}
});
},
removeCancel() {
this.deletelModal = false;
},
cancel() {
this.curId = 0;
this.addModal = false;
this.detailModal = false;
this.editModal = false;
this.deletedlModal = false;
},
l(key) {
let vkey = "mes_plan" + "." + key;
return this.$t(vkey) || key;
}
}
};
</script>
<style lang="less">
</style>
\ No newline at end of file
<template>
<Form ref="form" :model="condition" :label-width="90">
<Row>
<Col :span="12" :v-if="condition.id.show">
<FormItem :label="l('id')" prop="id">
<Input v-model="condition.id.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.creationTime.show">
<FormItem :label="l('creationTime')" prop="creationTime">
<DatePicker type="daterange" v-model="condition.creationTime.value"></DatePicker>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.creatorUserId.show">
<FormItem :label="l('creatorUserId')" prop="creatorUserId">
<Input v-model="condition.creatorUserId.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.lastModificationTime.show">
<FormItem :label="l('lastModificationTime')" prop="lastModificationTime">
<DatePicker type="daterange" v-model="condition.lastModificationTime.value"></DatePicker>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.lastModifierUserId.show">
<FormItem :label="l('lastModifierUserId')" prop="lastModifierUserId">
<Input v-model="condition.lastModifierUserId.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.isDeleted.show">
<FormItem :label="l('isDeleted')" prop="isDeleted">
<Input v-model="condition.isDeleted.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.deletionTime.show">
<FormItem :label="l('deletionTime')" prop="deletionTime">
<DatePicker type="daterange" v-model="condition.deletionTime.value"></DatePicker>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.deleterUserId.show">
<FormItem :label="l('deleterUserId')" prop="deleterUserId">
<Input v-model="condition.deleterUserId.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.mesCode.show">
<FormItem :label="l('mesCode')" prop="mesCode">
<Input v-model="condition.mesCode.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.taskType.show">
<FormItem :label="l('taskType')" prop="taskType">
<Dictionary code="mes.mes_plan.task_type" v-model="condition.taskType.value"></Dictionary>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.productId.show">
<FormItem :label="l('productId')" prop="productId">
<Input v-model="condition.productId.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.quantity.show">
<FormItem :label="l('quantity')" prop="quantity">
<Input v-model="condition.quantity.value"></Input>
</FormItem>
</Col>
<Col :span="24" :v-if="condition.remark.show">
<FormItem :label="l('remark')" prop="remark">
<Input v-model="condition.remark.value"></Input>
</FormItem>
</Col>
<Col :span="24" :v-if="condition.taskRequire.show">
<FormItem :label="l('taskRequire')" prop="taskRequire">
<Input v-model="condition.taskRequire.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.status.show">
<FormItem :label="l('status')" prop="status">
<Dictionary code="mes.mes_plan.status" v-model="condition.status.value"></Dictionary>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.divideMark.show">
<FormItem :label="l('divideMark')" prop="divideMark">
<Dictionary code="mes.mes_plan.divide_mark" v-model="condition.divideMark.value"></Dictionary>
</FormItem>
</Col>
<Col :span="24" :v-if="condition.productCode.show">
<FormItem :label="l('productCode')" prop="productCode">
<Input v-model="condition.productCode.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.productName.show">
<FormItem :label="l('productName')" prop="productName">
<Input v-model="condition.productName.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.drawnNumber.show">
<FormItem :label="l('drawnNumber')" prop="drawnNumber">
<Input v-model="condition.drawnNumber.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.rootId.show">
<FormItem :label="l('rootId')" prop="rootId">
<Input v-model="condition.rootId.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.batchNumber.show">
<FormItem :label="l('batchNumber')" prop="batchNumber">
<Input v-model="condition.batchNumber.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.projectNumber.show">
<FormItem :label="l('projectNumber')" prop="projectNumber">
<Input v-model="condition.projectNumber.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.urgencyLevel.show">
<FormItem :label="l('urgencyLevel')" prop="urgencyLevel">
<Dictionary code="mes.mes_plan.urgency_level" v-model="condition.urgencyLevel.value"></Dictionary>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.productingPreparationPeople.show">
<FormItem :label="l('productingPreparationPeople')" prop="productingPreparationPeople">
<Input v-model="condition.productingPreparationPeople.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.productingPreparationFinishDate.show">
<FormItem
:label="l('productingPreparationFinishDate')"
prop="productingPreparationFinishDate"
>
<DatePicker type="daterange" v-model="condition.productingPreparationFinishDate.value"></DatePicker>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.quotationPeople.show">
<FormItem :label="l('quotationPeople')" prop="quotationPeople">
<Input v-model="condition.quotationPeople.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.quotationFinishDate.show">
<FormItem :label="l('quotationFinishDate')" prop="quotationFinishDate">
<DatePicker type="daterange" v-model="condition.quotationFinishDate.value"></DatePicker>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.upId.show">
<FormItem :label="l('upId')" prop="upId">
<Input v-model="condition.upId.value"></Input>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.demandStartDate.show">
<FormItem :label="l('demandStartDate')" prop="demandStartDate">
<DatePicker type="daterange" v-model="condition.demandStartDate.value"></DatePicker>
</FormItem>
</Col>
<Col :span="12" :v-if="condition.demandFinishDate.show">
<FormItem :label="l('demandFinishDate')" prop="demandFinishDate">
<DatePicker type="daterange" v-model="condition.demandFinishDate.value"></DatePicker>
</FormItem>
</Col>
</Row>
</Form>
</template>
<script>
import Api from "./api";
export default {
name: "Add",
data() {
return {
condition: {
id: { op: "Equal", value: null, show: false },
creationTime: { op: "Range", value: null, show: false },
creatorUserId: { op: "Equal", value: null, show: false },
lastModificationTime: { op: "Range", value: null, show: false },
lastModifierUserId: { op: "Equal", value: null, show: false },
isDeleted: { op: "Equal", value: null, show: false },
deletionTime: { op: "Range", value: null, show: false },
deleterUserId: { op: "Equal", value: null, show: false },
mesCode: { op: "Equal", value: null, show: true },
taskType: { op: "Equal", value: null, show: true },
productId: { op: "Equal", value: null, show: true },
quantity: { op: "Equal", value: null, show: true },
remark: { op: "Equal", value: null, show: true },
taskRequire: { op: "Equal", value: null, show: true },
status: { op: "Equal", value: null, show: true },
divideMark: { op: "Equal", value: null, show: true },
productCode: { op: "Equal", value: null, show: true },
productName: { op: "Equal", value: null, show: true },
drawnNumber: { op: "Equal", value: null, show: true },
rootId: { op: "Equal", value: null, show: true },
batchNumber: { op: "Equal", value: null, show: true },
projectNumber: { op: "Equal", value: null, show: true },
urgencyLevel: { op: "Equal", value: null, show: true },
productingPreparationPeople: { op: "Equal", value: null, show: true },
productingPreparationFinishDate: {
op: "Range",
value: null,
show: true
},
quotationPeople: { op: "Equal", value: null, show: true },
quotationFinishDate: { op: "Range", value: null, show: true },
upId: { op: "Equal", value: null, show: true },
demandStartDate: { op: "Range", value: null, show: true },
demandFinishDate: { op: "Range", value: null, show: true }
}
};
},
methods: {
handleClose() {
this.$emit("on-close");
},
l(key) {
key = "mes_plan" + "." + key;
return this.$t(key);
}
}
};
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment