组件状态查询

This commit is contained in:
zhangdingyu
2019-12-09 14:58:04 +08:00
parent 3b915a03ad
commit cc94372fbe
5 changed files with 305 additions and 44 deletions

View File

@@ -11,6 +11,18 @@ export function getMachines() {
}
})
}
// 机床名称
export function getMachinesStatue(num) {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: ` select COUNT(*) as 是否发货 from [发货管理_发货单明细] left join [发货管理_发货单]
on [发货管理_发货单].发货单流水号 = [发货管理_发货单明细].发货单流水号 where 机床流水号 = ${num}`
}
})
}
// 获取组号
export function getGroups(stepNumber) {
return request({
@@ -18,8 +30,8 @@ export function getGroups(stepNumber) {
method: 'post',
data: {
type: '1',
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
param: '机床流水号=' + stepNumber + '=int'
name: '车间生产管理工艺_组件状态查询_查询所有组',
param: '机床流水号=' + stepNumber
}
})
}