ios页面更改
This commit is contained in:
@ -59,7 +59,7 @@
|
||||
<div class="inpInfo">
|
||||
<div class="titleContent">
|
||||
<div class="flex-between" v-show="abState">
|
||||
<div> 到达事发地距离:</div>
|
||||
<div> 到事发地距离:</div>
|
||||
<div class="halfOpcity"><input type="number" v-model="form.supplierSettleMileageAb"/>公里</div>
|
||||
</div>
|
||||
<div class="flex-between" v-show="bcState" >
|
||||
@ -131,8 +131,8 @@
|
||||
<td class="col2 supplierShuju">供应商数据</td>
|
||||
</tr>
|
||||
<tr v-show="abState">
|
||||
<td class="col1">到达事发地距离:{{orderInfo.settleMileageAb + '公里'}}</td>
|
||||
<td class="col2 halfOpc"><input placeholder="输入到达事发地距离" v-model="form.supplierSettleMileageAb"/></td>
|
||||
<td class="col1">到事发地距离:{{orderInfo.settleMileageAb + '公里'}}</td>
|
||||
<td class="col2 halfOpc"><input placeholder="输入到事发地距离" v-model="form.supplierSettleMileageAb"/></td>
|
||||
</tr>
|
||||
<tr v-show="bcState">
|
||||
<td class="col1">拖车里程:{{orderInfo.settleMileageBc + '公里'}}</td>
|
||||
@ -267,6 +267,7 @@ export default {
|
||||
auditPhotoList:[],
|
||||
supplierPhotoList:[],
|
||||
index:'',//记录工单对账属于哪个状态
|
||||
uploadedImage: null,
|
||||
form:{
|
||||
id:'',
|
||||
taskOrderCostHisId:'',
|
||||
@ -360,6 +361,19 @@ export default {
|
||||
},
|
||||
},
|
||||
methods:{
|
||||
// openFileSelector() {
|
||||
// this.$refs.fileInput.click();
|
||||
// },
|
||||
// handleFileUpload(event) {
|
||||
// const file = event.target.files[0];
|
||||
// if (file) {
|
||||
// const reader = new FileReader();
|
||||
// reader.onload = (e) => {
|
||||
// this.uploadedImage = e.target.result;
|
||||
// };
|
||||
// reader.readAsDataURL(file);
|
||||
// }
|
||||
// },
|
||||
handleFileRead(file) {
|
||||
console.log("file",file)
|
||||
},
|
||||
@ -620,7 +634,10 @@ img{
|
||||
|
||||
}
|
||||
.supplierData{
|
||||
@include wh(100%,438px);
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
|
||||
//@include wh(100%,438px);
|
||||
.inpInfo{
|
||||
//display: flex;
|
||||
//justify-content: space-between;
|
||||
@ -663,7 +680,7 @@ img{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.btn{
|
||||
margin-top: 8px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
}
|
||||
.dataType{
|
||||
@ -755,7 +772,7 @@ img{
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
box-sizing: border-box;
|
||||
padding: 0 8px;
|
||||
//padding: 0 8px;
|
||||
button{
|
||||
@include wh(105px,39px);
|
||||
line-height: 39px;
|
||||
|
@ -33,41 +33,40 @@
|
||||
{{ item.name }}
|
||||
</div>
|
||||
</div>
|
||||
<div >
|
||||
<div class="content_wrap" v-for="(item,index) in orderList" :key="index">
|
||||
<div class="codeTxt common">
|
||||
<div class="leftStatus ">
|
||||
<span style="margin-right: 20px" class="orderCode">{{item.orderCode}}</span>
|
||||
<span class="carCode">{{ item.plateNumber }}</span>
|
||||
|
||||
<van-pull-refresh v-model="isLoading" @refresh="onRefresh">
|
||||
<div >
|
||||
<div class="content_wrap" v-for="(item,index) in orderList" :key="index">
|
||||
<div class="codeTxt common">
|
||||
<div class="leftStatus ">
|
||||
<span style="margin-right: 20px" class="orderCode">{{item.orderCode}}</span>
|
||||
<span class="carCode">{{ item.plateNumber }}</span>
|
||||
</div>
|
||||
<div class="rightBtn">
|
||||
<span class="serviceStatus">{{ item.taskStatus?.label }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightBtn">
|
||||
<span class="serviceStatus">{{ item.taskStatus?.label }}</span>
|
||||
<div class="line"></div>
|
||||
<div class="supplier">
|
||||
<span class="halfTxt">服务商:</span>
|
||||
<span class="allTxt">{{ item.supplierName }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="supplier">
|
||||
<span class="halfTxt">服务商:</span>
|
||||
<span class="allTxt">{{ item.supplierName }}</span>
|
||||
</div>
|
||||
<div class="status common">
|
||||
<div class="leftStatus" >
|
||||
<span class="halfTxt">审核状态:</span>
|
||||
<span class="allTxt">{{ item.accountStatus?.label }}</span>
|
||||
</div>
|
||||
<div class="rightBtn">
|
||||
<button class="btn" v-if="queryType == 1" @click="handleAccounting(item)">记账</button>
|
||||
<button class="btn" v-if="queryType == 3" @click="handleAccounting(item)">{{item.accountStatus.code == 3 ? '重新记账' : '记账'}}</button>
|
||||
<button class="btn" v-if="queryType == 5" @click="handleAccounting(item)">重新记账</button>
|
||||
<button class="btn" v-if="queryType == 7" @click="goPageDetail(item)">查看详情</button>
|
||||
<div class="status common">
|
||||
<div class="leftStatus" >
|
||||
<span class="halfTxt">审核状态:</span>
|
||||
<span class="allTxt">{{ item.accountStatus?.label }}</span>
|
||||
</div>
|
||||
<div class="rightBtn">
|
||||
<button class="btn" v-if="queryType == 1" @click="handleAccounting(item)">记账</button>
|
||||
<button class="btn" v-if="queryType == 3" @click="handleAccounting(item)">{{item.accountStatus.code == 3 ? '重新记账' : '记账'}}</button>
|
||||
<button class="btn" v-if="queryType == 5" @click="handleAccounting(item)">重新记账</button>
|
||||
<button class="btn" v-if="queryType == 7" @click="goPageDetail(item)">查看详情</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</van-pull-refresh>
|
||||
|
||||
</div>
|
||||
<!-- <div v-show="show" style="display: flex;justify-content: center;align-items: center; width: 100%; height: 80%;">-->
|
||||
<!-- <img src="@/assets/empty.png">-->
|
||||
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -91,7 +90,7 @@ export default {
|
||||
showDatetime: false,
|
||||
currentDate: new Date(),
|
||||
ymTime: '',
|
||||
recordIndex:'',
|
||||
isLoading:"",
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@ -102,6 +101,13 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
onRefresh() {
|
||||
this.getList()
|
||||
setTimeout(() => {
|
||||
this.$toast('刷新成功');
|
||||
this.isLoading = false;
|
||||
}, 1000);
|
||||
},
|
||||
initIndex(){
|
||||
if(this.activeIndex === 0){
|
||||
this.queryType = 1
|
||||
|
Reference in New Issue
Block a user