userid
This commit is contained in:
@@ -137,8 +137,10 @@
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
console.log(0)
|
||||
try {
|
||||
let res = await confirmIn(this.val1, this.val2, this.index)
|
||||
// this.$store.getters.loginName
|
||||
let res = await confirmIn(this.val1, this.val2, this.index, JSON.parse(this.$store.getters.userInfo).user.user_id)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -151,7 +153,9 @@
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled = false
|
||||
console.log(2)
|
||||
}
|
||||
console.log(3)
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
// return
|
||||
// }
|
||||
try {
|
||||
let res = await groupPlate(this.dataList, this.val2, this.val1)
|
||||
let res = await groupPlate(this.dataList, this.val2, this.val1, JSON.parse(this.$store.getters.userInfo).user.user_id)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
}
|
||||
try {
|
||||
this.currentData.site_code = this.val2
|
||||
let res = await confirmReturnMaterial(this.index, this.currentData)
|
||||
let res = await confirmReturnMaterial(this.index, this.currentData, JSON.parse(this.$store.getters.userInfo).user.user_id)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user