Browse Source

补料 发料 生产收料 上架--字段顺序调整

master_hella_20240701
yufei0306 7 months ago
parent
commit
4894c88d1f
  1. 2
      src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts
  2. 280
      src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts
  3. 11
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  4. 4
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts
  5. 250
      src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts
  6. 196
      src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts
  7. 8
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
  8. 16
      src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts

2
src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts

@ -140,7 +140,6 @@ export const IssueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '生产线代码', label: '生产线代码',
field: 'detailProductionLineCode', field: 'detailProductionLineCode',
sort: 'custom', sort: 'custom',
isSearch: true,
table: { table: {
width: 150 width: 150
}, },
@ -150,7 +149,6 @@ export const IssueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '工位代码', label: '工位代码',
field: 'detailWorkStationCode', field: 'detailWorkStationCode',
sort: 'custom', sort: 'custom',
isSearch: true,
table: { table: {
width: 150 width: 150
}, },

280
src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts

@ -13,8 +13,21 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
fixed: 'left' fixed: 'left'
}, },
sortSearchDefault:1,
isSearch: true isSearch: true
}, },
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:1,
},
{ {
label: '申请单号', label: '申请单号',
field: 'requestNumber', field: 'requestNumber',
@ -22,7 +35,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true isTable: false,
}, },
{ {
label: '任务单号', label: '任务单号',
@ -31,7 +44,16 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true isTable: false,
},
{
label: '供应商代码',
field: 'supplierCode',
sort: 'custom',
table: {
width: 150
},
isTable: false,
}, },
{ {
label: '车间代码', label: '车间代码',
@ -40,6 +62,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '出库事务类型', label: '出库事务类型',
@ -48,6 +71,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '入库事务类型', label: '入库事务类型',
@ -56,6 +80,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '执行时间', label: '执行时间',
@ -68,6 +93,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -84,6 +110,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
}, },
isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -109,6 +136,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -129,6 +157,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -145,13 +174,14 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '接口类型', label: '接口类型',
field: 'interfaceType', field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -164,6 +194,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '备注', label: '备注',
@ -172,6 +203,16 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTable: false,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -184,6 +225,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -193,14 +235,6 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -216,13 +250,14 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从库区类型范围', label: '从库区类型范围',
field: 'fromAreaTypes', field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -231,6 +266,9 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '从库区代码范围', label: '从库区代码范围',
field: 'fromAreaCodes', field: 'fromAreaCodes',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -243,13 +281,14 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '到库区类型范围', label: '到库区类型范围',
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -262,13 +301,14 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '使用在途库', label: '使用在途库',
field: 'useOnTheWayLocation', field: 'useOnTheWayLocation',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -287,8 +327,7 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isTable: false,
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -302,6 +341,24 @@ export const IssueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '包装号', // 子表数据 只是为了展示
field: 'fromPackingNumber',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:6,
},
{
label: '批次', // 子表数据 只是为了展示
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:5,
},
])) ]))
//表单校验 //表单校验
@ -361,127 +418,160 @@ export const IssueRecordMainRules = reactive({
*/ */
export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '生产线代码', label: '从包装号',
field: 'productionLineCode', field: 'fromPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '工位代码', label: '到包装号',
field: 'workStationCode', field: 'toPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '在途库库位', label: '包装规格',
field: 'onTheWayLocationCode', field: 'packUnit',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:8,
}, },
{ {
label: '库存状态', label: '包装数量',
field: 'inventoryStatus', field: 'packQty',
dictType: DICT_TYPE.INVENTORY_STATUS, sort: 'custom',
table: {
width: 150
},
sortTableDefault:8,
},
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:9,
}, },
{ {
label: '供应商代码', label: '从批次',
field: 'supplierCode', field: 'fromBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortSearchDefault:3,
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '从货主代码', label: '到批次',
field: 'fromOwnerCode', field: 'toBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortSearchDefault:4,
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '到货主代码', label: '库存状态',
field: 'toOwnerCode', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '从包装号', label: '采购订单号',
field: 'fromPackingNumber', field: 'poNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:2,
}, },
{ {
label: '到包装号', label: '订单行',
field: 'toPackingNumber', field: 'poLine',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:3,
}, },
{ {
label: '从器具号', label: '生产线代码',
field: 'fromContainerNumber', field: 'productionLineCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:false
}, },
{ {
label: '到器具号', label: '工位代码',
field: 'toContainerNumber', field: 'workStationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:false
}, },
{ {
label: '从批次', label: '在途库库位',
field: 'fromBatch', field: 'onTheWayLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:false
}, },
{ {
label: '到批次', label: '供应商代码',
field: 'toBatch', field: 'supplierCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:false,
}, },
{ {
label: '从库位代码', label: '从货主代码',
field: 'fromLocationCode', field: 'fromOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '库位代码', label: '库位代码',
field: 'toLocationCode', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '从库位组代码', label: '从库位组代码',
@ -490,23 +580,45 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到库位组代码', label: '从库区代码',
field: 'toLocationGroupCode', field: 'fromAreaCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '从库区代码', label: '到货主代码',
field: 'fromAreaCode', field: 'toOwnerCode',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
},
{
label: '到库位代码',
field: 'toLocationCode',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '到库位组代码',
field: 'toLocationGroupCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到库区代码', label: '到库区代码',
field: 'toAreaCode', field: 'toAreaCode',
@ -514,6 +626,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '单据号', label: '单据号',
@ -522,6 +635,8 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
}, },
{ {
label: '物料代码', label: '物料代码',
@ -530,22 +645,28 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortSearchDefault:2,
sortTableDefault:4,
}, },
{ {
label: '备注', label: '物料名称',
field: 'remark', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:4,
}, },
{ {
label: '创建者', label: '备注',
field: 'creator', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -558,6 +679,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -568,12 +690,13 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物料名称', label: '创建者',
field: 'itemName', field: 'creator',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '物料描述1', label: '物料描述1',
@ -582,6 +705,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '物料描述2', label: '物料描述2',
@ -590,6 +714,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '项目代码', label: '项目代码',
@ -598,6 +723,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '数量', label: '数量',
@ -606,18 +732,40 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '计量单位', label: '接口类型',
field: 'uom', field: 'interfaceType',
dictType: DICT_TYPE.UOM, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
},
{
label: '从器具号',
field: 'fromContainerNumber',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
}, },
{
label: '到器具号',
field: 'toContainerNumber',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -626,17 +774,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150 // width: 150
// }, // },
// }, // },
{
label: '接口类型',
field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
// { // {
// label: '任务明细ID', // label: '任务明细ID',
// field: 'jobDetailId', // field: 'jobDetailId',

11
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -54,6 +54,7 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
isSearch: true, isSearch: true,
sortSearchDefault:1,
}, },
{ {
label: '车间代码', label: '车间代码',
@ -85,7 +86,6 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'status', field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS, dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isForm:false, isForm:false,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -149,7 +149,6 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'fromAreaTypes', field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable:false, isTable:false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -283,7 +282,6 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'useOnTheWayLocation', field: 'useOnTheWayLocation',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable:false, isTable:false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -600,6 +598,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortSearchDefault:4,
sortTableDefault:6, sortTableDefault:6,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
@ -624,6 +624,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortTableDefault:5, sortTableDefault:5,
sortSearchDefault:3, sortSearchDefault:3,
isTableForm: false, isTableForm: false,
@ -649,7 +650,9 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain:true, hiddenInMain:true,
sortSearchDefault:6,
}, },
{ {
label: '到库位代码', label: '到库位代码',
@ -658,6 +661,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
isTable:false, isTable:false,
sortSearchDefault:6, sortSearchDefault:6,
sortTableDefault:1100, sortTableDefault:1100,
@ -671,6 +675,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch:true,
sortSearchDefault:2, sortSearchDefault:2,
sortTableDefault:3, sortTableDefault:3,
tableForm:{ tableForm:{

4
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts

@ -13,6 +13,7 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
fixed: 'left' fixed: 'left'
}, },
sortSearchDefault:1,
isSearch: true, isSearch: true,
}, },
{ {
@ -23,7 +24,6 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180 width: 180
}, },
isTable: false, isTable: false,
isSearch: true,
}, },
{ {
label: '车间代码', label: '车间代码',
@ -99,7 +99,6 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'status', field: 'status',
dictType: DICT_TYPE.JOB_STATUS, dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -348,7 +347,6 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'useOnTheWayLocation', field: 'useOnTheWayLocation',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: false, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {

250
src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts

@ -13,8 +13,21 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
width: 180, width: 180,
fixed: 'left' fixed: 'left'
}, },
sortSearchDefault:1,
isSearch: true isSearch: true
}, },
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:1,
},
{ {
label: '发料记录单号', label: '发料记录单号',
field: 'issueRecordNumber', field: 'issueRecordNumber',
@ -22,7 +35,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
isSearch: true isTable: false,
}, },
{ {
label: '任务单号', label: '任务单号',
@ -31,7 +44,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
isSearch: true isTable: false,
}, },
{ {
label: '车间代码', label: '车间代码',
@ -40,6 +53,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '出库事务类型', label: '出库事务类型',
@ -48,6 +62,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '入库事务类型', label: '入库事务类型',
@ -56,6 +71,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '执行时间', label: '执行时间',
@ -68,6 +84,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -84,6 +101,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
detai: { detai: {
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
}, },
isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -109,6 +127,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -129,6 +148,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -145,13 +165,14 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '接口类型', label: '接口类型',
field: 'interfaceType', field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -164,6 +185,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '备注', label: '备注',
@ -172,6 +194,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -180,6 +203,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -192,6 +216,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -208,26 +233,31 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从库区类型范围', label: '从库区代码范围',
field: 'fromAreaTypes', field: 'fromAreaCodes',
sort: 'custom',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true,
sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从库区代码范围', label: '从库区类型范围',
field: 'fromAreaCodes', field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
field: 'toWarehouseCode', field: 'toWarehouseCode',
@ -235,13 +265,14 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '到库区类型范围', label: '到库区类型范围',
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -254,13 +285,14 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '使用在途库', label: '是否可用',
field: 'useOnTheWayLocation', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -275,12 +307,11 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '是否可用', label: '使用在途库',
field: 'available', field: 'useOnTheWayLocation',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isTable: false,
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -293,7 +324,25 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
activeValue: 'TRUE' activeValue: 'TRUE'
} }
} }
} },
{
label: '包装号', // 子表数据 只是为了展示
field: 'fromPackingNumber',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:6,
},
{
label: '批次', // 子表数据 只是为了展示
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:5,
},
])) ]))
//表单校验 //表单校验
@ -353,44 +402,54 @@ export const ProductionreceiptRecordMainRules = reactive({
*/ */
export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '生产线代码', label: '从包装号',
field: 'productionLineCode', field: 'fromPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '工位代码', label: '到包装号',
field: 'workStationCode', field: 'toPackingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '在途库库位', label: '包装规格',
field: 'onTheWayLocationCode', field: 'packUnit',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:8,
}, },
{ {
label: '从包装号', label: '包装数量',
field: 'fromPackingNumber', field: 'packQty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:8,
}, },
{ {
label: '到包装号', label: '计量单位',
field: 'toPackingNumber', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:9,
}, },
{ {
label: '从批次', label: '从批次',
@ -399,6 +458,9 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
sortSearchDefault:3,
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '到批次', label: '到批次',
@ -407,6 +469,9 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
sortSearchDefault:4,
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '库存状态', label: '库存状态',
@ -419,6 +484,33 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
width: 150 width: 150
}, },
}, },
{
label: '采购订单号',
field: 'poNumber',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:2,
},
{
label: '订单行',
field: 'poLine',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:3,
},
{
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
},
{ {
label: '从库位代码', label: '从库位代码',
field: 'fromLocationCode', field: 'fromLocationCode',
@ -426,6 +518,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '从库位组代码', label: '从库位组代码',
@ -434,6 +527,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '从库区代码', label: '从库区代码',
@ -442,6 +536,16 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
}, },
{ {
label: '到库位代码', label: '到库位代码',
@ -450,6 +554,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '到库位组代码', label: '到库位组代码',
@ -458,6 +563,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到库区代码', label: '到库区代码',
@ -466,6 +572,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '单据号', label: '单据号',
@ -474,6 +581,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
}, },
{ {
label: '物料代码', label: '物料代码',
@ -482,6 +590,19 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortSearchDefault:2,
sortTableDefault:4,
},
{
label: '物料名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:4,
}, },
{ {
label: '备注', label: '备注',
@ -490,6 +611,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -502,6 +624,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -518,16 +641,8 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{
label: '物料名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '物料描述1', label: '物料描述1',
field: 'itemDesc1', field: 'itemDesc1',
@ -535,6 +650,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
@ -544,6 +660,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '项目代码', label: '项目代码',
@ -552,6 +669,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '数量', label: '数量',
@ -560,21 +678,11 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '接口类型', label: '接口类型',
field: 'interfaceType', field: 'interfaceType',
@ -585,15 +693,8 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
// {
// label: '任务明细ID',
// field: 'jobDetailId',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{ {
label: '从器具号', label: '从器具号',
field: 'fromContainerNumber', field: 'fromContainerNumber',
@ -601,6 +702,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到器具号', label: '到器具号',
@ -609,23 +711,51 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '从货主代码', label: '生产线代码',
field: 'fromOwnerCode', field: 'productionLineCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
hiddenInMain:true,
}, },
{ {
label: '到货主代码', label: '工位代码',
field: 'toOwnerCode', field: 'workStationCode',
sort: 'custom',
table: {
width: 150
},
isTable: false,
hiddenInMain:true,
},
{
label: '在途库库位',
field: 'onTheWayLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
hiddenInMain:true,
}, },
// {
// label: '任务明细ID',
// field: 'jobDetailId',
// sort: 'custom',
// table: {
// width: 150
// },
// },
])) ]))
//表单校验 //表单校验

196
src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts

@ -13,8 +13,21 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180, width: 180,
fixed: 'left' fixed: 'left'
}, },
sortSearchDefault:1,
isSearch: true isSearch: true
}, },
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.JOB_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:1,
},
{ {
label: '申请单号', label: '申请单号',
field: 'requestNumber', field: 'requestNumber',
@ -22,7 +35,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true isTable: false,
}, },
{ {
label: '任务单号', label: '任务单号',
@ -31,7 +44,16 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true isTable: false,
},
{
label: '供应商代码',
field: 'supplierCode',
sort: 'custom',
table: {
width: 150
},
isTable: false,
}, },
{ {
label: '出库事务类型', label: '出库事务类型',
@ -40,6 +62,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '入库事务类型', label: '入库事务类型',
@ -48,6 +71,8 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '执行时间', label: '执行时间',
@ -60,6 +85,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -76,6 +102,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
}, },
isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -101,6 +128,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -121,6 +149,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -137,13 +166,14 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '接口类型', label: '接口类型',
field: 'interfaceType', field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE, dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -156,6 +186,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '备注', label: '备注',
@ -164,6 +195,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -172,6 +204,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -184,6 +217,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -208,6 +242,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从库区代码范围', label: '从库区代码范围',
@ -216,13 +251,14 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '从库区类型范围', label: '从库区类型范围',
field: 'fromAreaTypes', field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -235,13 +271,14 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '到库区类型范围', label: '到库区类型范围',
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -254,14 +291,14 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isTable: false,
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -275,6 +312,24 @@ export const RepleinshRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '包装号', // 子表数据 只是为了展示
field: 'fromPackingNumber',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:6,
},
{
label: '批次', // 子表数据 只是为了展示
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:5,
},
])) ]))
//表单校验 //表单校验
@ -340,6 +395,8 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '到包装号', label: '到包装号',
@ -348,6 +405,38 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
hiddenInMain: true
},
{
label: '包装规格',
field: 'packUnit',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:8,
},
{
label: '包装数量',
field: 'packQty',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:8,
},
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:9,
}, },
{ {
label: '从批次', label: '从批次',
@ -356,6 +445,9 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortSearchDefault:3,
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '到批次', label: '到批次',
@ -364,6 +456,9 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
sortSearchDefault:4,
isSearch: true,
hiddenInMain: true
}, },
{ {
label: '库存状态', label: '库存状态',
@ -376,6 +471,24 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '采购订单号',
field: 'poNumber',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:2,
},
{
label: '订单行',
field: 'poLine',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:3,
},
{ {
label: '从货主代码', label: '从货主代码',
field: 'fromOwnerCode', field: 'fromOwnerCode',
@ -383,6 +496,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '从库位代码', label: '从库位代码',
@ -391,6 +505,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '从库位组代码', label: '从库位组代码',
@ -399,6 +514,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '从库区代码', label: '从库区代码',
@ -407,6 +523,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到货主代码', label: '到货主代码',
@ -415,6 +532,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到库位代码', label: '到库位代码',
@ -423,6 +541,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '到库位组代码', label: '到库位组代码',
@ -431,6 +550,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到库区代码', label: '到库区代码',
@ -439,6 +559,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '单据号', label: '单据号',
@ -447,6 +568,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
}, },
{ {
label: '物料代码', label: '物料代码',
@ -455,6 +577,18 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
sortSearchDefault:2,
sortTableDefault:4,
},
{
label: '物料名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:4,
}, },
{ {
label: '备注', label: '备注',
@ -463,6 +597,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '创建时间', label: '创建时间',
@ -475,6 +610,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -491,14 +627,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
}, hiddenInMain:true,
{
label: '物料名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '物料描述1', label: '物料描述1',
@ -507,6 +636,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '物料描述2', label: '物料描述2',
@ -515,6 +645,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '项目代码', label: '项目代码',
@ -523,6 +654,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '数量', label: '数量',
@ -531,29 +663,19 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{ // {
label: '计量单位', // label: '代码',
field: 'uom', // field: 'code',
dictType: DICT_TYPE.UOM, // sort: 'custom',
dictClass: 'string', // table: {
isTable: true, // width: 150
sort: 'custom', // },
table: { // },
width: 150
},
},
{
label: '代码',
field: 'code',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '接口类型', label: '接口类型',
field: 'interfaceType', field: 'interfaceType',
@ -564,6 +686,8 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
// { // {
// label: '任务明细ID', // label: '任务明细ID',
@ -580,6 +704,8 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '到器具号', label: '到器具号',
@ -588,6 +714,8 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
])) ]))

8
src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts

@ -52,7 +52,6 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'status', field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS, dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isForm:false, isForm:false,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
@ -77,7 +76,6 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
isForm: false, isForm: false,
}, },
{ {
@ -475,7 +473,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
hiddenInMain:true, hiddenInMain:true,
sortSearchDefault:6, sortSearchDefault:1000,
isSearch: true,
sortTableDefault:1100, sortTableDefault:1100,
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -560,6 +559,7 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '单据号', label: '单据号',
@ -583,6 +583,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch:true,
sortSearchDefault:2,
sortTableDefault:3, sortTableDefault:3,
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',

16
src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts

@ -63,7 +63,6 @@ export const PutawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isTable: false, isTable: false,
}, },
{ {
label: '入库事务类型', label: '入库事务类型',
@ -249,6 +248,8 @@ export const PutawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '从库区代码范围', label: '从库区代码范围',
field: 'fromAreaCodes', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
table: { table: {
width: 150 width: 150
}, },
@ -669,18 +670,7 @@ export const PutawayRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',

Loading…
Cancel
Save