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