外协零件查询导出

This commit is contained in:
bryan sun
2019-12-17 15:31:28 +08:00
parent 7352294237
commit 413b6c03a0
5 changed files with 215 additions and 20 deletions

View File

@@ -13,15 +13,27 @@ export function getprocedure(processPlan, single) {
})
}
// 查询外协零件
export function searchTable(check, supplierNameValue, check1, MaterialsValue, pageSize, pageCurrent) {
export function searchTable(check, supplierNameValue, check1, MaterialsValue, check2, time1, time2, pageSize, pageCurrent) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理_外协零件_查询数据',
param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue,
param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue + '&时间_check=' + check2 + '&开始时间=' + time1 + '&结束时间=' + time2,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 查询外协零件
export function getExport(check, supplierNameValue, check1, MaterialsValue, check2, time1, time2, pageSize, pageCurrent) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理_外协零件_查询数据',
param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue + '&时间_check=' + check2 + '&开始时间=' + time1 + '&结束时间=' + time2
}
})
}

View File

@@ -30,7 +30,7 @@ export function searchTable1(...params) {
method: 'post',
data: {
type: '1',
name: '采购管理_采购部采购_查询物料_分配后_加供应商',
name: '采购管理_采购部采购_查询物料_分配后_加供应商_新',
param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&零件类型=${params[6]}&物料名称_check=${params[7]}&物料名称=${params[8]}&物料规格_check=${params[9]}&物料规格=${params[10]}&物料型号_check=${params[11]}&物料型号=${params[12]}`,
Pagination: params[4] + '&' + params[5]
}