Merge branch 'master' of http://192.168.0.112:10010/r/高精2.0
This commit is contained in:
@@ -33,7 +33,6 @@ export function getPerson() {
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=9'
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export function searchTable(check, entryNameValue, check1, machine, check2, grou
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_状态_新',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_状态_新_MESWORK',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + entryNameValue + '&机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int&零件图号_check=' + check3 + '=int&零件图号=' + partNumber + '=string&考核状态_check=' + check4 + '=int&考核状态=' + partStateValue + '=int&单件是否外协_check=' + check5 + '=int&单件是否外协=' + partTypeValue + '=int',
|
||||
pagination: pageCurrent + '&' + pageSize
|
||||
}
|
||||
|
||||
26
src/api/PurchasingCenter/CreatePurchaseContract.js
Normal file
26
src/api/PurchasingCenter/CreatePurchaseContract.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询询价单列表 表1
|
||||
export function searchInquirySheet(check1, value1, check2, value2, check3, id) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '采购管理_询价单_查询数据',
|
||||
param: `供应商名称_check=${check1}&供应商名称=${value1}&询价单编号_check=${check2}&询价单编号=${value2}&采购员流水号_check=${check3}&采购员流水号=${id}`
|
||||
}
|
||||
})
|
||||
}
|
||||
// 根据询价单流水号查询物料详情
|
||||
export function searchSheetContract(num1) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '采购管理_询价单明细_查询数据_根据询价单',
|
||||
param: '询价单流水号=' + num1
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -1,5 +1,28 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 物料类别
|
||||
export function initMaterialCategory(check, DepartmentValue) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '库存管理_物料类别编号_查询数据_根据物料部门编号',
|
||||
param: '物料部门流水号_check=' + check + '=int&物料部门流水号=' + DepartmentValue
|
||||
}
|
||||
})
|
||||
}
|
||||
// 物料品种
|
||||
export function initMaterialVariety(MaterialCategoryValue) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '库存管理_物料品种编号_查询数据',
|
||||
param: '物料类别流水号=' + MaterialCategoryValue
|
||||
}
|
||||
})
|
||||
}
|
||||
// 初始化项目(车间传递来的)
|
||||
export function initProject() {
|
||||
return request({
|
||||
@@ -24,15 +47,15 @@ export function initBuyer() {
|
||||
})
|
||||
}
|
||||
// 查询表1
|
||||
export function searchTable1(pageCurrent, pageSize, check1, num1, check2, name, state) {
|
||||
export function searchTable1(...params) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '采购管理_采购部采购_查询物料',
|
||||
param: `项目流水号_check=${check1}&项目流水号=${num1}&物料名称_check=${check2}&物料名称=${name}&分配状态=${state}`,
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
param: `物料类别流水号_check=${params[2]}&物料类别流水号=${params[3]}&物料品种流水号_check=${params[4]}&物料品种流水号=${params[5]}&项目流水号_check=${params[6]}&项目流水号=${params[7]}&物料名称_check=${params[8]}&物料名称=${params[9]}&分配状态=${params[10]}`,
|
||||
Pagination: params[0] + '&' + params[1]
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user