Commit 3ddf9bc0 authored by liuzeheng's avatar liuzeheng

到仓时间筛选

parent 7d209bf8
...@@ -93,6 +93,46 @@ ...@@ -93,6 +93,46 @@
clearable clearable
></dict-selector> ></dict-selector>
</el-form-item> </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-form-item>
<el-button <el-button
type="primary" type="primary"
...@@ -322,6 +362,9 @@ export default { ...@@ -322,6 +362,9 @@ export default {
return { return {
loading: false, // 是否加载中 loading: false, // 是否加载中
dateFilter: [], // 筛选时间 dateFilter: [], // 筛选时间
qingguanTime:[],
daogangTime:[],
ulWarehouseTime:[],
list: [], list: [],
total: 0, total: 0,
queryParams: { queryParams: {
...@@ -425,6 +468,11 @@ export default { ...@@ -425,6 +468,11 @@ export default {
destWarehouseIdList: this.queryParams.destWarehouseIdList.join(","), destWarehouseIdList: this.queryParams.destWarehouseIdList.join(","),
}; };
this.addBeginAndEndTime(params, this.dateFilter, "JsDate", false); 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) boxSettlementPage(params)
.then((response) => { .then((response) => {
...@@ -500,6 +548,12 @@ export default { ...@@ -500,6 +548,12 @@ export default {
this.exporting = true; this.exporting = true;
let params = { ...this.queryParams }; let params = { ...this.queryParams };
this.addBeginAndEndTime(params, this.dateFilter, "JsDate", false); 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) exportSettlementExcel(params)
.then((res) => { .then((res) => {
//this.$download.excel(res, 'shipment-summary.xls'); //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