Commit b7dc2f59 by zhuoym

fix快速报修bug

parent 8364c3e7
Showing with 4 additions and 0 deletions
...@@ -740,6 +740,7 @@ export default { ...@@ -740,6 +740,7 @@ export default {
this.formItem.name = v.name; this.formItem.name = v.name;
this.formItem.companyName = v.companyName; this.formItem.companyName = v.companyName;
if (this.formItem.replacementRepair !== "1") { if (this.formItem.replacementRepair !== "1") {
this.formItem.contactClientId = v.id this.formItem.contactClientId = v.id
this.formItem.contactName = v.name this.formItem.contactName = v.name
...@@ -747,6 +748,7 @@ export default { ...@@ -747,6 +748,7 @@ export default {
this.formItem.contactNumber = getCustContactNumber(v); this.formItem.contactNumber = getCustContactNumber(v);
this.formItem.contactDeptCode = v.deptCode this.formItem.contactDeptCode = v.deptCode
this.formItem.contactDeptName = v.deptName this.formItem.contactDeptName = v.deptName
} }
this.formItem.priority = v.priority; this.formItem.priority = v.priority;
this.formItem.deptName = v.deptName; this.formItem.deptName = v.deptName;
...@@ -755,6 +757,7 @@ export default { ...@@ -755,6 +757,7 @@ export default {
this.formItem.sex = v.sex; this.formItem.sex = v.sex;
this.formItem.clientId = v.id; this.formItem.clientId = v.id;
this.formItem.officeLocation = ""; this.formItem.officeLocation = "";
this.formItem.dataSource = v.dataSource;
// 历史报修 // 历史报修
this.repairHistoryForm.clientId = v.id; this.repairHistoryForm.clientId = v.id;
// 获取位置记录 // 获取位置记录
...@@ -853,6 +856,7 @@ export default { ...@@ -853,6 +856,7 @@ export default {
this.formItem.contactDeptCode = v.deptCode; this.formItem.contactDeptCode = v.deptCode;
this.formItem.contactSex = v.sex; this.formItem.contactSex = v.sex;
this.formItem.contactClientId = v.id; this.formItem.contactClientId = v.id;
this.formItem.dataSource = v.dataSource;
this.repairHistoryForm.clientId = v.id; this.repairHistoryForm.clientId = v.id;
this.formItem.sex = getCustSex(v) this.formItem.sex = getCustSex(v)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment