diff --git a/src/api/mes/prodInputScanInfo/index.ts b/src/api/mes/prodInputScanInfo/index.ts new file mode 100644 index 0000000..3d02dbd --- /dev/null +++ b/src/api/mes/prodInputScanInfo/index.ts @@ -0,0 +1,77 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { ProdInputScanInfoVO, ProdInputScanInfoForm, ProdInputScanInfoQuery } from '@/api/mes/prodInputScanInfo/types'; + +/** + * 查询生产投入扫描信息列表 + * @param query + * @returns {*} + */ + +export const listProdInputScanInfo = (query?: ProdInputScanInfoQuery): AxiosPromise => { + return request({ + url: '/mes/prodInputScanInfo/list', + method: 'get', + params: query + }); +}; + +/** + * 查询生产投入扫描信息详细 + * @param prodInputScanInfoId + */ +export const getProdInputScanInfo = (prodInputScanInfoId: string | number): AxiosPromise => { + return request({ + url: '/mes/prodInputScanInfo/' + prodInputScanInfoId, + method: 'get' + }); +}; + +/** + * 新增生产投入扫描信息 + * @param data + */ +export const addProdInputScanInfo = (data: ProdInputScanInfoForm) => { + return request({ + url: '/mes/prodInputScanInfo', + method: 'post', + data: data + }); +}; + +/** + * 修改生产投入扫描信息 + * @param data + */ +export const updateProdInputScanInfo = (data: ProdInputScanInfoForm) => { + return request({ + url: '/mes/prodInputScanInfo', + method: 'put', + data: data + }); +}; + +/** + * 删除生产投入扫描信息 + * @param prodInputScanInfoId + */ +export const delProdInputScanInfo = (prodInputScanInfoId: string | number | Array) => { + return request({ + url: '/mes/prodInputScanInfo/' + prodInputScanInfoId, + method: 'delete' + }); +}; + + +/** + * 下拉框查询生产投入扫描信息列表 + * @param query + * @returns {*} + */ +export function getProdInputScanInfoList (query) { + return request({ + url: '/mes/prodInputScanInfo/getProdInputScanInfoList', + method: 'get', + params: query + }); +}; diff --git a/src/api/mes/prodInputScanInfo/types.ts b/src/api/mes/prodInputScanInfo/types.ts new file mode 100644 index 0000000..615fabc --- /dev/null +++ b/src/api/mes/prodInputScanInfo/types.ts @@ -0,0 +1,161 @@ +export interface ProdInputScanInfoVO { + /** + * 主键标识 + */ + prodInputScanInfoId: string | number; + + /** + * 工序ID + */ + processId: string | number; + + /** + * 机台ID + */ + machineId: string | number; + + /** + * 硫化条码 + */ + vulcanizedBarcode: string; + + /** + * 胎胚条码 + */ + embryoBarcode: string; + + /** + * 生产工具 + */ + toolId: string | number; + + /** + * 物料ID + */ + materielId: string | number; + + /** + * 扫描结果 + */ + scanResult: string; + + /** + * 记录人名称 + */ + userName: string; + + /** + * 备注 + */ + remark: string; + +} + +export interface ProdInputScanInfoForm extends BaseEntity { + /** + * 主键标识 + */ + prodInputScanInfoId?: string | number; + + /** + * 工序ID + */ + processId?: string | number; + + /** + * 机台ID + */ + machineId?: string | number; + + /** + * 硫化条码 + */ + vulcanizedBarcode?: string; + + /** + * 胎胚条码 + */ + embryoBarcode?: string; + + /** + * 生产工具 + */ + toolId?: string | number; + + /** + * 物料ID + */ + materielId?: string | number; + + /** + * 扫描结果 + */ + scanResult?: string; + + /** + * 记录人名称 + */ + userName?: string; + + /** + * 备注 + */ + remark?: string; + +} + +export interface ProdInputScanInfoQuery extends PageQuery { + + /** + * 主键标识 + */ + prodInputScanInfoId?: string | number; + + /** + * 工序ID + */ + processId?: string | number; + + /** + * 机台ID + */ + machineId?: string | number; + + /** + * 硫化条码 + */ + vulcanizedBarcode?: string; + + /** + * 胎胚条码 + */ + embryoBarcode?: string; + + /** + * 生产工具 + */ + toolId?: string | number; + + /** + * 物料ID + */ + materielId?: string | number; + + /** + * 扫描结果 + */ + scanResult?: string; + + /** + * 记录人名称 + */ + userName?: string; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/api/mes/prodOutputScanInfo/index.ts b/src/api/mes/prodOutputScanInfo/index.ts new file mode 100644 index 0000000..fb89169 --- /dev/null +++ b/src/api/mes/prodOutputScanInfo/index.ts @@ -0,0 +1,77 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { ProdOutputScanInfoVO, ProdOutputScanInfoForm, ProdOutputScanInfoQuery } from '@/api/mes/prodOutputScanInfo/types'; + +/** + * 查询生产产出扫描信息列表 + * @param query + * @returns {*} + */ + +export const listProdOutputScanInfo = (query?: ProdOutputScanInfoQuery): AxiosPromise => { + return request({ + url: '/mes/prodOutputScanInfo/list', + method: 'get', + params: query + }); +}; + +/** + * 查询生产产出扫描信息详细 + * @param prodOutputScanInfoId + */ +export const getProdOutputScanInfo = (prodOutputScanInfoId: string | number): AxiosPromise => { + return request({ + url: '/mes/prodOutputScanInfo/' + prodOutputScanInfoId, + method: 'get' + }); +}; + +/** + * 新增生产产出扫描信息 + * @param data + */ +export const addProdOutputScanInfo = (data: ProdOutputScanInfoForm) => { + return request({ + url: '/mes/prodOutputScanInfo', + method: 'post', + data: data + }); +}; + +/** + * 修改生产产出扫描信息 + * @param data + */ +export const updateProdOutputScanInfo = (data: ProdOutputScanInfoForm) => { + return request({ + url: '/mes/prodOutputScanInfo', + method: 'put', + data: data + }); +}; + +/** + * 删除生产产出扫描信息 + * @param prodOutputScanInfoId + */ +export const delProdOutputScanInfo = (prodOutputScanInfoId: string | number | Array) => { + return request({ + url: '/mes/prodOutputScanInfo/' + prodOutputScanInfoId, + method: 'delete' + }); +}; + + +/** + * 下拉框查询生产产出扫描信息列表 + * @param query + * @returns {*} + */ +export function getProdOutputScanInfoList (query) { + return request({ + url: '/mes/prodOutputScanInfo/getProdOutputScanInfoList', + method: 'get', + params: query + }); +}; diff --git a/src/api/mes/prodOutputScanInfo/types.ts b/src/api/mes/prodOutputScanInfo/types.ts new file mode 100644 index 0000000..d75fd80 --- /dev/null +++ b/src/api/mes/prodOutputScanInfo/types.ts @@ -0,0 +1,146 @@ +export interface ProdOutputScanInfoVO { + /** + * 主键标识 + */ + prodOutputScanInfoId: string | number; + + /** + * 工序ID + */ + processId: string | number; + + /** + * 机台ID + */ + machineId: string | number; + + /** + * 胎胚条码 + */ + embryoBarcode: string; + + /** + * 工装ID + */ + toolingId: string | number; + + /** + * 物料ID + */ + materielId: string | number; + + /** + * 扫描结果 + */ + scanResult: string; + + /** + * 记录人名称 + */ + userName: string; + + /** + * 备注 + */ + remark: string; + +} + +export interface ProdOutputScanInfoForm extends BaseEntity { + /** + * 主键标识 + */ + prodOutputScanInfoId?: string | number; + + /** + * 工序ID + */ + processId?: string | number; + + /** + * 机台ID + */ + machineId?: string | number; + + /** + * 胎胚条码 + */ + embryoBarcode?: string; + + /** + * 工装ID + */ + toolingId?: string | number; + + /** + * 物料ID + */ + materielId?: string | number; + + /** + * 扫描结果 + */ + scanResult?: string; + + /** + * 记录人名称 + */ + userName?: string; + + /** + * 备注 + */ + remark?: string; + +} + +export interface ProdOutputScanInfoQuery extends PageQuery { + + /** + * 主键标识 + */ + prodOutputScanInfoId?: string | number; + + /** + * 工序ID + */ + processId?: string | number; + + /** + * 机台ID + */ + machineId?: string | number; + + /** + * 胎胚条码 + */ + embryoBarcode?: string; + + /** + * 工装ID + */ + toolingId?: string | number; + + /** + * 物料ID + */ + materielId?: string | number; + + /** + * 扫描结果 + */ + scanResult?: string; + + /** + * 记录人名称 + */ + userName?: string; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/api/mes/prodShiftChange/index.ts b/src/api/mes/prodShiftChange/index.ts new file mode 100644 index 0000000..8498d4a --- /dev/null +++ b/src/api/mes/prodShiftChange/index.ts @@ -0,0 +1,77 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { ProdShiftChangeVO, ProdShiftChangeForm, ProdShiftChangeQuery } from '@/api/mes/prodShiftChange/types'; + +/** + * 查询交接班信息列表 + * @param query + * @returns {*} + */ + +export const listProdShiftChange = (query?: ProdShiftChangeQuery): AxiosPromise => { + return request({ + url: '/mes/prodShiftChange/list', + method: 'get', + params: query + }); +}; + +/** + * 查询交接班信息详细 + * @param shiftChangeId + */ +export const getProdShiftChange = (shiftChangeId: string | number): AxiosPromise => { + return request({ + url: '/mes/prodShiftChange/' + shiftChangeId, + method: 'get' + }); +}; + +/** + * 新增交接班信息 + * @param data + */ +export const addProdShiftChange = (data: ProdShiftChangeForm) => { + return request({ + url: '/mes/prodShiftChange', + method: 'post', + data: data + }); +}; + +/** + * 修改交接班信息 + * @param data + */ +export const updateProdShiftChange = (data: ProdShiftChangeForm) => { + return request({ + url: '/mes/prodShiftChange', + method: 'put', + data: data + }); +}; + +/** + * 删除交接班信息 + * @param shiftChangeId + */ +export const delProdShiftChange = (shiftChangeId: string | number | Array) => { + return request({ + url: '/mes/prodShiftChange/' + shiftChangeId, + method: 'delete' + }); +}; + + +/** + * 下拉框查询交接班信息列表 + * @param query + * @returns {*} + */ +export function getProdShiftChangeList (query) { + return request({ + url: '/mes/prodShiftChange/getProdShiftChangeList', + method: 'get', + params: query + }); +}; diff --git a/src/api/mes/prodShiftChange/types.ts b/src/api/mes/prodShiftChange/types.ts new file mode 100644 index 0000000..2db59dc --- /dev/null +++ b/src/api/mes/prodShiftChange/types.ts @@ -0,0 +1,131 @@ +export interface ProdShiftChangeVO { + /** + * 主键标识 + */ + shiftChangeId: string | number; + + /** + * 接班时间 + */ + shiftChangeTime: string; + + /** + * 机台ID + */ + machineId: string | number; + + /** + * 班次ID + */ + shiftId: string | number; + + /** + * 班组ID + */ + classTeamId: string | number; + + /** + * 接班人ID + */ + userId: string | number; + + /** + * 接班人名称 + */ + userName: string; + + /** + * 备注 + */ + remark: string; + +} + +export interface ProdShiftChangeForm extends BaseEntity { + /** + * 主键标识 + */ + shiftChangeId?: string | number; + + /** + * 接班时间 + */ + shiftChangeTime?: string; + + /** + * 机台ID + */ + machineId?: string | number; + + /** + * 班次ID + */ + shiftId?: string | number; + + /** + * 班组ID + */ + classTeamId?: string | number; + + /** + * 接班人ID + */ + userId?: string | number; + + /** + * 接班人名称 + */ + userName?: string; + + /** + * 备注 + */ + remark?: string; + +} + +export interface ProdShiftChangeQuery extends PageQuery { + + /** + * 主键标识 + */ + shiftChangeId?: string | number; + + /** + * 接班时间 + */ + shiftChangeTime?: string; + + /** + * 机台ID + */ + machineId?: string | number; + + /** + * 班次ID + */ + shiftId?: string | number; + + /** + * 班组ID + */ + classTeamId?: string | number; + + /** + * 接班人ID + */ + userId?: string | number; + + /** + * 接班人名称 + */ + userName?: string; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/views/mes/prodInputScanInfo/index.vue b/src/views/mes/prodInputScanInfo/index.vue new file mode 100644 index 0000000..afdffba --- /dev/null +++ b/src/views/mes/prodInputScanInfo/index.vue @@ -0,0 +1,354 @@ + + + diff --git a/src/views/mes/prodOutputScanInfo/index.vue b/src/views/mes/prodOutputScanInfo/index.vue new file mode 100644 index 0000000..5990a37 --- /dev/null +++ b/src/views/mes/prodOutputScanInfo/index.vue @@ -0,0 +1,355 @@ + + + diff --git a/src/views/mes/prodShiftChange/index.vue b/src/views/mes/prodShiftChange/index.vue new file mode 100644 index 0000000..ecea036 --- /dev/null +++ b/src/views/mes/prodShiftChange/index.vue @@ -0,0 +1,366 @@ + + +