物料管理

This commit is contained in:
zhangdingyu
2019-10-12 16:35:29 +08:00
parent 214796a549
commit fee437d2d5
5 changed files with 1115 additions and 7 deletions

View File

@@ -216,3 +216,46 @@ export function deleteVariety(MaterialVarietyNum) {
}
})
}
export function getMaterial() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '库存管理_物料主文件_基本_采购部_查询未审核数量'
}
})
}
export function searchmateria5(check1, MaterialName, check2, FullNameOfMaterial, check3, MaterialSpecification, check4, MaterialModel, pageCurrent, pageSize, check5, MaterialCategoryValue, check6, MaterialVarietyValue, check7, MeasurementUnitValue, check8, MaterialSourceValue, check9, supplierValue) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '库存管理_物料主文件_基本_采购部_查询数据_分页1',
param: '物料流水号_check=0&物料代码_check=0&物料名称_check=' + check1 + '=int&物料名称=' + MaterialName + '&物料全名_check=' + check2 + '=int&物料全名=' + FullNameOfMaterial + '&物料规格_check=' + check3 + '=int&物料规格=' + MaterialSpecification + '&物料型号_check=' + check4 + '=int&物料型号=' + MaterialModel + '&物料类别流水号_check=' + check5 + '=int&物料类别流水号=' + MaterialCategoryValue + '&物料品种流水号_check=' + check6 + '=int&物料品种流水号=' + MaterialVarietyValue + '&供货商流水号_check=' + check9 + '&供货商流水号=' + supplierValue + '&计量单位流水号_check=' + check7 + '&计量单位流水号=' + MeasurementUnitValue + '&物料来源流水号_check=' + check8 + '&物料来源流水号=' + MaterialSourceValue + '&PageCurrent=' + pageCurrent + '=int&PageSize=' + pageSize + '=int&PageCount=1=int=output&ItemCount=1=int=output'
}
})
}
export function Dahui(num, num1) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '库存管理_物料主文件_基本_采购部_打回',
param: '物料流水号=' + num + '&打回原因=' + num1
}
})
}
export function Tongguo(num) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '库存管理_物料主文件_基本_采购部_通过',
param: '物料流水号=' + num
}
})
}