This commit is contained in:
liushuai
2019-11-28 17:36:10 +08:00
parent f885648614
commit aca748c569
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ export function initSupplier11(num) {
type: '3',
name: ` SELECT distinct 供应商流水号,供应商名称
FROM 采购管理_询价单_视图
where not EXISTS (select * from 采购管理_采购合同_采购部 where 是否启用 = 1 and 是否未通过 is null and 询价单编号 = 采购合同编号) and 采购员流水号 = ${num}`
where not EXISTS (select * from 采购管理_采购合同_采购部 where 是否启用 = 1 and (是否未通过 is null or 是否未通过 <> 1) and 询价单编号 = 采购合同编号) and 采购员流水号 = ${num}`
}
})
}