This commit is contained in:
zhangdingyu
2019-06-03 13:38:03 +08:00
29 changed files with 998 additions and 95 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
}
})
}

View File

@@ -84,7 +84,7 @@ export function dropList(num) {
}
})
}
// 选入领料单
// 查询领料单明细
export function searchListDetail(...params) {
return request({
url: '',

View File

@@ -0,0 +1,85 @@
import request from '@/utils/request'
// 初始化人员
export function initPickPerson() {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: 'select 姓名,人员编号 from 人事档案管理_人员名单 where 是否离职 = 0'
}
})
}
// 初始化机床项目
export function initMachineProject() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_项目名称_查询数据'
}
})
}
// 组件查询
export function searchgroup(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_组件名称_查询数据',
param: '机床流水号=' + num
}
})
}
// 领料单查询
export function searchList(pageCurrent, pageSize, listNumber_check, listNumber) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间装配管理_领料单_查询数据',
param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 查询领料单明细
export function searchListDetail(...params) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间装配管理_领料单明细_查询数据',
param: `领料单流水号=${params[0]}`
}
})
}
// 查看领料单明细相关的物料货位数量
export function searchStockNumber(...params) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '库存管理_物料出库_标准件和外购件_查询数据',
param: `物料流水号=${params[0]}`
}
})
}
// 出库
export function submitOutStore(...params) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '库存管理_物料出库_出库记录_增加数据',
param: `出库数量=${params[0]}&出库人流水号=${params[1]}&基本件流水号=${params[2]}&标准件和外购件流水号=${params[3]}`
}
})
}

View File

@@ -400,3 +400,36 @@ export function getMachineNames(num) {
}
})
}
export function machineSelect(projectValue) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_机床名称_查询数据2',
param: `项目流水号=${projectValue}`
}
})
}
export function getFileData(MachineDrawValue) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_机床总图_查询数据',
param: `机床流水号=${MachineDrawValue}`
}
})
}
export function deleteFileData(id) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: 'PDM_机床总图_删除数据',
param: `文件标识=${id}`
}
})
}