45 lines
1.1 KiB
JavaScript
45 lines
1.1 KiB
JavaScript
|
|
import request from '@/utils/request'
|
||
|
|
|
||
|
|
// 查询金属材料室温拉伸试验样品明细列表
|
||
|
|
export function listInspectionTensileDetail(query) {
|
||
|
|
return request({
|
||
|
|
url: '/wms/inspectionTensileDetail/list',
|
||
|
|
method: 'get',
|
||
|
|
params: query
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 查询金属材料室温拉伸试验样品明细详细
|
||
|
|
export function getInspectionTensileDetail(detailId) {
|
||
|
|
return request({
|
||
|
|
url: '/wms/inspectionTensileDetail/' + detailId,
|
||
|
|
method: 'get'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 新增金属材料室温拉伸试验样品明细
|
||
|
|
export function addInspectionTensileDetail(data) {
|
||
|
|
return request({
|
||
|
|
url: '/wms/inspectionTensileDetail',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 修改金属材料室温拉伸试验样品明细
|
||
|
|
export function updateInspectionTensileDetail(data) {
|
||
|
|
return request({
|
||
|
|
url: '/wms/inspectionTensileDetail',
|
||
|
|
method: 'put',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 删除金属材料室温拉伸试验样品明细
|
||
|
|
export function delInspectionTensileDetail(detailId) {
|
||
|
|
return request({
|
||
|
|
url: '/wms/inspectionTensileDetail/' + detailId,
|
||
|
|
method: 'delete'
|
||
|
|
})
|
||
|
|
}
|