This commit is contained in:
liushuai
2019-12-09 08:49:29 +08:00
parent 29d8adf8ec
commit 1cae8336dc
7 changed files with 414 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
import request from '@/utils/request'
// 获取零件工序信息(零件号表中)
export function getprocedure(processPlan, single) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理工艺_零件工序_查询数据_根据工艺计划流水号_工艺名称简称_新',
param: '工艺计划流水号=' + processPlan + '=int&单件是否外协=' + single + '=int'
}
})
}
// 查询外协零件
export function searchTable(check, supplierNameValue, check1, MaterialsValue, pageSize, pageCurrent) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理_外协零件_查询数据',
param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue,
Pagination: pageCurrent + '&' + pageSize
}
})
}

View File

@@ -0,0 +1,25 @@
import request from '@/utils/request'
export function getData(date1, date2) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_采购效率_查询数据_折线图',
param: '开始时间=' + date1 + '&结束时间=' + date2
}
})
}
export function getData1(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_采购效率分析_查询',
param: '采购合同流水号=' + num
}
})
}