refactor(wms): add component names and fix export time query
1. 为多个wms页面组件添加name属性统一命名规范 2. 修复运单页面导出时间参数为空时的拼接报错问题
This commit is contained in:
@@ -1747,8 +1747,8 @@ export default {
|
||||
...this.queryParams,
|
||||
exportTimeBy: true,
|
||||
selectType: this.querys.materialType === '原料' ? 'raw_material' : 'product',
|
||||
startTime: this.queryParams.shipmentTime?.[0] + ' 00:00:00',
|
||||
endTime: this.queryParams.shipmentTime?.[1] + ' 23:59:59',
|
||||
startTime: this.queryParams.shipmentTime?.[0] && this.queryParams.shipmentTime?.[0] + ' 00:00:00',
|
||||
endTime: this.queryParams.shipmentTime?.[1] && this.queryParams.shipmentTime?.[1] + ' 23:59:59',
|
||||
}
|
||||
listBoundCoil(query).then(res => {
|
||||
this.materialCoilList = res.rows || [];
|
||||
|
||||
Reference in New Issue
Block a user