This commit is contained in:
bryan sun
2019-12-17 15:31:34 +08:00
9 changed files with 201 additions and 54 deletions

View File

@@ -12,3 +12,24 @@ export function search1(num1, num2, num3, num4, num5) {
}
})
}
export function search2(num1, num2, num3, num4, num5) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理工艺_金工工时统计_查询数据',
param: '操作者_check=' + num1 + '&姓名=' + num2 + '&时间_check=' + num3 + '&开始时间=' + num4 + '&结束时间=' + num5
}
})
}
export function searchPerson() {
return request({
url: '',
method: 'post',
data: {
type: '3',
name: `select distinct 姓名 from 车间生产管理工艺_工时查询_实际工时_视图 where 加工完成时间 is not null and 是否启用 = 1`
}
})
}

View File

@@ -1,7 +1,7 @@
import request from '@/utils/request'
// 查询询价单号
export function getBillNum(num) {
export function getBillNum() {
return request({
url: '',
method: 'post',

View File

@@ -134,6 +134,17 @@ export function deleteMateriel(num) {
}
})
}
// 查询离线合同编号
export function getBillNum() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_创建离线合同编号_查询数据'
}
})
}
// 使用库存
export function changeNum(num, num1, num2, num3, num4) {
return request({