变更
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user