task#11186,调度app数量样式优化
This commit is contained in:
@ -82,14 +82,25 @@
|
|||||||
:src="props.checked ? activeIcon : inactiveIcon"
|
:src="props.checked ? activeIcon : inactiveIcon"
|
||||||
>
|
>
|
||||||
</van-radio>
|
</van-radio>
|
||||||
<van-radio :name="2" class="item">
|
<template v-if="detailInfo.secondAudit">
|
||||||
{{detailInfo.secondAudit? '报销失败' : '不通过'}}
|
<van-radio :name="3" style="margin-right: 26px" class="item">报销失败
|
||||||
<img
|
<img
|
||||||
slot="icon"
|
slot="icon"
|
||||||
slot-scope="props"
|
slot-scope="props"
|
||||||
:src="props.checked ? activeIcon : inactiveIcon"
|
:src="props.checked ? activeIcon : inactiveIcon"
|
||||||
>
|
>
|
||||||
</van-radio>
|
</van-radio>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<van-radio :name="2" style="margin-right: 26px" class="item">
|
||||||
|
不通过
|
||||||
|
<img
|
||||||
|
slot="icon"
|
||||||
|
slot-scope="props"
|
||||||
|
:src="props.checked ? activeIcon : inactiveIcon"
|
||||||
|
>
|
||||||
|
</van-radio>
|
||||||
|
</template>
|
||||||
</van-radio-group>
|
</van-radio-group>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -100,7 +111,8 @@
|
|||||||
<span>不通过原因</span>
|
<span>不通过原因</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<select id="mySelect" class="mySelect" v-model="other" >
|
<select id="mySelect" class="mySelect" v-model="other" >
|
||||||
|
<option value="" disabled selected hidden>请选择</option>
|
||||||
<option value="缺失凭证照片">缺失凭证照片</option>
|
<option value="缺失凭证照片">缺失凭证照片</option>
|
||||||
<option value="申请金额与凭证不一致">申请金额与凭证不一致</option>
|
<option value="申请金额与凭证不一致">申请金额与凭证不一致</option>
|
||||||
<option value="非正常产生路桥费">非正常产生路桥费</option>
|
<option value="非正常产生路桥费">非正常产生路桥费</option>
|
||||||
@ -148,6 +160,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.id = this.$route.params.id;
|
this.id = this.$route.params.id;
|
||||||
|
// this.id=27
|
||||||
this.activeIndex=this.$route.params.index;
|
this.activeIndex=this.$route.params.index;
|
||||||
this.batchCode=this.$route.params.batchCode
|
this.batchCode=this.$route.params.batchCode
|
||||||
console.log(" this.batchCode", this.batchCode,this.activeIndex)
|
console.log(" this.batchCode", this.batchCode,this.activeIndex)
|
||||||
@ -260,14 +273,19 @@ export default {
|
|||||||
this.$toast('审核不通过原因是其他时审核原因必填')
|
this.$toast('审核不通过原因是其他时审核原因必填')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
await reimburseOrderAudit({
|
let res = await reimburseOrderAudit({
|
||||||
id:this.id,
|
id:this.id,
|
||||||
state:this.state,
|
state:this.state,
|
||||||
auditRemark:this.other=='其他' ? this.other+ '/' + this.otherReason : this.other,
|
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){
|
isUse(e){
|
||||||
|
console.log("eeee",e)
|
||||||
this.states=e
|
this.states=e
|
||||||
if(this.states == 1){
|
if(this.states == 1){
|
||||||
this.state=2
|
this.state=2
|
||||||
|
@ -149,13 +149,19 @@ export default {
|
|||||||
.alpha{
|
.alpha{
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
//为一个数时,宽为
|
||||||
.numTip{
|
.numTip{
|
||||||
display: inline-block;
|
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);
|
@include bgcolorOpa(#F95B45,0.9);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 15px;
|
//line-height: 15px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
opacity: 1; /* 保持透明度为1 */
|
opacity: 1; /* 保持透明度为1 */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user