计划执行
This commit is contained in:
@@ -10,3 +10,89 @@ export function initProject() {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 组件查询
|
||||
export function searchgroup(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 机床查询
|
||||
export function searchTable1(machineNumberValue, check2) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间装配管理_机床信息_查询数据',
|
||||
param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue
|
||||
}
|
||||
})
|
||||
}
|
||||
// 组件查询
|
||||
export function searchTable2() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_工作计划_查询',
|
||||
param: '机床流水号=' + arguments[0] + '&计划类型=' + arguments[1]
|
||||
}
|
||||
})
|
||||
}
|
||||
// 机床名称_机床状态_修改数据
|
||||
export function MachineToolStateUpdate() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: 'PDM_机床名称_电气状态_修改数据',
|
||||
param: '机床流水号=' + arguments[0] + '&电气装配状态=' + arguments[1]
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 机床名称_调试状态_修改数据
|
||||
export function DebugStatusUpdate(machineNumberValue, check) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_电气调试状态_修改数据',
|
||||
param: '机床流水号=' + arguments[0] + '&电气调试状态=' + arguments[1]
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 组件名称_组件状态_修改数据
|
||||
export function ComponentStateUpdate() {
|
||||
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]
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<el-card>
|
||||
<div slot="header" class="clearfix">
|
||||
<span>机床编号:</span>
|
||||
<el-select v-model="machineNumberValue" filterable placeholder="机床编号" size="small" clearable @change="searchTable()">
|
||||
<el-select v-model="machineNumberValue" filterable placeholder="机床编号" size="small" clearable @change="searchTable1()">
|
||||
<el-option
|
||||
v-for="item in machineNumber"
|
||||
:key="item.value"
|
||||
@@ -47,7 +47,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="任务名称" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.组件名称 }}
|
||||
{{ scope.row.任务名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划工时" align="center">
|
||||
@@ -57,12 +57,14 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="实际工时" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.实际工时" size="mini"/>
|
||||
<el-input v-if="scope.row.isEditing" v-model="scope.row.实际工时" size="mini"/>
|
||||
<span v-if="!scope.row.isEditing">{{ scope.row.实际工时 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="修补工时" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.修补工时" size="mini"/>
|
||||
<el-input v-if="scope.row.isEditing" v-model="scope.row.修补工时" size="mini"/>
|
||||
<span v-if="!scope.row.isEditing">{{ scope.row.修补工时 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="开始时间" align="center">
|
||||
@@ -77,14 +79,18 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="备注" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.备注" size="mini"/>
|
||||
<el-input v-if="scope.row.isEditing" v-model="scope.row.备注" size="mini"/>
|
||||
<span v-if="!scope.row.isEditing">{{ scope.row.备注 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="250px" fixed="right">
|
||||
<el-table-column label="操作" align="center" width="300px" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-if="!scope.row.isEditing" type="primary" size="small" @click="editTable2(scope.row)">编辑</el-button>
|
||||
<el-button v-if="scope.row.isEditing" type="primary" size="small" @click="submitTable2(scope.row)">确定</el-button>
|
||||
<el-button v-if="scope.row.isEditing" size="small" @click="cancelTable2(scope.row)">取消</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 1" type="success" size="small" @click="handlestart_3(scope.row)">开始工作</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 2" type="danger" size="small" @click="handleend_3(scope.row)">结束工作</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 3" type="info" size="small" >装配完成</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 3" type="info" size="small" >工作完成</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 2" plain size="small" @click="handleCancelStart_3(scope.row)">取消开始工作</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 3" plain size="small" @click="handleCancelEnd_3(scope.row)">取消结束工作</el-button>
|
||||
</template>
|
||||
@@ -95,7 +101,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { initProject } from '@/api/Assembly/PlanExecution'
|
||||
import { initProject, searchgroup, searchTable1, searchTable2, MachineToolStateUpdate, DebugStatusUpdate, ComponentStateUpdate, submitTable2 } from '@/api/Assembly/PlanExecution'
|
||||
export default {
|
||||
name: 'ColdWorkPlanExecution',
|
||||
data() {
|
||||
@@ -110,7 +116,47 @@ export default {
|
||||
this.initProject()
|
||||
},
|
||||
methods: {
|
||||
// 初始化项目机床
|
||||
submitTable2(row) {
|
||||
submitTable2(row.备注, row.计划流水号, row.实际工时, row.修补工时).then(res => {
|
||||
if (res.data[0].result === '1') {
|
||||
this.$message.success('编辑成功')
|
||||
row.isEditing = !row.isEditing
|
||||
} else {
|
||||
this.$message.error('编辑失败')
|
||||
}
|
||||
})
|
||||
console.log(row)
|
||||
},
|
||||
cancelTable2(row) {
|
||||
row.isEditing = !row.isEditing
|
||||
row.实际工时 = row.原实际工时
|
||||
row.修补工时 = row.原修补工时
|
||||
row.备注 = row.原备注
|
||||
console.log(row)
|
||||
},
|
||||
editTable2(row) {
|
||||
row.isEditing = !row.isEditing
|
||||
row.原实际工时 = row.实际工时
|
||||
row.原修补工时 = row.修补工时
|
||||
row.原备注 = row.备注
|
||||
console.log(row)
|
||||
},
|
||||
// 取消开始工作
|
||||
handleCancelStart_3(row) {
|
||||
ComponentStateUpdate(row.计划流水号, 3).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 1
|
||||
// this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 取消结束工作
|
||||
handleCancelEnd_3(row) {
|
||||
ComponentStateUpdate(row.计划流水号, 4).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 2
|
||||
// this.searchTable2()
|
||||
})
|
||||
},
|
||||
initProject() {
|
||||
initProject().then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
@@ -122,30 +168,99 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
searchTable() {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
machineChange() {
|
||||
this.groupNumberValue = ''
|
||||
this.groupNumber = []
|
||||
searchgroup(this.machineNumberValue).then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.groupNumber.push({
|
||||
label: response.data[i].组号,
|
||||
value: response.data[i].组件流水号
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 查表1
|
||||
searchTable1() {},
|
||||
// 查表2
|
||||
searchTable2() {},
|
||||
// 开始工作
|
||||
handlestart_3(row) {
|
||||
console.log(row)
|
||||
searchTable1() {
|
||||
this.tableData1 = []
|
||||
if (this.machineNumberValue !== '' && this.machineNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 }
|
||||
if (this.check2 === 0) {
|
||||
this.tableData1 = []
|
||||
this.tableData2 = []
|
||||
} else {
|
||||
searchTable1(this.machineNumberValue, this.check2).then(response => {
|
||||
this.tableData1 = response.data
|
||||
}).then(() => {
|
||||
this.searchTable2()
|
||||
})
|
||||
}
|
||||
},
|
||||
// 结束工作
|
||||
handleend_3(row) {
|
||||
console.log(row)
|
||||
searchTable2() {
|
||||
this.tableData2 = []
|
||||
if (this.machineNumberValue !== '' && this.machineNumberValue !== null) {
|
||||
this.check2 = 1
|
||||
searchTable2(this.machineNumberValue, 3).then(response => {
|
||||
console.log(response.data, 111)
|
||||
this.tableData2 = response.data
|
||||
this.tableData2.map(v => {
|
||||
this.$set(v, 'isEditing', false)
|
||||
this.$set(v, '原实际工时', '')
|
||||
this.$set(v, '原修补工时', '')
|
||||
this.$set(v, '原备注', '')
|
||||
if (v.是否工作 === null || v.是否工作 === 0) {
|
||||
this.$set(v, 'buttonStatus', 1)
|
||||
} else if (v.是否工作 === 1) {
|
||||
this.$set(v, 'buttonStatus', 2)
|
||||
} else {
|
||||
this.$set(v, 'buttonStatus', 3)
|
||||
}
|
||||
return v
|
||||
})
|
||||
})
|
||||
} else { this.check2 = 0 }
|
||||
},
|
||||
// 取消开始工作
|
||||
handleCancelStart_3(row) {
|
||||
console.log(row)
|
||||
// 总装开始装配
|
||||
handlestart_1(row) { // 弹出单据编辑
|
||||
MachineToolStateUpdate(row.机床流水号, 1).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 取消结束工作
|
||||
handleCancelEnd_3(row) {
|
||||
console.log(row)
|
||||
// 总装结束装配
|
||||
handleend_1(row) { // 弹出单据编辑
|
||||
MachineToolStateUpdate(row.机床流水号, 2).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 总装开始调试
|
||||
handlestart_2(row) { // 弹出单据编辑
|
||||
DebugStatusUpdate(row.机床流水号, 1).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 总装结束调试
|
||||
handleend_2(row) { // 弹出单据编辑
|
||||
DebugStatusUpdate(row.机床流水号, 2).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 部装开始装配
|
||||
handlestart_3(row) { // 弹出单据编辑
|
||||
ComponentStateUpdate(row.计划流水号, 1).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 2
|
||||
// this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 部装结束装配
|
||||
handleend_3(row) { // 弹出单据编辑
|
||||
ComponentStateUpdate(row.计划流水号, 2).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 3
|
||||
// this.searchTable2()
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,7 +146,8 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>import { initProject, searchgroup, searchTable1, searchTable2, MachineToolStateUpdate, DebugStatusUpdate, ComponentStateUpdate, submitTable2 } from '@/api/Assembly/ElectricalAssembly'
|
||||
<script>
|
||||
import { initProject, searchgroup, searchTable1, searchTable2, MachineToolStateUpdate, DebugStatusUpdate, ComponentStateUpdate, submitTable2 } from '@/api/Assembly/ElectricalAssembly'
|
||||
// import { mapGetters } from 'vuex'
|
||||
export default {
|
||||
data() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<el-card>
|
||||
<div slot="header" class="clearfix">
|
||||
<span>机床编号:</span>
|
||||
<el-select v-model="machineNumberValue" filterable placeholder="机床编号" size="small" clearable @change="searchTable()">
|
||||
<el-select v-model="machineNumberValue" filterable placeholder="机床编号" size="small" clearable @change="searchTable1()">
|
||||
<el-option
|
||||
v-for="item in machineNumber"
|
||||
:key="item.value"
|
||||
@@ -47,7 +47,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="任务名称" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.组件名称 }}
|
||||
{{ scope.row.任务名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划工时" align="center">
|
||||
@@ -57,12 +57,14 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="实际工时" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.实际工时" size="mini"/>
|
||||
<el-input v-if="scope.row.isEditing" v-model="scope.row.实际工时" size="mini"/>
|
||||
<span v-if="!scope.row.isEditing">{{ scope.row.实际工时 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="修补工时" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.修补工时" size="mini"/>
|
||||
<el-input v-if="scope.row.isEditing" v-model="scope.row.修补工时" size="mini"/>
|
||||
<span v-if="!scope.row.isEditing">{{ scope.row.修补工时 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="开始时间" align="center">
|
||||
@@ -77,14 +79,18 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="备注" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.备注" size="mini"/>
|
||||
<el-input v-if="scope.row.isEditing" v-model="scope.row.备注" size="mini"/>
|
||||
<span v-if="!scope.row.isEditing">{{ scope.row.备注 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="250px" fixed="right">
|
||||
<el-table-column label="操作" align="center" width="300px" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-if="!scope.row.isEditing" type="primary" size="small" @click="editTable2(scope.row)">编辑</el-button>
|
||||
<el-button v-if="scope.row.isEditing" type="primary" size="small" @click="submitTable2(scope.row)">确定</el-button>
|
||||
<el-button v-if="scope.row.isEditing" size="small" @click="cancelTable2(scope.row)">取消</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 1" type="success" size="small" @click="handlestart_3(scope.row)">开始工作</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 2" type="danger" size="small" @click="handleend_3(scope.row)">结束工作</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 3" type="info" size="small" >装配完成</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 3" type="info" size="small" >工作完成</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 2" plain size="small" @click="handleCancelStart_3(scope.row)">取消开始工作</el-button>
|
||||
<el-button v-if="scope.row.buttonStatus === 3" plain size="small" @click="handleCancelEnd_3(scope.row)">取消结束工作</el-button>
|
||||
</template>
|
||||
@@ -95,9 +101,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { initProject } from '@/api/Assembly/PlanExecution'
|
||||
import { initProject, searchgroup, searchTable1, searchTable2, MachineToolStateUpdate, DebugStatusUpdate, ComponentStateUpdate, submitTable2 } from '@/api/Assembly/PlanExecution'
|
||||
export default {
|
||||
name: 'PaintPlanExecution',
|
||||
name: 'ColdWorkPlanExecution',
|
||||
data() {
|
||||
return {
|
||||
machineNumberValue: '',
|
||||
@@ -110,7 +116,47 @@ export default {
|
||||
this.initProject()
|
||||
},
|
||||
methods: {
|
||||
// 初始化项目机床
|
||||
submitTable2(row) {
|
||||
submitTable2(row.备注, row.计划流水号, row.实际工时, row.修补工时).then(res => {
|
||||
if (res.data[0].result === '1') {
|
||||
this.$message.success('编辑成功')
|
||||
row.isEditing = !row.isEditing
|
||||
} else {
|
||||
this.$message.error('编辑失败')
|
||||
}
|
||||
})
|
||||
console.log(row)
|
||||
},
|
||||
cancelTable2(row) {
|
||||
row.isEditing = !row.isEditing
|
||||
row.实际工时 = row.原实际工时
|
||||
row.修补工时 = row.原修补工时
|
||||
row.备注 = row.原备注
|
||||
console.log(row)
|
||||
},
|
||||
editTable2(row) {
|
||||
row.isEditing = !row.isEditing
|
||||
row.原实际工时 = row.实际工时
|
||||
row.原修补工时 = row.修补工时
|
||||
row.原备注 = row.备注
|
||||
console.log(row)
|
||||
},
|
||||
// 取消开始工作
|
||||
handleCancelStart_3(row) {
|
||||
ComponentStateUpdate(row.计划流水号, 3).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 1
|
||||
// this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 取消结束工作
|
||||
handleCancelEnd_3(row) {
|
||||
ComponentStateUpdate(row.计划流水号, 4).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 2
|
||||
// this.searchTable2()
|
||||
})
|
||||
},
|
||||
initProject() {
|
||||
initProject().then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
@@ -122,30 +168,99 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
searchTable() {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
machineChange() {
|
||||
this.groupNumberValue = ''
|
||||
this.groupNumber = []
|
||||
searchgroup(this.machineNumberValue).then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.groupNumber.push({
|
||||
label: response.data[i].组号,
|
||||
value: response.data[i].组件流水号
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 查表1
|
||||
searchTable1() {},
|
||||
// 查表2
|
||||
searchTable2() {},
|
||||
// 开始工作
|
||||
handlestart_3(row) {
|
||||
console.log(row)
|
||||
searchTable1() {
|
||||
this.tableData1 = []
|
||||
if (this.machineNumberValue !== '' && this.machineNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 }
|
||||
if (this.check2 === 0) {
|
||||
this.tableData1 = []
|
||||
this.tableData2 = []
|
||||
} else {
|
||||
searchTable1(this.machineNumberValue, this.check2).then(response => {
|
||||
this.tableData1 = response.data
|
||||
}).then(() => {
|
||||
this.searchTable2()
|
||||
})
|
||||
}
|
||||
},
|
||||
// 结束工作
|
||||
handleend_3(row) {
|
||||
console.log(row)
|
||||
searchTable2() {
|
||||
this.tableData2 = []
|
||||
if (this.machineNumberValue !== '' && this.machineNumberValue !== null) {
|
||||
this.check2 = 1
|
||||
searchTable2(this.machineNumberValue, 4).then(response => {
|
||||
console.log(response.data, 111)
|
||||
this.tableData2 = response.data
|
||||
this.tableData2.map(v => {
|
||||
this.$set(v, 'isEditing', false)
|
||||
this.$set(v, '原实际工时', '')
|
||||
this.$set(v, '原修补工时', '')
|
||||
this.$set(v, '原备注', '')
|
||||
if (v.是否工作 === null || v.是否工作 === 0) {
|
||||
this.$set(v, 'buttonStatus', 1)
|
||||
} else if (v.是否工作 === 1) {
|
||||
this.$set(v, 'buttonStatus', 2)
|
||||
} else {
|
||||
this.$set(v, 'buttonStatus', 3)
|
||||
}
|
||||
return v
|
||||
})
|
||||
})
|
||||
} else { this.check2 = 0 }
|
||||
},
|
||||
// 取消开始工作
|
||||
handleCancelStart_3(row) {
|
||||
console.log(row)
|
||||
// 总装开始装配
|
||||
handlestart_1(row) { // 弹出单据编辑
|
||||
MachineToolStateUpdate(row.机床流水号, 1).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 取消结束工作
|
||||
handleCancelEnd_3(row) {
|
||||
console.log(row)
|
||||
// 总装结束装配
|
||||
handleend_1(row) { // 弹出单据编辑
|
||||
MachineToolStateUpdate(row.机床流水号, 2).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 总装开始调试
|
||||
handlestart_2(row) { // 弹出单据编辑
|
||||
DebugStatusUpdate(row.机床流水号, 1).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 总装结束调试
|
||||
handleend_2(row) { // 弹出单据编辑
|
||||
DebugStatusUpdate(row.机床流水号, 2).then(response => {
|
||||
this.searchTable1()
|
||||
this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 部装开始装配
|
||||
handlestart_3(row) { // 弹出单据编辑
|
||||
ComponentStateUpdate(row.计划流水号, 1).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 2
|
||||
// this.searchTable2()
|
||||
})
|
||||
},
|
||||
// 部装结束装配
|
||||
handleend_3(row) { // 弹出单据编辑
|
||||
ComponentStateUpdate(row.计划流水号, 2).then(response => {
|
||||
this.searchTable1()
|
||||
row.buttonStatus = 3
|
||||
// this.searchTable2()
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user