From 3a523a91d5b890232f1aa8bd29e23a262434a72a Mon Sep 17 00:00:00 2001 From: guoshuang Date: Wed, 3 Apr 2024 15:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=93=81=E6=89=98=E7=9B=98=E7=A7=BB?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 9 + .../wms/FGmanagement/PalletShift/index.vue | 503 ++++++++++++++++++ .../wms/FGmanagement/PalletShift/model.ts | 32 ++ src/pages/wms/index.vue | 4 +- src/utils/page.ts | 1 + src/utils/url.ts | 6 + 6 files changed, 553 insertions(+), 2 deletions(-) create mode 100644 src/pages/wms/FGmanagement/PalletShift/index.vue create mode 100644 src/pages/wms/FGmanagement/PalletShift/model.ts diff --git a/src/pages.json b/src/pages.json index ab62c3a..8711d8b 100644 --- a/src/pages.json +++ b/src/pages.json @@ -511,7 +511,16 @@ "navigationStyle": "custom", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/wms/FGmanagement/PalletShift/index", + "style": { + "navigationBarTitleText": "成品托盘移位", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } } + ], diff --git a/src/pages/wms/FGmanagement/PalletShift/index.vue b/src/pages/wms/FGmanagement/PalletShift/index.vue new file mode 100644 index 0000000..6eef48e --- /dev/null +++ b/src/pages/wms/FGmanagement/PalletShift/index.vue @@ -0,0 +1,503 @@ + + + + diff --git a/src/pages/wms/FGmanagement/PalletShift/model.ts b/src/pages/wms/FGmanagement/PalletShift/model.ts new file mode 100644 index 0000000..8752938 --- /dev/null +++ b/src/pages/wms/FGmanagement/PalletShift/model.ts @@ -0,0 +1,32 @@ +import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators'; +import store from '@/store'; +import http from '@/utils/request'; +import { url } from '@/utils/url'; +import { session } from '@/store/modules/session'; +@Module({ + namespaced: true, + dynamic: true, + store, + name: 'page.FGmanagement.PalletShift', +}) +export class PalletShift extends VuexModule { + SubmitCode: any = ''; + @MutationAction + async out(params: any) { + const result: any = await http.post(url.lanjuwms.FGmanagement.PalletShift.palletTransferConfirmation, params); + const SubmitCode = result.code; + return { SubmitCode }; + } + scanquerydata: any = {}; + @MutationAction + async scanquery(params: any) { + const result: any = await http.post(url.lanjuwms.FGmanagement.PalletShift.palletScanning, { + sn: params, + factoryCode: session.FactoryCode, + }); + const scanquerydata = result.data; + return { scanquerydata }; + } +} + +export default getModule(PalletShift); diff --git a/src/pages/wms/index.vue b/src/pages/wms/index.vue index 9786cd7..b5143f0 100644 --- a/src/pages/wms/index.vue +++ b/src/pages/wms/index.vue @@ -52,7 +52,7 @@ - 原材料库内 + 原材料库存管理 - 成品库内 + 成品库存管理