This commit is contained in:
liushuai
2020-03-09 09:28:04 +08:00
parent 6714e10d90
commit 28177e7cd4
23 changed files with 1145 additions and 983 deletions

View File

@@ -3294,7 +3294,7 @@ export default {
name: `select 前几列.*,case when 完成时间 = '未完成' then '未完成' else convert(nvarchar(50),入库时间,21) end as 完成时间
from (SELECT 组号 ,组件名称,SUM(isnull(批次数量,0))as 投产数量,SUM(isnull(入库数量,0))as 入库数量,MAX(入库时间) as 入库时间
from 车间生产管理工艺_零件工艺计划_传递后_视图
where 机床流水号 = 89
where 机床流水号 = ${this.machineValue1}
group by 组号,组件名称) as 前几列
left join (SELECT 组号,'未完成' as 完成时间
from 车间生产管理工艺_零件工艺计划_传递后_视图