diff --git a/src/api/quality/checkTypeProject.js b/src/api/quality/checkTypeProject.js new file mode 100644 index 0000000..69dc482 --- /dev/null +++ b/src/api/quality/checkTypeProject.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询物料检验项目维护列表 +export function listCheckTypeProject(query) { + return request({ + url: '/quality/checkTypeProject/list', + method: 'get', + params: query + }); +} + +// 查询物料检验项目维护详细 +export function getCheckTypeProject(id) { + return request({ + url: '/quality/checkTypeProject/' + id, + method: 'get' + }); +} + +// 新增物料检验项目维护 +export function addCheckTypeProject(data) { + return request({ + url: '/quality/checkTypeProject', + method: 'post', + data: data + }); +} + +// 修改物料检验项目维护 +export function updateCheckTypeProject(data) { + return request({ + url: '/quality/checkTypeProject', + method: 'put', + data: data + }); +} + +// 删除物料检验项目维护 +export function delCheckTypeProject(id) { + return request({ + url: '/quality/checkTypeProject/' + id, + method: 'delete' + }); +} diff --git a/src/api/quality/materialGroup.js b/src/api/quality/materialGroup.js new file mode 100644 index 0000000..0c63965 --- /dev/null +++ b/src/api/quality/materialGroup.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询物料组列表 +export function listMaterialGroup(query) { + return request({ + url: '/quality/materialGroup/list', + method: 'get', + params: query + }); +} + +// 查询物料树 +export function materialTreeSelect() { + return request({ + url: '/quality/materialGroup/materialTree', + method: 'get' + }); +} + +// 查询物料组详细 +export function getMaterialGroup(id) { + return request({ + url: '/quality/materialGroup/' + id, + method: 'get' + }); +} + +// 新增物料组 +export function addMaterialGroup(data) { + return request({ + url: '/quality/materialGroup', + method: 'post', + data: data + }); +} + +// 修改物料组 +export function updateMaterialGroup(data) { + return request({ + url: '/quality/materialGroup', + method: 'put', + data: data + }); +} + +// 删除物料组 +export function delMaterialGroup(id) { + return request({ + url: '/quality/materialGroup/' + id, + method: 'delete' + }); +} diff --git a/src/api/quality/materialGroupDetail.js b/src/api/quality/materialGroupDetail.js new file mode 100644 index 0000000..55d8053 --- /dev/null +++ b/src/api/quality/materialGroupDetail.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询物料组成员列表 +export function listMaterialGroupDetail(query) { + return request({ + url: '/quality/materialGroupDetail/list', + method: 'get', + params: query + }); +} + +// 查询物料组成员详细 +export function getMaterialGroupDetail(id) { + return request({ + url: '/quality/materialGroupDetail/' + id, + method: 'get' + }); +} + +// 新增物料组成员 +export function addMaterialGroupDetail(data) { + return request({ + url: '/quality/materialGroupDetail', + method: 'post', + data: data + }); +} + +// 修改物料组成员 +export function updateMaterialGroupDetail(data) { + return request({ + url: '/quality/materialGroupDetail', + method: 'put', + data: data + }); +} + +// 删除物料组成员 +export function delMaterialGroupDetail(id) { + return request({ + url: '/quality/materialGroupDetail/' + id, + method: 'delete' + }); +} diff --git a/src/views/device/deviceOrder/index.vue b/src/views/device/deviceOrder/index.vue index ff14620..432d910 100644 --- a/src/views/device/deviceOrder/index.vue +++ b/src/views/device/deviceOrder/index.vue @@ -312,7 +312,7 @@ {{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }} - + - + + +