更新
This commit is contained in:
@@ -28,6 +28,32 @@ export function QualityType() {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 初始化不合格原因
|
||||
export function initReasonsForNonconformity() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '质检管理_不合格原因_查询数据'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 初始化不合格处理
|
||||
export function initDisqualificationTreatment() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '质检管理_不合格处理_查询数据'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 初始化质检人员
|
||||
export function initPerson() {
|
||||
return request({
|
||||
@@ -55,6 +81,62 @@ export function searchgroup(num) {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 零件查询
|
||||
export function searchparts(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '质检管理_零件信息_查询数据',
|
||||
param: '组件流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 工序查询
|
||||
export function searchprocedure(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '质检管理_工序信息_查询数据',
|
||||
param: '工艺计划流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 操作工查询
|
||||
export function searchoperators(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_工序质检_查询人员数据_电脑端',
|
||||
param: '工序流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 新增序间检验
|
||||
export function submitTable(...param) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理_质检管理_不合格处理',
|
||||
param: `零部件流水号=${param[0]}&质检类型代码=${param[1]}&数量=${param[2]}&是否合格=${param[3]}&人员编号=${param[4]}&不合格数量=${param[5]}&不合格原因=${param[6]}&不合格处理=${param[7]}&备注=${param[8]}&操作工=${param[9]}`
|
||||
}
|
||||
})
|
||||
}
|
||||
// 质检管理_质量情况_查询数据
|
||||
export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, check7, value7, check8, value8, pageCurrent, pageSize) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user