refactor(entry.buy): moved add button
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5a7047bf7e
commit
3f6e1ce9aa
|
@ -1086,7 +1086,7 @@ export default {
|
||||||
allBuyCheckbox: 'vn-entry-buy-index thead vn-check',
|
allBuyCheckbox: 'vn-entry-buy-index thead vn-check',
|
||||||
firstBuyCheckbox: 'vn-entry-buy-index tbody:nth-child(2) vn-check',
|
firstBuyCheckbox: 'vn-entry-buy-index tbody:nth-child(2) vn-check',
|
||||||
deleteBuysButton: 'vn-entry-buy-index vn-button[icon="delete"]',
|
deleteBuysButton: 'vn-entry-buy-index vn-button[icon="delete"]',
|
||||||
addBuyButton: 'vn-entry-buy-index vn-icon[icon="add_circle"]',
|
addBuyButton: 'vn-entry-buy-index vn-icon[icon="add"]',
|
||||||
secondBuyPackingPrice: 'vn-entry-buy-index tbody:nth-child(3) > tr:nth-child(1) vn-input-number[ng-model="buy.price3"]',
|
secondBuyPackingPrice: 'vn-entry-buy-index tbody:nth-child(3) > tr:nth-child(1) vn-input-number[ng-model="buy.price3"]',
|
||||||
secondBuyGroupingPrice: 'vn-entry-buy-index tbody:nth-child(3) > tr:nth-child(1) vn-input-number[ng-model="buy.price2"]',
|
secondBuyGroupingPrice: 'vn-entry-buy-index tbody:nth-child(3) > tr:nth-child(1) vn-input-number[ng-model="buy.price2"]',
|
||||||
secondBuyPrice: 'vn-entry-buy-index tbody:nth-child(3) > tr:nth-child(1) vn-input-number[ng-model="buy.buyingValue"]',
|
secondBuyPrice: 'vn-entry-buy-index tbody:nth-child(3) > tr:nth-child(1) vn-input-number[ng-model="buy.buyingValue"]',
|
||||||
|
|
|
@ -188,22 +188,19 @@
|
||||||
<tr><td></td></tr>
|
<tr><td></td></tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div>
|
|
||||||
<vn-icon-button
|
|
||||||
vn-one
|
|
||||||
vn-tooltip="Add buy"
|
|
||||||
vn-bind="+"
|
|
||||||
icon="add_circle"
|
|
||||||
ng-click="model.insert({})">
|
|
||||||
</vn-icon-button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
</vn-data-viewer>
|
</vn-data-viewer>
|
||||||
<div fixed-bottom-right>
|
<div fixed-bottom-right>
|
||||||
<vn-vertical style="align-items: center;">
|
<vn-vertical style="align-items: center;">
|
||||||
<a ui-sref="entry.card.buy.import"
|
<vn-button class="round md vn-mb-sm"
|
||||||
|
ng-click="model.insert({})"
|
||||||
|
icon="add"
|
||||||
|
vn-tooltip="Add buy"
|
||||||
|
tooltip-position="left"
|
||||||
vn-bind="+">
|
vn-bind="+">
|
||||||
|
</vn-button>
|
||||||
|
<a ui-sref="entry.card.buy.import" >
|
||||||
<vn-button class="round md vn-mb-sm"
|
<vn-button class="round md vn-mb-sm"
|
||||||
icon="publish"
|
icon="publish"
|
||||||
vn-tooltip="Import buys"
|
vn-tooltip="Import buys"
|
||||||
|
|
Loading…
Reference in New Issue