This commit is contained in:
linfso 2024-06-03 08:39:49 +08:00
commit e905c50b62

View File

@ -92,7 +92,9 @@
</template>
</el-table-column>
<el-table-column :label="$t('派件员')" align="center" prop="dispatchOrSendMan" min-width="100">
{{ scope.row.waybillDetail.dispatchManName }}
<template slot-scope="scope">
<span></span>{{ scope.row.waybillDetail.dispatchManName }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('寄件日期')" align="center" prop="sendDate" min-width="170" >
<template slot-scope="scope">
@ -270,12 +272,25 @@ export default {
};
},
created() {
// const end = new Date()
// const start = new Date()
// start.setHours(0,0,0,0)
// end.setHours(23,59,59,0)
// this.dateTimeRange=[start,end];
this.$nextTick(function() {
let queryFormEl = this.$refs.queryForm.$el;
let tableH = queryFormEl.offsetHeight+190;
this.tableHeight = window.innerHeight - tableH;
});
},
mounted() {
const end = new Date()
const start = new Date()
start.setHours(0,0,0,0)
end.setHours(23,59,59,0)
this.dateTimeRange=[start,end];
},
methods: {
/** 查询扫描记录列表 */
getList() {