Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alboneon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Claesson
Alboneon
Commits
19bd9cb7
Verified
Commit
19bd9cb7
authored
Jun 5, 2023
by
Martin Claesson
Browse files
Options
Downloads
Patches
Plain Diff
fix(Inventory):
allow setting individual max weight when creating a new inventory
parent
caa0ba8a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!99
Custom icons everywhere
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/Inventory/NewInventoryDialog.vue
+13
-0
13 additions, 0 deletions
src/components/Inventory/NewInventoryDialog.vue
with
13 additions
and
0 deletions
src/components/Inventory/NewInventoryDialog.vue
+
13
−
0
View file @
19bd9cb7
...
...
@@ -41,6 +41,19 @@
hide-details
:loading=
"loading"
/>
</VCol>
</VRow>
<VRow>
<VCol>
<VSwitch
v-model=
"inventory.separateMaxWeight"
variant=
"outlined"
dense
label=
"Separate max weight"
color=
"cyan"
hide-details
:loading=
"loading"
:disabled=
"inventory.ignoreWeightInTotal"
:density=
"'compact'"
/>
</VCol>
<VCol>
<VTextField
v-model=
"inventory.maxWeight"
variant=
"outlined"
label=
"Max weight"
hide-details=
"auto"
type=
"number"
:rules=
"[rules.positive, rules.required, rules.positive]"
:loading=
"loading"
:disabled=
"!inventory.separateMaxWeight || inventory.ignoreWeightInTotal"
:density=
"'compact'"
@
update:focused=
"inventory.maxWeight = zeroIfNan(inventory.maxWeight, true)"
/>
</VCol>
</VRow>
<VRow>
<VCol>
<VSlider
v-model=
"sellPriceValue"
variant=
"outlined"
label=
"Default sell price"
:step=
"1"
:min=
"0"
dark
...
...
This diff is collapsed.
Click to expand it.
Semantic Release
@semantic-release-bot
mentioned in commit
80d92e6c
·
Jun 5, 2023
mentioned in commit
80d92e6c
mentioned in commit 80d92e6c240a8d07ffbdf1094480a9c7cd8b3faf
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment