@@ -204,6 +204,7 @@
<script>
import { getWarehouseList } from '@/api/classifyManage/itemInformation';
import warehouseDefinition from '@/api/warehouseManagement/warehouseDefinition';
+ import en from '@/i18n/lang/en';
export default {
data() {
// 默认表单数据
@@ -224,7 +225,8 @@
keyWord: '',
deptIds: '',
warehouseId: '',
- startTime: ''
+ startTime: '',
+ endTime: ''
};
return {
// 表单数据
@@ -307,7 +309,8 @@
},
/* 搜索 */
search() {
- console.log(this.current);
+ this.params.endTime = this.params.startTime;
+
this.$emit('search', {
...this.params
});