From f7801c2bb43b7848c957828570eb3b0427c027cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Mon, 15 Apr 2024 17:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90NEV-PC=E3=80=91=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E5=8F=8A=E4=BC=98=E5=8C=96=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/currenDescriptions/index.vue | 3 + fe/PC/src/components/currenTable/index.vue | 4 +- fe/PC/src/components/umyTable/index.vue | 3 + fe/PC/src/utils/detailsTableColumns/index.js | 74 ++++++++++++++----- fe/PC/src/utils/tableColumns/index.js | 14 +--- fe/PC/src/utils/tabsDesTions/index.js | 14 +--- .../views/basicData/ItemsManage/Kitting.vue | 1 + .../WorkshopManage/ProductionLine.vue | 4 +- 8 files changed, 76 insertions(+), 41 deletions(-) diff --git a/fe/PC/src/components/currenDescriptions/index.vue b/fe/PC/src/components/currenDescriptions/index.vue index 995990bcb..ddaa22dc7 100644 --- a/fe/PC/src/components/currenDescriptions/index.vue +++ b/fe/PC/src/components/currenDescriptions/index.vue @@ -23,6 +23,9 @@ {{ propsData[item.prop]?propsData[item.prop][item.showProp]:"" | formatDate }} + + {{ (propsData[item.prop]).toFixed(item.pointe || 2) }} + {{ propsData[item.prop]?propsData[item.prop][item.showProp]:"" }} diff --git a/fe/PC/src/components/currenTable/index.vue b/fe/PC/src/components/currenTable/index.vue index 022727200..db717e828 100644 --- a/fe/PC/src/components/currenTable/index.vue +++ b/fe/PC/src/components/currenTable/index.vue @@ -272,7 +272,9 @@ @click="buttonClick(scope.row, scope.$index, item.label)" >{{item.label}} - + + {{ (scope.row[item.prop]).toFixed(item.pointe || 2) }} + {{ scope.row[item.prop] ? scope.row[item.prop][item.showProp] : "" }} diff --git a/fe/PC/src/components/umyTable/index.vue b/fe/PC/src/components/umyTable/index.vue index 6f10e1419..d23b43cf6 100644 --- a/fe/PC/src/components/umyTable/index.vue +++ b/fe/PC/src/components/umyTable/index.vue @@ -273,6 +273,9 @@ @click="buttonOperationClick(scope.row, item.buttonName.split('|')[indexButton])" >{{itemButton}} + + {{ (scope.row[item.prop]).toFixed(item.pointe || 2) }} + {{ scope.row[item.prop] ? scope.row[item.prop][item.showProp] : "" }} diff --git a/fe/PC/src/utils/detailsTableColumns/index.js b/fe/PC/src/utils/detailsTableColumns/index.js index 3a6727728..20882e81f 100644 --- a/fe/PC/src/utils/detailsTableColumns/index.js +++ b/fe/PC/src/utils/detailsTableColumns/index.js @@ -907,6 +907,44 @@ export const PurchaseReturnRequest = [ // { label: "ID", prop: 'id' }, // ************** 确定隐藏 ************************ ] +// 上架后退货审批 +export const PurchaseReturnApprove = [ + { label: "物品代码", prop: "itemCode", fixed: "left" }, + { label: "物品名称", prop: "itemName" }, + { label: "物品描述1", prop: "itemDesc1" }, + { label: "物品描述2", prop: "itemDesc2" }, + { label: "配置", prop: "item_configurationFromFE" }, + { label: "数量", prop: "qty" }, + { label: "单位", prop: "uom" }, + { label: "批次", prop: 'lot' }, + { label: "箱码", prop: "packingCode" }, + { label: "退货库位", prop: "locationCode" }, + { label: "ERP储位", prop: "locationErpCode" }, + { label: "订单号", prop: 'poNumber', width:orderWidth }, + // ----------------------------------------------------------------------- + { label: "创建时间", prop: 'creationTime', type: "dateTime" }, + { label: "创建者ID", prop: 'creatorId' }, + { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, + { label: "上次修改者ID", prop: 'lastModifierId' }, + { label: "单据号", prop: 'number' }, + { label: "备注", prop: 'remark' }, + { label: "供应商批次", prop: 'supplierBatch' }, + { label: "到货时间", prop: 'arriveDate' }, + { label: "生产时间", prop: 'produceDate' }, + { label: "过期时间", prop: 'expireDate' }, + { label: "标包数量", prop: 'stdPackQty' }, + { label: "库位组", prop: 'locationGroup' }, + { label: "仓库代码", prop: 'warehouseCode' }, + { label: "库区", prop: 'locationArea' }, + { label: "订单行", prop: 'poLine' }, + { label: "事务ID", prop: "tenantId" }, + // ************** 确定隐藏 ************************ + // { label: "status", prop: 'status' }, + // { label: "主表ID", prop: "masterID" }, + // { label: "ID", prop: 'id' }, + // ************** 确定隐藏 ************************ +] + // 上架后退货任务 20230412 export const PurchaseReturnJob = [ { label: "物品代码", prop: "itemCode", fixed: "left" }, @@ -3539,11 +3577,11 @@ export const completDumpNoteZS = [ { label: "单位", prop: "uom" }, { label: "数量", prop: "qty" }, { label: "标包数量", prop: 'stdPackQty' }, - { label: "来源箱码", prop: 'fromPackingCode' }, - { label: "目标箱码", prop: 'toPackingCode' }, - { label: "来源批次", prop: 'fromLot' }, - { label: "目标批次", prop: 'toLot' }, - { label: "供应商批次", prop: 'supplierBatch' }, + // { label: "来源箱码", prop: 'fromPackingCode' }, + // { label: "目标箱码", prop: 'toPackingCode' }, + // { label: "来源批次", prop: 'fromLot' }, + // { label: "目标批次", prop: 'toLot' }, + // { label: "供应商批次", prop: 'supplierBatch' }, { label: "到货时间", prop: "arriveDate", type: "dateTime" }, { label: "生产时间", prop: "produceDate", type: "dateTime" }, { label: "过期时间", prop: "expireDate", type: "dateTime" }, @@ -3557,7 +3595,7 @@ export const completDumpNoteZS = [ { label: "目标ERP库位", prop: "toLocationErpCode" }, { label: "来源仓库", prop: 'fromWarehouseCode' }, { label: "目标仓库", prop: 'toWarehouseCode' }, - { label: "在途库位", prop: "onTheWayLocationCode" }, + // { label: "在途库位", prop: "onTheWayLocationCode" }, { label: "原因", prop: 'reason' }, { label: "备注", prop: 'remark' }, { label: "创建时间", prop: "creationTime",type:"dateTime" }, @@ -3578,11 +3616,11 @@ export const completDumpNotePT = [ { label: "单位", prop: "uom" }, { label: "数量", prop: "qty" }, { label: "标包数量", prop: 'stdPackQty' }, - { label: "来源箱码", prop: 'fromPackingCode' }, - { label: "目标箱码", prop: 'toPackingCode' }, - { label: "来源批次", prop: 'fromLot' }, - { label: "目标批次", prop: 'toLot' }, - { label: "供应商批次", prop: 'supplierBatch' }, + // { label: "来源箱码", prop: 'fromPackingCode' }, + // { label: "目标箱码", prop: 'toPackingCode' }, + // { label: "来源批次", prop: 'fromLot' }, + // { label: "目标批次", prop: 'toLot' }, + // { label: "供应商批次", prop: 'supplierBatch' }, { label: "到货时间", prop: "arriveDate", type: "dateTime" }, { label: "生产时间", prop: "produceDate", type: "dateTime" }, { label: "过期时间", prop: "expireDate", type: "dateTime" }, @@ -3596,7 +3634,7 @@ export const completDumpNotePT = [ { label: "目标ERP库位", prop: "toLocationErpCode" }, { label: "来源仓库", prop: 'fromWarehouseCode' }, { label: "目标仓库", prop: 'toWarehouseCode' }, - { label: "在途库位", prop: "onTheWayLocationCode" }, + // { label: "在途库位", prop: "onTheWayLocationCode" }, { label: "原因", prop: 'reason' }, { label: "备注", prop: 'remark' }, { label: "创建时间", prop: "creationTime",type:"dateTime" }, @@ -3617,11 +3655,11 @@ export const completDumpNoteZP = [ { label: "单位", prop: "uom" }, { label: "数量", prop: "qty" }, { label: "标包数量", prop: 'stdPackQty' }, - { label: "来源箱码", prop: 'fromPackingCode' }, - { label: "目标箱码", prop: 'toPackingCode' }, - { label: "来源批次", prop: 'fromLot' }, - { label: "目标批次", prop: 'toLot' }, - { label: "供应商批次", prop: 'supplierBatch' }, + // { label: "来源箱码", prop: 'fromPackingCode' }, + // { label: "目标箱码", prop: 'toPackingCode' }, + // { label: "来源批次", prop: 'fromLot' }, + // { label: "目标批次", prop: 'toLot' }, + // { label: "供应商批次", prop: 'supplierBatch' }, { label: "到货时间", prop: "arriveDate", type: "dateTime" }, { label: "生产时间", prop: "produceDate", type: "dateTime" }, { label: "过期时间", prop: "expireDate", type: "dateTime" }, @@ -3635,7 +3673,7 @@ export const completDumpNoteZP = [ { label: "目标ERP库位", prop: "toLocationErpCode" }, { label: "来源仓库", prop: 'fromWarehouseCode' }, { label: "目标仓库", prop: 'toWarehouseCode' }, - { label: "在途库位", prop: "onTheWayLocationCode" }, + // { label: "在途库位", prop: "onTheWayLocationCode" }, { label: "原因", prop: 'reason' }, { label: "备注", prop: 'remark' }, { label: "创建时间", prop: "creationTime",type:"dateTime" }, diff --git a/fe/PC/src/utils/tableColumns/index.js b/fe/PC/src/utils/tableColumns/index.js index 1c597c836..b1b26729e 100644 --- a/fe/PC/src/utils/tableColumns/index.js +++ b/fe/PC/src/utils/tableColumns/index.js @@ -1014,7 +1014,7 @@ export const StdCostPriceSheet = [ prop: "itemCode", width:"200px" }, - { label: "标准成本价格", prop: "stdCostPrice" }, + { label: "标准成本价格", prop: "stdCostPrice",type:"price" }, { label: "创建时间", prop: "creationTime", type:'dateTime' }, { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, { label: "备注", prop: "remark" }, @@ -1029,7 +1029,7 @@ export const PurchasePriceSheet = [ width:"200px" }, { label: "供应商编号", prop: "supplierCode" }, - { label: "采购价格", prop: "purchasePrice" }, + { label: "采购价格", prop: "purchasePrice",type:"price" }, { label: "价格单描述", prop: "description" }, { label: "创建时间", prop: "creationTime", type:'dateTime' }, { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, @@ -1045,7 +1045,7 @@ export const SalePriceSheet = [ width:"200px" }, { label: "客户代码", prop: "customerCode" }, - { label: "销售价格", prop: "salePrice" }, + { label: "销售价格", prop: "salePrice",type:"price" }, { label: "价格单描述", prop: "description" }, { label: "创建时间", prop: "creationTime", type:'dateTime' }, { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, @@ -4116,7 +4116,7 @@ export const PositionCode = [ // { label: _Names.itemDesc2, prop: "desc2" }, { label: _Names.basicUom, prop: "basicUom" }, { label: _Names.stdPackQty, prop: "stdPackQty",isNumber:true }, - { label: _Names.locationCode, prop: "locationCode" }, + { label: "叫料库位代码", prop: "locationCode" }, { label: _Names.locationName, prop: "locationName" }, { label: _Public.creationTime, prop: "creationTime", type: "dateTime" }, { label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" }, @@ -4193,8 +4193,6 @@ export const completDumpNoteZS = [ }, { label: "申请单号", prop: "requestNumber",width: orderWidth }, { label: "任务单号", prop: 'jobNumber',width: orderWidth }, - { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, - { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, @@ -4213,8 +4211,6 @@ export const completDumpNotePT = [ }, { label: "申请单号", prop: "requestNumber",width: orderWidth }, { label: "任务单号", prop: 'jobNumber',width: orderWidth }, - { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, - { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, @@ -4233,8 +4229,6 @@ export const completDumpNoteZP = [ }, { label: "申请单号", prop: "requestNumber",width: orderWidth }, { label: "任务单号", prop: 'jobNumber',width: orderWidth }, - { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, - { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, diff --git a/fe/PC/src/utils/tabsDesTions/index.js b/fe/PC/src/utils/tabsDesTions/index.js index 46de809ff..990d8d3d5 100644 --- a/fe/PC/src/utils/tabsDesTions/index.js +++ b/fe/PC/src/utils/tabsDesTions/index.js @@ -763,7 +763,7 @@ export const StdCostPriceSheet = [ prop: "itemCode", width:"200px" }, - { label: "标准成本价格", prop: "stdCostPrice" }, + { label: "标准成本价格", prop: "stdCostPrice",type:"price" }, { label: "创建时间", prop: "creationTime", type:'dateTime' }, { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, { label: "备注", prop: "remark" }, @@ -778,7 +778,7 @@ export const PurchasePriceSheet = [ width:"200px" }, { label: "供应商编号", prop: "supplierCode" }, - { label: "采购价格", prop: "purchasePrice" }, + { label: "采购价格", prop: "purchasePrice",type:"price" }, { label: "价格单描述", prop: "description" }, { label: "创建时间", prop: "creationTime", type:'dateTime' }, { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, @@ -794,7 +794,7 @@ export const SalePriceSheet = [ width:"200px" }, { label: "客户代码", prop: "customerCode" }, - { label: "销售价格", prop: "salePrice" }, + { label: "销售价格", prop: "salePrice",type:"price" }, { label: "价格单描述", prop: "description" }, { label: "创建时间", prop: "creationTime", type:'dateTime' }, { label: "上次修改时间", prop: "lastModificationTime", type:'dateTime' }, @@ -2991,7 +2991,7 @@ export const PositionCode = [ // { label: _Names.itemDesc2, prop: "desc2" }, { label: _Names.basicUom, prop: "basicUom" }, { label: _Names.stdPackQty, prop: "stdPackQty" }, - { label: _Names.locationCode, prop: "locationCode" }, + { label: "叫料库位代码", prop: "locationCode" }, { label: _Names.locationName, prop: "locationName" }, { label: _Public.creationTime, prop: "creationTime", type: "dateTime" }, { label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" }, @@ -3051,8 +3051,6 @@ export const completDumpNoteZS = [ }, { label: "申请单号", prop: "requestNumber" }, { label: "任务单号", prop: 'jobNumber' }, - { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, - { label: "是否确认", prop: "confirmed", type: "filter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, @@ -3070,8 +3068,6 @@ export const completDumpNotePT = [ }, { label: "申请单号", prop: "requestNumber" }, { label: "任务单号", prop: 'jobNumber' }, - { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, - { label: "是否确认", prop: "confirmed", type: "filter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, @@ -3089,8 +3085,6 @@ export const completDumpNoteZP = [ }, { label: "申请单号", prop: "requestNumber" }, { label: "任务单号", prop: 'jobNumber' }, - { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, - { label: "是否确认", prop: "confirmed", type: "filter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, diff --git a/fe/PC/src/views/basicData/ItemsManage/Kitting.vue b/fe/PC/src/views/basicData/ItemsManage/Kitting.vue index f09be7ea1..24a0216ce 100644 --- a/fe/PC/src/views/basicData/ItemsManage/Kitting.vue +++ b/fe/PC/src/views/basicData/ItemsManage/Kitting.vue @@ -75,6 +75,7 @@