fixed bug

This commit is contained in:
chenjianan
2019-05-25 14:14:53 +08:00
parent e59d3f8114
commit 139431e6fe
7 changed files with 767 additions and 352 deletions

View File

@@ -1,5 +1,59 @@
import request from '@/utils/request'
// 查询全部未询价的标准件和外购件
export function getExport1(num) {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: ` SELECT distinct
[项目名称]
,[机床图号]
,[组号]
,[姓名]
,[人员编号]
,[物料名称]
,[物料规格]
,[物料型号]
,[零件数量]
,[询价状态编号]
,[备注]
,[供货商]
,[使用滞货数量]
,[任务分配时间]
,[零件数量] - [使用滞货数量] as 待询价数量
FROM MRP_计划订单_组件零件清单_标准件和外购件_视图
where 询价状态编号 = 1 and 人员编号 = ${num}`
}
})
}
// 查询全部未询价的基本件
export function getExport2(num) {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: ` SELECT distinct [项目名称]
,[机床图号]
,[组号]
,[材料]
,[零件名称]
,[零件图号]
,[备注]
,[供货商]
,[规格]
,[零件数量] as 待询价数量
,[询价状态编号]
,[姓名]
,[人员编号]
,[任务分配时间]
FROM MRP_计划订单_组件零件清单_基本件_视图
where 询价状态编号 = 1 and 人员编号=${num}`
}
})
}
// 查询分配后的标准件和外购件
export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person, check4, val4, check5, val5, check6, val6) {
return request({