From 6f7b3a8b69c7954cfde15c60f46f1d8de6ab02c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Tue, 2 Apr 2024 17:31:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90NEV-PC=E3=80=91=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/src/api/wms-api.js | 8 + fe/PC/src/filters/status.js | 36 +- fe/PC/src/router/index.js | 64 +++ fe/PC/src/utils/detailsTableColumns/index.js | 1 + fe/PC/src/utils/tableColumns/index.js | 65 ++- fe/PC/src/utils/tabsDesTions/index.js | 60 ++- .../basicData/ItemsManage/ItemContainer.vue | 211 ++++++++++ .../views/basicData/ItemsManage/Utensil.vue | 7 +- .../WarehouseManage/ItemStoreRelation.vue | 5 +- .../priceManage/PurchasePriceSheet.vue | 163 ++++++++ .../basicData/priceManage/SalePriceSheet.vue | 163 ++++++++ .../priceManage/StdCostPriceSheet.vue | 163 ++++++++ .../dismantle/customerDismantleJob-old.vue | 381 ++++++++++++++++++ .../purchaseReceipt/PurchaseOrderHigher.vue | 80 ++-- 14 files changed, 1355 insertions(+), 52 deletions(-) create mode 100644 fe/PC/src/views/basicData/ItemsManage/ItemContainer.vue create mode 100644 fe/PC/src/views/basicData/priceManage/PurchasePriceSheet.vue create mode 100644 fe/PC/src/views/basicData/priceManage/SalePriceSheet.vue create mode 100644 fe/PC/src/views/basicData/priceManage/StdCostPriceSheet.vue create mode 100644 fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue diff --git a/fe/PC/src/api/wms-api.js b/fe/PC/src/api/wms-api.js index 14e11ae80..f81e8de52 100644 --- a/fe/PC/src/api/wms-api.js +++ b/fe/PC/src/api/wms-api.js @@ -666,6 +666,14 @@ export async function productRecycleNoteExport(data) { }) } +// 采购订单-关闭订单行 +export async function purchaseOrderCloseDetailld(id,detailld) { + return request({ + url: baseURL + `wms/store/purchase-order/${id}/detail/close/${detailld}`, + method: 'post', + }) +} + // 客户退拆任务-完成 todo // export async function productionRecycleJobComplete(id) { // return request({ diff --git a/fe/PC/src/filters/status.js b/fe/PC/src/filters/status.js index adbaf8099..c15c6aae3 100644 --- a/fe/PC/src/filters/status.js +++ b/fe/PC/src/filters/status.js @@ -614,6 +614,30 @@ export function taskType(index, prop) { label: "盘点任务", value: 9 }, + 11: { + label: "JIS发货", + value: 11 + }, + 12: { + label: "计划外出库", + value: 12 + }, + 13: { + label: "计划外入库", + value: 13 + }, + 14: { + label: "退料", + value: 14 + }, + 15: { + label: "转移", + value: 15 + }, + 16: { + label: "器具转移", + value: 16 + }, } return Enum(type, index, prop) } @@ -1202,9 +1226,7 @@ export function truncType(index, prop) { } return Enum(type, index, prop) } -/** - * @returns {Array} '包装类型' - */ +// 包装类型 export function qtyUomType(index, prop) { let type = { EA: { @@ -2469,12 +2491,12 @@ export function positionCodeType(index, prop) { // 器具类型 export function utensilType(index, prop) { let type = { - 1: { - value: 1, + "InLogistics": { + value: "InLogistics", label: "内物流" }, - 2: { - value: 2, + "OutLogistics": { + value: "OutLogistics", label: "外物流" }, } diff --git a/fe/PC/src/router/index.js b/fe/PC/src/router/index.js index 139a62f22..373689244 100644 --- a/fe/PC/src/router/index.js +++ b/fe/PC/src/router/index.js @@ -414,6 +414,70 @@ export const constantRoutes = [ } }] }, + { + path: '/', + component: Layout, + redirect: '/gridlayout', + hidden: true, + children: [{ + path: 'StdCostPriceSheet', + component: () => import('@/views/basicData/priceManage/StdCostPriceSheet.vue'), + name: 'StdCostPriceSheet', + meta: { + keepAlive : true, + title: '标准成本价格单', + icon: '成品发运任务', + } + }] + }, + { + path: '/', + component: Layout, + redirect: '/gridlayout', + hidden: true, + children: [{ + path: 'PurchasePriceSheet', + component: () => import('@/views/basicData/priceManage/PurchasePriceSheet.vue'), + name: 'PurchasePriceSheet', + meta: { + keepAlive : true, + title: '采购价格单', + icon: '成品发运任务', + } + }] + }, + { + path: '/', + component: Layout, + redirect: '/gridlayout', + hidden: true, + children: [{ + path: 'SalePriceSheet', + component: () => import('@/views/basicData/priceManage/SalePriceSheet.vue'), + name: 'SalePriceSheet', + meta: { + keepAlive : true, + title: '销售价格单', + icon: '成品发运任务', + } + }] + }, + { + path: '/', + component: Layout, + redirect: '/gridlayout', + hidden: true, + children: [{ + path: 'ItemContainer', + component: () => import('@/views/basicData/ItemsManage/ItemContainer.vue'), + name: 'ItemContainer', + meta: { + keepAlive : true, + title: '收容数标包', + icon: '成品发运任务', + } + }] + }, ] /** diff --git a/fe/PC/src/utils/detailsTableColumns/index.js b/fe/PC/src/utils/detailsTableColumns/index.js index 6d4d025e6..49e189e98 100644 --- a/fe/PC/src/utils/detailsTableColumns/index.js +++ b/fe/PC/src/utils/detailsTableColumns/index.js @@ -125,6 +125,7 @@ export const PurchaseOrderHigher = [ { label: "已收货数量", prop: "receivedQty" }, { label: "已退货数量", prop: "returnedQty" }, { label: "已上架数量", prop: "putAwayQty" }, + { label: "订单行状态", prop: "lineStatus",type:'filter',filters:"openToClose" }, // ----------------------------------------------------------------------- { label: "筹措员代码", prop: 'planUserCode' }, { label: "要求到货时间", prop: "planArriveDate", type: "dateTime" }, diff --git a/fe/PC/src/utils/tableColumns/index.js b/fe/PC/src/utils/tableColumns/index.js index 231a34854..65efe64a2 100644 --- a/fe/PC/src/utils/tableColumns/index.js +++ b/fe/PC/src/utils/tableColumns/index.js @@ -120,6 +120,20 @@ export const ItemPack = [ // fixed: "right" // }, ] +// 收容数标包 +export const ItemContainer = [ + { + label: "收容代码", + prop: "containerCode", + fixed: "left", + type: "name" + }, + { label: "物料代码", prop: "itemCode" }, + { label: '收容数量', prop: "qty" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: 'remark', colSpan: 12 }, +] // 物品质检标准信息 export const AQL = [ { @@ -994,6 +1008,53 @@ export const documentBasic = [ // fixed: "right" // }, ] +// 标准成本价格单 +export const StdCostPriceSheet = [ + { + label: "物品代码", + fixed: "left", + type: "name", + prop: "itemCode", + width:"200px" + }, + { label: "标准成本价格", prop: "stdCostPrice" }, + { label: "价格单描述", prop: "description" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: "remark" }, +] +// 采购价格单 +export const PurchasePriceSheet = [ + { + label: "物品代码", + fixed: "left", + type: "name", + prop: "itemCode", + width:"200px" + }, + { label: "供应商编号", prop: "supplierCode" }, + { label: "采购价格", prop: "purchasePrice" }, + { label: "价格单描述", prop: "description" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: "remark" }, +] +// 销售价格单 +export const SalePriceSheet = [ + { + label: "物品代码", + fixed: "left", + type: "name", + prop: "itemCode", + width:"200px" + }, + { label: "客户代码", prop: "customerCode" }, + { label: "销售价格", prop: "salePrice" }, + { label: "价格单描述", prop: "description" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: "remark" }, +] // 原料管理 @@ -4075,8 +4136,8 @@ export const Utensil = [ type: "name" }, // { label: _Names.stdPackQty, prop: "stdQty",isNumber:true }, - { label: "器具类型", prop: 'containerType',type:"filter",filters:"utensilType" }, - { label: "器具规格", prop: "specificationsType",type: "filter", filters: "getDict" , dictType:"ContainerSpecificationsType"}, + { label: "器具类型", prop: 'type',type:"filter",filters:"utensilType" }, + { label: "器具规格", prop: "model",type: "filter", filters: "getDict" , dictType:"ContainerSpecificationsType"}, { label: _Public.creationTime, prop: "creationTime", type: "dateTime" }, { label: '创建人', prop: "creator" }, { label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" }, diff --git a/fe/PC/src/utils/tabsDesTions/index.js b/fe/PC/src/utils/tabsDesTions/index.js index 032cf1c15..3bc99d438 100644 --- a/fe/PC/src/utils/tabsDesTions/index.js +++ b/fe/PC/src/utils/tabsDesTions/index.js @@ -92,6 +92,15 @@ export const ItemPack = [ // ************** 确认隐藏 ************************ ] +// 收容数标包 +export const ItemContainer = [ + { label: "收容代码", prop: 'containerCode' }, + { label: "物料代码", prop: "itemCode" }, + { label: '收容数量', prop: "qty" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: 'remark', colSpan: 12 }, +] // 物品质检标准信息 20230328 export const AQL = [ { label: "物品代码", prop: "itemCode" }, @@ -748,6 +757,53 @@ export const documentBasic = [ // { label: "ID", prop: 'id' }, // ************** 确认隐藏 ************************ ] +// 标准成本价格单 +export const StdCostPriceSheet = [ + { + label: "物品代码", + fixed: "left", + type: "name", + prop: "itemCode", + width:"200px" + }, + { label: "标准成本价格", prop: "stdCostPrice" }, + { label: "价格单描述", prop: "description" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: "remark" }, +] +// 采购价格单 +export const PurchasePriceSheet = [ + { + label: "物品代码", + fixed: "left", + type: "name", + prop: "itemCode", + width:"200px" + }, + { label: "供应商编号", prop: "supplierCode" }, + { label: "采购价格", prop: "purchasePrice" }, + { label: "价格单描述", prop: "description" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: "remark" }, +] +// 销售价格单 +export const SalePriceSheet = [ + { + label: "物品代码", + fixed: "left", + type: "name", + prop: "itemCode", + width:"200px" + }, + { label: "客户代码", prop: "customerCode" }, + { label: "销售价格", prop: "salePrice" }, + { label: "价格单描述", prop: "description" }, + { label: "创建时间", prop: "creationTime", type:'dateTime' }, + { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, + { label: "备注", prop: "remark" }, +] // 原料管理 // 供应商发货通知 20230404 @@ -2948,8 +3004,8 @@ export const PositionCode = [ export const Utensil = [ { label: '器具代码',prop: "code",}, // { label: _Names.stdPackQty, prop: "stdQty" }, - { label: "器具类型", prop: 'containerType',type:"filter",filters:"utensilType" }, - { label: "器具规格", prop: "specificationsType",type: "filter", filters: "getDict" , dictType:"ContainerSpecificationsType"}, + { label: "器具类型", prop: 'type',type:"filter",filters:"utensilType" }, + { label: "器具规格", prop: "model",type: "filter", filters: "getDict" , dictType:"ContainerSpecificationsType"}, { label: _Public.creationTime, prop: "creationTime", type: "dateTime" }, { label: '创建人', prop: "creator" }, { label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" }, diff --git a/fe/PC/src/views/basicData/ItemsManage/ItemContainer.vue b/fe/PC/src/views/basicData/ItemsManage/ItemContainer.vue new file mode 100644 index 000000000..4fcd8e6e1 --- /dev/null +++ b/fe/PC/src/views/basicData/ItemsManage/ItemContainer.vue @@ -0,0 +1,211 @@ + + + \ No newline at end of file diff --git a/fe/PC/src/views/basicData/ItemsManage/Utensil.vue b/fe/PC/src/views/basicData/ItemsManage/Utensil.vue index 21de53db4..546780d90 100644 --- a/fe/PC/src/views/basicData/ItemsManage/Utensil.vue +++ b/fe/PC/src/views/basicData/ItemsManage/Utensil.vue @@ -162,7 +162,6 @@ export default { { type: "select",options: "utensilType", label: "器具类型", prop: "type", colSpan: 12 }, { type: "input", label: "备注", prop: "remark", colSpan: 12 }, ], - //todo:器具规格+器具类型 editRules: { cerateRule: { codeSuffix: [{ required: true, trigger: "blur", message: "不可为空" }], @@ -202,7 +201,6 @@ export default { // this.$listAssign(this.editFormData, this.propsData) this.displayDialog.editDialog = true - // todo:编辑-拆分类型前缀和code码 this.editFormData.prefixType = "Q" this.editFormData.codeSuffix = (this.editFormData.prefixType == 'Q') ? (this.editFormData.code && this.editFormData.code.length > 0 ? this.editFormData.code.slice(1) : null) : this.editFormData.code // this.editFormData.prefixType = this.editFormData.code && this.editFormData.code.length > 0 ? this.editFormData.code.slice(0,1) : "Q" @@ -213,12 +211,11 @@ export default { } }, FormSubmitHandle(val){ - // todo:处理codeType + code拼接 if(this.formReveal){ - this.CreateFormData.code = this.CreateFormData.prefixType + this.CreateFormData.codeSuffix + this.CreateFormData.code = this.CreateFormData.codeSuffix this.CreateFormData.creator = store.getters.name.userName }else{ - this.editFormData.code = this.editFormData.prefixType + this.editFormData.codeSuffix + this.editFormData.code = this.editFormData.codeSuffix this.editFormData.creator = store.getters.name.userName } this.$nextTick(()=>{ diff --git a/fe/PC/src/views/basicData/WarehouseManage/ItemStoreRelation.vue b/fe/PC/src/views/basicData/WarehouseManage/ItemStoreRelation.vue index c3754fb4e..d93f8235b 100644 --- a/fe/PC/src/views/basicData/WarehouseManage/ItemStoreRelation.vue +++ b/fe/PC/src/views/basicData/WarehouseManage/ItemStoreRelation.vue @@ -223,8 +223,11 @@ export default { editRules: { cerateRule: { itemCode: [{ required: true, trigger: "change", message: "不可为空" },], + storeValue: [{ required: true, trigger: "change", message: "不可为空" },], }, - editRule: {} + editRule: { + storeValue: [{ required: true, trigger: "change", message: "不可为空" },], + } }, }; }, diff --git a/fe/PC/src/views/basicData/priceManage/PurchasePriceSheet.vue b/fe/PC/src/views/basicData/priceManage/PurchasePriceSheet.vue new file mode 100644 index 000000000..df58f9d1e --- /dev/null +++ b/fe/PC/src/views/basicData/priceManage/PurchasePriceSheet.vue @@ -0,0 +1,163 @@ + + + + \ No newline at end of file diff --git a/fe/PC/src/views/basicData/priceManage/SalePriceSheet.vue b/fe/PC/src/views/basicData/priceManage/SalePriceSheet.vue new file mode 100644 index 000000000..b4ab89423 --- /dev/null +++ b/fe/PC/src/views/basicData/priceManage/SalePriceSheet.vue @@ -0,0 +1,163 @@ + + + + \ No newline at end of file diff --git a/fe/PC/src/views/basicData/priceManage/StdCostPriceSheet.vue b/fe/PC/src/views/basicData/priceManage/StdCostPriceSheet.vue new file mode 100644 index 000000000..65af6ee03 --- /dev/null +++ b/fe/PC/src/views/basicData/priceManage/StdCostPriceSheet.vue @@ -0,0 +1,163 @@ + + + + \ No newline at end of file diff --git a/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue b/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue new file mode 100644 index 000000000..1d45443b7 --- /dev/null +++ b/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue @@ -0,0 +1,381 @@ + + + \ No newline at end of file diff --git a/fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseOrderHigher.vue b/fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseOrderHigher.vue index 3330de9af..93dc87a09 100644 --- a/fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseOrderHigher.vue +++ b/fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseOrderHigher.vue @@ -55,7 +55,27 @@ :MaxResultCount="MaxResultCountDetails" @alterResultCountDetails="alterResultCountDetails" @alertoldSkipCountDetails="alertoldSkipCountDetails" - > + > + +