|
@@ -749,18 +749,15 @@
|
|
|
cName = "",
|
|
|
modelIds = "",
|
|
|
userIds = "";
|
|
|
- for(var i in this.editForm.customerCompany){
|
|
|
- if(cId.indexOf(this.editForm.customerCompany[i].id) == -1){
|
|
|
- cId += this.editForm.customerCompany[i].id + ",";
|
|
|
- cName += this.editForm.customerCompany[i].companyName + ",";
|
|
|
+ for(var i in this.editForm.modelIds){
|
|
|
+ if(cId.indexOf(this.editForm.modelIds[i].id) == -1){
|
|
|
+ cId += this.editForm.modelIds[i].produceCompanyId + ",";
|
|
|
+ cName += this.editForm.modelIds[i].produceCompanyName + ",";
|
|
|
}
|
|
|
+ modelIds += this.editForm.modelIds[i].id + ","
|
|
|
}
|
|
|
cId = cId.substring(0,cId.length-1);
|
|
|
cName = cName.substring(0,cName.length-1);
|
|
|
-
|
|
|
- for(var i in this.editForm.modelIds){
|
|
|
- modelIds += this.editForm.modelIds[i].id + ","
|
|
|
- }
|
|
|
modelIds = modelIds.substring(0,modelIds.length-1);
|
|
|
|
|
|
// for(var i in this.editForm.assets){
|