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 @@ - 原材料库内 + 原材料库存管理 - 成品库内 + 成品库存管理