外协任务执行

This commit is contained in:
caoxinyu
2019-06-24 15:12:19 +08:00
parent 5e18bfcc3a
commit 7c9161134c
4 changed files with 607 additions and 6 deletions

View File

@@ -0,0 +1,57 @@
import request from '@/utils/request'
export function SelectPart() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理工艺_零件工艺计划_查询数据_状态_新_MESWORK',
param: '项目流水号_check=' + arguments[0] + '&项目流水号=' + arguments[1] + '&机床流水号_check=' + arguments[2] + '&机床流水号=' + arguments[3] + '&组件流水号_check=' + arguments[4] + '&组件流水号=' + arguments[5] + '&零件图号_check=' + arguments[6] + '&零件图号=' + arguments[7] + '&考核状态_check=' + arguments[8] + '&考核状态=' + arguments[9] + '&单件是否外协_check=' + arguments[10] + '&单件是否外协=' + arguments[11] + '&时间=' + arguments[12] + '&机加工开始时间=' + arguments[13] + '&机加工结束时间=' + arguments[14] + '&零件类型=' + arguments[15] + '&工艺计划流水号=' + arguments[16]
}
})
}
export function getTable(stepNumber, a, b, c, d, e, f, g, i, j, k, l, m) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程',
param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=' + i + '=string&考核状态=6=int&开始时间_check=' + j + '&开始时间=' + k + '&结束时间_check=' + l + '&结束时间=' + m
}
})
}
export function SelectProcessingProgress() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理工艺_加工进度查询_查询',
param: '工艺计划流水号=' + arguments[0]
}
})
}
export function SelectPreparation() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '零件追溯_备料信息_查询数据',
param: '工艺计划流水号=' + arguments[0]
}
})
}
export function SelectOut() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '零件追溯_外协信息_查询数据',
param: '工艺计划流水号=' + arguments[0]
}
})
}