7596-devToTest_2426 #452

Merged
alexm merged 378 commits from 7596-devToTest_2426 into test 2024-06-19 08:49:21 +00:00
1 changed files with 6 additions and 7 deletions
Showing only changes of commit 1052e9eb21 - Show all commits

View File

@ -78,7 +78,7 @@ const tableColumnComponents = {
},
ref: {
component: VnInput,
attrs: { dense: true, class: 'bold' },
attrs: { dense: true },
event: (val, field, rowIndex) => ({
'keyup.enter': () => saveFieldValue(val, field, rowIndex),
blur: () => saveFieldValue(val, field, rowIndex),
@ -94,7 +94,7 @@ const tableColumnComponents = {
},
kg: {
component: VnInput,
attrs: { dense: true, type: 'number', min: 0, class: 'input-number bold' },
attrs: { dense: true, type: 'number', min: 0, class: 'input-number' },
event: (val, field, rowIndex) => ({
'keyup.enter': () => saveFieldValue(val, field, rowIndex),
blur: () => saveFieldValue(val, field, rowIndex),
@ -599,11 +599,6 @@ const getKgPercentage = ({ kg, loadedKg, volumeKg }) => {
</QTable>
</QPage>
</template>
<style lang="scss">
.bold input {
font-weight: bold;
}
</style>
<style scoped lang="scss">
.q-chip {
color: var(--vn-text-color);
@ -613,6 +608,10 @@ const getKgPercentage = ({ kg, loadedKg, volumeKg }) => {
border-collapse: collapse;
}
.q-td :deep(input) {
font-weight: bold;
}
.dashed-border {
&.--left {
border-left: 1px dashed #ccc;