This commit is contained in:
@@ -422,22 +422,7 @@ todo: many biz objects are not using new PUT methodology
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING:
|
CURRENTLY DOING: Two items below for Joyce, then do a build and release
|
||||||
|
|
||||||
|
|
||||||
TODO 2 (all 2's): V7 features on wo I haven't coded yet
|
|
||||||
|
|
||||||
Part
|
|
||||||
Generate unit from selected part (already a v7 feature, didn't even realize)
|
|
||||||
Unit generated from part fields:
|
|
||||||
owner is workorder customer
|
|
||||||
Description is part name
|
|
||||||
purchased here is true
|
|
||||||
purchased date is service date of workorder
|
|
||||||
Serial number is part serial number if set
|
|
||||||
Icon is Unit icon with an arrow
|
|
||||||
Trans key is "WorkOrderGenerateUnit"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo 1: Implemente Tech scheduleable user notes in workorder form ALERT area
|
todo 1: Implemente Tech scheduleable user notes in workorder form ALERT area
|
||||||
@@ -1257,6 +1242,7 @@ BUILD 114
|
|||||||
- WorkOrderItemScheduledUser convert to labor implemented (was v7 feature)
|
- WorkOrderItemScheduledUser convert to labor implemented (was v7 feature)
|
||||||
- workorderitemlabor "Append tasks" implemented (new feature, customer requested)
|
- workorderitemlabor "Append tasks" implemented (new feature, customer requested)
|
||||||
- WorkorderItemUnit Unit warranty and recent workorder info widget added (was v7 feature)
|
- WorkorderItemUnit Unit warranty and recent workorder info widget added (was v7 feature)
|
||||||
|
- WorkOrderItemPart Generate Unit from Part implemented (was v7 feature)
|
||||||
- Additional *Viz fields requested for workorder added:
|
- Additional *Viz fields requested for workorder added:
|
||||||
workorderitempart - part name in addition to part number - added as "PartNameViz"
|
workorderitempart - part name in addition to part number - added as "PartNameViz"
|
||||||
Workorder header - Customer scheduled user alert notes - added as "CustomerTechNotesViz"
|
Workorder header - Customer scheduled user alert notes - added as "CustomerTechNotesViz"
|
||||||
|
|||||||
@@ -764,27 +764,6 @@ export default {
|
|||||||
//(set by workorder item part when user selects generate unit from part)
|
//(set by workorder item part when user selects generate unit from part)
|
||||||
let gen = this.$route.params.genFromPart;
|
let gen = this.$route.params.genFromPart;
|
||||||
if (gen) {
|
if (gen) {
|
||||||
/* genFromPart: {
|
|
||||||
customerId: this.value.customerId,
|
|
||||||
partId: thisPart.partId,
|
|
||||||
purchaseDate: this.value.serviceDate,
|
|
||||||
serial: thisPart.serials,
|
|
||||||
address: this.value.address,
|
|
||||||
city: this.value.city,
|
|
||||||
region: this.value.region,
|
|
||||||
country: this.value.country,
|
|
||||||
latitude: this.value.latitude,
|
|
||||||
longitude: this.value.longitude
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
owner is workorder customer
|
|
||||||
Description is part name
|
|
||||||
purchased here is true
|
|
||||||
purchased date is service date of workorder
|
|
||||||
Serial number is part serial number if set
|
|
||||||
|
|
||||||
*/
|
|
||||||
//get the part then set the values accordingly
|
//get the part then set the values accordingly
|
||||||
let res = await window.$gz.api.get(`part/${gen.partId}`);
|
let res = await window.$gz.api.get(`part/${gen.partId}`);
|
||||||
if (res.error) {
|
if (res.error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user