diff --git a/src/api/mes/prepare.js b/src/api/mes/prepare.js
new file mode 100644
index 00000000..58f3d8f9
--- /dev/null
+++ b/src/api/mes/prepare.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询备料单列表
+export function listPrepare(query) {
+ return request({
+ url: '/mes/prepare/list',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询备料单详细
+export function getPrepare(prepareId) {
+ return request({
+ url: '/mes/prepare/' + prepareId,
+ method: 'get'
+ });
+}
+
+// 新增备料单
+export function addPrepare(data) {
+ return request({
+ url: '/mes/prepare',
+ method: 'post',
+ data: data
+ });
+}
+
+// 修改备料单
+export function updatePrepare(data) {
+ return request({
+ url: '/mes/prepare',
+ method: 'put',
+ data: data
+ });
+}
+
+// 删除备料单
+export function delPrepare(prepareId) {
+ return request({
+ url: '/mes/prepare/' + prepareId,
+ method: 'delete'
+ });
+}
diff --git a/src/api/mes/prepareDetail.js b/src/api/mes/prepareDetail.js
new file mode 100644
index 00000000..d94d88bf
--- /dev/null
+++ b/src/api/mes/prepareDetail.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询mes备料单明细列表
+export function listPrepareDetail(query) {
+ return request({
+ url: '/mes/prepareDetail/list',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询mes备料单明细详细
+export function getPrepareDetail(recordId) {
+ return request({
+ url: '/mes/prepareDetail/' + recordId,
+ method: 'get'
+ });
+}
+
+// 新增mes备料单明细
+export function addPrepareDetail(data) {
+ return request({
+ url: '/mes/prepareDetail',
+ method: 'post',
+ data: data
+ });
+}
+
+// 修改mes备料单明细
+export function updatePrepareDetail(data) {
+ return request({
+ url: '/mes/prepareDetail',
+ method: 'put',
+ data: data
+ });
+}
+
+// 删除mes备料单明细
+export function delPrepareDetail(recordId) {
+ return request({
+ url: '/mes/prepareDetail/' + recordId,
+ method: 'delete'
+ });
+}
diff --git a/src/api/mes/validate.js b/src/api/mes/validate.js
new file mode 100644
index 00000000..6cfe75f5
--- /dev/null
+++ b/src/api/mes/validate.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询生产前准备记录报表列表
+export function listValidate(query) {
+ return request({
+ url: '/mes/validate/list',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询生产前准备记录报表详细
+export function getValidate(validateId) {
+ return request({
+ url: '/mes/validate/' + validateId,
+ method: 'get'
+ });
+}
+
+// 新增生产前准备记录报表
+export function addValidate(data) {
+ return request({
+ url: '/mes/validate',
+ method: 'post',
+ data: data
+ });
+}
+
+// 修改生产前准备记录报表
+export function updateValidate(data) {
+ return request({
+ url: '/mes/validate',
+ method: 'put',
+ data: data
+ });
+}
+
+// 删除生产前准备记录报表
+export function delValidate(validateId) {
+ return request({
+ url: '/mes/validate/' + validateId,
+ method: 'delete'
+ });
+}
diff --git a/src/views/mes/prepare/index.vue b/src/views/mes/prepare/index.vue
new file mode 100644
index 00000000..92839907
--- /dev/null
+++ b/src/views/mes/prepare/index.vue
@@ -0,0 +1,412 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.productDate, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mes/prepare/prepareDetail.vue b/src/views/mes/prepare/prepareDetail.vue
new file mode 100644
index 00000000..6fc834d0
--- /dev/null
+++ b/src/views/mes/prepare/prepareDetail.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.productDate, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mes/validate/index.vue b/src/views/mes/validate/index.vue
new file mode 100644
index 00000000..d4bc9ed3
--- /dev/null
+++ b/src/views/mes/validate/index.vue
@@ -0,0 +1,307 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+