This commit is contained in:
linfso 2024-12-17 10:34:05 +08:00
parent 913ac3a95f
commit cf67862dba
2 changed files with 84 additions and 7 deletions

View File

@ -131,6 +131,8 @@
</CardWithHeader> </CardWithHeader>
<CardWithHeader header="快捷方式" height="136px" > <CardWithHeader header="快捷方式" height="136px" >
<template v-slot:body> <template v-slot:body>
<div style="display: flex;justify-content: flex-start;flex-flow:row wrap "> <div style="display: flex;justify-content: flex-start;flex-flow:row wrap ">
@ -142,6 +144,52 @@
</template> </template>
</CardWithHeader> </CardWithHeader>
<!-- <CardWithHeader header="运单统计" height="146px" >
<template v-slot:body>
<div class="h-overview">
<el-row>
<el-col :span="4" style=" border-right: 1px solid #ebebeb;">
<div class="count">
<span @click="goRouter('/websites')">{{ emisOrderState.issueCount }}</span>
</div>
<div class="title" style="color:red">异常件</div>
</el-col>
<el-col :span="4">
<div class="count">
<span @click="goRouter('/websites')">{{ emisOrderState.totalCount }}</span>
</div>
<div class="title">总订单量</div>
</el-col>
<el-col :span="3">
<div class="count">
<span @click="goRouter('/websites')">{{ emisOrderState.waitGotCount }}</span>
</div>
<div class="title">待接单</div>
</el-col>
<el-col :span="3">
<div class="count">
<span @click="goRouter('/websites')">{{ emisOrderState.transCount }}</span>
</div>
<div class="title">运输中</div>
</el-col>
<el-col :span="3">
<div class="count">
<span @click="goRouter('/websites')">{{ emisOrderState.dispatchCount }}</span>
</div>
<div class="title">派送中</div>
</el-col>
<el-col :span="4">
<div class="count">
<span @click="goRouter('/websites')">{{ emisOrderState.signCount }}</span>
</div>
<div class="title">已签收</div>
</el-col>
</el-row>
</div>
</template>
</CardWithHeader> -->
<!-- <CardWithHeader header="待办提醒" height="146px"> <!-- <CardWithHeader header="待办提醒" height="146px">
<template v-slot:body> <template v-slot:body>
<QuickLink ></QuickLink> <QuickLink ></QuickLink>
@ -345,6 +393,19 @@ export default {
xAxisData:[], xAxisData:[],
orderStateData:[] orderStateData:[]
}, },
emisOrderState:{
dispatchCount: 0,
issueCount:0,
signCount:0,
totalCount:0,
transCount:0,
waitGotCount:0
},
emisBillFeeState:{
totalRecMoney:0,
totalRecedMoney:0,
waitPayMoney:0
},
lineChartData: lineChartData.newVisitis, lineChartData: lineChartData.newVisitis,
quickActionList:[], quickActionList:[],
queryStatInfoMap:null, queryStatInfoMap:null,

View File

@ -370,15 +370,31 @@ export default {
/** 查询TMS组批次列表 */ /** 查询TMS组批次列表 */
getList() { getList() {
this.loading = true; this.loading = true;
if(this.queryOrderType=='1'){
this.queryParams.params.billCode=this.queryParams.queryKey; let rqParams = {...this.queryParams};
this.queryParams.batchNo=null;
if(this.queryParams.queryKey){
rqParams={
pageNum: this.queryParams.pageNum,
pageSize: this.queryParams.pageSize,
queryKey:null,
params:{
billCode:null,
batchNo:null
}
};
if(this.queryOrderType=='1'){
rqParams.params.billCode=this.queryParams.queryKey;
rqParams.batchNo=null;
}else{
rqParams.batchNo=this.queryParams.queryKey;
rqParams.params.billCode=null;
}
}else{ }else{
this.queryParams.batchNo=this.queryParams.queryKey; rqParams=this.addDateRange(rqParams, this.dateTimeRange,"createTime");
this.queryParams.params.billCode=null;
} }
this.queryParams=this.addDateRange(this.queryParams, this.dateTimeRange,"createTime"); listEmisTmsSiteBatch(rqParams).then(response => {
listEmisTmsSiteBatch(this.queryParams).then(response => {
this.emisTmsBatchList = response.rows; this.emisTmsBatchList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;