From 15a22e2ca23271070f3f340e865eeeb5386cb843 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Thu, 22 Feb 2024 14:09:01 +0800 Subject: [PATCH] =?UTF-8?q?task#11186,=E8=B0=83=E5=BA=A6app=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseList/caseDetail.vue | 40 ++++++++++++++++++++++--------- src/views/caseList/caseList.vue | 10 ++++++-- 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/src/views/caseList/caseDetail.vue b/src/views/caseList/caseDetail.vue index aed673d1..687c1a8b 100644 --- a/src/views/caseList/caseDetail.vue +++ b/src/views/caseList/caseDetail.vue @@ -82,14 +82,25 @@ :src="props.checked ? activeIcon : inactiveIcon" > - - {{detailInfo.secondAudit? '报销失败' : '不通过'}} - - + + @@ -100,7 +111,8 @@ 不通过原因 - + @@ -148,6 +160,7 @@ export default { }, created() { this.id = this.$route.params.id; + // this.id=27 this.activeIndex=this.$route.params.index; this.batchCode=this.$route.params.batchCode console.log(" this.batchCode", this.batchCode,this.activeIndex) @@ -260,14 +273,19 @@ export default { this.$toast('审核不通过原因是其他时审核原因必填') return } - await reimburseOrderAudit({ + let res = await reimburseOrderAudit({ id:this.id, state:this.state, auditRemark:this.other=='其他' ? this.other+ '/' + this.otherReason : this.other, }) - // console.log("ressssss",res) + if(res.code == 200){ + this.$toast("提交成功") + }else{ + this.$toast(res.msg) + } }, isUse(e){ + console.log("eeee",e) this.states=e if(this.states == 1){ this.state=2 diff --git a/src/views/caseList/caseList.vue b/src/views/caseList/caseList.vue index d1c083bd..c7fbc67b 100644 --- a/src/views/caseList/caseList.vue +++ b/src/views/caseList/caseList.vue @@ -149,13 +149,19 @@ export default { .alpha{ opacity: 0.5; } + //为一个数时,宽为 .numTip{ display: inline-block; - @include wh(15px,15px); + min-width: 15px; + //height: 15px; + @include all-height(15px); + //box-sizing: border-box; + //padding: 0px 2px; + //@include wh(15px,15px); @include bgcolorOpa(#F95B45,0.9); border-radius: 4px; text-align: center; - line-height: 15px; + //line-height: 15px; margin-left: 5px; opacity: 1; /* 保持透明度为1 */ }