Commit 16b3c790c3d52d696629d9ced057386d130fee2c

Authored by chenwei
1 parent df010a5d
Exists in charge

fix:户主添加详细地址

Showing 1 changed file with 5 additions and 3 deletions   Show diff stats
pages/charge/visitsAndFees/createaVisit.vue
... ... @@ -1030,7 +1030,8 @@
1030 1030 regionName: this.model.regionName,
1031 1031 groupName: this.model.groupName,
1032 1032 companyName: this.model.companyName,
1033   - companyCode: this.model.companyCode
  1033 + companyCode: this.model.companyCode,
  1034 + pageSize:999
1034 1035 }
1035 1036 const result = await getVlgOrCmty(data);
1036 1037 if (!result.data.length) {
... ... @@ -1057,7 +1058,8 @@
1057 1058 }
1058 1059 let data = {
1059 1060 companyCode: this.model.companyCode,
1060   - vlgOrCmty: this.model.vlgOrCmty
  1061 + vlgOrCmty: this.model.vlgOrCmty,
  1062 + pageSize:999
1061 1063 }
1062 1064 const result = await getMcVisitUser(data);
1063 1065 if (!result.rows.length) {
... ... @@ -1066,7 +1068,7 @@
1066 1068 }
1067 1069 let col = result.rows.map((item, index) => ({
1068 1070 value: item.userName,
1069   - label: item.userName,
  1071 + label: `${item.userName}(${item.detailedAddress})`,
1070 1072 obj: item,
1071 1073 index: index
1072 1074 }));
... ...