diff --git a/src/api/Assembly/AssemblyExecution.js b/src/api/Assembly/AssemblyExecution.js
index f7eff3e2..857fc6a1 100644
--- a/src/api/Assembly/AssemblyExecution.js
+++ b/src/api/Assembly/AssemblyExecution.js
@@ -34,18 +34,18 @@ export function searchTable1(machineNumberValue, check2) {
}
})
}
-// 组件查询
-export function searchTable2(machineNumberValue, check2, groupNumberValue, check3) {
- return request({
- url: '',
- method: 'post',
- data: {
- type: '1',
- name: '车间管理_基本件采购_查询数据',
- param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue + '&组件流水号_check=' + check3 + '&组件流水号=' + groupNumberValue
- }
- })
-}
+// // 组件查询
+// export function searchTable2(machineNumberValue, check2, groupNumberValue, check3) {
+// return request({
+// url: '',
+// method: 'post',
+// data: {
+// type: '1',
+// name: '车间管理_基本件采购_查询数据',
+// param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue + '&组件流水号_check=' + check3 + '&组件流水号=' + groupNumberValue
+// }
+// })
+// }
// 机床名称_机床状态_修改数据
export function MachineToolStateUpdate(machineNumberValue, check) {
return request({
@@ -73,15 +73,39 @@ export function DebugStatusUpdate(machineNumberValue, check) {
}
// 组件名称_组件状态_修改数据
-export function ComponentStateUpdate(machineNumberValue, check) {
+export function ComponentStateUpdate() {
return request({
url: '',
method: 'post',
data: {
type: '1',
- name: 'PDM_组件名称_组件状态_修改数据',
- param: '组件流水号=' + machineNumberValue + '&组件是否完成=' + check
+ name: '车间管理_工作计划_执行计划',
+ param: '计划流水号=' + arguments[0] + '&是否工作=' + arguments[1]
+ }
+ })
+}
+// 车间管理_工作计划_查询
+// 2019/8/3 16:40:23
+export function searchTable2() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间管理_工作计划_查询',
+ param: '机床流水号=' + arguments[0] + '&计划类型=' + arguments[1]
+ }
+ })
+}
+// 车间管理_工作计划_执行计划_编辑
+export function submitTable2() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '车间管理_工作计划_执行计划_编辑',
+ param: '备注=' + arguments[0] + '&计划流水号=' + arguments[1] + '&实际工时=' + arguments[2] + '&修补工时=' + arguments[3]
}
})
}
-
diff --git a/src/api/Assembly/ElectricalAssembly.js b/src/api/Assembly/ElectricalAssembly.js
index d929483e..f4b44b56 100644
--- a/src/api/Assembly/ElectricalAssembly.js
+++ b/src/api/Assembly/ElectricalAssembly.js
@@ -35,26 +35,26 @@ export function searchTable1(machineNumberValue, check2) {
})
}
// 组件查询
-export function searchTable2(machineNumberValue, check2, groupNumberValue, check3) {
+export function searchTable2() {
return request({
url: '',
method: 'post',
data: {
type: '1',
- name: '车间管理_基本件采购_查询数据_电气',
- param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue + '&组件流水号_check=' + check3 + '&组件流水号=' + groupNumberValue
+ name: '车间管理_工作计划_查询',
+ param: '机床流水号=' + arguments[0] + '&计划类型=' + arguments[1]
}
})
}
// 机床名称_机床状态_修改数据
-export function MachineToolStateUpdate(machineNumberValue, check) {
+export function MachineToolStateUpdate() {
return request({
url: '',
method: 'post',
data: {
- type: '1',
- name: 'PDM_机床名称_机床状态_修改数据',
- param: '机床流水号=' + machineNumberValue + '&装配状态=' + check
+ type: '2',
+ name: 'PDM_机床名称_电气状态_修改数据',
+ param: '机床流水号=' + arguments[0] + '&电气装配状态=' + arguments[1]
}
})
}
@@ -66,22 +66,33 @@ export function DebugStatusUpdate(machineNumberValue, check) {
method: 'post',
data: {
type: '1',
- name: 'PDM_机床名称_调试状态_修改数据',
- param: '机床流水号=' + machineNumberValue + '&调试状态=' + check
+ name: 'PDM_机床名称_电气调试状态_修改数据',
+ param: '机床流水号=' + arguments[0] + '&电气调试状态=' + arguments[1]
}
})
}
// 组件名称_组件状态_修改数据
-export function ComponentStateUpdate(machineNumberValue, check) {
+export function ComponentStateUpdate() {
return request({
url: '',
method: 'post',
data: {
type: '1',
- name: 'PDM_组件名称_组件状态_修改数据',
- param: '组件流水号=' + machineNumberValue + '&组件是否完成=' + check
+ name: '车间管理_工作计划_执行计划',
+ param: '计划流水号=' + arguments[0] + '&是否工作=' + arguments[1]
+ }
+ })
+}
+// 车间管理_工作计划_执行计划_编辑
+export function submitTable2() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '车间管理_工作计划_执行计划_编辑',
+ param: '备注=' + arguments[0] + '&计划流水号=' + arguments[1] + '&实际工时=' + arguments[2] + '&修补工时=' + arguments[3]
}
})
}
-
diff --git a/src/views/Assembly/AssemblyExecution/index.vue b/src/views/Assembly/AssemblyExecution/index.vue
index c8bfaa40..fca6947f 100644
--- a/src/views/Assembly/AssemblyExecution/index.vue
+++ b/src/views/Assembly/AssemblyExecution/index.vue
@@ -49,12 +49,12 @@
- {{ scope.row.装配开始时间 }}
+ {{ scope.row.机床装配开始时间 }}
- {{ scope.row.装配结束时间 }}
+ {{ scope.row.机床装配实际完成时间 }}
@@ -93,7 +93,7 @@
- {{ scope.row.组件名称 }}
+ {{ scope.row.任务名称 }}
@@ -103,12 +103,14 @@
-
+
+ {{ scope.row.实际工时 }}
-
+
+ {{ scope.row.修补工时 }}
@@ -123,11 +125,15 @@
-
+
+ {{ scope.row.备注 }}
-
+
+ 编辑
+ 确定
+ 取消
开始装配
结束装配
装配完成
@@ -141,7 +147,7 @@