|
|
@ -1599,174 +1599,24 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装规格1', |
|
|
|
label: '箱规格', |
|
|
|
field: 'packUnit', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
componentProps: { |
|
|
|
disabled: true, |
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择包装', |
|
|
|
searchField: 'packUnit', |
|
|
|
searchTitle: '物品包装信息', |
|
|
|
searchAllSchemas: Itempackaging.allSchemas, |
|
|
|
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
message: '请选择订单行', |
|
|
|
isMainValue: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
] |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true, |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择包装', |
|
|
|
searchField: 'itemCode', |
|
|
|
searchTitle: '物品包装信息', |
|
|
|
searchAllSchemas: Itempackaging.allSchemas, |
|
|
|
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
message: '请选择订单行', |
|
|
|
isTableRowValue: true, |
|
|
|
isMainValue:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装名称1', |
|
|
|
field: 'packName', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料数量1', |
|
|
|
field: 'packQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装规格2', |
|
|
|
field: 'secondPackUnit', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
value: userDept.id, |
|
|
|
component: 'Select', |
|
|
|
api: () => userDeptArray, |
|
|
|
componentProps: { |
|
|
|
disabled: true, |
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择包装', |
|
|
|
searchField: 'packUnit', |
|
|
|
searchTitle: '物品包装信息', |
|
|
|
searchAllSchemas: Itempackaging.allSchemas, |
|
|
|
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
message: '请选择订单行', |
|
|
|
isMainValue: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
] |
|
|
|
|
|
|
|
optionsAlias: { |
|
|
|
labelField: 'name', |
|
|
|
valueField: 'id' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
clearable: true, |
|
|
|
disabled: true, |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择包装', |
|
|
|
searchField: 'packUnit', |
|
|
|
searchTitle: '物品包装信息', |
|
|
|
searchAllSchemas: Itempackaging.allSchemas, |
|
|
|
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
message: '请选择订单行', |
|
|
|
isTableRowValue: true, |
|
|
|
isMainValue:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装名称2', |
|
|
|
field: 'secondPackName', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料数量2', |
|
|
|
field: 'secondPackQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '物料名称', |
|
|
|
field: 'itemName', |
|
|
|