车辆管理,司机管理bug修复

This commit is contained in:
2023-08-25 15:15:10 +08:00
parent c972af97dc
commit d384ded694
2 changed files with 13 additions and 12 deletions

View File

@ -73,7 +73,7 @@ export default {
mounted() {
const urlParams = new URLSearchParams(window.location.search);
this.supplierType = urlParams.get('supplierType');
this.$toast('页面supplierType'+this.supplierType)
// this.$toast('页面supplierType'+this.supplierType)
this.getDriverList()
},
methods:{
@ -85,7 +85,7 @@ export default {
}, 1000);
},
addDriver(){
this.$toast('supplierType的值为'+this.supplierType)
// this.$toast('supplierType的值为'+this.supplierType)
if(this.supplierType == 1){
this.$toast("无权添加")
}else{

View File

@ -1,22 +1,22 @@
<template>
<div class="wrap">
<div class="kilometers common">
<div class="kilometers common" :style="`height: ${form.taskFlowId !=2 ? '78px' : '161px'};`">
<div class="title">公里数:</div>
<div class="line"></div>
<div class="metersWrap">
<div class="leftKiloMeters">
<div>AB段公里数</div>
<div>BC段公里数</div>
<div>CA段公里数</div>
<div v-show="form.taskFlowId === 2">BC段公里数</div>
<div v-show="form.taskFlowId === 2">CA段公里数</div>
</div>
<div class="rightInputMeters">
<div><input type="number" v-model="form.reportMileageAb"/>公里</div>
<div><input type="number" v-model="form.reportMileageBc"/>公里</div>
<div><input type="number" v-model="form.reportMileageCa"/>公里</div>
<div v-show="form.taskFlowId === 2"><input type="number" v-model="form.reportMileageBc"/>公里</div>
<div v-show="form.taskFlowId === 2"><input type="number" v-model="form.reportMileageCa"/>公里</div>
</div>
</div>
</div>
<div class="roadBridgeFee common">
<div class="roadBridgeFee common" :style="`height: ${form.taskFlowId !=2 ? '78px' : '161px'};`">
<div class="title">路桥费:</div>
<div class="line"></div>
<div class="metersWrap">
@ -27,11 +27,11 @@
</div>
<div class="rightInputMeters">
<div><input type="number" v-model="form.bridgeAmountAb"/></div>
<div><input type="number" v-model="form.bridgeAmountBc"/></div>
<div><input type="number" v-model="form.bridgeAmountCa"/></div>
</div>
<div v-show="form.taskFlowId === 2"><input type="number" v-model="form.bridgeAmountBc"/></div>
<div v-show="form.taskFlowId === 2"><input type="number" v-model="form.bridgeAmountCa"/></div>
</div>
</div>
</div >
<div class="otherFee common">
<div class="title">其他费用:</div>
<div class="line"></div>
@ -51,7 +51,7 @@
</div>
</div>
<div class="btn">
<button>提交</button>
<button @click="submit">提交</button>
</div>
<!-- <div class="fixed-bottom">-->
<!-- <common-btn class="btn" @submitClick="submit" />-->
@ -104,6 +104,7 @@ export default {
taskOrderId: this.taskOrderId
})
leftCopy(this.form,{...res.data})
// this.form.taskFlowId =1
},
async updatSettlement(){
let result =await updateOrderSettlement({