物品相关权限
This commit is contained in:
parent
f49d7374d1
commit
9dc0979599
@ -460,7 +460,7 @@ export default {
|
||||
type: 'warning',
|
||||
})
|
||||
.then(() => {
|
||||
delGift({_id: row._id}).then(res => {
|
||||
delGift({uid:this.uid, _id: row._id}).then(res => {
|
||||
const data = res.data
|
||||
if (data.errcode === 0) {
|
||||
this.$message.success('删除成功!')
|
||||
@ -476,7 +476,7 @@ export default {
|
||||
const typeList = {
|
||||
0: '其他',
|
||||
1: '话费',
|
||||
2: '实物'
|
||||
2: '实物',
|
||||
}
|
||||
return typeList[cellValue]
|
||||
},
|
||||
@ -519,6 +519,7 @@ export default {
|
||||
? this.usedCodesStr.split(',')
|
||||
: []
|
||||
if (this.isNew) {
|
||||
this.modalForm.uid = this.uid
|
||||
addGift(this.modalForm)
|
||||
.then(res => {
|
||||
const {data} = res
|
||||
@ -532,6 +533,7 @@ export default {
|
||||
console.log(err)
|
||||
})
|
||||
} else {
|
||||
this.modalForm.uid = this.uid
|
||||
updateGift(this.modalForm)
|
||||
.then(res => {
|
||||
const {data} = res
|
||||
|
Loading…
x
Reference in New Issue
Block a user