diff --git a/api/request2.js b/api/request2.js index fdb5b334..46c45982 100644 --- a/api/request2.js +++ b/api/request2.js @@ -347,6 +347,21 @@ export function getItempackagingByItemcode(itemCode) { }); } +/** + * 查询生产线物料关系 + * @param {*} productionLineCode 生产线code + * + */ +export function getProductionlineItem(params) { + return request({ + url: baseApi + "/wms/productionlineitem/page" , + method: "get", + data: params, + }); +} + + + /** * 供应商发货 @@ -1918,8 +1933,8 @@ export function getIssueRequestDetail(id) { */ export function issueRequestSubmit(params) { return request({ - url: baseApi + "/wms/purchasereturn-request-main/submit", - method: "put", + url: baseApi + "/wms/issue-request-main/create", + method: "post", data: params, }); } diff --git a/mycomponents/detail/comDetailCard.vue b/mycomponents/detail/comDetailCard.vue index 76885570..07589a53 100644 --- a/mycomponents/detail/comDetailCard.vue +++ b/mycomponents/detail/comDetailCard.vue @@ -15,6 +15,7 @@ + diff --git a/mycomponents/popup/selectList.vue b/mycomponents/popup/selectList.vue new file mode 100644 index 00000000..998412ec --- /dev/null +++ b/mycomponents/popup/selectList.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/pages.json b/pages.json index 4f7494a2..4dd39be3 100644 --- a/pages.json +++ b/pages.json @@ -498,6 +498,13 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/issue/request/issueRequestSubmit", + "style": { + "navigationBarTitleText": "创建发料申请", + "enablePullDownRefresh": false + } + }, { "path": "pages/productionReturn/job/returnJob", diff --git a/pages/issue/coms/comIssueRequestCreator.vue b/pages/issue/coms/comIssueRequestCreator.vue new file mode 100644 index 00000000..d7e4fd0d --- /dev/null +++ b/pages/issue/coms/comIssueRequestCreator.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/pages/issue/coms/comIssueRequestPopup.vue b/pages/issue/coms/comIssueRequestPopup.vue index 21377601..7c52e31c 100644 --- a/pages/issue/coms/comIssueRequestPopup.vue +++ b/pages/issue/coms/comIssueRequestPopup.vue @@ -16,15 +16,11 @@ 位置 : - - + {{positionInfo}} - @@ -33,16 +29,20 @@ 零件 : - + + + + 数量 : - + @@ -60,14 +60,17 @@ + + + + diff --git a/static/search.svg b/static/search.svg new file mode 100644 index 00000000..82387112 --- /dev/null +++ b/static/search.svg @@ -0,0 +1 @@ + \ No newline at end of file