This commit is contained in:
@@ -33,6 +33,7 @@ import {
|
||||
faBold,
|
||||
faBox,
|
||||
faBoxes,
|
||||
faBoxOpen,
|
||||
faBullhorn,
|
||||
faBusinessTime,
|
||||
faCalculator,
|
||||
@@ -203,6 +204,7 @@ library.add(
|
||||
faBold,
|
||||
faBox,
|
||||
faBoxes,
|
||||
faBoxOpen,
|
||||
faBullhorn,
|
||||
faBusinessTime,
|
||||
faCalculator,
|
||||
@@ -428,6 +430,12 @@ const CUSTOM_ICONS = {
|
||||
icon: ["fas", "boxes"]
|
||||
}
|
||||
},
|
||||
ayiBoxOpen: {
|
||||
component: FontAwesomeIcon,
|
||||
props: {
|
||||
icon: ["fas", "box-open"]
|
||||
}
|
||||
},
|
||||
ayiBullhorn: {
|
||||
component: FontAwesomeIcon,
|
||||
props: {
|
||||
|
||||
@@ -251,13 +251,13 @@
|
||||
<span class="text-h6">
|
||||
{{ $ay.t("PurchaseOrderItemList") }}</span
|
||||
><v-btn icon v-bind="attrs" v-on="on">
|
||||
<v-icon small >$ayiEllipsisV</v-icon>
|
||||
<v-icon small>$ayiEllipsisV</v-icon>
|
||||
</v-btn>
|
||||
</template>
|
||||
<v-list>
|
||||
<v-list-item @click="alert('test')">
|
||||
<v-list-item @click="receiveAll">
|
||||
<v-list-item-icon>
|
||||
<v-icon>$ayiCopy</v-icon>
|
||||
<v-icon>$ayiBoxOpen</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-title>{{
|
||||
$ay.t("ReceiveAll")
|
||||
@@ -494,13 +494,17 @@
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn
|
||||
color="blue darken-1"
|
||||
text
|
||||
@click="editPoItemDialog = false"
|
||||
>{{ $ay.t("Cancel") }}</v-btn
|
||||
>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="blue darken-1" text @click="receive(item)"
|
||||
><v-icon left> $ayiBoxOpen </v-icon
|
||||
>{{ $ay.t("Receive") }}</v-btn
|
||||
>
|
||||
<v-btn color="blue darken-1" text @click="submit()">{{
|
||||
$ay.t("Save")
|
||||
}}</v-btn>
|
||||
@@ -884,6 +888,8 @@ export default {
|
||||
return "font-weight-black font-italic error--text";
|
||||
}
|
||||
},
|
||||
receive: function(item) {},
|
||||
receiveAll: function() {},
|
||||
editItem: function(item) {
|
||||
this.editPoItemIndex = item.index;
|
||||
this.editPoItemDialog = true;
|
||||
@@ -1293,6 +1299,8 @@ async function fetchTranslatedText(vm) {
|
||||
"PurchaseOrderReceiptReceivedDate",
|
||||
"PurchaseOrderReceiptItemReceiptCost",
|
||||
"PurchaseOrderReceiptItemQuantityReceivedErrorInvalid",
|
||||
"ReceiveAll",
|
||||
"Receive",
|
||||
"PurchaseOrderCustom1",
|
||||
"PurchaseOrderCustom2",
|
||||
"PurchaseOrderCustom3",
|
||||
|
||||
Reference in New Issue
Block a user