diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt
index 608dbad9..f3627297 100644
--- a/ayanova/devdocs/todo.txt
+++ b/ayanova/devdocs/todo.txt
@@ -878,6 +878,9 @@ BUILD 8.0.0-beta.0.8 CHANGES OF NOTE
- case 4044 fixed
- case 4045 fixed
- case 4046 fixed
+- case 4047 fixed
+- case 4048 see notes
+- case 4049 fixed
diff --git a/ayanova/src/views/customer-csr-edit.vue b/ayanova/src/views/customer-csr-edit.vue
index 0244d190..e7cb1c06 100644
--- a/ayanova/src/views/customer-csr-edit.vue
+++ b/ayanova/src/views/customer-csr-edit.vue
@@ -172,7 +172,7 @@
-
-
+ -->
@@ -400,10 +401,14 @@ export default {
},
methods: {
showAddUnitDialog: function() {
+ this.unitObj.customerId = this.obj.customerId;
this.addUnitDialog = true;
},
async addUnit() {
const vm = this;
+ if (!vm.unitObj.serial) {
+ return;
+ }
try {
const res = await window.$gz.api.upsert(
"unit/customerunit/",
@@ -416,6 +421,7 @@ export default {
if (res.data) {
if (vm.obj.unitId == null) {
vm.obj.unitId = res.data;
+ // this.formState.dirty = true;
}
//SUCCESS
this.addUnitDialog = false;