质检修改——20190602

This commit is contained in:
jiangfuzhuang
2019-06-02 15:00:14 +08:00
parent 72267ae710
commit 5711aeb852
8 changed files with 190 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ export function QualityType() {
method: 'post',
data: {
type: '1',
name: '质管理_质检类型_查询数据'
name: '质管理_质检类型_查询数据'
}
})
}
@@ -41,7 +41,7 @@ export function selecttable(check1, value1, check2, value2, check3, value3, chec
method: 'post',
data: {
type: '1',
name: '质管理_质量情况_查询数据',
name: '质管理_质量情况_查询数据',
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4,
Pagination: pageCurrent + '&' + pageSize
}

View File

@@ -0,0 +1,38 @@
import request from '@/utils/request'
// 初始化机床项目
export function initProject() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_项目名称_查询数据'
}
})
}
// PDM_机床名称_发货状态_查询数据
export function selecttable(check2, machineNumberValue) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_机床名称_发货状态_查询数据',
param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue
}
})
}
// PDM_机床名称_发货状态_编辑数据
export function updatestate(machineNumberValue, state, attention) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_机床名称_发货审批_编辑数据',
param: '机床流水号=' + machineNumberValue + '&发货状态=' + state + '&注意事项=' + attention
}
})
}