Commit 3ddf9bc0 authored by liuzeheng's avatar liuzeheng

到仓时间筛选

parent 7d209bf8
......@@ -93,6 +93,46 @@
clearable
></dict-selector>
</el-form-item>
<el-form-item :label="$t('到港时间')" prop="daogangTime">
<el-date-picker
v-model="daogangTime"
type="datetimerange"
range-separator="-"
:start-placeholder="$t('开始日期')"
:end-placeholder="$t('结束日期')"
value-format="yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item>
<el-form-item :label="$t('卸柜/到仓时间')" prop="ulWarehouseTime">
<el-date-picker
v-model="ulWarehouseTime"
type="datetimerange"
range-separator="-"
:start-placeholder="$t('开始日期')"
:end-placeholder="$t('结束日期')"
value-format="yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item>
<el-form-item :label="$t('清关时间')" prop="qingguanTime">
<el-date-picker
v-model="qingguanTime"
type="datetimerange"
range-separator="-"
:start-placeholder="$t('开始日期')"
:end-placeholder="$t('结束日期')"
value-format="yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button
type="primary"
......@@ -322,6 +362,9 @@ export default {
return {
loading: false, // 是否加载中
dateFilter: [], // 筛选时间
qingguanTime:[],
daogangTime:[],
ulWarehouseTime:[],
list: [],
total: 0,
queryParams: {
......@@ -425,6 +468,11 @@ export default {
destWarehouseIdList: this.queryParams.destWarehouseIdList.join(","),
};
this.addBeginAndEndTime(params, this.dateFilter, "JsDate", false);
this.addBeginAndEndTime(params, this.ulWarehouseTime, "UlWarehouseTime", false);
this.addBeginAndEndTime(params, this.daogangTime, "DaogangTime", false);
this.addBeginAndEndTime(params, this.qingguanTime, "QingguanTime", false);
// 执行查询
boxSettlementPage(params)
.then((response) => {
......@@ -500,6 +548,12 @@ export default {
this.exporting = true;
let params = { ...this.queryParams };
this.addBeginAndEndTime(params, this.dateFilter, "JsDate", false);
this.addBeginAndEndTime(params, this.ulWarehouseTime, "UlWarehouseTime", false);
this.addBeginAndEndTime(params, this.daogangTime, "DaogangTime", false);
this.addBeginAndEndTime(params, this.qingguanTime, "QingguanTime", false);
exportSettlementExcel(params)
.then((res) => {
//this.$download.excel(res, 'shipment-summary.xls');
......
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