diff --git a/fe/PDA/api/index.js b/fe/PDA/api/index.js index da6ec4e94..6fb3689b5 100644 --- a/fe/PDA/api/index.js +++ b/fe/PDA/api/index.js @@ -97,6 +97,44 @@ export function changePassword(params) { // method: "post" }) } + +//kitting 推荐 isPackingCode=true 按箱,false 按数量 +export const getRecommendBalance = (itemCode,productLine,isPackingCode) => request( + devUrl + "/api/pda/inventory/balances/get-recommend-balance?itemCode="+itemCode+"&productLine="+productLine+"&isPackingCode="+isPackingCode,{ // + data: {}, + method: "post" + }) + +//获取库存 去除预计入和预计出 +// { +// "itemCode": "string", +// "locationCode": "string", +// "lot": "string", +// "packingCode": "string", +// "containerCode": "string", +// "inventoryStatuses": [ +// 0 +// ], +// "locationTypes": [ +// 0 +// ], +// "pageSize": 0, +// "pageIndex": 0, +// "sortBy": "string" +// } +export const getBalanceRemoveInAndOutAsync = (params) => promise( + devUrl + "/api/pda/inventory/balances/by-balances-request-many-parameter-not-in-expect-out",{ // + data: params, + method: "post" + }) +//通过零件号和库位查询库存,去除预计出 +export const getRecommendBalanceByLocationAsync = (params,itemCode,isPackingCode) => promise( + devUrl + "/api/pda/inventory/balances/get-recommend-balance-by-locations?itemCode="+itemCode+"&isPackingCode="+isPackingCode,{ // + data: params, + method: "post" + }) + + //通用 //查询库存明细 export const balances = (params) => request( @@ -1939,11 +1977,8 @@ export const getCountByItemCode = (itemCode) => request( method: "get" }) -//kitting 推荐 isPackingCode=true 按箱,false 按数量 -export const getRecommendBalance = (itemCode,productLine,isPackingCode) => request( - devUrl + "/api/pda/inventory/balances/get-recommend-balance?itemCode="+itemCode+"&productLine="+productLine+"&isPackingCode="+isPackingCode,{ // - data: {}, - method: "post" - }) + + + \ No newline at end of file diff --git a/fe/PDA/pages.json b/fe/PDA/pages.json index c5ac1fb21..a748ae61e 100644 --- a/fe/PDA/pages.json +++ b/fe/PDA/pages.json @@ -178,14 +178,14 @@ { "path": "pages/return/productionReturnRaw", "style": { - "navigationBarTitleText": "原料退库", + "navigationBarTitleText": "生产退库(原料)", "enablePullDownRefresh": true } }, { "path": "pages/return/productionReturnFg", "style": { - "navigationBarTitleText": "半成品退库", + "navigationBarTitleText": "生产退库(半成品)", "enablePullDownRefresh": true } }, diff --git a/fe/PDA/pages/request/thirdLocationRequest.vue b/fe/PDA/pages/request/thirdLocationRequest.vue index c018db361..21931ccfc 100644 --- a/fe/PDA/pages/request/thirdLocationRequest.vue +++ b/fe/PDA/pages/request/thirdLocationRequest.vue @@ -247,6 +247,7 @@ remove(item, index) { showConfirmMsg("是否移除当前" + item.itemCode, res => { if (res) { + this.showList.splice(index,1) this.allDataList.splice(index, 1); this.allCount = this.allDataList.length; this.updateTitle() diff --git a/fe/PDA/pages/return/productionReturnFg.vue b/fe/PDA/pages/return/productionReturnFg.vue index f1753f5a8..494e2c314 100644 --- a/fe/PDA/pages/return/productionReturnFg.vue +++ b/fe/PDA/pages/return/productionReturnFg.vue @@ -73,7 +73,7 @@ - + @@ -84,7 +84,7 @@ + \ No newline at end of file