Commit 71a9e8be authored by 我在何方's avatar 我在何方

异常订单样式优化

parent 65037cf5
...@@ -112,30 +112,34 @@ ...@@ -112,30 +112,34 @@
<!-- 操作工具栏 --> <!-- 操作工具栏 -->
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="4"> <el-col :span="1.5">
<el-button type="primary" size="mini" @click="exportSearch" v-hasPermi="['ecw:exception:export']">导出</el-button> <el-button type="primary" size="mini" @click="exportSearch" v-hasPermi="['ecw:exception:export']">导出</el-button>
</el-col> </el-col>
<el-col :span="16"> <el-col :span="17.5">
<el-descriptions :column="4"> <div class="total" v-if="totalData">
<el-descriptions-item :label="$t('箱数')"> <div :label="$t('箱数')">
<div>{{$t('箱数')}}:</div>
<span v-if="totalData.totalNum">{{totalData.totalNum+$t('')}}</span> <span v-if="totalData.totalNum">{{totalData.totalNum+$t('')}}</span>
<span v-else></span> <span v-else></span>
</el-descriptions-item> </div>
<el-descriptions-item :label="$t('测量方数汇总')"> <div>
<div>{{$t('测量方数汇总')}}:</div>
<span v-if="totalData.totalVolume">{{totalData.totalVolume}}</span> <span v-if="totalData.totalVolume">{{totalData.totalVolume}}</span>
<span v-else></span> <span v-else></span>
</el-descriptions-item> </div>
<el-descriptions-item :label="$t('收费方数汇总')"> <div>
<div>{{$t('收费方数汇总')}}:</div>
<span v-if="totalData.totalChargeVolume">{{totalData.totalChargeVolume}}</span> <span v-if="totalData.totalChargeVolume">{{totalData.totalChargeVolume}}</span>
<span v-else></span> <span v-else></span>
</el-descriptions-item> </div>
<el-descriptions-item :label="$t('重量汇总')"> <div>
<div>{{$t('重量汇总')}}:</div>
<span v-if="totalData.totalWeight">{{totalData.totalWeight}}KG</span> <span v-if="totalData.totalWeight">{{totalData.totalWeight}}KG</span>
<span v-else></span> <span v-else></span>
</el-descriptions-item> </div>
</el-descriptions> </div>
</el-col> </el-col>
<el-col :span="4"><right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar></el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
<!-- 列表 --> <!-- 列表 -->
...@@ -389,3 +393,15 @@ export default { ...@@ -389,3 +393,15 @@ export default {
} }
} }
</script> </script>
<style scoped>
.total{
display:flex;
align-items: center;
}
.total div{
margin-right:10px;
font-size:14px;
display:flex;
align-items: center;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment