task#13641,查看结算单接口更换
This commit is contained in:
@ -42,14 +42,8 @@
|
||||
<div class="item">
|
||||
<span class="titleLeft">结算方式:</span>
|
||||
<span class="content" >{{orderInfo.taskSettleType?.label }}</span>
|
||||
<span class="driverPoiBtn" style="margin-left: 8px" @click="viewSettlementDoc">查看结算单</span>
|
||||
<span class="driverPoiBtn" v-if="settleDetail.length>0" style="margin-left: 8px" @click="viewSettlementDoc">查看结算单</span>
|
||||
</div>
|
||||
<!-- <div class="item" >
|
||||
<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 class="driverPoiBtn" @click="checkPhoto">查看照片</span>
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="item">
|
||||
<span class="titleLeft">扣除责任险费:</span>
|
||||
<span class="content">{{orderInfo.policyAmount}} {{orderInfo.cutInsuranceAmount}}</span>
|
||||
@ -214,7 +208,7 @@
|
||||
<div class="title" style="margin-bottom: 8px"> 备注:{{orderInfo.supplierRemark}}</div>
|
||||
<div class="title" style="margin-bottom: 8px"> 本次补充说明:</div>
|
||||
<div style="display: flex;margin-bottom: 5px">
|
||||
<!-- @click="delSupplierPhoto(item) -->
|
||||
<!-- @click="delSupplierPhoto(item) -->
|
||||
<img v-for="(item,index) in supplierPhotoList" :key="index" class="supplierImg" :src="item.url" @click="viewHandle(item)">
|
||||
</div>
|
||||
<div style="display: flex" >
|
||||
@ -247,6 +241,7 @@ import {
|
||||
selectRecordPictureList, deleteImage
|
||||
} from "@/api/mine"
|
||||
import { ImagePreview } from "vant";
|
||||
import {orderReportingList} from "@/api/order";
|
||||
export default {
|
||||
name: "accountingView",
|
||||
mixins:[myMixins],
|
||||
@ -359,7 +354,8 @@ export default {
|
||||
},
|
||||
noClick:true,
|
||||
loading: false,
|
||||
loading1: false
|
||||
loading1: false,
|
||||
settleDetail:[],
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
@ -369,6 +365,7 @@ export default {
|
||||
this.queryTime = this.$route.params?.queryTime
|
||||
this.$nextTick(async ()=>{
|
||||
await this.getDetail()
|
||||
await this.getSettlementDetail()
|
||||
})
|
||||
},
|
||||
computed:{
|
||||
@ -393,7 +390,8 @@ export default {
|
||||
id: this.id, // 参数对象的属性
|
||||
postfix:this.postfix,
|
||||
index:this.activeIndex,
|
||||
queryTime: this.time || this.queryTime
|
||||
queryTime: this.time || this.queryTime,
|
||||
settleDetailList:this.settleDetail
|
||||
}
|
||||
})
|
||||
},
|
||||
@ -426,6 +424,18 @@ export default {
|
||||
startPosition: index,
|
||||
closeable: true,
|
||||
});
|
||||
|
||||
},
|
||||
async getSettlementDetail(){
|
||||
let res = await orderReportingList({
|
||||
queryType:7,
|
||||
userOrderId:this.orderInfo.userOrderId,
|
||||
orderCode: this.orderInfo.orderCode,
|
||||
taskOrderId:this.orderInfo.taskOrderId,
|
||||
searchCostRemark:1
|
||||
})
|
||||
this.settleDetail=res.data
|
||||
console.log("工单列表接口res",this.settleDetail)
|
||||
},
|
||||
handleFileRead(file) {
|
||||
console.log("file",file)
|
||||
|
Reference in New Issue
Block a user