56 lines
1.0 KiB
JavaScript
56 lines
1.0 KiB
JavaScript
/*
|
|
* @Author: zwq
|
|
* @Date: 2022-01-17 14:55:09
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2022-03-28 13:52:12
|
|
* @Description:
|
|
*/
|
|
|
|
import request from '@/utils/request'
|
|
|
|
export function ProcessInfoList(data) { // 获取工单列表
|
|
return request({
|
|
url: '/api/wms/work/order/page',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function ProcessInfoUpdata(data) { // 获取工单工艺列表
|
|
return request({
|
|
url: '/api/wms/work/order/update',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function ProcessInfoDetail(id) { // 获取工单工艺单条数据
|
|
const data = {
|
|
'id': id
|
|
}
|
|
return request({
|
|
url: '/api/wms/work/order/get',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function ExecutionInfoList(data) { // 获取工单执行列表
|
|
return request({
|
|
url: '/api/wms/work/order/execute/page',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function ExecutionInfoDetail(id) { // 获取工单执行单条数据
|
|
const data = {
|
|
'id': id
|
|
}
|
|
return request({
|
|
url: '/api/wms/work/order/execute/get',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|