59 lines
1.2 KiB
JavaScript
59 lines
1.2 KiB
JavaScript
/*
|
|
* @Author: zwq
|
|
* @Date: 2020-12-29 16:00:14
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2021-03-30 18:34:26
|
|
* @Description:
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
export function substrateBatchAttrList(data) { // 获取基板批次列表
|
|
return request({
|
|
url: '/order/sub-batch-info-attr/page',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function substrateBatchAttrDetail(id) { // 获取基板批次单条数据
|
|
const data = {
|
|
'id': id
|
|
}
|
|
return request({
|
|
url: '/order/sub-batch-info-attr/get',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function substrateBatchAttrUpdate(data) { // 更新基板批次单条数据
|
|
return request({
|
|
url: '/order/sub-batch-info-attr/update',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function substrateBatchAttrAdd(data) { // 新增基板批次单条数据
|
|
return request({
|
|
url: '/order/sub-batch-info-attr/add',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function substrateBatchAttrCode() { // 获取基板批次code
|
|
return request({
|
|
url: '/order/sub-batch-info-attr/get-code',
|
|
method: 'post'
|
|
})
|
|
}
|
|
|
|
export function substrateBatchAttrDelete(id) { // 删除基板批次单条数据
|
|
return request({
|
|
url: '/order/sub-batch-info-attr/delete',
|
|
method: 'post',
|
|
data: { id }
|
|
})
|
|
}
|