This commit is contained in:
liushuai
2020-03-21 17:10:21 +08:00
parent 3c554e5909
commit e314062d42
23 changed files with 473 additions and 793 deletions

View File

@@ -96,7 +96,7 @@ export function searchTable1(PurchaseOrder, check4) {
}
})
}
export function addData(num1, num2, id, time, remarks) {
export function addData(num1, num2, id, remarks) {
return request({
url: '',
method: 'post',
@@ -105,11 +105,11 @@ export function addData(num1, num2, id, time, remarks) {
ModularID: router.currentRoute.path,
type: '2',
name: '车间管理_基本件采购_请购单_增加数据',
param: '请购车间=' + num1 + '&请购人=' + num2 + '&人员编号=' + id + '&请购时间=' + time + '&备注=' + remarks
param: '请购车间=' + num1 + '&请购人=' + num2 + '&人员编号=' + id + '&备注=' + remarks
}
})
}
export function editData(RequisitionList, num1, time) {
export function editData(RequisitionList, num1) {
return request({
url: '',
method: 'post',
@@ -118,7 +118,7 @@ export function editData(RequisitionList, num1, time) {
ModularID: router.currentRoute.path,
type: '2',
name: '车间管理_基本件采购_请购单_编辑数据',
param: '请购单流水号=' + RequisitionList + '&请购车间=' + num1 + '&请购时间=' + time
param: '请购单流水号=' + RequisitionList + '&请购车间=' + num1
}
})
}

View File

@@ -89,7 +89,7 @@ export function initMaterialSource() {
}
})
}
export function searchmaterial(check1, MaterialName, check2, FullNameOfMaterial, check3, MaterialSpecification, check4, MaterialModel, pageCurrent, pageSize, check5, MaterialCategoryValue, check6, MaterialVarietyValue, check7, MeasurementUnitValue, check8, MaterialSourceValue, check9, supplierValue) {
export function searchmaterial(check1, MaterialName, check2, FullNameOfMaterial, check3, MaterialSpecification, check4, MaterialModel, pageCurrent, pageSize, check5, MaterialCategoryValue, check6, MaterialVarietyValue, check7, MeasurementUnitValue, check8, MaterialSourceValue, check9, supplierValue, check, dateRange0, dateRange1) {
return request({
url: '',
method: 'post',
@@ -98,7 +98,7 @@ export function searchmaterial(check1, MaterialName, check2, FullNameOfMaterial,
ModularID: router.currentRoute.path,
type: '1',
name: '库存管理_物料主文件_基本_采购部_查询数据_分页',
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'
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 + '&时间_check=' + check + '&开始时间=' + dateRange0 + '&结束时间=' + dateRange1 + '&PageCurrent=' + pageCurrent + '=int&PageSize=' + pageSize + '=int&PageCount=1=int=output&ItemCount=1=int=output'
}
})
}
@@ -116,7 +116,7 @@ export function getSupplier(check, num, pageCurrent, pageSize) {
}
})
}
export function addData(MaterialVariety, MaterialName, FullNameOfMaterial, MaterialSpecification, MaterialModel, MeasurementUnitValue, MaterialSourceValue, supplierValue1) {
export function addData(MaterialVariety, MaterialName, FullNameOfMaterial, MaterialSpecification, MaterialModel, MeasurementUnitValue, MaterialSourceValue, supplierValue1, id) {
return request({
url: '',
method: 'post',
@@ -125,7 +125,7 @@ export function addData(MaterialVariety, MaterialName, FullNameOfMaterial, Mater
ModularID: router.currentRoute.path,
type: '2',
name: '库存管理_物料主文件_基本_采购部_增加数据',
param: '物料品种流水号=' + MaterialVariety + '&物料名称\\=' + MaterialName + '&物料全名\\=' + FullNameOfMaterial + '&物料规格\\=' + MaterialSpecification + '&物料型号\\=' + MaterialModel + '&计量单位流水号=' + MeasurementUnitValue + '&物料来源流水号=' + MaterialSourceValue + '&供货商流水号=' + supplierValue1
param: '物料品种流水号=' + MaterialVariety + '&物料名称\\=' + MaterialName + '&物料全名\\=' + FullNameOfMaterial + '&物料规格\\=' + MaterialSpecification + '&物料型号\\=' + MaterialModel + '&计量单位流水号=' + MeasurementUnitValue + '&物料来源流水号=' + MaterialSourceValue + '&供货商流水号=' + supplierValue1 + '&申请人=' + id
}
})
}

View File

@@ -3,7 +3,7 @@ import state from '@/store'
import router from '@/router'
// 查询离线合同
export function searchOfflineContract(pageCurrent, pageSize, check1, num, check2, name) {
export function searchOfflineContract(pageCurrent, pageSize, check1, num, check2, name, order, partName, check3, dateRange0, dateRange1) {
return request({
url: '',
method: 'post',
@@ -12,7 +12,7 @@ export function searchOfflineContract(pageCurrent, pageSize, check1, num, check2
ModularID: router.currentRoute.path,
type: '1',
name: '采购管理_离线合同_查询数据',
param: `离线合同编号_check=${check1}&离线合同编号=${num}&供应商名称_check=${check2}&供应商名称=${name}&是否不包含编辑中=1`,
param: `离线合同编号_check=${check1}&离线合同编号=${num}&供应商名称_check=${check2}&供应商名称=${name}&排序方式=${order}&排序名称=${partName}&时间_check=${check3}&开始时间=${dateRange0}&结束时间=${dateRange1}&是否不包含编辑中=1`,
Pagination: pageCurrent + '&' + pageSize
}
})