Browse Source

修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
d5e6881a02
  1. 107
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/productreceiptscrapJobMain.data.ts

107
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/productreceiptscrapJobMain.data.ts

@ -25,8 +25,12 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
},
{
label: '生产线代码',
field: 'productionPlanNumber',
label: '状态',
field: 'status',
dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
@ -40,10 +44,20 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '生产线代码',
field: 'productionPlanNumber',
isTable:false,
sort: 'custom',
table: {
width: 150
},
},
{
label: '班组',
field: 'team',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -52,6 +66,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '班次',
field: 'shift',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -60,6 +75,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '到仓库代码',
field: 'toWarehouseCode',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -67,6 +83,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '申请时间',
field: 'requestTime',
isTable:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -87,6 +104,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '要求截止时间',
field: 'requestDueTime',
isTable:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -104,21 +122,10 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '过期时间',
field: 'expiredTime',
isTable:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -139,6 +146,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '最后更新时间',
field: 'updateTime',
isTable:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -160,6 +168,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '最后更新者',
field: 'updater',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -176,6 +185,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '优先级',
field: 'priority',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -186,6 +196,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '优先级增量',
field: 'priorityIncrement',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -198,6 +209,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '部门',
field: 'departmentCode',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -205,6 +217,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '承接人',
field: 'acceptUserId',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -213,6 +226,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '承接时间',
field: 'acceptTime',
isTable:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -233,6 +247,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '完成人',
field: 'completeUserId',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -241,6 +256,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '完成时间',
field: 'completeTime',
isTable:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -261,9 +277,9 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '从库区类型范围',
field: 'fromAreaTypes',
isTable:false,
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
@ -274,7 +290,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -283,6 +299,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '业务类型',
field: 'businessType',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -291,6 +308,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '备注',
field: 'remark',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -299,6 +317,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isTable:false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -319,6 +338,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -327,6 +347,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '到库区代码范围',
field: 'toAreaCodes',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -337,7 +358,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoComplete',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -356,7 +377,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyLocation',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -375,7 +396,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyQty',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -394,7 +415,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowBiggerQty',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -413,7 +434,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowSmallerQty',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -432,7 +453,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyInventoryStatus',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -451,7 +472,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowContinuousScanning',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -470,7 +491,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowPartialComplete',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -489,7 +510,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyBatch',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -508,7 +529,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyPackingNumber',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -617,6 +638,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装号',
field: 'packingNumber',
sortTableDefault:1003,
sort: 'custom',
table: {
width: 150
@ -625,6 +647,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '器具号',
field: 'containerNumber',
isTable:false,
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -633,6 +657,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '批次',
field: 'batch',
sortTableDefault:1002,
sort: 'custom',
table: {
width: 150
@ -641,6 +666,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '生产日期',
field: 'produceDate',
sortTableDefault:1008,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
@ -662,6 +688,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '过期日期',
field: 'expireDate',
hiddenInMain:true,
isTable:false,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
@ -683,6 +711,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '库存状态',
field: 'inventoryStatus',
sortTableDefault:1007,
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
@ -694,6 +723,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '到库位代码',
field: 'toLocationCode',
sortTableDefault:1009,
sort: 'custom',
table: {
width: 150
@ -702,6 +732,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单号',
field: 'woNumber',
hiddenInMain:true,
isTable:false,
sort: 'custom',
table: {
width: 150
@ -710,6 +742,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单行',
field: 'woLine',
hiddenInMain:true,
isTable:false,
sort: 'custom',
table: {
width: 150
@ -718,6 +752,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装数量',
field: 'packQty',
isTable:false,
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -729,6 +765,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装规格',
field: 'packUnit',
sortTableDefault:1004,
// dictType: DICT_TYPE.PACK_UNIT,
// dictClass: 'string',
isTable: true,
@ -740,6 +777,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料代码',
field: 'itemCode',
sortTableDefault:1000,
sort: 'custom',
table: {
width: 150
@ -748,6 +786,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料名称',
field: 'itemName',
sortTableDefault:1001,
sort: 'custom',
table: {
width: 150
@ -756,6 +795,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料描述1',
field: 'itemDesc1',
isTable:false,
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -764,6 +805,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料描述2',
field: 'itemDesc2',
isTable:false,
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -772,6 +815,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '项目代码',
field: 'projectCode',
isTable:false,
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -781,6 +826,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '数量',
field: 'qty',
sort: 'custom',
sortTableDefault:1005,
table: {
width: 150
},
@ -792,6 +838,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
sortTableDefault:1006,
dictClass: 'string',
isTable: true,
sort: 'custom',
@ -803,6 +850,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '单据号',
field: 'number',
sort: 'custom',
isTable:false,
hiddenInMain:true,
table: {
width: 180
},
@ -810,6 +859,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '备注',
field: 'remark',
isTable:false,
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -818,6 +869,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator',
sortTableDefault:1011,
sort: 'custom',
table: {
width: 150
@ -826,6 +878,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
sortTableDefault:1010,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -847,6 +900,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom',
isTable:false,
hiddenInMain:true,
table: {
width: 150
},

Loading…
Cancel
Save