This commit is contained in:
@@ -422,22 +422,7 @@ todo: many biz objects are not using new PUT methodology
|
||||
|
||||
|
||||
|
||||
CURRENTLY DOING:
|
||||
|
||||
|
||||
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"
|
||||
|
||||
CURRENTLY DOING: Two items below for Joyce, then do a build and release
|
||||
|
||||
|
||||
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)
|
||||
- workorderitemlabor "Append tasks" implemented (new feature, customer requested)
|
||||
- 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:
|
||||
workorderitempart - part name in addition to part number - added as "PartNameViz"
|
||||
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)
|
||||
let gen = this.$route.params.genFromPart;
|
||||
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
|
||||
let res = await window.$gz.api.get(`part/${gen.partId}`);
|
||||
if (res.error) {
|
||||
|
||||
Reference in New Issue
Block a user