|
|
@ -47,9 +47,9 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
width: 180, |
|
|
|
fixed: 'left' |
|
|
|
}, |
|
|
|
sortSearchDefault:1, |
|
|
|
isForm: false, |
|
|
|
isSearch: true, |
|
|
|
sortSearchDefault:1 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '采购订单号', |
|
|
@ -96,26 +96,26 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
isForm: true, |
|
|
|
sortTableDefault:2, |
|
|
|
isSearch:true, |
|
|
|
sortSearchDefault:3, |
|
|
|
isSearch: true, |
|
|
|
|
|
|
|
isForm: true, |
|
|
|
sortTableDefault:2 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商代码', |
|
|
|
field: 'supplierCode', |
|
|
|
sort: 'custom', |
|
|
|
sortTableDefault:1, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortSearchDefault:2, |
|
|
|
sortTableDefault:1, |
|
|
|
isSearch: true, |
|
|
|
sortSearchDefault:2, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
disabled: true, |
|
|
|
isSearchList: false, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择供应商代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '供应商信息', // 查询弹窗标题
|
|
|
@ -177,6 +177,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '车牌号', |
|
|
@ -195,7 +196,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
// width: 150
|
|
|
|
// },
|
|
|
|
// form: {
|
|
|
|
// value: 'spare_PartsReceipt',
|
|
|
|
// value: 'ASN_ExternalReceipt',
|
|
|
|
// componentProps: {
|
|
|
|
// disabled: true
|
|
|
|
// }
|
|
|
@ -206,21 +207,21 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
label: '从仓库代码', |
|
|
|
field: 'fromWarehouseCode', |
|
|
|
sort: 'custom', |
|
|
|
isTable:false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到仓库代码', |
|
|
|
field: 'toWarehouseCode', |
|
|
|
sort: 'custom', |
|
|
|
isTable:false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '从库区类型范围', |
|
|
@ -250,37 +251,37 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
label: '从库区代码范围', |
|
|
|
field: 'fromAreaCodes', |
|
|
|
sort: 'custom', |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到库区代码范围', |
|
|
|
field: 'toAreaCodes', |
|
|
|
sort: 'custom', |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到月台代码', |
|
|
|
field: 'toDockCode', |
|
|
|
sort: 'custom', |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '业务类型', |
|
|
|
field: 'businessType', |
|
|
|
sort: 'custom', |
|
|
|
isTable:false, |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
@ -321,8 +322,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isTable:false, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
@ -331,8 +332,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTable:false, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '申请时间', |
|
|
@ -354,8 +355,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isTable:false, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '截止时间',
|
|
|
@ -406,6 +407,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
field: 'status', |
|
|
|
dictType: DICT_TYPE.REQUEST_STATUS, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: false, |
|
|
|
isTable: true, |
|
|
|
sortTableDefault:3, |
|
|
|
isForm:false, |
|
|
@ -426,8 +428,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: false, |
|
|
|
sort: 'custom', |
|
|
|
isForm:false, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
@ -507,15 +509,15 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
{ |
|
|
|
label: '标签状态', |
|
|
|
field: 'labelStatus', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.LABEL_STATUS, |
|
|
|
dictClass: 'string', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
isSearch: false, |
|
|
|
isTable:false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
@ -567,14 +569,16 @@ export const PurchasereceiptRequestMainRules = reactive({ |
|
|
|
* @returns {Array} 采购收货申请子表 |
|
|
|
*/ |
|
|
|
export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
{ |
|
|
|
label: '订单号', |
|
|
|
field: 'poNumber', |
|
|
|
hiddenInMain:true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:5, |
|
|
|
tableForm:{ |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择订单号', |
|
|
@ -619,6 +623,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: '订单行', |
|
|
|
field: 'poLine', |
|
|
@ -645,6 +666,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
multiple:true, |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择订单行', // 输入框占位文本
|
|
|
|
searchField: 'lineNumber', // 查询弹窗赋值字段
|
|
|
@ -659,6 +681,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: '物料代码', |
|
|
|
field: 'itemCode', |
|
|
@ -666,11 +702,11 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch:true, |
|
|
|
sortTableDefault:6, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
sortTableDefault:6, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
@ -695,6 +731,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:7, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
@ -706,18 +743,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '包装号', |
|
|
|
field: 'packingNumber', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:7, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
@ -730,17 +756,37 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
isTable:false, |
|
|
|
isTableForm: 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: '数量', |
|
|
|
field: 'qty', |
|
|
|
label: '订单数量', |
|
|
|
field: 'orderQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
@ -748,6 +794,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
precision: 6 |
|
|
|
}, |
|
|
|
}, |
|
|
|
sortTableDefault:9, |
|
|
|
tableForm: { |
|
|
|
type: 'InputNumber', |
|
|
|
min: 1, |
|
|
@ -792,16 +839,91 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '从库位代码', |
|
|
|
field: 'fromLocationCode', |
|
|
|
label: '包装号', |
|
|
|
field: 'packingNumber', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:13, |
|
|
|
isTableForm: false, |
|
|
|
hiddenInMain:true, |
|
|
|
sortTableDefault:11, |
|
|
|
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: '到库位代码', |
|
|
|
field: 'defaultToLocationCode', |
|
|
@ -843,55 +965,94 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '生产日期', |
|
|
|
field: 'produceDate', |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
label: '从货主代码', |
|
|
|
field: 'fromOwnerCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:13, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到货主代码', |
|
|
|
field: 'toOwnerCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:13, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商计量数量', |
|
|
|
field: 'supplierPackQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:13, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
|
style: {width: '100%'}, |
|
|
|
type: 'date', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
type:'FormDate', |
|
|
|
placeholder: '请选择生产日期', |
|
|
|
valueFormat: 'x', |
|
|
|
min: 1, |
|
|
|
precision: 6 |
|
|
|
}, |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '批次', |
|
|
|
field: 'batch', |
|
|
|
label: '供应商计量单位', |
|
|
|
field: 'supplierPackUnit', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:8, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
sortTableDefault:13, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
tableForm: { |
|
|
|
type: 'Select' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '替代批次', |
|
|
|
field: 'altBatch', |
|
|
|
label: '转换率', |
|
|
|
field: 'convertRate', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
sortTableDefault:13, |
|
|
|
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: '到货日期', |
|
|
|
field: 'arriveDate', |
|
|
@ -903,6 +1064,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
sortTableDefault:11, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
@ -919,6 +1081,46 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
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: '过期日期', |
|
|
|
field: 'expireDate', |
|
|
@ -927,9 +1129,11 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
sortTableDefault:11, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
isTable:true, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
@ -960,136 +1164,34 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
sortTableDefault:12, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
tableForm: { |
|
|
|
type: 'Select' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装数量', |
|
|
|
field: 'packQty', |
|
|
|
label: '从库位代码', |
|
|
|
field: 'fromLocationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:12, |
|
|
|
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: true, |
|
|
|
isForm: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装规格', |
|
|
|
field: 'packUnit', |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled:true |
|
|
|
}, |
|
|
|
sortTableDefault:11, |
|
|
|
isTableForm: true, |
|
|
|
isForm: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商计量数量', |
|
|
|
field: 'supplierPackQty', |
|
|
|
sort: 'custom', |
|
|
|
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', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
tableForm: { |
|
|
|
type: 'Select' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '转换率', |
|
|
|
field: 'convertRate', |
|
|
|
label: '项目代码', |
|
|
|
field: 'projectCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
|
min: 0 |
|
|
|
}, |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
@ -1108,47 +1210,15 @@ 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: '备注', |
|
|
|
field: 'remark', |
|
|
|
sort: 'custom', |
|
|
|
hiddenInMain:true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
hiddenInMain:true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
@ -1185,17 +1255,18 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '操作',
|
|
|
|
// field: 'action',
|
|
|
|
// isDetail: false,
|
|
|
|
// isForm: false ,
|
|
|
|
// table: {
|
|
|
|
// width: 150,
|
|
|
|
// fixed: 'right'
|
|
|
|
// },
|
|
|
|
// isTableForm:false,
|
|
|
|
// }
|
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
hiddenInMain:true, |
|
|
|
field: 'action', |
|
|
|
isDetail: false, |
|
|
|
isForm: false , |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
fixed: 'right' |
|
|
|
}, |
|
|
|
isTableForm:false, |
|
|
|
} |
|
|
|
])) |
|
|
|
|
|
|
|
//表单校验
|
|
|
|