This commit is contained in:
liushuai
2020-04-10 19:14:40 +08:00
parent c4f507b2c7
commit 178e5de410
14 changed files with 422 additions and 15 deletions

View File

@@ -148,7 +148,7 @@ export function selecttable(check1, value1, check2, value2, check3, value3, chec
type: '1',
name: '质检管理_质量情况_查询数据',
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 +
'&质检类型代码_check=' + check4 + '&质检类型代码=' + value4 + '&开始时间_check=' + check5 + '&开始时间=' + value5 + '&结束时间_check=' + check6 + '&结束时间=' + value6 + '&质检情况_check=' + check7 + '&质检情况=' + value7 + '&人员编号_check=' + check8 + '&人员编号=' + value8 + `8&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
'&质检类型代码_check=' + check4 + '&质检类型代码=' + value4 + '&开始时间_check=' + check5 + '&开始时间=' + value5 + '&结束时间_check=' + check6 + '&结束时间=' + value6 + '&质检情况_check=' + check7 + '&质检情况=' + value7 + '&人员编号_check=' + check8 + '&人员编号=' + value8 + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
}
})
}

View File

@@ -0,0 +1,57 @@
import request from '@/utils/request'
import state from '@/store'
import router from '@/router'
// 获取机床
export function searchMachine() {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: 'PDM_项目名称_查询数据'
}
})
}
// 获取不合格处理文本
export function searchProcessingResult() {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_不合格处理_查询数据'
}
})
}
// 质检管理_质量情况_查询数据
export function searchtable(check1, value1, check3, value3, check5, value5, value6, check8, value8, pageCurrent, pageSize) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '报废补投_车间补投_查询数据',
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&时间段_check=' + check5 + '&开始时间=' + value5 + '&结束时间=' + value6 + '&处理结果_check=' + check8 + '&处理结果=' + value8 + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
}
})
}
export function editSpare(CutCode, number, id) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '报废补投_提交报废_循环执行',
param: '工艺计划流水号组=' + CutCode + '&报废数量组=' + number + '&报废人=' + id
}
})
}

View File

@@ -30,7 +30,7 @@ export function searchContract(check, num1, num2) {
})
}
// 查询请款表
export function searchRequestFund(pageCurrent, pageSize, check1, start, end, check2, num, check3, id) {
export function searchRequestFund(pageCurrent, pageSize, check1, start, end, check2, num, check3) {
return request({
url: '',
method: 'post',
@@ -39,7 +39,7 @@ export function searchRequestFund(pageCurrent, pageSize, check1, start, end, che
ModularID: router.currentRoute.path,
type: '1',
name: '采购管理_采购合同_请款_查询数据',
param: `时间段_check=${check1}&开始时间=${start}&结束时间=${end}&供应商流水号_check=${check2}&供应商流水号=${num}&查询当前_check=${check3}&人员编号=${id}`,
param: `时间段_check=${check1}&开始时间=${start}&结束时间=${end}&供应商流水号_check=${check2}&供应商流水号=${num}&查询当前_check=${check3}`,
Pagination: pageCurrent + '&' + pageSize
}
})

View File

@@ -17,7 +17,7 @@ export function searchSupplier(check1, value1, check2, value2, check3, value3, c
})
}
// 创建采购单
export function addPurchaseOrder(PurchaseOrderName, supplier) {
export function addPurchaseOrder(PurchaseOrderName, supplier, id) {
return request({
url: '',
method: 'post',
@@ -26,7 +26,7 @@ export function addPurchaseOrder(PurchaseOrderName, supplier) {
ModularID: router.currentRoute.path,
type: '2',
name: '备料管理_离线采购计划_增加数据',
param: `离线采购计划名称=${PurchaseOrderName}&供应商=${supplier}`
param: `离线采购计划名称=${PurchaseOrderName}&供应商=${supplier}&采购员=${id}`
}
})
}