车辆管理,司机管理bug修复
This commit is contained in:
@ -73,6 +73,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.supplierType = urlParams.get('supplierType');
|
this.supplierType = urlParams.get('supplierType');
|
||||||
|
this.$toast('页面supplierType:'+this.supplierType)
|
||||||
this.getDriverList()
|
this.getDriverList()
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
<div class="metersWrap">
|
<div class="metersWrap">
|
||||||
<div class="leftKiloMeters">
|
<div class="leftKiloMeters">
|
||||||
<div>AB段路桥费</div>
|
<div>AB段路桥费</div>
|
||||||
<div>BC段路桥费</div>
|
<div v-show="form.taskFlowId === 2">BC段路桥费</div>
|
||||||
<div>CA段路桥费</div>
|
<div v-show="form.taskFlowId === 2">CA段路桥费</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="rightInputMeters">
|
<div class="rightInputMeters">
|
||||||
<div><input type="number" v-model="form.bridgeAmountAb"/>元</div>
|
<div><input type="number" v-model="form.bridgeAmountAb"/>元</div>
|
||||||
@ -81,6 +81,7 @@ export default {
|
|||||||
waitAmount:'',
|
waitAmount:'',
|
||||||
dilemmaFee:'',
|
dilemmaFee:'',
|
||||||
customerAmount:'',
|
customerAmount:'',
|
||||||
|
taskFlowId:''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -196,12 +197,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
margin-top: 20px;
|
//position:absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-top: 20px;
|
margin-top: 40px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
//bottom: 20px;
|
||||||
button {
|
button {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
@ -123,7 +123,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<textarea v-model="form.supplierRemark" class="multipleTxt" placeholder="报备描述"></textarea>
|
<textarea v-model="form.supplierRemark" class="multipleTxt" placeholder="报备描述"></textarea>
|
||||||
<two-common-btn class="btn" @cancelClick="cancelBtn" @submitClick="save" />
|
<two-common-btn class="btn" @cancelClick="cancelBtn" @submitClick="save" />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="dataType" v-show="auditFormShow">
|
<div class="dataType" v-show="auditFormShow">
|
||||||
<table>
|
<table>
|
||||||
@ -194,8 +193,18 @@
|
|||||||
<td class="col1 alignLeft" style="border-bottom-left-radius: 3px">
|
<td class="col1 alignLeft" style="border-bottom-left-radius: 3px">
|
||||||
<div class="title col1" style="white-space: nowrap;">审核失败原因</div>
|
<div class="title col1" style="white-space: nowrap;">审核失败原因</div>
|
||||||
<div class="reason">{{orderInfo.auditRemark}}</div>
|
<div class="reason">{{orderInfo.auditRemark}}</div>
|
||||||
<div v-show="orderInfo.auditPhoto">
|
<div v-show="orderInfo.auditPhoto" class="camerImg" >
|
||||||
<img v-for="(item,index) in auditPhotoList" :key="index" class="camerImg" :src="item.url" >
|
<van-image v-for="(item,index) in auditPhotoList" :key="index" :src="item.url" @click="previewPhoto(index)" />
|
||||||
|
<!-- <van-uploader-->
|
||||||
|
<!-- v-model="auditPhotoList"-->
|
||||||
|
<!-- :after-read="handleFileRead"-->
|
||||||
|
<!-- multiple-->
|
||||||
|
<!-- :preview-size="54"-->
|
||||||
|
<!-- accept="image "-->
|
||||||
|
<!-- :disabled="true"-->
|
||||||
|
<!-- readonly-->
|
||||||
|
<!-- />-->
|
||||||
|
<!-- <img v-for="(item,index) in auditPhotoList" :key="index" class="camerImg" :src="item.url" >-->
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="col2 alignLeft" style="border-bottom-right-radius: 3px">
|
<td class="col2 alignLeft" style="border-bottom-right-radius: 3px">
|
||||||
@ -218,10 +227,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<two-common-btn v-show="auditFormShow" class="btn" title1="提交" title2="确定审核" @submitClick1="save" @submitClick="save" />
|
<two-common-btn v-show="auditFormShow" class="btn" title1="提交" title2="确定审核" @submitClick1="save" @submitClick="save" />
|
||||||
<!-- <div class="twoBtn" v-show="auditFormShow">-->
|
|
||||||
<!-- <button class="cancel" @click="noMultipleClicks(save)">提交</button>-->
|
|
||||||
<!-- <button class="submit" @click="noMultipleClicks(save)">确定审核</button>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -233,6 +238,7 @@ import {
|
|||||||
updateAccountRecordInfo,
|
updateAccountRecordInfo,
|
||||||
selectRecordPictureList,deleteImage
|
selectRecordPictureList,deleteImage
|
||||||
} from "@/api/mine"
|
} from "@/api/mine"
|
||||||
|
import { ImagePreview } from "vant";
|
||||||
import TwoCommonBtn from "@/components/twoBtnCommon.vue"
|
import TwoCommonBtn from "@/components/twoBtnCommon.vue"
|
||||||
export default {
|
export default {
|
||||||
name: "accountingView",
|
name: "accountingView",
|
||||||
@ -366,6 +372,12 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
previewPhoto(index) {
|
||||||
|
ImagePreview({
|
||||||
|
images: this.auditPhotoList,
|
||||||
|
startPosition: index,
|
||||||
|
});
|
||||||
|
},
|
||||||
handleFileRead(file) {
|
handleFileRead(file) {
|
||||||
console.log("file",file)
|
console.log("file",file)
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user