Browse Source

【nev暂存】

ag_report_nev
安虹睿 1 year ago
parent
commit
03337032e4
  1. 2
      fe/PC/src/api/wms-api.js
  2. 97
      fe/PC/src/router/index.js
  3. 194
      fe/PC/src/utils/detailsTableColumns/index.js
  4. 68
      fe/PC/src/utils/tableColumns/index.js
  5. 67
      fe/PC/src/utils/tabsDesTions/index.js
  6. 93
      fe/PC/src/views/ThirdLocationManage/ThirdLocationJob.vue
  7. 93
      fe/PC/src/views/ThirdLocationManage/ThirdLocationNote.vue
  8. 93
      fe/PC/src/views/ThirdLocationManage/ThirdLocationRequest.vue
  9. 93
      fe/PC/src/views/finishedProductManage/customerReturn/customerReturnNote.vue
  10. 2
      fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/index.vue
  11. 86
      fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue

2
fe/PC/src/api/wms-api.js

@ -650,7 +650,7 @@ export function getBomByComponentList(code) {
// 客户退拆-获取bom(树状)
export function getBomByComponentTree(code) {
return request({
url: baseURL + 'basedata/bom/get-bom-tree-by-code/?component=' + code,
url: baseURL + 'basedata/bom/get-bom-tree-by-code/?productCode=' + code,
method: 'get'
})
}

97
fe/PC/src/router/index.js

@ -254,22 +254,22 @@ export const constantRoutes = [
}
}]
},
{
path: '/',
component: Layout,
redirect: '/gridlayout',
hidden: true,
children: [{
path: 'FISDeliverJob',
component: () => import('@/views/finishedProductManage/deliver/FISDeliverJob.vue'),
name: 'FISDeliverJob',
meta: {
keepAlive : true,
title: '成品发运任务',
icon: '成品发运任务',
}
}]
},
// {
// path: '/',
// component: Layout,
// redirect: '/gridlayout',
// hidden: true,
// children: [{
// path: 'FISDeliverJob',
// component: () => import('@/views/finishedProductManage/deliver/FISDeliverJob.vue'),
// name: 'FISDeliverJob',
// meta: {
// keepAlive : true,
// title: '成品发运任务',
// icon: '成品发运任务',
// }
// }]
// },
{
path: '/',
component: Layout,
@ -526,8 +526,73 @@ export const constantRoutes = [
}
}]
},
{
path: '/',
component: Layout,
redirect: '/gridlayout',
hidden: true,
children: [{
path: 'ThirdLocationRequest',
component: () => import('@/views/ThirdLocationManage/ThirdLocationRequest.vue'),
name: 'ThirdLocationRequest',
meta: {
keepAlive : true,
title: '三方库申请',
icon: '成品发运任务',
}
}]
},
{
path: '/',
component: Layout,
redirect: '/gridlayout',
hidden: true,
children: [{
path: 'ThirdLocationJob',
component: () => import('@/views/ThirdLocationManage/ThirdLocationJob.vue'),
name: 'ThirdLocationJob',
meta: {
keepAlive : true,
title: '三方库任务',
icon: '成品发运任务',
}
}]
},
{
path: '/',
component: Layout,
redirect: '/gridlayout',
hidden: true,
children: [{
path: 'ThirdLocationNote',
component: () => import('@/views/ThirdLocationManage/ThirdLocationNote.vue'),
name: 'ThirdLocationNote',
meta: {
keepAlive : true,
title: '三方库记录',
icon: '成品发运任务',
}
}]
},
{
path: '/',
component: Layout,
redirect: '/gridlayout',
hidden: true,
children: [{
path: 'customerReturnNote',
component: () => import('@/views/finishedProductManage/customerReturn/customerReturnNote.vue'),
name: 'customerReturnNote',
meta: {
keepAlive : true,
title: '客户退货',
icon: '成品发运任务',
}
}]
},
]
/**
* asyncRoutes
* the routes that need to be dynamically loaded based on user roles

194
fe/PC/src/utils/detailsTableColumns/index.js

@ -3758,7 +3758,7 @@ export const IssueNoteZS = [
{ label: "目标ERP库位", prop: 'toLocationErpCode' },
{ label: "在途库位", prop: 'onTheWayLocationCode' },
// -----------------------------------------------------------------------
{ label: "生效日期", prop: "arriveDate", type: "dateTime" },
{ label: "到货日期", prop: "arriveDate", type: "dateTime" },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "上次修改者ID", prop: 'lastModifierId' },
{ label: "任务编号", prop: 'number',width: orderWidth },
@ -3929,7 +3929,7 @@ export const IssueNotePT = [
{ label: "目标ERP库位", prop: 'toLocationErpCode' },
{ label: "在途库位", prop: 'onTheWayLocationCode' },
// -----------------------------------------------------------------------
{ label: "生效日期", prop: "arriveDate", type: "dateTime" },
{ label: "到货日期", prop: "arriveDate", type: "dateTime" },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "上次修改者ID", prop: 'lastModifierId' },
{ label: "任务编号", prop: 'number',width: orderWidth },
@ -4100,7 +4100,7 @@ export const IssueNoteZP = [
{ label: "目标ERP库位", prop: 'toLocationErpCode' },
{ label: "在途库位", prop: 'onTheWayLocationCode' },
// -----------------------------------------------------------------------
{ label: "生效日期", prop: "arriveDate", type: "dateTime" },
{ label: "到货日期", prop: "arriveDate", type: "dateTime" },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "上次修改者ID", prop: 'lastModifierId' },
{ label: "任务编号", prop: 'number',width: orderWidth },
@ -4271,7 +4271,7 @@ export const LibraryShiftNote = [
{ label: "目标ERP库位", prop: 'toLocationErpCode' },
{ label: "在途库位", prop: 'onTheWayLocationCode' },
// -----------------------------------------------------------------------
{ label: "生效日期", prop: "arriveDate", type: "dateTime" },
{ label: "到货日期", prop: "arriveDate", type: "dateTime" },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "上次修改者ID", prop: 'lastModifierId' },
{ label: "任务编号", prop: 'number',width: orderWidth },
@ -4324,4 +4324,190 @@ export const LibraryShiftNote = [
// { label: "ID", prop: 'id' },
// { label: "主表ID", prop: "masterID" },
// ************** 确定隐藏 ************************
]
// 三方库申请
export const ThirdLocationRequest = [
{ label: "物品代码", prop: "itemCode", fixed: "left", },
{ label: "物品名称", prop: "itemName" },
{ label: "物品描述1", prop: "itemDesc1" },
{ label: "物品描述2", prop: "itemDesc2" },
{ label: "计量单位", prop: "uom" },
{ label: "数量", prop: "qty" },
{ label: "已发数量", prop: "issuedQty"},
{ label: "已收数量", prop: "receivedQty"},
{ label: "已发未收数量", prop: "toBeIssuedQty"},
{ label: "请求未收数量", prop: "notFinishQty"},
{ label: "标包数量", prop: "stdPackQty"},
{ label: _Public.remark, prop: "remark" },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 三方库任务
export const ThirdLocationJob = [
{ label: "物品代码", prop: "itemCode", fixed: "left", },
{ label: "物品名称", prop: "itemName" },
{ label: "物品描述1", prop: "itemDesc1" },
{ label: "物品描述2", prop: "itemDesc2" },
{ label: "标包数量", prop: "stdPackQty"},
{ label: "单位", prop: "uom" },
{ label: "库存状态", type: "filter", filters: "inventoryStage", prop: "status" },
{ label: "推荐箱码", prop: "recommendPackingCode" },
{ label: "实际箱码", prop: "handledPackingCode" },
{ label: "推荐数量", prop: "recommendQty" },
{ label: "实际数量", prop: 'handledQty' },
{ label: "目标ERP库位", prop: 'toLocationErpCode' },
{ label: "请求库位", prop: 'requestLocationCode' },
{ label: "在途库位", prop: 'onTheWayLocationCode' },
{ label: "目标库位", prop: "toLocationCode" },
{ label: "目标库区", prop: 'toLocationArea' },
{ label: "目标库位组", prop: 'toLocationGroup' },
{ label: "目标仓库", prop: 'toWarehouseCode' },
{ label: "推荐库位", prop: 'recommendFromLocationCode' },
{ label: "实际库位", prop: 'handledFromLocationCode' },
{ label: "推荐区域", prop: 'recommendFromLocationArea' },
{ label: "实际区域", prop: 'handledFromLocationArea' },
{ label: "推荐分组", prop: 'recommendFromLocationGroup' },
{ label: "实际分组", prop: 'handledFromLocationGroup' },
{ label: "推荐ERP库位", prop: 'recommendFromLocationErpCode' },
{ label: "实际ERP库位", prop: 'handledFromLocationErpCode' },
{ label: "推荐仓库", prop: 'recommendFromWarehouseCode' },
{ label: "实际仓库", prop: 'handledFromWarehouseCode' },
{ label: "推荐批次", prop: 'recommendLot' },
{ label: "实际批次", prop: "handledLot" },
{ label: "推荐供应商批次", prop: 'recommendSupplierBatch' },
{ label: "实际供应商批次", prop: 'handledSupplierBatch' },
{ label: "推荐到货时间", prop: 'recommendArriveDate', type: "dateTime" },
{ label: "实际到货时间", prop: 'handledArriveDate', type: "dateTime" },
{ label: "推荐生产时间", prop: 'recommendProduceDate', type: "dateTime" },
{ label: "实际生产时间", prop: 'handledProduceDate', type: "dateTime" },
{ label: "推荐过期时间", prop: 'recommendExpireDate', type: "dateTime" },
{ label: "实际过期时间", prop: 'handledExpireDate', type: "dateTime" },
{ label: "过期时间", prop: 'expiredTime',type: "dateTime" },
{ label: "计划开始时间", prop: 'planBeginTime',type: "dateTime" },
{ label: "生产线", prop: 'prodLine' },
{ label: "工作中心", prop: 'workStation' },
{ label: "工序", prop: 'operation' },
{ label: "取整后数量", prop: 'roundedQty' },
{ label: "每次配送数量", prop: 'deliveryQty' },
{ label: _Names.distributionType, prop: "distributionType", type: "filter", filters: "distributionType" },
{ label: _Names.truncType, prop: "truncType", type: "filter", filters: "truncType" },
{ label: _Names.plannedSplitRule, prop: "plannedSplitRule", type: "filter", filters: "plannedSplitRule" },
{ label: "备注", prop: 'remark' },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 三方库记录
export const ThirdLocationNote = [
{ label: "物品代码", prop: "itemCode", fixed: "left", },
{ label: "物品名称", prop: "itemName" },
{ label: "物品描述1", prop: "itemDesc1" },
{ label: "物品描述2", prop: "itemDesc2" },
{ label: "单位", prop: "uom" },
{ label: "数量", prop: "qty" },
{ label: "标包数量", prop: 'stdPackQty' },
{ label: "供应商批次", prop: 'supplierBatch' },
{ label: "来源库位", prop: "fromLocationCode" },
{ label: "目标库位", prop: 'toLocationCode' },
{ label: "在途库位", prop: "onTheWayLocationCode" },
{ label: "来源库区", prop: 'fromLocationArea' },
{ label: "目标库区", prop: 'toLocationArea' },
{ label: "来源库位组", prop: 'fromLocationGroup' },
{ label: "目标库位组", prop: 'toLocationGroup' },
{ label: "来源ERP库位", prop: 'fromLocationErpCode' },
{ label: "目标ERP库位", prop: 'toLocationErpCode' },
{ label: "来源批次", prop: 'fromLot' },
{ label: "目标批次", prop: 'toLot' },
{ label: "来源箱码", prop: 'fromPackingCode' },
{ label: "目标箱码", prop: 'toPackingCode' },
{ label: "来源仓库", prop: 'fromWarehouseCode' },
{ label: "目标仓库", prop: 'toWarehouseCode' },
{ label: "推荐数量", prop: 'recommendQty' },
{ label: "实际数量", prop: "handledQty" },
{ label: "推荐箱码", prop: "recommendPackingCode" },
{ label: "实际箱码", prop: "handledPackingCode" },
{ label: "推荐库位", prop: 'recommendFromLocationCode' },
{ label: "实际库位", prop: 'handledFromLocationCode' },
{ label: "推荐ERP库位", prop: 'recommendFromLocationErpCode' },
{ label: "实际ERP库位", prop: 'handledFromLocationErpCode' },
{ label: "推荐区域", prop: 'recommendFromLocationArea' },
{ label: "实际区域", prop: 'handledFromLocationArea' },
{ label: "推荐批次", prop: "recommendLot" },
{ label: "实际批次", prop: "handledLot" },
{ label: "推荐供应商批次", prop: 'recommendSupplierBatch' },
{ label: "实际供应商批次", prop: 'handledSupplierBatch' },
{ label: "推荐分组", prop: 'recommendFromLocationGroup' },
{ label: "实际分组", prop: 'handledFromLocationGroup' },
{ label: "推荐生产时间", prop: 'recommendProduceDate', type: "dateTime" },
{ label: "实际生产时间", prop: 'handledProduceDate', type: "dateTime" },
{ label: "推荐到货时间", prop: 'recommendArriveDate', type: "dateTime" },
{ label: "实际到货时间", prop: 'handledArriveDate', type: "dateTime" },
{ label: "推荐过期时间", prop: 'recommendExpireDate', type: "dateTime" },
{ label: "实际过期时间", prop: 'handledExpireDate', type: "dateTime" },
{ label: "推荐仓库", prop: 'recommendFromWarehouseCode' },
{ label: "实际仓库", prop: 'handledFromWarehouseCode' },
{ label: "备注", prop: 'remark' },
{ label: "生产线", prop: 'prodLine' },
{ label: "工作中心", prop: 'workStation' },
{ label: "发料时间", prop: 'issueTime', type: "dateTime" },
{ label: "到货日期", prop: "arriveDate", type: "dateTime" },
{ label: "过期时间", prop: 'expiredTime' },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 客户退货记录
export const customerReturnNote = [
{ label: "物品代码", prop: "itemCode", fixed: "left", },
{ label: "物品名称", prop: "itemName" },
{ label: "物品描述1", prop: "itemDesc1" },
{ label: "物品描述2", prop: "itemDesc2" },
{ label: "单位", prop: "uom" },
{ label: "数量", prop: "qty" },
{ label: "标包数量", prop: 'stdPackQty' },
{ label: "供应商批次", prop: 'supplierBatch' },
{ label: "来源库位", prop: "fromLocationCode" },
{ label: "目标库位", prop: 'toLocationCode' },
{ label: "来源库区", prop: 'fromLocationArea' },
{ label: "目标库区", prop: 'toLocationArea' },
{ label: "来源库位组", prop: 'fromLocationGroup' },
{ label: "目标库位组", prop: 'toLocationGroup' },
{ label: "来源ERP库位", prop: 'fromLocationErpCode' },
{ label: "目标ERP库位", prop: 'toLocationErpCode' },
{ label: "来源批次", prop: 'fromLot' },
{ label: "目标批次", prop: 'toLot' },
{ label: "来源箱码", prop: 'fromPackingCode' },
{ label: "目标箱码", prop: 'toPackingCode' },
{ label: "来源仓库", prop: 'fromWarehouseCode' },
{ label: "目标仓库", prop: 'toWarehouseCode' },
{ label: "推荐数量", prop: 'recommendQty' },
{ label: "实际数量", prop: "handledQty" },
{ label: "推荐箱码", prop: "recommendPackingCode" },
{ label: "实际箱码", prop: "handledPackingCode" },
{ label: "推荐库位", prop: 'recommendToLocationCode' },
{ label: "实际库位", prop: 'handledToLocationCode' },
{ label: "推荐库区", prop: 'recommendToLocationArea' },
{ label: "实际库区", prop: 'handledToLocationArea' },
{ label: "推荐ERP库位", prop: 'recommendToLocationErpCode' },
{ label: "实际ERP库位", prop: 'handledToLocationErpCode' },
{ label: "推荐批次", prop: "recommendLot" },
{ label: "实际批次", prop: "handledLot" },
{ label: "推荐供应商批次", prop: 'recommendSupplierBatch' },
{ label: "实际供应商批次", prop: 'handledSupplierBatch' },
{ label: "推荐分组", prop: 'recommendToLocationGroup' },
{ label: "实际分组", prop: 'handledToLocationGroup' },
{ label: "推荐生产时间", prop: 'recommendProduceDate', type: "dateTime" },
{ label: "实际生产时间", prop: 'handledProduceDate', type: "dateTime" },
{ label: "推荐到货时间", prop: 'recommendArriveDate', type: "dateTime" },
{ label: "实际到货时间", prop: 'handledArriveDate', type: "dateTime" },
{ label: "推荐过期时间", prop: 'recommendExpireDate', type: "dateTime" },
{ label: "实际过期时间", prop: 'handledExpireDate', type: "dateTime" },
{ label: "推荐仓库", prop: 'recommendToWarehouseCode' },
{ label: "实际仓库", prop: 'handledToWarehouseCode' },
{ label: "备注", prop: 'remark' },
{ label: "到货日期", prop: "arriveDate", type: "dateTime" },
{ label: "生产时间", prop: 'produceDate', type: "dateTime" },
{ label: "过期时间", prop: 'expiredTime' },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]

68
fe/PC/src/utils/tableColumns/index.js

@ -1801,7 +1801,7 @@ export const automaticCallNote = [
{ label: "叫料请求类型", prop: 'requestType' },
{ label: "使用在途库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" },
{ label: "已确认", prop: 'confirmed',type: "filter", filters: "whetherOrNot" },
{ label: "确认时间", prop: 'confirmTime' },
{ label: "确认时间", prop: 'confirmTime',type: "dateTime" },
// ************** 确认隐藏 ************************
// { label: "事务ID", prop: "tenantId" },
// { label: "上次修改者ID", prop: "lastModifierId" },
@ -4622,6 +4622,72 @@ export const LibraryShiftNote = [
// ************** 确认隐藏 ************************
]
// 三方库申请
export const ThirdLocationRequest = [
{ label: "申请单号", prop: "number", fixed: "left", type: "name" },
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: _Public.remark, prop: "remark" },
{ label: "操作员", prop: 'worker' },
{ label: "生产线", prop: 'prodLine' },
{ label: "目标库位代码", prop: "toLocationCode" },
{ label: "目标ERP库位", prop: "toLocationErpCode" },
{ label: "来源库位代码集", prop: 'fromLocationCodeJsonList' },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 三方库任务
export const ThirdLocationJob = [
{ label: "任务单号", prop: "number", fixed: "left", type: "name" },
{ label: "申请单号", prop: 'requestNumber' },
{ label: "状态", prop: "jobStatus",type: "tagFilter", filters: "jobStatus" },
{ label: "任务类型", prop: "jobType", type: "filter", filters: "taskType" },
{ label: "承接者用户名", prop: 'acceptUserName' },
{ label: "承接时间", prop: 'acceptTime', type: "dateTime" },
{ label: "完成者用户名", prop: 'completeUserName' },
{ label: "完成时间", prop: 'completeTime', type: "dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "使用在途库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" },
{ label: "备注", prop: 'remark' },
{ label: "任务描述", prop: 'jobDescription' },
{ label: "工作组", prop: 'workGroupCode' },
{ label: "优先级", prop: 'priority' },
{ label: "优先级增量", prop: 'priorityIncrement' },
{ label: "叫料请求类型", prop: 'requestType' },
{ label: "上游任务编号", prop: 'upStreamJobNumber' },
{ label: "生产线", prop: 'prodLine' },
{ label: "车间", prop: 'workshop' },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 三方库记录
export const ThirdLocationNote = [
{ label: "记录单号", prop: "number", fixed: "left", type: "name" },
{ label: "申请单号", prop: 'requestNumber',width: orderWidth },
{ label: "任务单号", prop: 'jobNumber',width: orderWidth },
{ label: "备注", prop: 'remark' },
{ label: "操作员", prop: 'worker' },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "车间", prop: 'workshop' },
{ label: "使用在途库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" },
{ label: "已确认", prop: 'confirmed',type: "filter", filters: "whetherOrNot" },
{ label: "确认时间", prop: 'confirmTime',type: "dateTime" },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 客户退货记录
export const customerReturnNote = [
{ label: "记录单号", prop: "number", fixed: "left", type: "name" },
{ label: "任务单号", prop: "jobNumber", width:orderWidth },
{ label: "退料单号", prop: "productionReturnRequestNumber", width:orderWidth },
{ label: "备注", prop: 'remark' },
{ label: "操作员", prop: 'worker' },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "退料时间", prop: 'returnTime', type: "dateTime" },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 字段说明
// showProp: true //隐藏该字段的高级筛选+列表排序
// sortable: false //隐藏该字段的列表排序

67
fe/PC/src/utils/tabsDesTions/index.js

@ -3443,3 +3443,70 @@ export const LibraryShiftNote = [
// { label: "ID", prop: 'id' },
// ************** 确认隐藏 ************************
]
// 三方库申请
export const ThirdLocationRequest = [
{ label: "申请单号", prop: "number"},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: _Public.remark, prop: "remark" },
{ label: "操作员", prop: 'worker' },
{ label: "生产线", prop: 'prodLine' },
{ label: "目标库位代码", prop: "toLocationCode" },
{ label: "目标ERP库位", prop: "toLocationErpCode" },
{ label: "来源库位代码Json", prop: 'fromLocationCodeJsonList' },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 三方库任务
export const ThirdLocationJob = [
{ label: "任务单号", prop: "number", fixed: "left", type: "name" },
{ label: "申请单号", prop: 'requestNumber' },
{ label: "状态", prop: "jobStatus",type: "tagFilter", filters: "jobStatus" },
{ label: "任务类型", prop: "jobType", type: "filter", filters: "taskType" },
{ label: "承接者用户名", prop: 'acceptUserName' },
{ label: "承接时间", prop: 'acceptTime', type: "dateTime" },
{ label: "完成者用户名", prop: 'completeUserName' },
{ label: "完成时间", prop: 'completeTime', type: "dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "使用在途库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" },
{ label: "备注", prop: 'remark' },
{ label: "任务描述", prop: 'jobDescription' },
{ label: "工作组", prop: 'workGroupCode' },
{ label: "优先级", prop: 'priority' },
{ label: "优先级增量", prop: 'priorityIncrement' },
{ label: "叫料请求类型", prop: 'requestType' },
{ label: "上游任务编号", prop: 'upStreamJobNumber' },
{ label: "生产线", prop: 'prodLine' },
{ label: "车间", prop: 'workshop' },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 三方库记录
export const ThirdLocationNote = [
{ label: "记录单号", prop: "number", fixed: "left", type: "name" },
{ label: "申请单号", prop: 'requestNumber' },
{ label: "任务单号", prop: 'jobNumber' },
{ label: "备注", prop: 'remark' },
{ label: "操作员", prop: 'worker' },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "车间", prop: 'workshop' },
{ label: "使用在途库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" },
{ label: "已确认", prop: 'confirmed',type: "filter", filters: "whetherOrNot" },
{ label: "确认时间", prop: 'confirmTime',type: "dateTime" },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]
// 客户退货记录
export const customerReturnNote = [
{ label: "记录单号", prop: "number", fixed: "left", type: "name" },
{ label: "任务单号", prop: "jobNumber" },
{ label: "退料单号", prop: "productionReturnRequestNumber" },
{ label: "备注", prop: 'remark' },
{ label: "操作员", prop: 'worker' },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "退料时间", prop: 'returnTime', type: "dateTime" },
{ label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
]

93
fe/PC/src/views/ThirdLocationManage/ThirdLocationJob.vue

@ -0,0 +1,93 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<curren-Drawer
:title="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:Butttondata="[]"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@close-value="closeValue"
:currenButtonData="currenButtonData"
:tableColumns="detailsTableColumns"
:totalCount="totalCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></curren-Drawer>
</div>
</template>
<script>
import { materialRequestByType,processRequest,getDetailed } from "@/api/wms-api"
import { tableMixins } from "@/mixins/TableMixins"
import { LoadingMixins } from "@/mixins/LoadingMixins"
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { mixins } from "@/mixins/mixins"
import { requestData } from "@/utils/processButtonData"
import requestDataNames from "@/utils/processButtonData"
export default {
name: "ThirdLocationJob",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
},
},
},
data () {
let _this = this;
return {
URL: 'wms/store/third-location-job',
tableLoading: false,
handleMultipleSelection: [],
//
currenButtonData: [
// this.defaultImportBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted () {
this.paging()
},
};
</script>
<style lang="scss" scoped>
@import "../../styles/mainbasicData.scss";
</style>

93
fe/PC/src/views/ThirdLocationManage/ThirdLocationNote.vue

@ -0,0 +1,93 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<curren-Drawer
:title="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:Butttondata="[]"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@close-value="closeValue"
:currenButtonData="currenButtonData"
:tableColumns="detailsTableColumns"
:totalCount="totalCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></curren-Drawer>
</div>
</template>
<script>
import { materialRequestByType,processRequest,getDetailed } from "@/api/wms-api"
import { tableMixins } from "@/mixins/TableMixins"
import { LoadingMixins } from "@/mixins/LoadingMixins"
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { mixins } from "@/mixins/mixins"
import { requestData } from "@/utils/processButtonData"
import requestDataNames from "@/utils/processButtonData"
export default {
name: "ThirdLocationNote",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
},
},
},
data () {
let _this = this;
return {
URL: 'wms/store/third-location-note',
tableLoading: false,
handleMultipleSelection: [],
//
currenButtonData: [
// this.defaultImportBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted () {
this.paging()
},
};
</script>
<style lang="scss" scoped>
@import "../../styles/mainbasicData.scss";
</style>

93
fe/PC/src/views/ThirdLocationManage/ThirdLocationRequest.vue

@ -0,0 +1,93 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<curren-Drawer
:title="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:Butttondata="[]"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@close-value="closeValue"
:currenButtonData="currenButtonData"
:tableColumns="detailsTableColumns"
:totalCount="totalCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></curren-Drawer>
</div>
</template>
<script>
import { materialRequestByType,processRequest,getDetailed } from "@/api/wms-api"
import { tableMixins } from "@/mixins/TableMixins"
import { LoadingMixins } from "@/mixins/LoadingMixins"
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { mixins } from "@/mixins/mixins"
import { requestData } from "@/utils/processButtonData"
import requestDataNames from "@/utils/processButtonData"
export default {
name: "ThirdLocationRequest",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
},
},
},
data () {
let _this = this;
return {
URL: 'wms/store/third-location-request',
tableLoading: false,
handleMultipleSelection: [],
//
currenButtonData: [
// this.defaultImportBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted () {
this.paging()
},
};
</script>
<style lang="scss" scoped>
@import "../../styles/mainbasicData.scss";
</style>

93
fe/PC/src/views/finishedProductManage/customerReturn/customerReturnNote.vue

@ -0,0 +1,93 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<curren-Drawer
:title="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:Butttondata="[]"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@close-value="closeValue"
:currenButtonData="currenButtonData"
:tableColumns="detailsTableColumns"
:totalCount="totalCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></curren-Drawer>
</div>
</template>
<script>
import { materialRequestByType,processRequest,getDetailed } from "@/api/wms-api"
import { tableMixins } from "@/mixins/TableMixins"
import { LoadingMixins } from "@/mixins/LoadingMixins"
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { mixins } from "@/mixins/mixins"
import { requestData } from "@/utils/processButtonData"
import requestDataNames from "@/utils/processButtonData"
export default {
name: "customerReturnNote",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
},
},
},
data () {
let _this = this;
return {
URL: 'wms/store/production-return-note',
tableLoading: false,
handleMultipleSelection: [],
//
currenButtonData: [
// this.defaultImportBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted () {
this.paging()
},
};
</script>
<style lang="scss" scoped>
@import "../../../styles/mainbasicData.scss";
</style>

2
fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/index.vue

@ -53,7 +53,7 @@
<b style="font-size:20px;padding-bottom:10px">父级物料代码{{ propsData.details[0].itemCode }}</b>
<el-table
height="85%"
ref="bomTree_Ref"*
ref="bomTree_Ref"
:data="CreateFormData.details"
style="width: 100%;margin-bottom: 20px;"
row-key="id"

86
fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue

@ -213,6 +213,7 @@ export default {
scope.row.locationCode = null
}
},
// bom
buildTree(list){
let pidStr = 'parentCode';
let idStr = 'itemCode';
@ -227,8 +228,8 @@ export default {
}
for (let j = 0; j < list.length; j++) {
//
let haveParent = listOjb[list[j][pidStr]]
//
let haveParent = listOjb[list[j][pidStr]]
if (haveParent) {
// childrenchildren
!haveParent[childrenStr] && (haveParent[childrenStr] = [])
@ -320,6 +321,56 @@ export default {
this.Loading.appMainLoading = false
})
},
//
checkSelectDG(list){
for (let i = 0; i < list.length; i++) {
}
},
//
checkSelectData(){
// todo:
let _isSelectData = this.$refs.StepsFormTree_Ref.selectData
let _select_ids = []
_isSelectData.forEach(item=>{_select_ids.push(item.id)})
if(!_isSelectData || _isSelectData.length <= 0){
this.$warningMsg("请选择数据")
return
}
// this.bomList.forEach(item=>{
// if()
// })
// this.checkSelectDG(_isSelectData)
console.log(111,_isSelectData)
console.log(222,this.bomList)
console.log(333,_select_ids)
return
this.submitHttp()
},
//
submitHttp(){
this.bomList.forEach((item,index)=>{
let _item = {
itemCode: item.component,
qty: _tableList[index].qty,
locationCode: _tableList[index].rawLocationCode,
locationArea: _tableList[index].rawLocationArea,
locationGroup: _tableList[index].rawLocationGroup,
locationErpCode: _tableList[index].rawLocationErpCode,
warehouseCode: _tableList[index].warehouseCode,
}
_data.details[0].materialDetails.push(_item)
})
this.Loading.appMainLoading = true
this.submitRes = null
productionRecycleJobHandle(_jobInfo.id,_data).then(res => {
this.Loading.appMainLoading = false
this.submitRes = res
resolve();
}).catch(err => {
this.Loading.appMainLoading = false
reject();
})
},
stepsSubmit (val) {
//
return new Promise((resolve, reject) => {
@ -339,33 +390,7 @@ export default {
let _data = JSON.parse(JSON.stringify(_jobInfo))
_data.details[0].materialDetails = [],//
_data.details[0].qty = Number(this.CreateFormData.qty)
// todo:
let _isSelectData = this.$refs.StepsFormTree_Ref.selectData
console.log(3333,_isSelectData)
console.log(3333,this.bomList)
return
this.bomList.forEach((item,index)=>{
let _item = {
itemCode: item.component,
qty: _tableList[index].qty,
locationCode: _tableList[index].rawLocationCode,
locationArea: _tableList[index].rawLocationArea,
locationGroup: _tableList[index].rawLocationGroup,
locationErpCode: _tableList[index].rawLocationErpCode,
warehouseCode: _tableList[index].warehouseCode,
}
_data.details[0].materialDetails.push(_item)
})
this.Loading.appMainLoading = true
this.submitRes = null
productionRecycleJobHandle(_jobInfo.id,_data).then(res => {
this.Loading.appMainLoading = false
this.submitRes = res
resolve();
}).catch(err => {
this.Loading.appMainLoading = false
reject();
})
this.checkSelectData()
});
},
stepsCloseHandle(data){
@ -376,7 +401,6 @@ export default {
PalletlFunction (val) {
return new Promise((resolve, reject) => {
if(val == 0){
console.log(this.CreateFormData.qty)
this.Loading.appMainLoading = true
// bom
let _itemInfo = this.propsData.details[0]
@ -392,7 +416,7 @@ export default {
itemCode:item.component,
parentCode:item.product,
// detailsqtyqty
qty:Number(item.componentQty)*this.CreateFormData.qty,
qty:Number(item.componentQty) * Number(this.CreateFormData.qty),
locationCode:_itemInfo.rawLocationCode,
locationArea:_itemInfo.rawLocationArea,
locationGroup:_itemInfo.rawLocationGroup,

Loading…
Cancel
Save