diff --git a/src/api/mes/workScheduling/addBasicItem/addBAsicItemApi.ts b/src/api/mes/workScheduling/addBasicItem/addBAsicItemApi.ts new file mode 100644 index 0000000..989c294 --- /dev/null +++ b/src/api/mes/workScheduling/addBasicItem/addBAsicItemApi.ts @@ -0,0 +1,12 @@ +import http from '../../../http' + +//查询物料信息列表 +export function getByOrder(params) { + return http.get('/mes/orderDayBom/getByOrder', {params}) +} + +//补料 +export function addBasicItem(data) { + return http.post('/mes/item-request-main/addBasicItem', data) +} + diff --git a/src/pages.json b/src/pages.json index f0466aa..1baa029 100644 --- a/src/pages.json +++ b/src/pages.json @@ -2051,6 +2051,13 @@ "navigationBarTitleText": "批量创建返工返修登记", "enablePullDownRefresh": true } + }, + { + "path": "pages/mes/workScheduling/addBasicItem/index", + "style": { + "navigationBarTitleText": "补料申请", + "enablePullDownRefresh": true + } } diff --git a/src/pages/mes/workScheduling/addBasicItem/index.vue b/src/pages/mes/workScheduling/addBasicItem/index.vue new file mode 100644 index 0000000..5828eb2 --- /dev/null +++ b/src/pages/mes/workScheduling/addBasicItem/index.vue @@ -0,0 +1,268 @@ + + + + + \ No newline at end of file diff --git a/src/pages/mes/workScheduling/workScheduling.vue b/src/pages/mes/workScheduling/workScheduling.vue index 65a728d..ce8e8ef 100644 --- a/src/pages/mes/workScheduling/workScheduling.vue +++ b/src/pages/mes/workScheduling/workScheduling.vue @@ -306,7 +306,8 @@ function receiveBasicItem(item){ } // 补料 function addBasicItem(item){ - console.log(item) + const objString = JSON.stringify(item); + proxy.$tab.navigateTo(`/pages/mes/workScheduling/addBasicItem/index?obj=${encodeURIComponent(objString)}`) }