bugfix zentao

This commit is contained in:
lb
2023-10-08 09:30:43 +08:00
parent 80ad95be6e
commit b9e39dacf1
4 changed files with 12 additions and 11440 deletions

View File

@@ -302,7 +302,7 @@ export default {
});
this.list = data.map((item) => ({
...item,
products: item.products.join(','),
products: item.products?.join(','),
}));
},
@@ -312,7 +312,7 @@ export default {
case 'search':
this.queryParams.lineId = btn.lineId;
this.queryParams.productId = btn.productId;
this.queryParams.recordTime = btn.recordTime;
this.queryParams.recordTime = btn.recordTime ? btn.recordTime.map(time => moment(new Date(time)).format('YYYY-MM-DD HH:mm:ss')) : null;
this.$nextTick(() => {
this.getList();
});