diff --git a/api/materialManagement/MaterialProductionInput.js b/api/materialManagement/MaterialProductionInput.js
index ec88c0d..0019ac4 100644
--- a/api/materialManagement/MaterialProductionInput.js
+++ b/api/materialManagement/MaterialProductionInput.js
@@ -3,7 +3,7 @@ import upload from '@/utils/upload'
export function achievestartpoints(params) {
return request({
- url: 'mes/mm/materialinput/getstartpoints',
+ url: '/mes/mm/materialinput/getstartpoints',
method: 'get',
params
})
@@ -11,8 +11,17 @@ export function achievestartpoints(params) {
export function achievesendpoints(params) {
return request({
- url: 'mes/mm/materialinput/getendpoints',
+ url: '/mes/mm/materialinput/getendpoints',
method: 'get',
params
})
-}
\ No newline at end of file
+}
+
+
+export function getworkorderlist(data) {
+ return request({
+ url: '/mes/mm/materialinput/getworkorderlist',
+ method: 'post',
+ data
+ })
+}
diff --git a/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue b/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue
index aae2222..e527940 100644
--- a/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue
+++ b/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue
@@ -1,40 +1,168 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择日期: {{ workerorder_time | formatDate }}
+ 选择日期
+
+
+
+
+
+ 工单号
+
+
+ 计划上件数
+
+
+ 已经上件数
+
+
+ 选中
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/utils/request.js b/utils/request.js
index 722cf60..84ed3b9 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -40,7 +40,7 @@ const request = config => {
config.url = url
}
return new Promise((resolve, reject) => {
-
+
uni.request({
method: config.method || 'get',
timeout: config.timeout || timeout,
@@ -84,6 +84,7 @@ const request = config => {
resolve(res.data)
})
.catch(error => {
+
let {
message
} = error