From 0097a8f8c0da8e0420d8c9d6cd009138f66eecb0 Mon Sep 17 00:00:00 2001 From: wanghaotian Date: Mon, 27 Mar 2023 17:53:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=9B=98=E7=82=B9=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=A0=B8=E5=AF=B9=E9=94=99=E8=AF=AF=EF=BC=8C=E6=A0=B8?= =?UTF-8?q?=E5=AF=B9=E6=AD=A3=E7=A1=AE=EF=BC=8C=E9=9C=80=E8=A6=81=E6=A0=B8?= =?UTF-8?q?=E5=AF=B9=EF=BC=8C=E6=9C=AA=E7=9B=98=E7=82=B9=E5=8C=BA=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/checkManage/Subsection.vue | 11 ++++++++++- src/views/checkManage/index.vue | 8 ++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/checkManage/Subsection.vue b/src/views/checkManage/Subsection.vue index 3816502..13d26ad 100644 --- a/src/views/checkManage/Subsection.vue +++ b/src/views/checkManage/Subsection.vue @@ -217,7 +217,16 @@ export default { getStatusBg(row,column,status) { var dom = document.getElementById(this.direction+"-"+this.side+"-"+row+'-'+column); - var color = status == 1 ?'#d81e06': (status == 2|| status == 3) ? '#1afa29': '#bfbfbf'; + var color; + if(status == -1){ + color = '#bfbfbf'; + }else if(status == 2|| status == 3){ + color = '#1afa29'; + }else if(status == 0 ){ + color = '#fbb33d'; + }else{ + color = '#d81e06'; + } dom.style.background = color }, diff --git a/src/views/checkManage/index.vue b/src/views/checkManage/index.vue index 371ace1..ac4ce43 100644 --- a/src/views/checkManage/index.vue +++ b/src/views/checkManage/index.vue @@ -12,11 +12,15 @@ 颜色说明: - 盘点错误 + 核对错误 - 盘点正确 + 核对正确 + + + + 需要核对