This commit is contained in:
2025-07-14 12:14:22 +08:00
parent 2ef29b2cdc
commit 9dc7c91c3a

View File

@@ -487,7 +487,6 @@ export default {
}
} else if (state === 1) {
let material = this.processing
let step = this.passList.filter(item => item.operation === 1)[0]
step.state = 1
stepUpdate(step).then(res => {
materialCheckFlagError(material).then(res => {
@@ -508,14 +507,13 @@ export default {
// 下道次
nextStep() {
let step = this.passList.filter(item => item.operation === 1)[0]
let step = this.nowPass
if (step && step.state === 0) {
alert('请操作当前道次')
this.nextStepLoading = false
} else {
this.nextStepLoading = true
stepNextError(step)
.then(res => {
stepNextError(step).then(res => {
this.nextStepLoading = false
this.getDataList()
materialNextStepFlagError().then(res => {