11-mes-new/src/api/orderManage/substrateBatch.js

59 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-11-07 08:45:49 +08:00
/*
* @Author: zwq
* @Date: 2020-12-29 16:00:14
* @LastEditors: zwq
* @LastEditTime: 2021-03-30 18:06:31
* @Description:
*/
import request from '@/utils/request'
export function substrateBatchList(data) { // 获取基板批次列表
return request({
url: '/order/substrate-batch-info/page',
method: 'post',
data
})
}
export function substrateBatchDetail(id) { // 获取基板批次单条数据
const data = {
'id': id
}
return request({
url: '/order/substrate-batch-info/get',
method: 'post',
data
})
}
export function substrateBatchUpdate(data) { // 更新基板批次单条数据
return request({
url: '/order/substrate-batch-info/update',
method: 'post',
data
})
}
export function substrateBatchAdd(data) { // 新增基板批次单条数据
return request({
url: '/order/substrate-batch-info/add',
method: 'post',
data
})
}
export function substrateBatchCode() { // 获取基板批次code
return request({
url: '/order/substrate-batch-info/get-code',
method: 'post'
})
}
export function substrateBatchDelete(id) { // 删除基板批次单条数据
return request({
url: '/order/substrate-batch-info/delete',
method: 'post',
data: { id }
})
}