diff --git a/src/pages.json b/src/pages.json index c42e924..96acbbc 100644 --- a/src/pages.json +++ b/src/pages.json @@ -463,6 +463,14 @@ "navigationStyle": "custom", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/wms/WhiteManagement/TransferInlibrary/index", + "style": { + "navigationBarTitleText": "库内转存", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } } diff --git a/src/pages/wms/WhiteManagement/TransferInlibrary/index.vue b/src/pages/wms/WhiteManagement/TransferInlibrary/index.vue new file mode 100644 index 0000000..a970bd6 --- /dev/null +++ b/src/pages/wms/WhiteManagement/TransferInlibrary/index.vue @@ -0,0 +1,501 @@ + + + + diff --git a/src/pages/wms/WhiteManagement/TransferInlibrary/model.ts b/src/pages/wms/WhiteManagement/TransferInlibrary/model.ts new file mode 100644 index 0000000..2676648 --- /dev/null +++ b/src/pages/wms/WhiteManagement/TransferInlibrary/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.WhiteManagement.TransferInlibrary', +}) +export class TransferInlibrary extends VuexModule { + SubmitCode: any = ''; + @MutationAction + async out(params: any) { + const result: any = await http.post(url.lanjuwms.WhiteManagement.TransferInlibrary.WhiteWarehouseDump, params); + const SubmitCode = result.code; + return { SubmitCode }; + } + scanquerydata: any = {}; + @MutationAction + async scanquery(params: any) { + const result: any = await http.post(url.lanjuwms.WhiteManagement.WhiteOutstorage.selectQueryTrayInfor, { + sn: params, + factoryCode: session.FactoryCode, + }); + const scanquerydata = result.data; + return { scanquerydata }; + } +} + +export default getModule(TransferInlibrary); diff --git a/src/pages/wms/WhiteManagement/WhiteOutstorage/index.vue b/src/pages/wms/WhiteManagement/WhiteOutstorage/index.vue index 6b82eec..e0f9d93 100644 --- a/src/pages/wms/WhiteManagement/WhiteOutstorage/index.vue +++ b/src/pages/wms/WhiteManagement/WhiteOutstorage/index.vue @@ -54,7 +54,7 @@ - + diff --git a/src/pages/wms/index.vue b/src/pages/wms/index.vue index 8aa3c9a..9b8f6a4 100644 --- a/src/pages/wms/index.vue +++ b/src/pages/wms/index.vue @@ -150,31 +150,9 @@ :label="item.menuName" label-pos="bottom" size="80" - :name="item.menuName == '白胚入库' ? '../../static/icons/icon-54.png' : '../../static/icons/icon-55.png'" + :name="item.menuName == '白胚入库' ? '../../static/icons/icon-54.png' : item.menuName == '白胚出库' ? '../../static/icons/icon-55.png' : '../../static/icons/icon-56.png'" > - - diff --git a/src/utils/page.ts b/src/utils/page.ts index 51eb061..3a448f6 100644 --- a/src/utils/page.ts +++ b/src/utils/page.ts @@ -36,5 +36,6 @@ export const page = { MatReturnWH: '/pages/wms/Raw/MatReturnWH/index', WhiteInstorage: '/pages/wms/WhiteManagement/WhiteInstorage/index', WhiteOutstorage: '/pages/wms/WhiteManagement/WhiteOutstorage/index', + TransferInlibrary: '/pages/wms/WhiteManagement/TransferInlibrary/index', }, }; diff --git a/src/utils/url.ts b/src/utils/url.ts index 5b0196a..22d9cca 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -112,6 +112,9 @@ export const url = { selectQueryTrayInfor: qianzhuione + '/wms/WmsToWCSmission/selectQueryTrayInfor', WhiteEmbryoOutbound: qianzhuione + '/wms/WmsToWCSmission/WhiteEmbryoOutbound', }, + TransferInlibrary: { + WhiteWarehouseDump: qianzhuione + '/wms/WmsToWCSmission/WhiteWarehouseDump', + }, }, }, // 设备管理