From 1a9a1d04b303a8260d8baadfab4e4386ee2bcf47 Mon Sep 17 00:00:00 2001 From: hou <1601990943@qq.com> Date: Thu, 18 Nov 2021 11:13:06 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 57fbc39721f016bc5ee6b99c82721d1cb9433b00 Author: zhoulei Date: Fri Nov 12 17:03:18 2021 +0800 修正语法问题部分 commit 3c4d1b09e33573f0add5b996edbca7fa471c3112 Author: zhoulei Date: Thu Nov 11 15:23:29 2021 +0800 委外入库和出库页面 commit bf3401be34ea8fa8b08d3aca7e785a58029229fd Author: zhoulei Date: Wed Nov 10 11:22:31 2021 +0800 原材料盘点页面和多语言 # Conflicts: # src/pages.json # src/pages/raw/ingoods/index.vue --- src/i18n/lang/cn.ts | 24 + src/i18n/lang/en.ts | 24 + src/pages.json | 675 +++++++++++++++++- src/pages/raw/commission/entrant/config.ts | 21 + src/pages/raw/commission/entrant/detail.vue | 182 +++++ src/pages/raw/commission/entrant/index.vue | 447 ++++++++++++ src/pages/raw/commission/entrant/model.ts | 122 ++++ src/pages/raw/commission/goOut/config.ts | 21 + src/pages/raw/commission/goOut/detail.vue | 182 +++++ src/pages/raw/commission/goOut/index.vue | 418 +++++++++++ src/pages/raw/commission/goOut/model.ts | 122 ++++ src/pages/raw/commission/index.vue | 138 ++++ src/pages/raw/index.vue | 6 + src/pages/raw/ingoods/index.vue | 4 + src/pages/raw/warehouse/index.vue | 7 +- .../raw/warehouse/rowInventory/config.ts | 99 +++ .../raw/warehouse/rowInventory/detail-ex.vue | 134 ++++ .../raw/warehouse/rowInventory/detail.vue | 317 ++++++++ .../raw/warehouse/rowInventory/idetailed.vue | 390 ++++++++++ .../raw/warehouse/rowInventory/index.vue | 204 ++++++ src/pages/raw/warehouse/rowInventory/model.ts | 213 ++++++ src/utils/page.ts | 14 + 22 files changed, 3744 insertions(+), 20 deletions(-) create mode 100644 src/pages/raw/commission/entrant/config.ts create mode 100644 src/pages/raw/commission/entrant/detail.vue create mode 100644 src/pages/raw/commission/entrant/index.vue create mode 100644 src/pages/raw/commission/entrant/model.ts create mode 100644 src/pages/raw/commission/goOut/config.ts create mode 100644 src/pages/raw/commission/goOut/detail.vue create mode 100644 src/pages/raw/commission/goOut/index.vue create mode 100644 src/pages/raw/commission/goOut/model.ts create mode 100644 src/pages/raw/commission/index.vue create mode 100644 src/pages/raw/warehouse/rowInventory/config.ts create mode 100644 src/pages/raw/warehouse/rowInventory/detail-ex.vue create mode 100644 src/pages/raw/warehouse/rowInventory/detail.vue create mode 100644 src/pages/raw/warehouse/rowInventory/idetailed.vue create mode 100644 src/pages/raw/warehouse/rowInventory/index.vue create mode 100644 src/pages/raw/warehouse/rowInventory/model.ts diff --git a/src/i18n/lang/cn.ts b/src/i18n/lang/cn.ts index 20ba433..e9c484c 100644 --- a/src/i18n/lang/cn.ts +++ b/src/i18n/lang/cn.ts @@ -51,6 +51,7 @@ export default { rawMenu_InTheLibrary: "库内", rawMenu_ReturnGoods: "退货", rawMenu_SignOut: "退出", + //po收货 po_ReceivingGoods: "PO收货", po_ReturnGoods: "DN退货", @@ -186,12 +187,35 @@ export default { Scrap: "成品报废", CollectionAndBorrowing: "成品领用借用", Inventory: "成品盘点", + raw_Inventory:'原材料盘点', RowWarehouse: "原材料库内", SemiProductZC: "半成品转储", RowScrap: "原材料报废", RowRelocation: "原材料移库", RowCollectionAndBorrowing: "原材料领用借用", + + // 原材料盘点 + InventoryOrderNo:'单号', + InventoryMaterielNo:'物料号', + InventoryMateriel:'物料名', + InventoryTotalNumber:'盘点总数', + InventoryPleaseScan: "请扫描单号", + + // 委外-入库 + CommissionEntrant:'委外入库', + CommissionedSingleNumber:'单号', + CommissionedMaterielNo:'物料号', + CommissionedMaterielDesc:'物料描述', + CommissionedDemandData:'需求数据', + CommissionedCumulativeData:'累计数据', + CommissionedLocation:'库位', + CommissionedThisNumber:'本次数量', + CommissionedEntrantDetails:'入库明细', + + // 委外-出库 + CommissionGoOut:'委外出库', + CommissionedGoOutDetails:'出库明细', //移库 Warehouse_QueryCriteria: "查询条件", Warehouse_TransferOrderNo: "移库单号", diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts index 8216795..30d8af1 100644 --- a/src/i18n/lang/en.ts +++ b/src/i18n/lang/en.ts @@ -191,12 +191,36 @@ export default { Scrap: "FG scrap", CollectionAndBorrowing: "FG cost center", Inventory: "FG PSV", + raw_Inventory:'raw Inventory', RowWarehouse: "RAW WH", SemiProductZC: "SFG transfer", RowScrap: "RAW scrap", RowRelocation: "RAW transfer", RowCollectionAndBorrowing: "RAW cost center", + + // 原材料盘点 + InventoryOrderNo:'单号', + InventoryMaterielNo:'MAT code', + InventoryMateriel:'MAT name', + InventoryTotalNumber:'Total', + InventoryPleaseScan: "Please scan No.", + + // 委外-入库 + CommissionEntrant:'委外入库', + CommissionedSingleNumber:'单号', + CommissionedMaterielNo:'物料号', + CommissionedMaterielDesc:'物料描述', + CommissionedDemandData:'需求数据', + CommissionedCumulativeData:'累计数据', + CommissionedLocation:'库位', + CommissionedThisNumber:'本次数量', + CommissionedEntrantDetails:'入库明细', + + // 委外-出库 + CommissionGoOut:'委外出库', + CommissionedGoOutDetails:'出库明细', + //移库 Warehouse_QueryCriteria: "Query criteria", Warehouse_TransferOrderNo: "Transfer order No", diff --git a/src/pages.json b/src/pages.json index b48e5aa..f16aea8 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,14 +1,654 @@ { - "easycom": { - "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" - }, - "__pages_comment": "pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages", - "pages": [ - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "首页" + "easycom": { + "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" + }, + "__pages_comment": "pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages", + "pages": [{ + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页" + } + }, + { + "path": "pages/product/index", + "style": { + "navigationBarTitleText": "成品主菜单", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/inbound/index3", + "style": { + "navigationBarTitleText": "成品入库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/outbound/index", + "style": { + "navigationBarTitleText": "出库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/outbound/internal/index", + "style": { + "navigationBarTitleText": "内销出库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/outbound/foreign/index", + "style": { + "navigationBarTitleText": "外销出库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/warehouse/index", + "style": { + "navigationBarTitleText": "库内", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/warehouse/wholeTransfer/index", + "style": { + "navigationBarTitleText": "成品移库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/warehouse/wholeScrap/index", + "style": { + "navigationBarTitleText": "成品报废", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/warehouse/wholeCollect/index", + "style": { + "navigationBarTitleText": "成品领用", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/warehouse/wholeLnventory/index", + "style": { + "navigationBarTitleText": "成品盘点", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/outbound/stoOutbound/index", + "style": { + "navigationBarTitleText": "STO出库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/outbound/stoOutbound/detail", + "style": { + "navigationBarTitleText": "STO出库明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/index", + "style": { + "navigationBarTitleText": "原材料主菜单", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/appointment/index", + "style": { + "navigationBarTitleText": "预约", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/appointment/checkin/index", + "style": { + "navigationBarTitleText": "预约登记", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/appointment/checkout/index", + "style": { + "navigationBarTitleText": "预约离开", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/index", + "style": { + "navigationBarTitleText": "收货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/receipt/index", + "style": { + "navigationBarTitleText": "看单收货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/receipt/detail", + "style": { + "navigationBarTitleText": "看单明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/receipt/detail-ex", + "style": { + "navigationBarTitleText": "看单明细未通过明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/index", + "style": { + "navigationBarTitleText": "交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/index", + "style": { + "navigationBarTitleText": "库内", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/rowTransfer/index", + "style": { + "navigationBarTitleText": "移库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/rowTransfer/details", + "style": { + "navigationBarTitleText": "移库明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/rowScrap/index", + "style": { + "navigationBarTitleText": "报废", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/rowScrap/details", + "style": { + "navigationBarTitleText": "报废明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/rowCollect/index", + "style": { + "navigationBarTitleText": "成本中心", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/rowCollect/details", + "style": { + "navigationBarTitleText": "成本中心明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/poReceipt/index", + "style": { + "navigationBarTitleText": "PO单收货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/poReceipt/idetailed", + "style": { + "navigationBarTitleText": "PO退货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/poReceipt/detail", + "style": { + "navigationBarTitleText": "PO单收货明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/dnReceipt/index", + "style": { + "navigationBarTitleText": "DN单收货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/dnReceipt/idetailed", + "style": { + "navigationBarTitleText": "DN单收货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/dnReceipt/detail", + "style": { + "navigationBarTitleText": "DN单收货明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/dnReturnGoods/index", + "style": { + "navigationBarTitleText": "DN退货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/dnReturnGoods/idetailed", + "style": { + "navigationBarTitleText": "DN退货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/ingoods/dnReturnGoods/detail", + "style": { + "navigationBarTitleText": "DN单退货明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/picking/index", + "style": { + "navigationBarTitleText": "拣配查询", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/picking/query", + "style": { + "navigationBarTitleText": "拣配查询", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/picking/idetailed", + "style": { + "navigationBarTitleText": "DN退货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/picking/result", + "style": { + "navigationBarTitleText": "拣配查询结果", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/picking/summary", + "style": { + "navigationBarTitleText": "汇总拣配", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/picking/total", + "style": { + "navigationBarTitleText": "汇总拣配", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/picking/order", + "style": { + "navigationBarTitleText": "按单拣配", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/feeding/index", + "style": { + "navigationBarTitleText": "补料", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/feeding/detail", + "style": { + "navigationBarTitleText": "补料明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/returning/index", + "style": { + "navigationBarTitleText": "退料", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/appointment/checkin/list", + "style": { + "navigationBarTitleText": "登记清单", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/kan-dan/index", + "style": { + "navigationBarTitleText": "看单交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/kan-dan/details", + "style": { + "navigationBarTitleText": "看单交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/aggregating/index", + "style": { + "navigationBarTitleText": "汇总查询", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/aggregating/result", + "style": { + "navigationBarTitleText": "汇总交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/aggregating/summary", + "style": { + "navigationBarTitleText": "汇总交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/aggregating/order", + "style": { + "navigationBarTitleText": "按单交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/aggregating/accessory", + "style": { + "navigationBarTitleText": "辅料交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/virtual/index", + "style": { + "navigationBarTitleText": "虚拟单交接", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/virtual/result", + "style": { + "navigationBarTitleText": "虚拟单明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/handover/virtual/summary", + "style": { + "navigationBarTitleText": "虚拟单交接-确认", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/login/login/index", + "style": { + "navigationBarTitleText": "登录", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/login/server/index", + "style": { + "navigationBarTitleText": "服务器设置", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/login/area/index", + "style": { + "navigationBarTitleText": "登录区选择", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/inbound/offline-in/index", + "style": { + "navigatpaionBarTitleText": "成品下线入库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/inbound/finishProductOffline/index", + "style": { + "navigatpaionBarTitleText": "成品下线", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/product/inbound/semiFinishProductOffline2/index", + "style": { + "navigatpaionBarTitleText": "半成品下线-其他", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/index", + "style": { + "navigationBarTitleText": "半成品主菜单", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/inbound/index", + "style": { + "navigationBarTitleText": "半成品入库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/DumpList/index", + "style": { + "navigationBarTitleText": "转储单", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/DumpList/DumpListFH/index", + "style": { + "navigationBarTitleText": "转储单发货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/DumpList/DumpListFH/detail", + "style": { + "navigationBarTitleText": "转储单发货明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/DumpList/DumpListSH/index", + "style": { + "navigationBarTitleText": "转储单收货", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/DumpList/DumpListSH/detail", + "style": { + "navigationBarTitleText": "转储单收货明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/outbound/index", + "style": { + "navigatpaionBarTitleText": "半成品出库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/SemiProduct/inbound/index", + "style": { + "navigatpaionBarTitleText": "半成品入库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/warehouse/rowInventory/index", + "style": { + "navigationBarTitleText": "原材料盘点", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/commission/index", + "style": { + "navigationBarTitleText": "委外", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/commission/entrant/index", + "style": { + "navigationBarTitleText": "委外入库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/commission/entrant/detail", + "style": { + "navigationBarTitleText": "入库明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + + "path": "pages/raw/commission/goOut/index", + "style": { + "navigationBarTitleText": "委外出库", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/raw/commission/goOut/detail", + "style": { + "navigationBarTitleText": "出库明细", + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } + }, + { + "path": "pages/demo/index", + "style": { + "navigationBarTitleText": "演示" + } } +<<<<<<< HEAD }, { "path": "pages/product/index", @@ -655,12 +1295,13 @@ "style": { "navigationBarTitleText": "演示" } +======= + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" +>>>>>>> 57fbc39721f016bc5ee6b99c82721d1cb9433b00 } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - } -} +} \ No newline at end of file diff --git a/src/pages/raw/commission/entrant/config.ts b/src/pages/raw/commission/entrant/config.ts new file mode 100644 index 0000000..1d45ca0 --- /dev/null +++ b/src/pages/raw/commission/entrant/config.ts @@ -0,0 +1,21 @@ +/** + * 看单明细表格列 + */ +import vm from '@/main'; +export const headers = [ + { + label: vm.$t('message.product_barCode'), + key: 'barcode', + width: 300, + }, + { + label: vm.$t('message.product_FGCode'), + key: 'materialCode', + width: 300, + }, + { + label: vm.$t('message.product_FGDes'), + key: 'materialDesc', + width: 300, + }, +]; diff --git a/src/pages/raw/commission/entrant/detail.vue b/src/pages/raw/commission/entrant/detail.vue new file mode 100644 index 0000000..246b6e3 --- /dev/null +++ b/src/pages/raw/commission/entrant/detail.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/src/pages/raw/commission/entrant/index.vue b/src/pages/raw/commission/entrant/index.vue new file mode 100644 index 0000000..1131968 --- /dev/null +++ b/src/pages/raw/commission/entrant/index.vue @@ -0,0 +1,447 @@ + + + + + diff --git a/src/pages/raw/commission/entrant/model.ts b/src/pages/raw/commission/entrant/model.ts new file mode 100644 index 0000000..f8d0098 --- /dev/null +++ b/src/pages/raw/commission/entrant/model.ts @@ -0,0 +1,122 @@ +import { Action, 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'; +// import vm from '@/main'; + +class OrderInInfo { + stoAmount?: 0; + stoNo?: string; //STO采购单号 + orderAmount?: string; //单据总数 + Allocated?: string; //已分配 + Unallocated?: string; //未分配 +} + +@Module({ + namespaced: true, + dynamic: true, + store, + name: 'product.outbound.stoOutbound', +}) +export class ReturningModule extends VuexModule { + /** + * 月台列表 + */ + returningTypeList: any[] = []; + /** + * 物料列表 + */ + materielList: any[] = []; + + //条码扫描的返回的结果 + oneMaterielDetail: any = {}; + /** + * 订单号查询结果 + */ + orderInInfo: OrderInInfo = new OrderInInfo(); + //记账按钮的code码 + code = ''; + /** + * 查询月台列表 + */ + @MutationAction + async queryReturningTypeList() { + const list: [] = await http.post(url.outbound.stoOutbound.yuetaiType, { + factoryCode: session.factoryCode, + whCode: session.warehouseCode, + loginName: session.loginName, + }); + const returningTypeList = list.map((item: any) => ({ + label: item.dockName, + value: item.dockCode, + })); + return { returningTypeList }; + } + + /** + * 查询订单号 + * @param orderNo + */ + @MutationAction + async queryOrderInInfo(stoNo: string) { + const result = await http.post(url.outbound.stoOutbound.info, { + stoNo, + deleteFlag: 2, + finalState: 3, + loginName: session.loginName, + }); + let stoAmount = 0; + result.data.records.forEach((item: any) => { + stoAmount += item.orderAmount; + }); + const materielList = result.data.records.map((item: any) => ({ + label: item.materialCode, + value: item.stoItem, + ...item, + })); + console.log('materielList', materielList); + if (result.data.records[0]) { + result.data.records[0].stoAmount = stoAmount; + } + const orderInInfo = result.data.records[0] || {}; + return { orderInInfo, materielList }; + } + + /** + * 扫条码 + */ + @Action + async tluSubmit(list: any[]) { + const obj = { + barcode: list[0].barCode, + loginName: session.loginName, + }; + let oneMaterielDetail: any = {}; + const { data }: any = await http.post(url.outbound.stoOutbound.checkScan, obj); + console.log('shneme a ', data.records); + oneMaterielDetail = data.records[0]; + data.records[0].materialCode = list[0].productCode; + data.records[0].materialDesc = list[0].productDescZh; + console.log('aaaaa', oneMaterielDetail); + return oneMaterielDetail; + } + /** + * 确认按钮 + * @param orderNo + */ + @MutationAction + async confirm(list: any[]) { + const { code, data } = await http.post(url.outbound.stoOutbound.Bookkeeping, list); + console.log('res数据', data, code); + // if (code == '1') { + // uni.showToast({ icon: 'success', title: msg }); + // } else { + // uni.showToast({ icon: 'none', title: msg }); + // } + const materielList: any = []; + return { code, materielList }; + } +} + +export default getModule(ReturningModule); diff --git a/src/pages/raw/commission/goOut/config.ts b/src/pages/raw/commission/goOut/config.ts new file mode 100644 index 0000000..1d45ca0 --- /dev/null +++ b/src/pages/raw/commission/goOut/config.ts @@ -0,0 +1,21 @@ +/** + * 看单明细表格列 + */ +import vm from '@/main'; +export const headers = [ + { + label: vm.$t('message.product_barCode'), + key: 'barcode', + width: 300, + }, + { + label: vm.$t('message.product_FGCode'), + key: 'materialCode', + width: 300, + }, + { + label: vm.$t('message.product_FGDes'), + key: 'materialDesc', + width: 300, + }, +]; diff --git a/src/pages/raw/commission/goOut/detail.vue b/src/pages/raw/commission/goOut/detail.vue new file mode 100644 index 0000000..f1b6367 --- /dev/null +++ b/src/pages/raw/commission/goOut/detail.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/src/pages/raw/commission/goOut/index.vue b/src/pages/raw/commission/goOut/index.vue new file mode 100644 index 0000000..47de24e --- /dev/null +++ b/src/pages/raw/commission/goOut/index.vue @@ -0,0 +1,418 @@ + + + + + diff --git a/src/pages/raw/commission/goOut/model.ts b/src/pages/raw/commission/goOut/model.ts new file mode 100644 index 0000000..f8d0098 --- /dev/null +++ b/src/pages/raw/commission/goOut/model.ts @@ -0,0 +1,122 @@ +import { Action, 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'; +// import vm from '@/main'; + +class OrderInInfo { + stoAmount?: 0; + stoNo?: string; //STO采购单号 + orderAmount?: string; //单据总数 + Allocated?: string; //已分配 + Unallocated?: string; //未分配 +} + +@Module({ + namespaced: true, + dynamic: true, + store, + name: 'product.outbound.stoOutbound', +}) +export class ReturningModule extends VuexModule { + /** + * 月台列表 + */ + returningTypeList: any[] = []; + /** + * 物料列表 + */ + materielList: any[] = []; + + //条码扫描的返回的结果 + oneMaterielDetail: any = {}; + /** + * 订单号查询结果 + */ + orderInInfo: OrderInInfo = new OrderInInfo(); + //记账按钮的code码 + code = ''; + /** + * 查询月台列表 + */ + @MutationAction + async queryReturningTypeList() { + const list: [] = await http.post(url.outbound.stoOutbound.yuetaiType, { + factoryCode: session.factoryCode, + whCode: session.warehouseCode, + loginName: session.loginName, + }); + const returningTypeList = list.map((item: any) => ({ + label: item.dockName, + value: item.dockCode, + })); + return { returningTypeList }; + } + + /** + * 查询订单号 + * @param orderNo + */ + @MutationAction + async queryOrderInInfo(stoNo: string) { + const result = await http.post(url.outbound.stoOutbound.info, { + stoNo, + deleteFlag: 2, + finalState: 3, + loginName: session.loginName, + }); + let stoAmount = 0; + result.data.records.forEach((item: any) => { + stoAmount += item.orderAmount; + }); + const materielList = result.data.records.map((item: any) => ({ + label: item.materialCode, + value: item.stoItem, + ...item, + })); + console.log('materielList', materielList); + if (result.data.records[0]) { + result.data.records[0].stoAmount = stoAmount; + } + const orderInInfo = result.data.records[0] || {}; + return { orderInInfo, materielList }; + } + + /** + * 扫条码 + */ + @Action + async tluSubmit(list: any[]) { + const obj = { + barcode: list[0].barCode, + loginName: session.loginName, + }; + let oneMaterielDetail: any = {}; + const { data }: any = await http.post(url.outbound.stoOutbound.checkScan, obj); + console.log('shneme a ', data.records); + oneMaterielDetail = data.records[0]; + data.records[0].materialCode = list[0].productCode; + data.records[0].materialDesc = list[0].productDescZh; + console.log('aaaaa', oneMaterielDetail); + return oneMaterielDetail; + } + /** + * 确认按钮 + * @param orderNo + */ + @MutationAction + async confirm(list: any[]) { + const { code, data } = await http.post(url.outbound.stoOutbound.Bookkeeping, list); + console.log('res数据', data, code); + // if (code == '1') { + // uni.showToast({ icon: 'success', title: msg }); + // } else { + // uni.showToast({ icon: 'none', title: msg }); + // } + const materielList: any = []; + return { code, materielList }; + } +} + +export default getModule(ReturningModule); diff --git a/src/pages/raw/commission/index.vue b/src/pages/raw/commission/index.vue new file mode 100644 index 0000000..7030b4e --- /dev/null +++ b/src/pages/raw/commission/index.vue @@ -0,0 +1,138 @@ + + + + + diff --git a/src/pages/raw/index.vue b/src/pages/raw/index.vue index 5bc2e92..cf6a820 100644 --- a/src/pages/raw/index.vue +++ b/src/pages/raw/index.vue @@ -30,6 +30,12 @@ > + + + + 5.{{ '委外' }} + + +
+ + + + {{ + model.isCheckedAll + ? this.$t("message.po_noSelectAll") + : this.$t("message.po_SelectAll") + }} + + + + {{ + $t("message.Pi_distribution") + }} + + + + {{ $t("message.po_Submit") }} + + + + {{ + $t("message.po_Return") + }} + + +
+ + + + + + + diff --git a/src/pages/raw/warehouse/rowInventory/idetailed.vue b/src/pages/raw/warehouse/rowInventory/idetailed.vue new file mode 100644 index 0000000..62e1411 --- /dev/null +++ b/src/pages/raw/warehouse/rowInventory/idetailed.vue @@ -0,0 +1,390 @@ + + + + + diff --git a/src/pages/raw/warehouse/rowInventory/index.vue b/src/pages/raw/warehouse/rowInventory/index.vue new file mode 100644 index 0000000..e04ad6b --- /dev/null +++ b/src/pages/raw/warehouse/rowInventory/index.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/src/pages/raw/warehouse/rowInventory/model.ts b/src/pages/raw/warehouse/rowInventory/model.ts new file mode 100644 index 0000000..6c9f4b2 --- /dev/null +++ b/src/pages/raw/warehouse/rowInventory/model.ts @@ -0,0 +1,213 @@ +import { + Action, + getModule, + Module, + Mutation, + 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"; +import httpjson from "@/utils/location"; + +class OrderInInfo { + checked?: boolean; + dnNo?: string; + kw?: string; + userDefined10?: string; + orderStatus?: string; + carNo?: string; + bookingTime?: string; + supplyCode?: string; + poType?: string; + location?: string; +} + +@Module({ + namespaced: true, + dynamic: true, + store, + name: "raw.ingoods.dnReceipt", +}) +export class ReceiptModule extends VuexModule { + sendSpot = ""; + /** + * sap库存地点列表 + */ + cboPlaceList = []; + /** + * 隐藏看单号 + */ + dnNo = ""; + /** + * 看单号查询结果 + */ + orderInInfo: OrderInInfo = new OrderInInfo(); + /** + * 看单明细 + */ + orderInInfoList: OrderInInfo[] = []; + /** + * 看单明细未通过明细 + */ + orderInInfoListEx: OrderInInfo[] = []; + + /** + * 库位列表 + */ + returningTypeList: any[] = []; + + /** + * 是否已查询看单号 + */ + get hasDnInfo() { + return !!this.orderInInfo.dnNo; + } + + /** + * 是否全选 + */ + get isCheckedAll() { + return !this.orderInInfoList.filter((_) => !_.checked).length; + } + + /** + * 是否有选择项 + */ + get hasChecked() { + return this.orderInInfoList.filter((_) => _.checked).length > 0; + } + + /** + * 更新看单明细库位 + * @param kw 库位 + */ + @Mutation + updateOrderInInfoListKw(kw: string) { + this.orderInInfoList = this.orderInInfoList.map((item) => { + item.kw = kw; + return item; + }); + } + + /** + * 更新选中的看单明细库位 + * @param kw 库位 + */ + @Mutation + updateCheckedOrderInInfoListKw(kw: string) { + this.orderInInfoList = this.orderInInfoList.map((item) => { + if (item.checked) { + item.kw = kw; + } + return item; + }); + } + + /** + * 看单明细全选/全不选 + */ + @Mutation + checkAllOrderInInfoList(checked: boolean) { + this.orderInInfoList = this.orderInInfoList.map((item) => { + item.checked = checked; + return item; + }); + } + + /** + * 查询库位列表 + */ + @MutationAction + async queryLocation() { + const result: any = await http.post(url.auth.query.location1, { + factoryCode: session.factoryCode, + loginName: session.loginName, + userDefined3: 1, + }); + console.log("result", result); + const cboPlaceList = result.data.records.map((_: any) => ({ + label: _.sendSpot, + value: _.sendSpot, + })); + return { cboPlaceList }; + } + + /** + * 查询单号 + * 查询DN单号 + * @param dnNo + */ + @MutationAction + async queryOrderInInfo(dnNo: string) { + const { list }: any = await http.post(url.material.DNorderin.info, { + dnNo, + factoryCode: session.factoryCode, + loginName: session.loginName, + }); + const orderInInfo = list[0] || {}; + const orderInInfoList = list.filter( + (_: OrderInInfo) => _.userDefined10 === "1" + ); + const orderInInfoListEx = list.filter( + (_: OrderInInfo) => _.userDefined10 === "0" + ); + // orderInInfoList.forEach((item: any) => { + // item.receiptAmount = item.requestAmount; + // }); + localStorage.setItem("sendSpot", JSON.stringify(list[0].sendSpot) as any); + return { dnNo, orderInInfo, orderInInfoList, orderInInfoListEx }; + } + + /** + * 提交看单明细 + */ + @MutationAction + async submitOrderInEnter() { + const list = (this.state as any).orderInInfoList.map((item: any) => { + item.orderStatus = item.checked ? "2" : "1"; + return item; + }); + const result: any = await http.post(url.material.DNorderin.enter, { + dnNo: this.dnNo, + factoryCode: session.factoryCode, + loginName: session.loginName, + list, + }); + uni.showToast({ + icon: "none", + title: result.msg, + }); + const orderInInfoList = result.list.sort( + (a: any, b: any) => + Number(a.accountingStatus) - Number(b.accountingStatus) + ); + return { orderInInfoList }; + } + + /** + * 修改库位 + */ + @Action({ commit: "updateCheckedOrderInInfoListKw" }) + async changeOrderInLocation(kw: string) { + await http.post("/material/orderin/enter", { + warehouseCode: session.warehouseCode, + factoryCode: session.factoryCode, + loginName: session.loginName, + locationCode: kw, + }); + return kw; + } + @Action({ commit: "updateCheckedOrderInInfoListKw" }) + async queryByFactoryCodeAndWorkAreaCode(content: any) { + let res = await http.post( + "/wmspda/fg/queryByFactoryCodeAndWorkAreaCode", + content + ); + return res; + } +} + +export default getModule(ReceiptModule); diff --git a/src/utils/page.ts b/src/utils/page.ts index 5d6b7e8..2da4dd3 100644 --- a/src/utils/page.ts +++ b/src/utils/page.ts @@ -139,7 +139,21 @@ export const page = { index: "/pages/raw/warehouse/rowCollect/index", details: "/pages/raw/warehouse/rowCollect/details", }, + rowInventory: { + index: "/pages/raw/warehouse/rowInventory/index", + }, }, + commission:{ + index: "/pages/raw/commission/index", + entrant:{ + index: "/pages/raw/commission/entrant/index", + detail: "/pages/raw/commission/entrant/detail", + }, + goOut:{ + index: "/pages/raw/commission/goOut/index", + detail: "/pages/raw/commission/goOut/detail", + } + } }, SemiProduct: { index: "/pages/SemiProduct/index",