diff --git a/src/pages.json b/src/pages.json
index 1be53f3..f95046e 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -138,6 +138,23 @@
"style": {
"navigationBarTitleText": "退料数量"
}
+ },
+
+ /* 维修及其页面 */
+
+ // 1. 维修列表
+ {
+ "path": "pages/repair/index",
+ "style": {
+ "navigationBarTitleText": "维修任务"
+ }
+ },
+ // 2. 维修详情
+ {
+ "path": "pages/repair/details",
+ "style": {
+ "navigationBarTitleText": "维修任务"
+ }
}
],
"tabBar": {
diff --git a/src/pages/repair/details.vue b/src/pages/repair/details.vue
new file mode 100644
index 0000000..ea61211
--- /dev/null
+++ b/src/pages/repair/details.vue
@@ -0,0 +1,258 @@
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+ 合格
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 物资名称:
+
+ {{ item.typeName }}
+
+
+
+ {{ index + 1 }}
+ 规格型号:
+
+ {{ item.type }}
+
+
+
+ {{ index + 1 }}
+ 已退数量:
+
+ {{ item.repairNum }}
+
+
+
+ {{ index + 1 }}
+ 单位:
+
+ {{ item.unitName }}
+
+
+
+ {{ index + 1 }}
+ 管理模式:
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/repair/index.vue b/src/pages/repair/index.vue
new file mode 100644
index 0000000..0661dd5
--- /dev/null
+++ b/src/pages/repair/index.vue
@@ -0,0 +1,324 @@
+
+
+
+
+
+ 已完成
+
+
+
+ 未完成
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+ 退料人:
+
+ {{ item.createBy }}
+
+
+
+ 任务时间:
+ {{ item.createTime }}
+
+
+
+ 维修单号:
+
+ {{ item.repairCode }}
+
+
+
+ 退料物资:
+
+ {{ item.type }}
+
+
+
+ 退料单位:
+
+ {{ item.backUnit }}
+
+
+
+ 工程名称:
+
+ {{ item.backPro }}
+
+
+
+ 任务创建人:
+
+ {{ item.createBy }}
+
+
+
+
+ 状态:
+
+
+
+
+
+
+
+
+
+
+
+ {{ finish ? '没有更多数据了~' : '正在加载...' }}
+
+
+
+
+
+
+
+
diff --git a/src/pages/work/index.vue b/src/pages/work/index.vue
index 816bbfa..df62993 100644
--- a/src/pages/work/index.vue
+++ b/src/pages/work/index.vue
@@ -27,6 +27,19 @@
+
+
+
+
+ {{ item.title }}
+
+
+
@@ -60,6 +73,14 @@ const pickingList = ref([
iconSrc: '../../static/workbench/fetchMaterialOutStore.png',
},
])
+// 领料
+const repairList = ref([
+ {
+ title: '维修',
+ url: '/pages/repair/index',
+ iconSrc: '../../static/workbench/fix.png',
+ },
+])
const onNavigateTo = (url) => {
uni.navigateTo({ url })
diff --git a/src/services/repair/repair.js b/src/services/repair/repair.js
new file mode 100644
index 0000000..078e6ff
--- /dev/null
+++ b/src/services/repair/repair.js
@@ -0,0 +1,22 @@
+import { http } from '@/utils/http'
+
+/**
+ * 维修 ---- 列表查询
+ */
+export const getRepairListAPI = (data) => {
+ return http({
+ method: 'GET',
+ url: '/material/repair/getRepairTaskList',
+ data,
+ })
+}
+/**
+ * 维修 ---- 列表详情
+ */
+export const getRepairDetailsAPI = (data) => {
+ return http({
+ method: 'GET',
+ url: '/material/repair/getAppRepairMaTypeList',
+ data,
+ })
+}
diff --git a/src/static/workbench/fix.png b/src/static/workbench/fix.png
new file mode 100644
index 0000000..e76ffcc
Binary files /dev/null and b/src/static/workbench/fix.png differ