From d1aa54a9c87b0c0bafcca1f9802a3bea01213546 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Wed, 22 Jan 2025 16:53:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9B=A0=E9=A2=86=E6=96=99?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E6=88=96=E6=96=B0=E8=B4=AD=E5=88=B0=E8=B4=A7?= =?UTF-8?q?=E7=9A=84css=E6=A0=B7=E5=BC=8F=E5=AF=BC=E8=87=B4=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E9=A1=B5=E9=9D=A2=E6=A0=91=E5=BD=A2=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E7=BC=A9=E7=9F=AD=E7=9A=84=E5=85=A8=E5=B1=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/costPush/pushCost/index.vue | 15 +++++++++++---- src/views/material/costPush/pushReview/index.vue | 9 ++++++++- .../lease/apply/component/addToolsApply.vue | 8 ++++---- .../purchase/goodsArrived/component/addTools.vue | 8 ++++---- 4 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/views/material/costPush/pushCost/index.vue b/src/views/material/costPush/pushCost/index.vue index 26b30421..6583be59 100644 --- a/src/views/material/costPush/pushCost/index.vue +++ b/src/views/material/costPush/pushCost/index.vue @@ -798,11 +798,18 @@ export default { }, - /** 提交 */ - handleSubmit(){ + /** 批量退回 */ + handleSubmit() { + if (this.ids.length == 0) { + this.$message({ + type: 'warning', + message: '请选择数据', + }) + return; + } this.$modal - .confirm('是否确认提交?') - .then(() => { + .confirm('是否确认退回?') + .then(() => { // let params = { // 'agreementId': this.rowData.agreementId, 'agreementCode': this.rowData.agreementCode,'totalCostAll': this.costAll, // 'leaseList': this.leaseList, 'repairList': this.repairList, 'scrapList': this.scrapList,'loseList': this.loseList, diff --git a/src/views/material/costPush/pushReview/index.vue b/src/views/material/costPush/pushReview/index.vue index a3324273..daf253b1 100644 --- a/src/views/material/costPush/pushReview/index.vue +++ b/src/views/material/costPush/pushReview/index.vue @@ -787,7 +787,14 @@ export default { }, /** 提交 */ - handleSubmit(){ + handleSubmit() { + if (this.ids.length == 0) { + this.$message({ + type: 'warning', + message: '请选择数据', + }) + return; + } this.$modal .confirm('是否确认提交?') .then(() => { diff --git a/src/views/material/lease/apply/component/addToolsApply.vue b/src/views/material/lease/apply/component/addToolsApply.vue index 81bd53cc..ebf6d177 100644 --- a/src/views/material/lease/apply/component/addToolsApply.vue +++ b/src/views/material/lease/apply/component/addToolsApply.vue @@ -972,10 +972,10 @@ export default { transform: rotateZ(180deg); } -.el-tree { - max-height: 300px; - overflow-y: auto; -} +// .el-tree { +// max-height: 300px; +// overflow-y: auto; +// } .highlight-text { background-color: #ffd04b; diff --git a/src/views/material/purchase/goodsArrived/component/addTools.vue b/src/views/material/purchase/goodsArrived/component/addTools.vue index bbeedd99..29a63257 100644 --- a/src/views/material/purchase/goodsArrived/component/addTools.vue +++ b/src/views/material/purchase/goodsArrived/component/addTools.vue @@ -1121,10 +1121,10 @@ export default { transform: rotateZ(180deg); } -.el-tree { - max-height: 300px; - overflow-y: auto; -} +// .el-tree { +// max-height: 300px; +// overflow-y: auto; +// } .highlight-text { background-color: #ffd04b;