From f804f5b091d6507ddd08fa6bb361255844deb17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Mon, 24 Jul 2023 16:56:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E8=AE=B0=E5=BD=95=EF=BC=8C?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E7=94=A8=E6=88=B7=E4=B8=8E=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=B8=8D=E7=AC=A6=EF=BC=8C=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E7=94=9F=E6=88=90=E7=9B=98=E7=82=B9=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/src/views/inventoryManage/Count/CountNote-msQuery.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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=>{