diff --git a/src/api/BasicData/WorkshopProcessMaintenance.js b/src/api/BasicData/WorkshopProcessMaintenance.js index 07e1f574..8d6dcc09 100644 --- a/src/api/BasicData/WorkshopProcessMaintenance.js +++ b/src/api/BasicData/WorkshopProcessMaintenance.js @@ -1,13 +1,12 @@ import request from '@/utils/request' // 查工艺分类名称 -export function searchProcessClassification(ProcessClassification) { +export function searchProcessClassification() { return request({ url: '', method: 'post', data: { type: '1', - name: '车间生产管理工艺_基础表_工艺分类名称_查询数据', - param: '工艺分类名称=' + ProcessClassification + name: '车间生产管理工艺_基础表_工艺分类名称_查询数据' } }) } diff --git a/src/api/ManufacturingCenter/ProcessPlanning.js b/src/api/ManufacturingCenter/ProcessPlanning.js index 9fb095b0..b150f8e4 100644 --- a/src/api/ManufacturingCenter/ProcessPlanning.js +++ b/src/api/ManufacturingCenter/ProcessPlanning.js @@ -8,7 +8,7 @@ export function initCraftmen() { data: { type: '1', name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=17' + param: '考核部门编号=9' } }) } diff --git a/src/api/ManufacturingCenter/ProcessTaskAssignment.js b/src/api/ManufacturingCenter/ProcessTaskAssignment.js index 5c9d3372..2a897c9b 100644 --- a/src/api/ManufacturingCenter/ProcessTaskAssignment.js +++ b/src/api/ManufacturingCenter/ProcessTaskAssignment.js @@ -129,7 +129,7 @@ export function initPerson() { data: { type: '1', name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=17=int' + param: '考核部门编号=9' } }) } diff --git a/src/api/ManufacturingCenter/ProcessingStatus.js b/src/api/ManufacturingCenter/ProcessingStatus.js index f77b1134..e445996c 100644 --- a/src/api/ManufacturingCenter/ProcessingStatus.js +++ b/src/api/ManufacturingCenter/ProcessingStatus.js @@ -43,7 +43,6 @@ export function getTable(stepNumber, a, b, c, d, e, f, g, i, pageCurrent, pageSi data: { type: '1', name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程', - // param: '项目流水号_check=0=string&项目流水号=428=string&机床流水号_check=0=string&机床流水号=8903=string&组件流水号_check=1=string&组件流水号=39539=string&零件图号_check=0=string&零件图号=0=string&是否查询全部数据=1=string&单件是否外协=1=string&考核状态=6=string', param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=' + i + '=string&考核状态=6=int', Pagination: pageCurrent + '&' + pageSize } diff --git a/src/api/ManufacturingCenter/QuotaFormulation.js b/src/api/ManufacturingCenter/QuotaFormulation.js index 8a37fcc0..04062dbc 100644 --- a/src/api/ManufacturingCenter/QuotaFormulation.js +++ b/src/api/ManufacturingCenter/QuotaFormulation.js @@ -32,7 +32,7 @@ export function getPerson() { data: { type: '1', name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=17=int' + param: '考核部门编号=9' } }) diff --git a/src/api/ManufacturingCenter/WorkshopEquipmentManagement.js b/src/api/ManufacturingCenter/WorkshopEquipmentManagement.js index d24ecf3d..1c57210f 100644 --- a/src/api/ManufacturingCenter/WorkshopEquipmentManagement.js +++ b/src/api/ManufacturingCenter/WorkshopEquipmentManagement.js @@ -30,7 +30,7 @@ export function addTable(equipmentName, equipmentModel, performance, processingC data: { type: '2', name: '设备管理_设备加工能力_增加数据_设备维护New', - param: '设备名称=' + equipmentName + '=string&设备型号=' + equipmentModel + '=string&设备性能指标=' + performance + '= string&设备加工能力工时=' + processingCapacity + '=string&设备工时系数=' + workingTimeFactor + '=string&工艺名称简称=' + processName + '=string&工艺编号=' + processNumber + '=string&班次类型=' + shift + '= string&整改工时系数=' + reorganizationTimeFactor + '=string&设备编号=' + equipmentNumber + '=string&预留工时系数=' + reservedTimeFactor + param: '设备名称=' + equipmentName + '&设备型号=' + equipmentModel + '&设备性能指标=' + performance + '&设备加工能力工时=' + processingCapacity + '&设备工时系数=' + workingTimeFactor + '&工艺名称简称=' + processName + '&工艺编号=' + processNumber + '&班次类型=' + shift + '&整改工时系数=' + reorganizationTimeFactor + '&设备编号=' + equipmentNumber + '&预留工时系数=' + reservedTimeFactor } }) } diff --git a/src/views/BasicData/WorkshopProcessMaintenance/index.vue b/src/views/BasicData/WorkshopProcessMaintenance/index.vue index 23add9cb..e6f8982c 100644 --- a/src/views/BasicData/WorkshopProcessMaintenance/index.vue +++ b/src/views/BasicData/WorkshopProcessMaintenance/index.vue @@ -102,7 +102,6 @@ - @@ -242,13 +241,14 @@ export default { methods: { searchProcessClassification() { this.loading1 = true - searchProcessClassification(this.ProcessClassification).then(response => { + searchProcessClassification().then(response => { this.loading1 = false this.tableData1 = response.data this.total1 = response.data return this.tableData1 }).then(data => { this.Num = data + this.max = [] for (let i = 0; i < this.Num.length; i++) { this.max.push(this.Num[i].工艺分类流水号) } diff --git a/src/views/ManufacturingCenter/ProcessingStatusEdit/index.vue b/src/views/ManufacturingCenter/ProcessingStatusEdit/index.vue index 5133f0e9..f043dcba 100644 --- a/src/views/ManufacturingCenter/ProcessingStatusEdit/index.vue +++ b/src/views/ManufacturingCenter/ProcessingStatusEdit/index.vue @@ -609,7 +609,7 @@ export default { this.form.完成时间 = '' this.form.人员 = '' this.form.考勤编号 = '' - if (this.worker[index][a] !== '请选择') { + if (this.worker[index][a] !== '超级管理员') { this.midd = 1 this.form.人员 = this.worker[index][a] } diff --git a/src/views/ManufacturingCenter/QuotaFormulation/index.vue b/src/views/ManufacturingCenter/QuotaFormulation/index.vue index fe1f2ecf..d0a01fde 100644 --- a/src/views/ManufacturingCenter/QuotaFormulation/index.vue +++ b/src/views/ManufacturingCenter/QuotaFormulation/index.vue @@ -308,6 +308,7 @@ export default { numm: response.data[i].工艺计划流水号 }) } + this.listLoading = false } }) }) diff --git a/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue b/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue index c3a6fafa..80447156 100644 --- a/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue +++ b/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue @@ -98,18 +98,6 @@ - - - - - - - - - - - - @@ -122,7 +110,19 @@ - + + + + + + + + + + + + + @@ -140,7 +140,7 @@ - + @@ -200,12 +200,12 @@ export default { 设备名称: [{ required: true, message: '请选择设备名称', change: 'blur' }], 设备编号: [{ required: true, message: '请选择设备编号', change: 'blur' }], 设备型号: [{ required: true, message: '请选择设备型号', change: 'blur' }], - 设备加工能力: [{ required: true, message: '请选择设备加工能力', change: 'blur' }], - 设备加工工艺: [{ required: true, message: '请选择设备加工工艺', trigger: 'blur' }], - 班次类型: [{ required: true, message: '请选择班次类型', trigger: 'blur' }], - 设备工时系数: [{ required: true, message: '请选择设备工时系数', change: 'blur' }], - 整改工时系数: [{ required: true, message: '请选择整改工时系数', change: 'blur' }], - 预留工时系数: [{ required: true, message: '请选择预留工时系数', change: 'blur' }] + 设备加工工艺: [{ required: true, message: '请选择设备加工工艺', trigger: 'blur' }] + // 设备加工能力: [{ required: true, message: '请选择设备加工能力', change: 'blur' }], + // 班次类型: [{ required: true, message: '请选择班次类型', trigger: 'blur' }], + // 设备工时系数: [{ required: true, message: '请选择设备工时系数', change: 'blur' }], + // 整改工时系数: [{ required: true, message: '请选择整改工时系数', change: 'blur' }], + // 预留工时系数: [{ required: true, message: '请选择预留工时系数', change: 'blur' }] } } }, @@ -241,9 +241,20 @@ export default { if (this.$refs['form'] !== undefined) { this.$refs['form'].resetFields() } - this.dialogFormVisible = true this.title = '增加' - this.form = {} + this.form = { + 设备名称: '', + 设备编号: '', + 设备型号: '', + 设备加工工艺: '' + } + this.form.设备性能指标 = 1 + this.form.设备加工能力 = 1 + this.form.班次类型 = 1 + this.form.设备工时系数 = 1 + this.form.整改工时系数 = 1 + this.form.预留工时系数 = 1 + this.dialogFormVisible = true }, handleEdit(row) { if (this.$refs['form'] !== undefined) { @@ -268,10 +279,8 @@ export default { if (valid) { if (this.title === '增加') { this.submitAdd() - this.title = '' } else if (this.title === '编辑') { this.submitEdit() - this.title = '' } } }) @@ -290,6 +299,7 @@ export default { type: 'success' }) this.dialogFormVisible = false + this.title = '' this.fetchData() } else { this.$message.error('信息添加失败') @@ -305,6 +315,7 @@ export default { type: 'success' }) this.dialogFormVisible = false + this.title = '' this.fetchData() } else { this.$message.error('信息编辑失败') diff --git a/src/views/Outsourcing/InterBudgetaryBudgets/index.vue b/src/views/Outsourcing/InterBudgetaryBudgets/index.vue index 999b803b..5595bd25 100644 --- a/src/views/Outsourcing/InterBudgetaryBudgets/index.vue +++ b/src/views/Outsourcing/InterBudgetaryBudgets/index.vue @@ -281,7 +281,6 @@ export default { this.tableData = [] if (this.radio === 1) { searchPartNum1(this.check_entryNameValue, this.entryNameValue, this.check_toolNumValue, this.toolNumValue, this.check_NumValue, this.NumValue, this.check_partName, this.partName, 0, this.pageCurrent2, this.pageSize2).then(response => { - console.log(response.data) this.tableData2 = response.data.rows this.total2 = response.data.total }).then(() => { diff --git a/src/views/Outsourcing/PreorderAssociation/index.vue b/src/views/Outsourcing/PreorderAssociation/index.vue index b92cd5a1..03764682 100644 --- a/src/views/Outsourcing/PreorderAssociation/index.vue +++ b/src/views/Outsourcing/PreorderAssociation/index.vue @@ -113,12 +113,12 @@ - + - + @@ -266,14 +266,14 @@ export default { }, // 修改外协状态 edit(index, row) { + this.count = 0 for (let i = 0; i < this.tableData2.length; i++) { if (this.checkBox[i] === false) { this.count = this.count + 1 } } if (this.count === this.tableData2.length) { - edit2(row.工序流水号, row.工艺计划流水号, 0).then(response => { - }) + edit2(row.工序流水号, row.工艺计划流水号, 0) } if (this.checkBox[index] === true) { this.InOut = 2 diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 7d9a2f97..38cde6c8 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -41,63 +41,43 @@
超级管理员 - 账号:1001 - 密码:1001 + 账号:0000 + 密码:admin
- 采购管理员 - 账号:6201 - 密码:6201 + 营销中心 + 账号:2001 + 密码:2001
- 外协管理员 - 账号:1003 - 密码:1003 -
-
- 车间计划管理员 - 账号:2002 - 密码:2002 -
-
- 技术中心管理员 + 技术中心 账号:3001 密码:3001
- 库存管理员 - 账号:3002 - 密码:3002 -
-
- 营销中心管理员 + 制造中心 账号:4001 密码:4001
- 财务总监 - 账号:7001 - 密码:7001 + 采购部 + 账号:4101 + 密码:4101
- 出纳 - 账号:7002 - 密码:7002 + 仓库 + 账号:4201 + 密码:4201
- 会计 - 账号:7003 - 密码:7003 + 金工车间 + 账号:4301 + 密码:4301
- 总经理 - 账号:1002 - 密码:1002 -
-
- 工艺定额员 - 账号:6301 - 密码:6301 + 装配车间 + 账号:4401 + 密码:4401