This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
>
|
||||
{{ $ay.t("NoData") }}
|
||||
</div>
|
||||
{{ records }}
|
||||
<!--
|
||||
################################################################################################################################################
|
||||
WIDE TABLE VIEW
|
||||
|
||||
@@ -726,16 +726,20 @@
|
||||
<v-row justify="center">
|
||||
<v-dialog v-model="restockSelectDialog">
|
||||
<v-card>
|
||||
<v-card-title> restock title here </v-card-title>
|
||||
<v-card-title> title {{ selectedRestocks }} </v-card-title>
|
||||
<v-card-text>
|
||||
<v-col cols="12">
|
||||
<v-data-table
|
||||
:headers="restockHeaderList"
|
||||
:items="restockItemList"
|
||||
item-key="index"
|
||||
v-model="selectedRestocks"
|
||||
class="elevation-1"
|
||||
disable-pagination
|
||||
disable-filtering
|
||||
show-select
|
||||
:show-select="true"
|
||||
:single-select="false"
|
||||
selectable-key="index"
|
||||
hide-default-footer
|
||||
data-cy="restockTable"
|
||||
dense
|
||||
@@ -754,8 +758,8 @@
|
||||
<v-btn
|
||||
color="blue darken-1"
|
||||
text
|
||||
@click="restockSelectDialog = false"
|
||||
>{{ $ay.t("Save") }}</v-btn
|
||||
@click="appendSelectedRestocks()"
|
||||
>{{ $ay.t("PurchaseOrderUICopyToPurchaseOrder") }}</v-btn
|
||||
>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
@@ -868,6 +872,7 @@ export default {
|
||||
editPoItemIndex: 0,
|
||||
restockSelectDialog: false,
|
||||
restockItems: [],
|
||||
selectedRestocks: [],
|
||||
requestSelectDialog: false,
|
||||
selectLists: {
|
||||
status: []
|
||||
@@ -1212,6 +1217,15 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
appendSelectedRestocks() {
|
||||
console.log("restocks: ", this.selectedRestocks);
|
||||
|
||||
this.selectedRestocks.forEach(z => {
|
||||
console.log("restock", z);
|
||||
});
|
||||
this.restockSelectDialog = false;
|
||||
},
|
||||
|
||||
async showRestockSelectDialog() {
|
||||
let vm = this;
|
||||
|
||||
@@ -1746,6 +1760,7 @@ async function fetchTranslatedText(vm) {
|
||||
"PartByWarehouseInventoryQuantityOnOrder",
|
||||
"PartByWarehouseInventoryReorderQuantity",
|
||||
"WorkOrderItemPartRequestList",
|
||||
"PurchaseOrderUICopyToPurchaseOrder",
|
||||
"PurchaseOrderCustom1",
|
||||
"PurchaseOrderCustom2",
|
||||
"PurchaseOrderCustom3",
|
||||
|
||||
Reference in New Issue
Block a user