This commit is contained in:
2022-02-10 20:23:27 +00:00
parent 7a63b3f7a9
commit 8ac640854d
2 changed files with 7 additions and 2 deletions

View File

@@ -896,7 +896,7 @@ BUILD 8.0.0-beta.0.14 CHANGES OF NOTE
- Changed work order item outside service section of wo/quote/pm to use title "Outside services" (translation key "OutsideServiceList") instead of formerly "Outside service list" (translation key "WorkOrderItemOutsideServiceList")
this is to be consistent with other sections
- Fixed several broken links in documentation
- case 4111 fixed

View File

@@ -267,7 +267,7 @@ export default {
} else {
//new path
if (this.$route.params.obj) {
//DUPLICATE OR GEN FROM QUOTE OR PM
//DUPLICATE OR GEN FROM CSR, QUOTE OR PM
//A whole work order basically is presented here
this.obj = this.$route.params.obj;
@@ -275,6 +275,10 @@ export default {
this.obj.id = 0;
this.obj.serial = 0;
this.obj.isDirty = true;
//set the service date if not set by the caller
if (this.obj.serviceDate == null) {
this.obj.serviceDate = window.$gz.locale.nowUTC8601String();
}
vm.obj.items.forEach(z => {
z.workOrderId = 0;
this.washWorkOrderItem(z);
@@ -332,6 +336,7 @@ export default {
outsideServices: [],
uid: Date.now() //used for error tracking / display
});
this.obj.serviceDate = n.start;
break;
default: