diff --git a/src/pages.json b/src/pages.json index cf3a562..cff6d7f 100644 --- a/src/pages.json +++ b/src/pages.json @@ -175,6 +175,14 @@ "navigationStyle": "custom", // 隐藏系统导航栏 "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 } + }, + { + "path": "pages/mes/PalletChange/index", + "style": { + "navigationBarTitleText": "托盘变更", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } } ], "globalStyle": { diff --git a/src/pages/mes/PalletChange/index.vue b/src/pages/mes/PalletChange/index.vue new file mode 100644 index 0000000..f499dd6 --- /dev/null +++ b/src/pages/mes/PalletChange/index.vue @@ -0,0 +1,136 @@ + + + diff --git a/src/pages/mes/PalletChange/model.ts b/src/pages/mes/PalletChange/model.ts new file mode 100644 index 0000000..a806771 --- /dev/null +++ b/src/pages/mes/PalletChange/model.ts @@ -0,0 +1,33 @@ +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.raw.ingoods.SpareInbound.sparePartsShelves', +}) +export class PalletChange extends VuexModule { + orderNoItemList: any = []; + @MutationAction + async queryOrderNo(orderNo: any) { + const result: any = await http.get(url.lanjumes.product.getInfoByRfid, { + //loginName: session.loginName, + params: { + factoryCode: session.FactoryCode, + rfid: orderNo, + }, + }); + const orderNoItemList = result.data; + return { orderNoItemList }; + } + @MutationAction + async empty() { + const orderNoItemList = []; + return { orderNoItemList }; + } +} + +export default getModule(PalletChange);