diff --git a/src/api/mes/scrap.js b/src/api/mes/scrap.js
new file mode 100644
index 0000000..58f880b
--- /dev/null
+++ b/src/api/mes/scrap.js
@@ -0,0 +1,70 @@
+import request from '@/utils/request'
+
+// 查询【请填写功能名称】列表
+export function listScrap(query) {
+ return request({
+ url: '/mes/scrap/list',
+ method: 'get',
+ params: query
+ });
+}
+
+export function listWuliao(query) {
+ return request({
+ url: '/mes/scrap/selectAllMaterial',
+ method: 'get',
+ params: query
+ });
+}
+
+
+export function listMaterialName(query) {
+ return request({
+ url: '/mes/scrap/selectAllMaterial',
+ method: 'get',
+ params: query
+ });
+}
+
+//查询工位名称
+export function listPostName(query) {
+ return request({
+ url: '/mes/scrap/selectAllSysPost',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询【请填写功能名称】详细
+export function getScrap(id) {
+ return request({
+ url: '/mes/scrap/' + id,
+ method: 'get'
+ });
+}
+
+// 新增【请填写功能名称】
+export function addScrap(data) {
+ return request({
+ url: '/mes/scrap',
+ method: 'post',
+ data: data
+ });
+}
+
+// 修改【请填写功能名称】
+export function updateScrap(data) {
+ return request({
+ url: '/mes/scrap',
+ method: 'put',
+ data: data
+ });
+}
+
+// 删除【请填写功能名称】
+export function delScrap(id) {
+ return request({
+ url: '/mes/scrap/' + id,
+ method: 'delete'
+ });
+}
diff --git a/src/views/mes/scrap/index.vue b/src/views/mes/scrap/index.vue
new file mode 100644
index 0000000..59fffe1
--- /dev/null
+++ b/src/views/mes/scrap/index.vue
@@ -0,0 +1,572 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 未报废
+ 已报废
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+