From 1fd32c0bafbeaff725da4392d10d240c902300be Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 26 Dec 2024 13:58:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=9E=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PDA/api/index.js | 8 +- fe/PDA/main.js | 3 +- fe/PDA/mycomponents/wincom/winScanContent.vue | 111 ++++++++++ fe/PDA/pages.js | 7 + fe/PDA/pages.json | 12 +- fe/PDA/pages/inventory/returnWareHouse.vue | 191 ++++++++++++++++++ fe/PDA/static/config.json | 3 +- 7 files changed, 327 insertions(+), 8 deletions(-) create mode 100644 fe/PDA/mycomponents/wincom/winScanContent.vue create mode 100644 fe/PDA/pages/inventory/returnWareHouse.vue diff --git a/fe/PDA/api/index.js b/fe/PDA/api/index.js index dcc9f548c..940cb18a1 100644 --- a/fe/PDA/api/index.js +++ b/fe/PDA/api/index.js @@ -4,6 +4,7 @@ import VUE from 'vue' let printUrl = VUE.prototype.$print_url; //打印 let devUrl = VUE.prototype.$dev_url; //数据请求 +let returnWareHouseUrl = VUE.prototype.$returnWareHouseUrl; //回库请求地址 console.log('this', VUE.prototype) @@ -2246,7 +2247,12 @@ export const getWorkStationByLocation = (locationCode) => request( method: "post" }); - +//获取位置码信息 +export const returnWarhouseSubmit = (params) => request( + devUrl + returnWareHouseUrl, { // + data: params, + method: "post" + }); diff --git a/fe/PDA/main.js b/fe/PDA/main.js index ae5588461..a3837a831 100644 --- a/fe/PDA/main.js +++ b/fe/PDA/main.js @@ -37,8 +37,9 @@ let startApp = function() { Vue.prototype.$purchaseReturnReason = res[1].data.params.purchaseReturnReason; //采购退货原因字典项 Vue.prototype.$returnBeforPutawayReason = res[1].data.params.returnBeforPutawayReason; //上架前退货原因字典项 Vue.prototype.$receiptCheckReason = res[1].data.params.receiptCheckReason; //采购收货不合格原因字典项 - Vue.prototype.$configList = res[1].data.configList; + Vue.prototype.$returnWareHouseUrl= res[1].data.params.returnWareHouseUrl; //采购收货不合格原因字典项 + initData() getApp().globalData.text = res[1].data.params.version_update_url; diff --git a/fe/PDA/mycomponents/wincom/winScanContent.vue b/fe/PDA/mycomponents/wincom/winScanContent.vue new file mode 100644 index 000000000..7b405cd16 --- /dev/null +++ b/fe/PDA/mycomponents/wincom/winScanContent.vue @@ -0,0 +1,111 @@ + + + + + diff --git a/fe/PDA/pages.js b/fe/PDA/pages.js index 14a82db36..3663ce204 100644 --- a/fe/PDA/pages.js +++ b/fe/PDA/pages.js @@ -1011,6 +1011,13 @@ module.exports = () => ({ "navigationBarTitleText": "备件叫料申请详情", "enablePullDownRefresh": false } + }, + { + "path": "pages/inventory/returnWareHouse", + "style": { + "navigationBarTitleText": "回库", + "enablePullDownRefresh": false + } } diff --git a/fe/PDA/pages.json b/fe/PDA/pages.json index feb923f89..550cee0aa 100644 --- a/fe/PDA/pages.json +++ b/fe/PDA/pages.json @@ -1007,13 +1007,15 @@ "navigationBarTitleText": "备件叫料申请详情", "enablePullDownRefresh": false } + }, + { + "path": "pages/inventory/returnWareHouse", + "style": { + "navigationBarTitleText": "回库", + "enablePullDownRefresh": false + } } - - - - - ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/fe/PDA/pages/inventory/returnWareHouse.vue b/fe/PDA/pages/inventory/returnWareHouse.vue new file mode 100644 index 000000000..4490762ad --- /dev/null +++ b/fe/PDA/pages/inventory/returnWareHouse.vue @@ -0,0 +1,191 @@ + + + + + \ No newline at end of file diff --git a/fe/PDA/static/config.json b/fe/PDA/static/config.json index 0e0efe360..d4c81c5a9 100644 --- a/fe/PDA/static/config.json +++ b/fe/PDA/static/config.json @@ -33,7 +33,8 @@ "scrapReason": "ScrapReason", "purchaseReturnReason": "PurReturnReason", "returnBeforPutawayReason": "UnqualifiedReason", - "receiptCheckReason": "UnqualifiedReason" + "receiptCheckReason": "UnqualifiedReason", + "returnWareHouseUrl": "/wms/api/RestJsonService/notifyOutTaskBack4FW" }, "desc": { "companyCode": "公司代码",