拣选余料回库
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
try {
|
||||
let res = await getReturnMaterial(this.val1)
|
||||
if (res) {
|
||||
this.currentData = res
|
||||
this.currentData = res.data
|
||||
} else {
|
||||
this.currentData = {}
|
||||
}
|
||||
@@ -143,7 +143,7 @@
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await confirmReturnMaterial(this.currentData)
|
||||
let res = await confirmReturnMaterial(this.index, this.currentData)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user