jiekou
This commit is contained in:
@@ -104,9 +104,9 @@
|
||||
this._getReturnMaterial(e)
|
||||
}
|
||||
},
|
||||
async _getVehicleMaterial (e) {
|
||||
async _getReturnMaterial (e) {
|
||||
try {
|
||||
let res = await getVehicleMaterial(this.val1, this.index)
|
||||
let res = await getReturnMaterial(this.val1)
|
||||
if (res) {
|
||||
this.currentData = res
|
||||
} else {
|
||||
@@ -146,13 +146,13 @@
|
||||
let res = await confirmReturnMaterial(this.currentData)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled = false
|
||||
|
||||
Reference in New Issue
Block a user