diff --git a/fe/PC/src/views/inventoryManage/Count/CountNote-msQuery.vue b/fe/PC/src/views/inventoryManage/Count/CountNote-msQuery.vue index 0e6a9ea39..6f4b5c57b 100644 --- a/fe/PC/src/views/inventoryManage/Count/CountNote-msQuery.vue +++ b/fe/PC/src/views/inventoryManage/Count/CountNote-msQuery.vue @@ -77,7 +77,6 @@ export default { let data = true val.forEach(key => { if (this.propsData.adjusted == key) { - // if (this.propsData.adjusted == key && this.propsData.creatorId == this.$store.getters.name.id) { data = false } }) @@ -115,6 +114,10 @@ export default { //抽屉常用按钮 drawerbutton (val) { if(val == 'adjust'){ + if(this.propsData.creatorId != this.$store.getters.name.id){ + this.$errorMsg('当前用户与创建用户不符,不能进行生成盘点调整申请') + return + } const data = this.propsData.id this.Loading.appMainLoading = true StartAdjust(data).then(res=>{