From 2cf63091a175e108066722bbfdfe4850f217818b Mon Sep 17 00:00:00 2001 From: wangchenguang <728837162@qq.com> Date: Fri, 28 Apr 2023 11:53:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/counter/list/index.vue | 11 ++++++++++- src/store/modules/system.js | 5 ----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index cefc3c3..dc94fc8 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -2137,7 +2137,16 @@ export default { } let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') - for (var i=0;i',this.goodState) + let id + for (var i=0;i?',id) let judgeDelete = true // 盖完章是否变化 为false的会删掉。。。 let stampSuccess = '' // 盖章成功 // 以为要特定的章盖特定的物品,盖完后结果还不一样。有些东西盖了会消失,有些不会。 // 有些东西还要盖两个章。当时选择了最直接的if-else判断。其实用map结构也不是不行。 if(sealArr.length === 1) { - console.log('只有一个') const seal = sealArr[0] if(seal === '业务专用章') { if(id === 14) { @@ -3011,12 +3009,9 @@ export default { // 拿到物品栏中的物品 goods2(state) { // 调试容错采用if-else - console.log('state=>>>',state) - console.log('state.businessSelect=>>>',state.businessSelect) const arr = [] if(state.businessKey !== '') { for(const item of state.businessSelect[state.businessKey].data) { - console.log('item=>',item) if (state.businessKey == '业务七') { if(item !==23) { arr.push(allGoods[item])