工单对账代码优化

This commit is contained in:
2023-08-30 14:15:46 +08:00
parent 41684dd18e
commit 5909b6081a
4 changed files with 58 additions and 93 deletions

View File

@ -43,8 +43,6 @@
<span class="titleLeft">结算方式</span>
<div class="content" style="width: calc(100% - 84px);display: flex;justify-content: space-between;line-height: 27px" >
<span>{{orderInfo.taskSettleType?.label}}</span>
<!-- <span>包含公里数:15</span>-->
<!-- <span>超出单价:6</span>-->
</div>
</div>
<div class="item">
@ -120,7 +118,6 @@
<script>
import {myMixins} from "@/utils/myMixins"
import {getAccountRecordDetail} from "@/api/mine"
// import {leftCopy} from "@/utils/common";
export default {
name: "aduitCompleteDetail",
mixins:[myMixins],
@ -199,13 +196,6 @@ export default {
this.accountStatus = this.orderInfo.accountStatus?.code
this.appCode=this.orderInfo.appCode
}
// if(this.accountStatus == 1 || this.accountStatus == 0){//没有记录,等待审核
// leftCopy(this.form, {...res.data})
// }
// if(this.accountStatus == 2 || this.accountStatus == 3){//审核失败,再次审核
// leftCopy(this.form, {...res.data})
// this.auditFormShow = true;//是否显示审核数据
// }
if(this.settleType == '实拖' && this.basePriceDisabled){
this.bcState = true
@ -234,16 +224,6 @@ export default {
this.basementFeeState = true
}
},
// async getDetail() {
// let res = await getAccountRecordDetail({
// id: this.id,
// postfix: this.postfix
// })
// if (res.code === 200) {
// this.orderInfo = res.data
// }
// },
}
}
</script>
@ -252,8 +232,7 @@ export default {
@import "@/styles/mixin.scss";
@import "@/styles/common.scss";
.wrap{
width: 100%;
height: 100%;
@include wh(100%,100%);
background-color: #F4F5F7;
overflow-y: auto;
}
@ -262,8 +241,7 @@ export default {
}
.title{
@include fontWeightSize(bold,14px);
color: #323643;
opacity: 0.66;
@include colorOpa(#323643,0.66);
}
.line{
@include wh(100%,2px);
@ -273,11 +251,9 @@ export default {
border-image: linear-gradient(270deg, rgba(217, 217, 217, 0.6), rgba(178, 178, 178, 1), rgba(178, 178, 178, 1), rgba(217, 217, 217, 0.6)) 1 1;
}
.item{
display: flex;
align-items: center;
@include flexCenter;
font-size: 12px !important;
font-weight: 400 !important;
//@include fontWeightSize(400,12px) !important;
.titleLeft{
opacity: .5;
line-height: 27px;
@ -301,8 +277,7 @@ img{
@include wh(100%, 438px);
.inpInfo {
display: flex;
justify-content: space-between;
@include flexColBet;
margin: 0 5px;
color: #323643;
line-height: 32px;
@ -324,16 +299,12 @@ img{
.inputContent {
text-align: right;
//opacity: .5;e
.btnComputed {
width: 48px;
@include all-height(18px);
text-align: center;
color: #FFFFFF;
background: #354D93;
border-radius: 3px;
//position: absolute;
//right: 24px;
@include all-height(18px);
@include bgFontColor(#FFFFFF,#354D93);
}
}
}