添加揽件员和账单发生时间筛选条件

This commit is contained in:
刘华勇 2025-06-11 16:45:56 +08:00
parent 293cf8ec3b
commit 794138877d
2 changed files with 10 additions and 2 deletions

View File

@ -36,6 +36,9 @@
<!--工具栏-->
<div class="head-container">
<!-- 搜索 -->
<el-date-picker v-model="query.date" type="daterange" range-separator=":"
class="el-range-editor--small filter-item" style="height: 30.5px;width: 220px" value-format="yyyy-MM-dd"
start-placeholder="开始日期" end-placeholder="结束日期" />
<el-input v-model="query.value" clearable placeholder="输入搜索内容" style="width: 200px;" class="filter-item" @keyup.enter.native="toQuery"/>
<el-select v-model="query.type" clearable placeholder="类型" class="filter-item" style="width: 130px">
<el-option v-for="item in queryTypeOptions" :key="item.key" :label="item.display_name" :value="item.key"/>
@ -59,7 +62,7 @@
class="filter-item"
type="primary"
icon="el-icon-plus"
@click="handleImport">导入件明细</el-button>
@click="handleImport">导入退件明细</el-button>
</div>
<!-- 导出 -->
<div style="display: inline-block;">
@ -219,6 +222,10 @@ export default {
const query = this.query
const type = query.type
const value = query.value
if (this.query.date) {
this.params['startTime'] = query.date[0]
this.params['endTime'] = query.date[1]
}
if (type && value) { this.params[type] = value }
return true
},

View File

@ -156,7 +156,8 @@ export default {
{ key: 'custName', display_name: '客户名称' },
{ key: 'custNo', display_name: '客户编号' },
{ key: 'receiveProvince', display_name: '收件省份' },
{ key: 'internalCalculationWeight', display_name: '大于内部计算重量' },
{ key: 'internalCalculationWeight', display_name: '大于内部计算重量' },
{ key: 'pickUpSalesman', display_name: '揽件员' },
]
}
},