From 751e4ad5a3c3bfbc880ab3d0deaaa3273f0ed697 Mon Sep 17 00:00:00 2001 From: bjang03 <259278618@qq.com> Date: Fri, 16 Aug 2024 19:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B2=E7=9B=98=E7=9B=98=E7=82=B9=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=98=8E=E7=BB=86=E9=9A=90=E8=97=8F=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E4=BD=99=E9=A2=9D=E6=95=B0=E9=87=8F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/countManage/count/countJobMain/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/wms/countManage/count/countJobMain/index.vue b/src/views/wms/countManage/count/countJobMain/index.vue index fbf3a6213..c3e6d59aa 100644 --- a/src/views/wms/countManage/count/countJobMain/index.vue +++ b/src/views/wms/countManage/count/countJobMain/index.vue @@ -325,17 +325,17 @@ const openDetail = (row: any, titleName: any, titleValue: any) => { if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) // 盲盘的时候不显示数量 countJobDetailTableColumns.value.tableColumns = [] - // if (!row.isShow) { - // CountJobDetail.allSchemas.tableColumns.forEach((item) => { - // if (item.field != 'qty') { - // countJobDetailTableColumns.value.tableColumns.push(item) - // } - // }) - // } else { + if (row.isOpenCount == "FALSE") { + CountJobDetail.allSchemas.tableColumns.forEach((item) => { + if (item.field != 'qty') { + countJobDetailTableColumns.value.tableColumns.push(item) + } + }) + } else { countJobDetailTableColumns.value.tableColumns = JSON.parse( JSON.stringify(CountJobDetail.allSchemas.tableColumns) ) - // } + } detailRef.value.openDetail(row, titleName, titleValue, 'jobCountMain') }