39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
import request from '@/utils/request'
|
||
|
||
// 初始化项目(车间传递来的)
|
||
export function initProject() {
|
||
return request({
|
||
url: '',
|
||
method: 'post',
|
||
data: {
|
||
type: '1',
|
||
name: 'PDM_项目名称_采购部采购_查询数据'
|
||
}
|
||
})
|
||
}
|
||
// 初始化采购员 考核部门编号:采购部16
|
||
export function initBuyer() {
|
||
return request({
|
||
url: '',
|
||
method: 'post',
|
||
data: {
|
||
type: '1',
|
||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||
param: '考核部门编号=16'
|
||
}
|
||
})
|
||
}
|
||
// 查询表1
|
||
export function searchTable1(pageCurrent, pageSize, check1, num1, check2, name, check3, num2, state) {
|
||
return request({
|
||
url: '',
|
||
method: 'post',
|
||
data: {
|
||
type: '1',
|
||
name: '采购管理_采购部采购_采购情况查询',
|
||
param: `项目流水号_check=${check1}&项目流水号=${num1}&物料名称_check=${check2}&物料名称=${name}&人员编号_check=${check3}&人员编号=${num2}&采购情况=${state}`,
|
||
Pagination: pageCurrent + '&' + pageSize
|
||
}
|
||
})
|
||
}
|