This commit is contained in:
@@ -155,7 +155,6 @@ export default {
|
||||
"PartInventoryList",
|
||||
"WorkOrderItemPartRequestList",
|
||||
"InventoryPurchaseOrders",
|
||||
"InventoryPurchaseOrderReceipts",
|
||||
"PartInventoryTransactionList",
|
||||
"PartWarehouseList",
|
||||
"WidgetList",
|
||||
|
||||
@@ -236,13 +236,41 @@
|
||||
dense
|
||||
:item-class="poItemsRowClasses"
|
||||
>
|
||||
<template v-slot:top>
|
||||
<!-- <template v-slot:top>
|
||||
<div class="mb-4 ml-4">
|
||||
<span class="title">{{
|
||||
$ay.t("PurchaseOrderItemList")
|
||||
}}</span>
|
||||
</div>
|
||||
</template> -->
|
||||
|
||||
<template v-slot:top>
|
||||
<v-col cols="12">
|
||||
<v-menu offset-y v-if="rights.change">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<span class="text-h6">
|
||||
{{ $ay.t("PurchaseOrderItemList") }}</span
|
||||
><v-btn icon v-bind="attrs" v-on="on">
|
||||
<v-icon small >$ayiEllipsisV</v-icon>
|
||||
</v-btn>
|
||||
</template>
|
||||
<v-list>
|
||||
<v-list-item @click="alert('test')">
|
||||
<v-list-item-icon>
|
||||
<v-icon>$ayiCopy</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-title>{{
|
||||
$ay.t("ReceiveAll")
|
||||
}}</v-list-item-title>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
<span class="text-h6" v-else>
|
||||
{{ $ay.t("PurchaseOrderItemList") }}</span
|
||||
>
|
||||
</v-col>
|
||||
</template>
|
||||
|
||||
<template v-slot:[`item.actions`]="{ item }">
|
||||
<v-btn icon @click="editItem(item)">
|
||||
<v-icon :class="poItemsRowClasses(item)">
|
||||
|
||||
@@ -192,9 +192,9 @@ describe("SMOKE", () => {
|
||||
cy.url().should("include", "/inv-purchase-orders");
|
||||
cy.get("[data-cy=underconstruction]");
|
||||
|
||||
cy.visit("/inv-purchase-order-receipts");
|
||||
cy.url().should("include", "/inv-purchase-order-receipts");
|
||||
cy.get("[data-cy=underconstruction]");
|
||||
// cy.visit("/inv-purchase-order-receipts");
|
||||
// cy.url().should("include", "/inv-purchase-order-receipts");
|
||||
// cy.get("[data-cy=underconstruction]");
|
||||
|
||||
cy.visit("/inv-adjustments");
|
||||
cy.url().should("include", "/inv-adjustments");
|
||||
|
||||
Reference in New Issue
Block a user