refactor(sales): ticket sales now shows item.subName
This commit is contained in:
parent
c971d3ee01
commit
23ba5657c5
|
@ -35,6 +35,7 @@ module.exports = Self => {
|
||||||
fields: [
|
fields: [
|
||||||
'id',
|
'id',
|
||||||
'name',
|
'name',
|
||||||
|
'subName',
|
||||||
'itemPackingTypeFk',
|
'itemPackingTypeFk',
|
||||||
'tag5',
|
'tag5',
|
||||||
'value5',
|
'value5',
|
||||||
|
|
|
@ -157,12 +157,16 @@
|
||||||
</vn-input-number>
|
</vn-input-number>
|
||||||
</field>
|
</field>
|
||||||
</vn-td-editable>
|
</vn-td-editable>
|
||||||
<vn-td-editable vn-fetched-tags expand disabled="!sale.id || !$ctrl.isEditable">
|
<vn-td-editable vn-fetched-tags disabled="!sale.id || !$ctrl.isEditable">
|
||||||
<text>
|
<text>
|
||||||
<vn-one title="{{sale.concept}}">{{sale.concept}}</vn-one>
|
<div>
|
||||||
<vn-one ng-if="::sale.subName">
|
<vn-one title="{{sale.concept}}">{{sale.concept}}</vn-one>
|
||||||
<h3 title="{{::sale.subName}}">{{::sale.subName}}</h3>
|
<vn-one
|
||||||
</vn-one>
|
ng-if="::sale.item.subName"
|
||||||
|
title="{{::sale.item.subName}}">
|
||||||
|
<h3>{{::sale.item.subName}}</h3>
|
||||||
|
</vn-one>
|
||||||
|
</div>
|
||||||
<vn-fetched-tags
|
<vn-fetched-tags
|
||||||
max-length="6"
|
max-length="6"
|
||||||
item="::sale.item"
|
item="::sale.item"
|
||||||
|
|
|
@ -24,20 +24,20 @@ vn-ticket-sale {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
vn-td-editable[vn-fetched-tags] {
|
vn-td-editable[vn-fetched-tags] {
|
||||||
& text {
|
& div {
|
||||||
max-width: 430px;
|
display: flex;
|
||||||
min-width: 150px;
|
flex-wrap: wrap;
|
||||||
& vn-one {
|
}
|
||||||
overflow: hidden;
|
& vn-one {
|
||||||
text-overflow: ellipsis;
|
min-width: 200px;
|
||||||
}
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
& vn-one:nth-child(2) h3 {
|
}
|
||||||
color: $color-font-secondary;
|
& text vn-one:nth-child(2) h3 {
|
||||||
text-transform: uppercase;
|
color: $color-font-secondary;
|
||||||
line-height: initial;
|
text-transform: uppercase;
|
||||||
font-size: 0.75rem
|
line-height: initial;
|
||||||
}
|
font-size: 0.75rem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue