Files
JY1.0/src/api/PurchasingCenter/ContractStateSearch.js
2018-11-14 09:22:04 +08:00

39 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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
}
})
}