This commit is contained in:
liushuai
2020-04-07 19:13:40 +08:00
parent a0474aaf33
commit 193dd7ece6
22 changed files with 865 additions and 330 deletions

View File

@@ -115,7 +115,7 @@ export function alldelete(basicNum) {
ModularID: router.currentRoute.path,
type: '2',
name: 'PDM_零件明细表_基本件_删除数据_根据组件流水号',
param: `件流水号=${basicNum}`
param: `基本件流水号=${basicNum}`
}
})
}
@@ -193,7 +193,7 @@ export function alldeleteWB(num) {
ModularID: router.currentRoute.path,
type: '2',
name: 'PDM_零件明细表_标准件和外购件_删除数据_根据组件流水号',
param: '件流水号=' + num + '=int'
param: '标准件和外购件流水号=' + num
}
})
}

View File

@@ -2,7 +2,7 @@ import request from '@/utils/request'
import state from '@/store'
import router from '@/router'
export function searchTable(check, dateRange0, dateRange1, pageCurrent, pageSize) {
export function searchTable(check, dateRange0, dateRange1, order, partName, pageCurrent, pageSize) {
return request({
url: '',
method: 'post',
@@ -11,7 +11,7 @@ export function searchTable(check, dateRange0, dateRange1, pageCurrent, pageSize
ModularID: router.currentRoute.path,
type: '1',
name: 'ANDON监控_查询',
param: `日期_check=${check}&开始时间=${dateRange0}&结束时间=${dateRange1}`,
param: `日期_check=${check}&开始时间=${dateRange0}&结束时间=${dateRange1}&排序方式=${order}&排序名称=${partName}`,
Pagination: pageCurrent + '&' + pageSize
}
})

View File

@@ -0,0 +1,33 @@
import request from '@/utils/request'
import state from '@/store'
import router from '@/router'
// 质检管理_质量情况_查询数据
export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, check7, value7, check8, value8, check9, value9, pageCurrent, pageSize) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_质量情况_金工_查询数据',
param: '机床流水号_check=0&机床流水号=' + value1 + '&组件流水号_check=0&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 +
'&质检类型代码_check=1&质检类型代码=10&开始时间_check=' + check5 + '&开始时间=' + value5 + '&结束时间_check=' + check6 + '&结束时间=' + value6 + '&质检情况_check=' + check7 + '&质检情况=' + value7 + '&人员编号_check=0&人员编号=' + value8 + '&处理结果_check=' + check9 + '&处理结果=' + value9 + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
}
})
}
// 质检管理_质量情况_查询数据
export function getprocessingresult() {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_不合格处理_查询数据'
}
})
}

View File

@@ -32,7 +32,7 @@ export function searchInventoryNum(pageCurrent, pageSize, check1, val1, check2,
})
}
// 查询离线合同
export function searchOfflineContract(pageCurrent, pageSize, check1, num, check2, name) {
export function searchOfflineContract(pageCurrent, pageSize, check1, num, check2, name, id) {
return request({
url: '',
method: 'post',
@@ -41,7 +41,7 @@ export function searchOfflineContract(pageCurrent, pageSize, check1, num, check2
ModularID: router.currentRoute.path,
type: '1',
name: '采购管理_离线合同_查询数据_新',
param: `离线合同编号_check=${check1}&离线合同编号=${num}&供应商名称_check=${check2}&供应商名称=${name}`,
param: `离线合同编号_check=${check1}&离线合同编号=${num}&供应商名称_check=${check2}&供应商名称=${name}&人员编号=${id}`,
Pagination: pageCurrent + '&' + pageSize
}
})

View File

@@ -30,7 +30,7 @@ export function searchContract(check, num1, num2) {
})
}
// 查询请款表
export function searchRequestFund(pageCurrent, pageSize, check1, start, end, check2, num, check3) {
export function searchRequestFund(pageCurrent, pageSize, check1, start, end, check2, num, check3, id) {
return request({
url: '',
method: 'post',
@@ -39,7 +39,7 @@ export function searchRequestFund(pageCurrent, pageSize, check1, start, end, che
ModularID: router.currentRoute.path,
type: '1',
name: '采购管理_采购合同_请款_查询数据',
param: `时间段_check=${check1}&开始时间=${start}&结束时间=${end}&供应商流水号_check=${check2}&供应商流水号=${num}&查询当前_check=${check3}`,
param: `时间段_check=${check1}&开始时间=${start}&结束时间=${end}&供应商流水号_check=${check2}&供应商流水号=${num}&查询当前_check=${check3}&人员编号=${id}`,
Pagination: pageCurrent + '&' + pageSize
}
})

View File

@@ -80,7 +80,7 @@ export function searchPurchaseContract(check, num) {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '车间采购管理_采购合同_查询数据',
name: '车间采购管理_采购合同_查询数据_请款',
param: `供应商流水号_check=${check}&供应商流水号=${num}`
}
})