|
|
@ -24,6 +24,7 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
sortTableDefault:2, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '发货单号', |
|
|
@ -32,6 +33,7 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
sortTableDefault:3, |
|
|
|
isSearch: true |
|
|
|
}, |
|
|
|
{ |
|
|
@ -54,21 +56,6 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isSearch: true, |
|
|
|
sortSearchDefault:2 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '数据来源', |
|
|
|
field: 'sourceType', |
|
|
|
dictType: DICT_TYPE.PURCHASERECEIPT_SOURCE_TYPE, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
isSearch: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到月台代码', |
|
|
|
field: 'toDockCode', |
|
|
@ -87,6 +74,22 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
}, |
|
|
|
sortTableDefault:1010 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '数据来源', |
|
|
|
field: 'sourceType', |
|
|
|
dictType: DICT_TYPE.PURCHASERECEIPT_SOURCE_TYPE, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
isSearch: false, |
|
|
|
sortTableDefault:5, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '运输方式', |
|
|
|
field: 'transferMode', |
|
|
@ -188,6 +191,7 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:6 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '过期时间', |
|
|
@ -608,7 +612,28 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
fixed: 'right' |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '批次', // 实际是子表的到批次,为了不影响页面,单独放上面
|
|
|
|
field: 'toBatch', |
|
|
|
sort: 'custom', |
|
|
|
isForm:false, |
|
|
|
isTableForm:false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:1001, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装号', // 实际是子表的到包装号,为了不影响页面,单独放上面
|
|
|
|
field: 'toPackingNumber', |
|
|
|
sort: 'custom', |
|
|
|
isForm:false, |
|
|
|
isTableForm:false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:1001, |
|
|
|
}, |
|
|
|
])) |
|
|
|
|
|
|
|
//表单校验
|
|
|
@ -674,18 +699,43 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:1001, |
|
|
|
isSearch: true, |
|
|
|
isSearch:true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1002, |
|
|
|
sortSearchDefault:1002 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装规格', |
|
|
|
field: 'packUnit', |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:1002 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装数量', |
|
|
|
field: 'qty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
}, |
|
|
|
sortTableDefault:1002 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '器具号', |
|
|
|
field: 'containerNumber', |
|
|
|
sort: 'custom', |
|
|
|
hiddenInMain:true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
isTable:false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '批次', |
|
|
@ -694,9 +744,10 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
sortTableDefault:1000, |
|
|
|
sortSearchDefault:1000, |
|
|
|
isSearch:true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:8, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '替代批次', |
|
|
@ -705,7 +756,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
isTable:false, |
|
|
|
hiddenInMain:true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到货日期', |
|
|
@ -718,7 +770,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
sortTableDefault:1005, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -740,7 +793,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
sortTableDefault:1005, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -762,7 +816,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
sortTableDefault:1005, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -783,25 +838,26 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1006, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '从库位代码', |
|
|
|
label: '来源库位', |
|
|
|
field: 'fromLocationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:1005 |
|
|
|
sortTableDefault:1007, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到库位代码', |
|
|
|
label: '目标库位', |
|
|
|
field: 'toLocationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:1006 |
|
|
|
sortTableDefault:1007, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '采购订单号', |
|
|
@ -810,7 +866,9 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true |
|
|
|
isSearch:true, |
|
|
|
sortTableDefault:6, |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '订单行', |
|
|
@ -819,30 +877,23 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:6, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装数量', |
|
|
|
field: 'packQty', |
|
|
|
label: '行类型', |
|
|
|
field: 'poLineType', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
}, |
|
|
|
sortTableDefault:1003 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装规格', |
|
|
|
field: 'packUnit', |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
sortTableDefault:1002 |
|
|
|
sortTableDefault:6, |
|
|
|
hiddenInMain:true, |
|
|
|
isForm: false, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '供应商计量数量', |
|
|
|
field: 'supplierQty', |
|
|
@ -850,7 +901,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
sortTableDefault:1009, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
@ -861,11 +913,12 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
hiddenInMain: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:1009, |
|
|
|
hiddenInMain:true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '转换率', |
|
|
@ -874,28 +927,31 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:1009, |
|
|
|
hiddenInMain:true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '从货主代码', |
|
|
|
label: '从货主', |
|
|
|
field: 'fromOwnerCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1008, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到货主代码', |
|
|
|
label: '到货主', |
|
|
|
field: 'toOwnerCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1008, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料代码', |
|
|
@ -904,7 +960,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true |
|
|
|
sortTableDefault:7, |
|
|
|
isSearch:true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料名称', |
|
|
@ -913,6 +970,7 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:7, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料描述1', |
|
|
@ -921,7 +979,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:7, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料描述2', |
|
|
@ -930,7 +989,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:7, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '项目代码', |
|
|
@ -939,30 +999,52 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1010, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '数量', |
|
|
|
field: 'qty', |
|
|
|
label: '计量单位', |
|
|
|
field: 'uom', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
sortTableDefault:1004 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '计量单位', |
|
|
|
field: 'uom', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
label: '订单数量', |
|
|
|
field: 'orderQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1004 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '收货数量', |
|
|
|
field: 'receivedQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1004 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '数量', |
|
|
|
field: 'qty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTable:false, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
}, |
|
|
|
sortTableDefault:1004 |
|
|
|
}, |
|
|
|
{ |
|
|
@ -972,16 +1054,18 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1011, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '备注', |
|
|
|
fiield: 'remark', |
|
|
|
field: 'remark', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
sortTableDefault:1012, |
|
|
|
hiddenInMain:true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
@ -990,7 +1074,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1012 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
@ -1011,8 +1096,22 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
hiddenInMain: true, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:1012 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
hiddenInMain:true, |
|
|
|
field: 'action', |
|
|
|
isDetail: false, |
|
|
|
isForm: false , |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
fixed: 'right' |
|
|
|
}, |
|
|
|
isTableForm:true, |
|
|
|
}, |
|
|
|
|
|
|
|
])) |
|
|
|
|
|
|
|
//表单校验
|
|
|
|