5.14重庆提交
This commit is contained in:
parent
457b838dbb
commit
fc18bdd12a
|
|
@ -201,43 +201,6 @@
|
|||
|
||||
})
|
||||
}
|
||||
/* if (!this.lowerIpt.passedNum && !this.lowerIpt.waitRepairNum && !this.lowerIpt.waitCrashNum) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请至少填写一个数据!'
|
||||
})
|
||||
return
|
||||
}
|
||||
that.totalNum = Number(that.lowerIpt.passedNum) + Number(that.lowerIpt.waitRepairNum) + Number(that
|
||||
.lowerIpt.waitCrashNum)
|
||||
console.log(that.totalNum);
|
||||
if (that.totalNum > that.upperInfo.num) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '接收总量不能大于退库数量!'
|
||||
})
|
||||
} else if (that.totalNum == 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请确保退料总量不为0!'
|
||||
})
|
||||
} else {
|
||||
console.log(this.handleSubmitData());
|
||||
that.$api.backMaterialReceive.backMaterialSetNumBack({
|
||||
taskId: this.upperInfo.taskId,
|
||||
arr: this.handleSubmitData()
|
||||
}).then(res => {
|
||||
console.log("res===", res)
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '接收成功'
|
||||
})
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
},
|
||||
300)
|
||||
})
|
||||
} */
|
||||
},
|
||||
handleSubmitData() {
|
||||
let list = []
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue