This commit is contained in:
2021-07-01 21:08:18 +00:00
parent 32892dbc58
commit c00a71dac2
2 changed files with 49 additions and 7 deletions

View File

@@ -420,12 +420,10 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING:
CURRENTLY DOING: serials on wo
todo: picking from part assembly to populate a bunch of parts??
todo: picking from existing serial numbers for parts on workorder??
todo: picking from existing serial numbers for parts on workorder
see work order item parts for notes and what to do
todo: as part of duplication above, REMOVE TEMPLATES ENTIRELY??
If can duplicate this way at client and can easily change customer etc do we even need the wo templates anymore?
@@ -1256,7 +1254,7 @@ BUILD CHANGES OF NOTE
Build 111
- Added the work order templates to the project you emailed mean
- Added your work order templates to the project
- Notification subscription list now with more detailed info to disambiguate similar subscriptions that vary only in small details
@@ -1271,6 +1269,8 @@ Build 111
- Workorder descendant collections now have a mark all for deletion option to quickly remove an entire collection to facilitate Duplicate in v8 as replacement of v7 template feature which will not be ported to v8
- WorkorderItemPart can now choose part assembly to populate work order item parts list from menu item in workorderitemparts vertical dots menu
- User / Custom contact on create / duplicate now allows entry of new user options before first User save rather than previous behaviour of having to save new record first then edit and save user options
- Customer user login now always shows in App notifications (Bell icon and list when clicked on) regardless of whether they can subscribe to any notifications (global settings) to allow for viewing direct notifications sent to them

View File

@@ -352,6 +352,8 @@
)
"
auto-grow
prepend-icon="$ayiListUl"
@click:prepend="selectSerials()"
></v-textarea>
</v-col>
</template>
@@ -405,6 +407,27 @@
</v-dialog>
</v-row>
</template>
<!-- ################################################################################-->
<!-- ########################## SERIAL NUMBER SELECTOR FORM ###############################-->
<!-- ################################################################################-->
<template>
<v-row justify="center">
<v-dialog max-width="600px" v-model="serialDialog">
<v-card>
<v-card-title> </v-card-title>
<v-card-text>
serial picker / entry
</v-card-text>
<v-card-actions>
<v-spacer />
<v-btn text @click="serialDialog = false" color="primary">{{
$ay.t("Close")
}}</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</v-row>
</template>
</div>
</template>
<script>
@@ -422,7 +445,9 @@ export default {
selectedRow: [],
partAssemblyDialog: false,
selectedPartAssembly: null,
selectedPartWarehouse: 1
selectedPartWarehouse: 1,
serialDialog: false,
availableSerials: []
};
},
props: {
@@ -468,6 +493,23 @@ export default {
}
},
methods: {
selectSerials() {
/*
TODO:
fetch current list of serials
remove already selected serials from that list
put into availableSerials
create selection dialog by adding datatable can select from checkboxes and ADD button
dialog is strictly for adding
when done sb able to view current available serials not selected, quickly pick them off and then add en-masse
*/
this.serialDialog = true;
},
async addPartAssembly() {
let res = await window.$gz.api.get(
`part-assembly/${this.selectedPartAssembly}`