This commit is contained in:
bryan sun
2020-01-05 10:56:34 +08:00
10 changed files with 222 additions and 31 deletions

View File

@@ -35,7 +35,7 @@ export function initProcessNumber() {
}
})
}
// 获取组号
// 加序
export function addProcess(NUM, NUM1, NUM2, NUM3) {
return request({
url: '',
@@ -47,6 +47,18 @@ export function addProcess(NUM, NUM1, NUM2, NUM3) {
}
})
}
// 删除加序
export function deleteProcess(NUM) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间管理_自制件插序_删除数据',
param: 'ID=' + NUM
}
})
}
export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, checkbox_number, number, k, m, pageCurrent, pageSize) {
return request({
url: '',

View File

@@ -134,6 +134,18 @@ export function editList(num, a, b, c) {
}
})
}
// 编辑
export function EditNumber(num, num1) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间生产管理工艺_生产计划下达_修改投产数量',
param: '组件零件基本件流水号=' + num + '=int&数量=' + num1
}
})
}
// 打回档案
export function dele(num, a, b) {
return request({

View File

@@ -21,6 +21,16 @@ export function AddGonghuoshang(num) {
}
})
}
export function Add(num) {
return request({
url: '',
method: 'post',
data: {
type: '4',
name: `insert into dbo.库存管理_供货商 (供货商) VALUES(\'${num}\')`
}
})
}
export function initDepartmentName() {
return request({
url: '',
@@ -31,6 +41,17 @@ export function initDepartmentName() {
}
})
}
export function yanzheng(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '库存管理_供货商验证_查询数据',
param: '供货商=' + num
}
})
}
export function initMaterialCategory(check, DepartmentValue) {
return request({
url: '',