Browse Source

采购/备件--收货申请子表数据

master_hella_20240701
yufei0306 7 months ago
parent
commit
35ca4b7424
  1. 246
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
  2. 465
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts

246
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

@ -568,17 +568,7 @@ export const PurchasereceiptRequestMainRules = reactive({
* @returns {Array} * @returns {Array}
*/ */
export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
hiddenInMain:true,
isForm: false
},
{ {
label: '订单号', label: '订单号',
field: 'poNumber', field: 'poNumber',
@ -587,6 +577,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:5,
tableForm:{ tableForm:{
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择订单号', searchListPlaceholder: '请选择订单号',
@ -696,6 +687,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 180 width: 180
}, },
sortTableDefault:5,
hiddenInMain:true, hiddenInMain:true,
isForm: false, isForm: false,
tableForm:{ tableForm:{
@ -738,6 +730,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:7,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
@ -749,6 +742,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:7,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
@ -761,6 +755,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150 width: 150
}, },
hiddenInMain:true, hiddenInMain:true,
isTable:false,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -798,7 +793,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
precision: 6 precision: 6
}, },
}, },
hiddenInMain:true, sortTableDefault:9,
tableForm: { tableForm: {
type: 'InputNumber', type: 'InputNumber',
min: 1, min: 1,
@ -842,6 +837,18 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
disabled: true disabled: true
} }
}, },
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
hiddenInMain:true,
sortTableDefault:11,
isForm: false
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',
@ -868,7 +875,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:12, sortTableDefault:11,
form: { form: {
componentProps: { componentProps: {
isSearchList: true, isSearchList: true,
@ -957,44 +964,84 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isForm: false isForm: false
}, },
{ {
label: '生产日期', label: '从货主代码',
field: 'produceDate', field: 'fromOwnerCode',
formatter: dateFormatter2, sort: 'custom',
detail: { table: {
dateFormat: 'YYYY-MM-DD' width: 150
}, },
sortTableDefault:13,
hiddenInMain:true,
isTableForm: false,
isForm: false
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
sortTableDefault:13,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false,
isForm: false
},
{
label: '供应商计量数量',
field: 'supplierPackQty',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
form: { form: {
component: 'DatePicker', component: 'InputNumber',
componentProps: { componentProps: {
style: {width: '100%'}, min: 1,
type: 'date', precision: 6
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
}, },
tableForm:{
type:'FormDate',
placeholder: '请选择生产日期',
valueFormat: 'x',
}, },
hiddenInMain:true,
isTableForm: false,
isForm: false
}, },
{ {
label: '批次', label: '供应商计量单位',
field: 'batch', field: 'supplierPackUnit',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
sortTableDefault:8,
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:13,
hiddenInMain:true,
isTableForm: false,
isForm: false,
tableForm: { tableForm: {
disabled: true type: 'Select'
} }
}, },
{
label: '转换率',
field: 'convertRate',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
hiddenInMain:true,
form: {
component: 'InputNumber',
componentProps: {
min: 0
},
},
isTableForm: false,
isForm: false
},
// { // {
// label: '替代批次', // label: '替代批次',
// field: 'altBatch', // field: 'altBatch',
@ -1016,6 +1063,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 180 width: 180
}, },
sortTableDefault:11,
hiddenInMain:true, hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -1032,6 +1080,46 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
valueFormat: 'x', valueFormat: 'x',
}, },
}, },
{
label: '生产日期',
field: 'produceDate',
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
},
sort: 'custom',
table: {
width: 180
},
hiddenInMain:true,
sortTableDefault:11,
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'date',
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
tableForm:{
type:'FormDate',
placeholder: '请选择生产日期',
valueFormat: 'x',
},
},
{
label: '批次',
field: 'batch',
sort: 'custom',
sortTableDefault:8,
table: {
width: 150
},
tableForm:{
disabled: true
}
},
{ {
label: '过期日期', label: '过期日期',
field: 'expireDate', field: 'expireDate',
@ -1040,9 +1128,11 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
}, },
sort: 'custom', sort: 'custom',
sortTableDefault:11,
table: { table: {
width: 180 width: 180
}, },
isTable:true,
hiddenInMain:true, hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -1063,18 +1153,6 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
disabled: true disabled: true
} }
}, },
{
label: '从库位代码',
field: 'fromLocationCode',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:12,
isTableForm: false,
isForm: false
},
{ {
label: '库存状态', label: '库存状态',
field: 'inventoryStatus', field: 'inventoryStatus',
@ -1085,6 +1163,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:12,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
@ -1092,57 +1171,26 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
type: 'Select' type: 'Select'
} }
}, },
{ {
label: '供应商计量数量', label: '从库位代码',
field: 'supplierPackQty', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: { sortTableDefault:12,
component: 'InputNumber',
componentProps: {
min: 1,
precision: 6
},
},
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{ {
label: '供应商计量单位', label: '项目代码',
field: 'supplierPackUnit', field: 'projectCode',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
isTableForm: false,
isForm: false,
tableForm: {
type: 'Select'
}
},
{
label: '转换率',
field: 'convertRate',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true, hiddenInMain:true,
form: {
component: 'InputNumber',
componentProps: {
min: 0
},
},
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -1161,39 +1209,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
} }
}, },
{
label: '项目代码',
field: 'projectCode',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
isTableForm: false,
isForm: false
},
{
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
isTableForm: false,
isForm: false
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
isTableForm: false,
isForm: false
},
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',

465
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts

@ -567,14 +567,16 @@ export const PurchasereceiptRequestMainRules = reactive({
* @returns {Array} * @returns {Array}
*/ */
export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '订单号', label: '订单号',
field: 'poNumber', field: 'poNumber',
hiddenInMain:true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true, sortTableDefault:5,
tableForm:{ tableForm:{
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择订单号', searchListPlaceholder: '请选择订单号',
@ -619,6 +621,23 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
} }
}, },
{
label: '订单类型',
field: 'type',
dictType: DICT_TYPE.WORK_ORDER_TYPE,
dictClass: 'string',
isSearch: false,
isTable: false,
isTableForm: true,
sort: 'custom',
table: {
width: 150
},
tableForm:{
disabled:true
},
isForm: false,
},
{ {
label: '订单行', label: '订单行',
field: 'poLine', field: 'poLine',
@ -645,6 +664,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
tableForm:{ tableForm:{
multiple:true,
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择订单行', // 输入框占位文本 searchListPlaceholder: '请选择订单行', // 输入框占位文本
searchField: 'lineNumber', // 查询弹窗赋值字段 searchField: 'lineNumber', // 查询弹窗赋值字段
@ -659,6 +679,20 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}] }]
} }
}, },
{
label: '行类型',
field: 'poLineType',
sort: 'custom',
table: {
width: 180
},
sortTableDefault:5,
hiddenInMain:true,
isForm: false,
tableForm:{
disabled: true
}
},
{ {
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',
@ -666,11 +700,11 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
isSearch:true,
sortTableDefault:6,
tableForm:{ tableForm:{
disabled: true disabled: true
}, },
isSearch: true,
sortTableDefault:6,
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true
@ -695,6 +729,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:7,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
@ -706,18 +741,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true, sortTableDefault:7,
isTableForm: false,
isForm: false
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
@ -730,17 +754,37 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150 width: 150
}, },
hiddenInMain:true, hiddenInMain:true,
isTable:false,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
// {
// label: '数量',
// field: 'qty',
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// component: 'InputNumber',
// componentProps: {
// min: 1,
// precision: 6
// },
// },
// tableForm: {
// type: 'InputNumber',
// min: 1,
// precision: 6
// }
// },
{ {
label: '数量', label: '订单数量',
field: 'qty', field: 'orderQty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -748,6 +792,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
precision: 6 precision: 6
}, },
}, },
sortTableDefault:9,
tableForm: { tableForm: {
type: 'InputNumber', type: 'InputNumber',
min: 1, min: 1,
@ -792,16 +837,91 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
{ {
label: '从库位代码', label: '包装号',
field: 'fromLocationCode', field: 'packingNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:13,
isTableForm: false, isTableForm: false,
hiddenInMain:true,
sortTableDefault:11,
isForm: false isForm: false
}, },
{
label: '包装规格',
field: 'packUnit',
dictClass: 'string',
isTable: true,
isTableForm: false,
sort: 'custom',
table: {
width: 150,
componentProps: {
disabled: true
}
},
sortTableDefault:11,
tableForm:{
disabled:true
},
isForm: true
},
{
label: '包装数量',
field: 'packQty',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:11,
form: {
componentProps: {
isSearchList: true,
searchListPlaceholder: '请选择包装',
searchField: 'packQty',
searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
searchCondition: [
{
key: 'itemCode',
value: 'itemCode',
message: '请选择订单行',
isMainValue: true
},
{
key: 'available',
value: 'TRUE',
isMainValue: false
}
]
}
},
tableForm: {
isInpuFocusShow: true,
searchListPlaceholder: '请选择包装',
searchField: 'packQty',
searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
searchCondition: [
{
key: 'itemCode',
value: 'itemCode',
message: '请选择订单行',
isMainValue: true
},
{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
},
isTableForm: false,
isForm: true
},
{ {
label: '到库位代码', label: '到库位代码',
field: 'defaultToLocationCode', field: 'defaultToLocationCode',
@ -843,55 +963,94 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isForm: false isForm: false
}, },
{ {
label: '生产日期', label: '从货主代码',
field: 'produceDate', field: 'fromOwnerCode',
formatter: dateFormatter2, sort: 'custom',
detail: { table: {
dateFormat: 'YYYY-MM-DD' width: 150
}, },
sortTableDefault:13,
hiddenInMain:true,
isTableForm: false,
isForm: false
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
sortTableDefault:13,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false,
isForm: false
},
{
label: '供应商计量数量',
field: 'supplierPackQty',
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
form: { form: {
component: 'DatePicker', component: 'InputNumber',
componentProps: { componentProps: {
style: {width: '100%'}, min: 1,
type: 'date', precision: 6
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
}, },
tableForm:{
type:'FormDate',
placeholder: '请选择生产日期',
valueFormat: 'x',
}, },
hiddenInMain:true,
isTableForm: false,
isForm: false
}, },
{ {
label: '批次', label: '供应商计量单位',
field: 'batch', field: 'supplierPackUnit',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:8, sortTableDefault:13,
hiddenInMain:true,
isTableForm: false,
isForm: false,
tableForm: { tableForm: {
disabled: true type: 'Select'
} }
}, },
{ {
label: '替代批次', label: '转换率',
field: 'altBatch', field: 'convertRate',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm: false, sortTableDefault:13,
isForm: false,
hiddenInMain:true, hiddenInMain:true,
form: {
component: 'InputNumber',
componentProps: {
min: 0
},
}, },
isTableForm: false,
isForm: false
},
// {
// label: '替代批次',
// field: 'altBatch',
// sort: 'custom',
// table: {
// width: 150
// },
// isTableForm: false,
// isForm: false
// },
{ {
label: '到货日期', label: '到货日期',
field: 'arriveDate', field: 'arriveDate',
@ -903,6 +1062,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 180 width: 180
}, },
sortTableDefault:11,
hiddenInMain:true, hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -920,8 +1080,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '过期日期', label: '生产日期',
field: 'expireDate', field: 'produceDate',
formatter: dateFormatter2, formatter: dateFormatter2,
detail: { detail: {
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
@ -931,6 +1091,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 180 width: 180
}, },
hiddenInMain:true, hiddenInMain:true,
sortTableDefault:11,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -940,135 +1101,68 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
valueFormat: 'x', valueFormat: 'x',
} }
}, },
// tableForm:{
// type:'FormDate',
// placeholder: '请选择过期日期',
// valueFormat: 'x',
// },
tableForm:{ tableForm:{
type: 'slot', type:'FormDate',
disabled: true placeholder: '请选择生产日期',
} valueFormat: 'x',
},
}, },
{ {
label: '库存状态', label: '批次',
field: 'inventoryStatus', field: 'batch',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
sortTableDefault:8,
table: { table: {
width: 150 width: 150
}, },
isTableForm: false,
hiddenInMain:true,
isForm: false,
tableForm:{ tableForm:{
type: 'Select' disabled: true
} }
}, },
{ {
label: '包装数量', label: '过期日期',
field: 'packQty', field: 'expireDate',
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
},
sort: 'custom', sort: 'custom',
sortTableDefault:11,
table: { table: {
width: 150 width: 180
}, },
sortTableDefault:12, isTable:true,
hiddenInMain:true,
form: { form: {
component: 'DatePicker',
componentProps: { componentProps: {
isSearchList: true, style: {width: '100%'},
searchListPlaceholder: '请选择包装', type: 'date',
searchField: 'packQty', dateFormat: 'YYYY-MM-DD',
searchTitle: '物品包装信息', valueFormat: 'x',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
searchCondition: [
{
key: 'itemCode',
value: 'itemCode',
message: '请选择订单行',
isMainValue: true
},
{
key: 'available',
value: 'TRUE',
isMainValue: false
}
]
} }
}, },
// tableForm:{
// type:'FormDate',
// placeholder: '请选择过期日期',
// valueFormat: 'x',
// },
tableForm:{ tableForm:{
isInpuFocusShow: true, type: 'slot',
searchListPlaceholder: '请选择包装',
searchField: 'packQty',
searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
searchCondition: [
{
key: 'itemCode',
value: 'itemCode',
message: '请选择订单行',
isMainValue: true
},
{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
},
isTableForm: true,
isForm: true
},
{
label: '包装规格',
field: 'packUnit',
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150,
componentProps: {
disabled: true disabled: true
} }
}, },
tableForm:{
disabled:true
},
sortTableDefault:11,
isTableForm: true,
isForm: true
},
{ {
label: '供应商计量数量', label: '库存状态',
field: 'supplierPackQty', field: 'inventoryStatus',
sort: 'custom', dictType: DICT_TYPE.INVENTORY_STATUS,
table: {
width: 150
},
hiddenInMain:true,
form: {
component: 'InputNumber',
componentProps: {
min: 1,
precision: 6
},
},
isTableForm: false,
isForm: false
},
{
label: '供应商计量单位',
field: 'supplierPackUnit',
dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:12,
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
@ -1077,37 +1171,17 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
{ {
label: '转换率', label: '从库位代码',
field: 'convertRate', field: 'fromLocationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true, sortTableDefault:12,
form: {
component: 'InputNumber',
componentProps: {
min: 0
},
},
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180
},
hiddenInMain:true,
isTableForm: false,
form: {
componentProps: {
disabled: true
}
}
},
{ {
label: '项目代码', label: '项目代码',
field: 'projectCode', field: 'projectCode',
@ -1120,35 +1194,29 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isForm: false isForm: false
}, },
{ {
label: '从货主代码', label: '单据号',
field: 'fromOwnerCode', field: 'number',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
isTableForm: false,
isForm: false
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
hiddenInMain:true, hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
}, },
{ {
label: '创建者', label: '创建者',
@ -1185,17 +1253,18 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
// { {
// label: '操作', label: '操作',
// field: 'action', hiddenInMain:true,
// isDetail: false, field: 'action',
// isForm: false , isDetail: false,
// table: { isForm: false ,
// width: 150, table: {
// fixed: 'right' width: 150,
// }, fixed: 'right'
// isTableForm:false, },
// } isTableForm:false,
}
])) ]))
//表单校验 //表单校验

Loading…
Cancel
Save