From 633dd9a01d29b293792b398a7bb438bb818d8ab0 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Thu, 27 Mar 2025 13:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8C=89=E9=92=AE=E6=9D=83?= =?UTF-8?q?=E9=99=90v-hasPermi=E4=B8=8E=20v-if=20=E5=86=B2=E7=AA=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../claimAndRefund/receive/receiveExamine.vue | 20 +++++++++---------- .../claimAndRefund/receive/receiveManage.vue | 10 +++++----- .../claimAndRefund/receive/receiveOut.vue | 2 +- .../receiveByCq/receiveExamineByCq.vue | 8 ++++---- .../receiveByCq/receiveManage.vue | 4 ++-- .../claimAndRefund/return/returnExamine.vue | 2 +- .../views/claimAndRefund/return/returnIn.vue | 2 +- .../claimAndreturn/picking/outbound/index.vue | 2 +- .../return/apply/component/home.vue | 2 +- .../claimAndreturn/return/auditing/index.vue | 2 +- .../return/receive/component/home.vue | 2 +- sgzb-ui/src/views/repairTest/repair/index.vue | 2 +- .../views/repairTest/repairScrap/index.vue | 2 +- .../views/repairTest/testExamine/index.vue | 2 +- .../forecastWaste/auditing/index.vue | 2 +- .../forecastWaste/listing/index.vue | 2 +- .../scrapManage/scrap/disposition/index.vue | 2 +- .../scrapManage/scrap/scrapAuditing/index.vue | 2 +- .../newBuy/newDevices/newDevicesList.vue | 2 +- .../newDevices/newDevicesWarehousing.vue | 2 +- .../store/warehousing/repairWarehousing.vue | 2 +- sgzb-ui/src/views/system/dept/index.vue | 2 +- .../machinery/keeper/index.vue | 2 +- .../warehouseManage/machinery/parts/index.vue | 2 +- .../machinery/personnel/index.vue | 2 +- .../partsAcceptance/component/addParts.vue | 4 ++-- .../partsAcceptance/component/home.vue | 6 +++--- .../newPurchase/serviceCenter/index.vue | 2 +- .../toolsAcceptance/component/home.vue | 8 ++++---- .../warehousing/newParts/index.vue | 4 ++-- .../warehousing/newTools/index.vue | 4 ++-- .../warehousing/repair/index.vue | 2 +- 32 files changed, 57 insertions(+), 57 deletions(-) diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveExamine.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveExamine.vue index a6a5e1b2..53ac1c1c 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/receiveExamine.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveExamine.vue @@ -214,35 +214,35 @@ 确 定 确 定 确 定 确 定 确 定 @@ -267,35 +267,35 @@ 确 定 确 定 确 定 确 定 确 定 diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue index 7f951336..782585c2 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveManage.vue @@ -210,7 +210,7 @@ type="primary" @click="handleExamine(scope.row)" v-hasPermi="['receive:examine:fgs']" - v-if=" + v-show=" Number(scope.row.examineStatusId) == 30 && scope.row.deptId == currentDeptId " @@ -221,7 +221,7 @@ type="primary" @click="handleExamine(scope.row)" v-hasPermi="['receive:examine:sgb']" - v-if=" + v-show=" Number(scope.row.examineStatusId) == 31 && (scope.row.leaseApplyInfoList[0].status == '0' || scope.row.leaseApplyInfoList[0].status == '7' || @@ -235,7 +235,7 @@ type="primary" @click="handleExamine(scope.row)" v-hasPermi="['receive:examine:ajb']" - v-if=" + v-show=" Number(scope.row.examineStatusId) == 31 && (scope.row.leaseApplyInfoList[0].status == '0' || scope.row.leaseApplyInfoList[0].status == '5' || @@ -249,7 +249,7 @@ type="primary" @click="handleExamine(scope.row, 'jjfgs')" v-hasPermi="['receive:examine:nbry-jjfgs']" - v-if=" + v-show=" Number(scope.row.examineStatusId) == 32 && (scope.row.leaseApplyInfoList[0].status == '5' || scope.row.leaseApplyInfoList[0].status == '7' || @@ -263,7 +263,7 @@ type="primary" @click="handleExamine(scope.row, 'sbfgs')" v-hasPermi="['receive:examine:nbry-sbfgs']" - v-if=" + v-show=" Number(scope.row.examineStatusId) == 32 && (scope.row.leaseApplyInfoList[0].status == '5' || scope.row.leaseApplyInfoList[0].status == '7' || diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue index d3341b7f..46180c8f 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveOut.vue @@ -164,7 +164,7 @@ diff --git a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveExamineByCq.vue b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveExamineByCq.vue index b15c36ef..2cc3adc9 100644 --- a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveExamineByCq.vue +++ b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveExamineByCq.vue @@ -123,9 +123,9 @@ v-model="queryParams.companyAuditRemarks"> @@ -135,9 +135,9 @@ v-model="queryParams.companyAuditRemarks"> diff --git a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue index 95e1d34a..09f6b5f1 100644 --- a/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue +++ b/sgzb-ui/src/views/claimAndRefund/receiveByCq/receiveManage.vue @@ -232,7 +232,7 @@ type="primary" @click="handleExamine(scope.row)" v-hasPermi="['receive:examine:fgs']" - v-if=" + v-show=" Number(scope.row.examineStatusId) == 31 || Number(scope.row.examineStatusId) == 117 " @@ -243,7 +243,7 @@ type="primary" @click="handleExamine(scope.row)" v-hasPermi="['receive:examine:nbs']" - v-if="Number(scope.row.examineStatusId) == 32" + v-show="Number(scope.row.examineStatusId) == 32" >审批 diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue b/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue index cbe6b332..789f211f 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue @@ -282,7 +282,7 @@ size="medium" type="text" icon="el-icon-edit" - v-if="scope.row.applyStatus == '0'" + v-show="scope.row.applyStatus == '0'" v-hasPermi="['return:auditing']" @click="handleUpdate(scope.row, 'update')" > diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue b/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue index 3f612dde..bc17270e 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue @@ -221,7 +221,7 @@ @click="handleReturn(scope.row, 'see')" icon="el-icon-d-arrow-right" v-hasPermi="['return:btn']" - v-if="scope.row.taskStatus != '40'" + v-show="scope.row.taskStatus != '40'" > 退料 diff --git a/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue b/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue index 253ca94b..68c28f42 100644 --- a/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue +++ b/sgzb-ui/src/views/claimAndreturn/picking/outbound/index.vue @@ -168,7 +168,7 @@ icon="el-icon-shopping-cart-2" style="color: #e6a23c" type="text" - v-if="row.taskStatus != 35" + v-show="row.taskStatus != 35" @click="handleOut(row)" v-hasPermi="['picking:outbound:out']" > diff --git a/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue b/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue index dea8a366..9c685c61 100644 --- a/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue +++ b/sgzb-ui/src/views/claimAndreturn/return/apply/component/home.vue @@ -295,7 +295,7 @@ icon="el-icon-edit-outline" style="color: #e6a23c" type="text" - v-if="scope.row.taskStatus == '101'" + v-show="scope.row.taskStatus == '101'" @click="handleUpdate(scope.row)" v-hasPermi="['return:apply:reject:submit']" >驳回提交 diff --git a/sgzb-ui/src/views/claimAndreturn/return/receive/component/home.vue b/sgzb-ui/src/views/claimAndreturn/return/receive/component/home.vue index f3c48930..c92ab45c 100644 --- a/sgzb-ui/src/views/claimAndreturn/return/receive/component/home.vue +++ b/sgzb-ui/src/views/claimAndreturn/return/receive/component/home.vue @@ -224,7 +224,7 @@ @click="handleReturn(scope.row, 'see')" icon="el-icon-d-arrow-right" v-hasPermi="['return:receive:handler']" - v-if=" + v-show=" scope.row.taskStatus == 38 || scope.row.taskStatus == 39 " diff --git a/sgzb-ui/src/views/repairTest/repair/index.vue b/sgzb-ui/src/views/repairTest/repair/index.vue index 50df1d9e..09da00a3 100644 --- a/sgzb-ui/src/views/repairTest/repair/index.vue +++ b/sgzb-ui/src/views/repairTest/repair/index.vue @@ -241,7 +241,7 @@ size="mini" type="text" icon="el-icon-setting" - v-if="scope.row.repairStatusCode == '43'" + v-show="scope.row.repairStatusCode == '43'" @click="handleUpdate(scope.row, 'update')" v-hasPermi="['service:button']" > diff --git a/sgzb-ui/src/views/repairTest/repairScrap/index.vue b/sgzb-ui/src/views/repairTest/repairScrap/index.vue index 66a6cad9..2811e8fe 100644 --- a/sgzb-ui/src/views/repairTest/repairScrap/index.vue +++ b/sgzb-ui/src/views/repairTest/repairScrap/index.vue @@ -253,7 +253,7 @@ size="mini" type="text" icon="el-icon-setting" - v-if="scope.row.repairStatusCode == '43'" + v-show="scope.row.repairStatusCode == '43'" @click="handleUpdate(scope.row, 'update')" v-hasPermi="['service:button']" > diff --git a/sgzb-ui/src/views/repairTest/testExamine/index.vue b/sgzb-ui/src/views/repairTest/testExamine/index.vue index b5f4aefb..656f20bb 100644 --- a/sgzb-ui/src/views/repairTest/testExamine/index.vue +++ b/sgzb-ui/src/views/repairTest/testExamine/index.vue @@ -245,7 +245,7 @@ size="mini" type="text" icon="el-icon-circle-check" - v-if="scope.row.taskStatus == 46" + v-show="scope.row.taskStatus == 46" @click="handleUpdate(scope.row, 'update')" v-hasPermi="['service:auditing']" >审核审核 diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue index f934ddba..06aa0981 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue @@ -78,7 +78,7 @@ style="color: #f56c6c" icon="el-icon-finished" v-hasPermi="['submit:scrap']" - v-if="data.taskStatus == 124" + v-show="data.taskStatus == 124" @click="handleSubmitScrap(data)" >提交报废 diff --git a/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue b/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue index bf174ace..632774f4 100644 --- a/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue +++ b/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue @@ -73,7 +73,7 @@ type="text" style="color: #e6a23c" icon="el-icon-edit-outline" - v-if="data.disposition == 0" + v-show="data.disposition == 0" @click="handleDisposition(data)" v-hasPermi="['scrap:disposition']" > diff --git a/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/index.vue b/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/index.vue index fc495998..d4db2f48 100644 --- a/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/index.vue +++ b/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/index.vue @@ -49,7 +49,7 @@ type="text" style="color: #e6a23c" icon="el-icon-edit-outline" - v-if="auditingIsShow(data)" + v-show="auditingIsShow(data)" v-hasPermi="['scrap:auditing']" @click="handleAuditing(data)" > diff --git a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue index 6eab183c..052b6239 100644 --- a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue +++ b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue @@ -246,7 +246,7 @@ size="mini" type="warning" icon="el-icon-edit" - v-if=" + v-show=" (scope.row.purchasingStatus == '验收合格') && scope.row.manageType != '1' " diff --git a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue index d071e8ed..565d9a34 100644 --- a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue +++ b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue @@ -194,7 +194,7 @@ size="mini" type="text" icon="el-icon-edit" - v-if="scope.row.taskStatus == '105'" + v-show="scope.row.taskStatus == '105'" @click="handleUpdate(scope.row)" v-hasPermi="['warehousing:auditing']" >审核审核 diff --git a/sgzb-ui/src/views/system/dept/index.vue b/sgzb-ui/src/views/system/dept/index.vue index 9cf1b534..b9bfa963 100644 --- a/sgzb-ui/src/views/system/dept/index.vue +++ b/sgzb-ui/src/views/system/dept/index.vue @@ -85,7 +85,7 @@ v-hasPermi="['system:dept:add']" >新增 解绑 diff --git a/sgzb-ui/src/views/warehouseManage/machinery/parts/index.vue b/sgzb-ui/src/views/warehouseManage/machinery/parts/index.vue index 0a18ba6c..dad469ad 100644 --- a/sgzb-ui/src/views/warehouseManage/machinery/parts/index.vue +++ b/sgzb-ui/src/views/warehouseManage/machinery/parts/index.vue @@ -128,7 +128,7 @@ 解绑 diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue index 06246109..f0fc7605 100644 --- a/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue +++ b/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue @@ -125,7 +125,7 @@ plain icon="el-icon-plus" size="mini" - v-if="isAccept" + v-show="isAccept" :disabled="multiple" @click="handleListCheck" v-hasPermi="['newPurchase:parts:notice:accept:batch']" @@ -251,7 +251,7 @@ size="mini" type="text" icon="el-icon-edit" - v-if="isAccept && scope.row.status == 0" + v-show="isAccept && scope.row.status == 0" @click="handleCheck(scope.row)" v-hasPermi="['newPurchase:parts:notice:accept']" >验收编辑验收删除审核编辑 @@ -191,7 +191,7 @@ type="text" icon="el-icon-circle-check" style="color: #e6a23c" - v-if=" + v-show=" scope.row.purchasingStatus == '待通知' || scope.row.purchasingStatus == '待验收' " @@ -203,7 +203,7 @@ type="text" icon="el-icon-edit-outline" style="color: #67c23a" - v-if=" + v-show=" scope.row.purchasingStatus == '验收合格' && scope.row.manageType != '1' " @@ -239,7 +239,7 @@ type="text" style="color: #f56c6c" icon="el-icon-delete" - v-if=" + v-show=" scope.row.purchasingStatus == '待通知' || scope.row.purchasingStatus == '验收未通过' || scope.row.purchasingStatus == diff --git a/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue b/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue index 4b579f72..f9316acd 100644 --- a/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue +++ b/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue @@ -200,7 +200,7 @@ type="primary" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-if="scope.row.taskStatus == 69" + v-show="scope.row.taskStatus == 69" v-hasPermi="['warehousing:newParts:auditing']" > 审核 @@ -209,7 +209,7 @@ size="mini" type="info" icon="el-icon-edit" - v-if="scope.row.taskStatus == 70" + v-show="scope.row.taskStatus == 70" @click="handlePrint(scope.row)" v-hasPermi="['warehousing:newParts:list']" > diff --git a/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue b/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue index bdafdf88..8eed2dea 100644 --- a/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue +++ b/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue @@ -196,7 +196,7 @@ style="color: #e6a23c" type="text" icon="el-icon-finished" - v-if="scope.row.taskStatus == '105'" + v-show="scope.row.taskStatus == '105'" @click="handleUpdate(scope.row)" v-hasPermi="['warehousing:newTools:auditing']" >审核审核