diff --git a/src/components/SpacePicker/index.vue b/src/components/SpacePicker/index.vue new file mode 100644 index 00000000..754f6978 --- /dev/null +++ b/src/components/SpacePicker/index.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/src/components/UpperTable/index.vue b/src/components/UpperTable/index.vue index 84598099..064b9f74 100644 --- a/src/components/UpperTable/index.vue +++ b/src/components/UpperTable/index.vue @@ -399,6 +399,10 @@ const props = defineProps({ columnConfigSchemaVersion: { type: Number, default: 1, + }, + rowClassName: { + type: [String, Function], + default: '', } }) @@ -1164,6 +1168,10 @@ function isVirtualSpacerRow(row: any): row is VirtualSpacerRow { function getRowClassName({ row }: { row: any }) { if (isVirtualSpacerRow(row)) return 'virtual-spacer-row' + if (typeof props.rowClassName === 'function') { + return props.rowClassName({ row }) || '' + } + if (typeof props.rowClassName === 'string') return props.rowClassName return '' } diff --git a/src/views/order/orderManagement/component/CreatePendingOrderDialog.vue b/src/views/order/orderManagement/component/CreatePendingOrderDialog.vue index 2ebb15bf..5c294f8e 100644 --- a/src/views/order/orderManagement/component/CreatePendingOrderDialog.vue +++ b/src/views/order/orderManagement/component/CreatePendingOrderDialog.vue @@ -65,156 +65,203 @@ @row-click="handlePreviewRowClick" @selection-change="handlePreviewSelectionChange" > + + + - -