Commit bc5ef767 by zhouzy

1

1 parent b8373abc
......@@ -31,7 +31,7 @@
</div>
</div>
<div class="textBox">
<div class="title text-two-line">{{ item.groupNames }}</div>
<div class="title text-two-line">{{ item.groupName }}</div>
<div class="nameBox wechatNumber text-two-line">
<span v-for="user in item.userList" :key="user.id">{{ '@' + user.staffName }}</span>
</div>
......@@ -82,7 +82,6 @@ export default {
data() {
return {
dialogContent: '',
groupNames: '',
showRemark: false,
suffix: [],
welcome: '',
......@@ -201,16 +200,16 @@ export default {
if (res) {
for (var a = 0; a < this.groupList.length; a++) {
if (!this.vehicleInfoList) {
this.groupList[a].groupNames = this.groupList[a].groupName
this.groupList[a].groupName = this.groupList[a].groupName
} else {
if (this.groupList[a].groupNameRule == 0) {
this.groupList[a].groupNames = this.groupList[a].groupName
this.groupList[a].groupName = this.groupList[a].groupName
}
if (this.groupList[a].groupNameRule == 1) {
if (this.vehicleInfoList[0].vehicleTrain) {
this.groupList[a].groupNames = this.vehicleInfoList[0].vehicleTrain + this.businessCard.customerName + this.groupList[a].groupName
this.groupList[a].groupName = this.vehicleInfoList[0].vehicleTrain + this.businessCard.customerName + this.groupList[a].groupName
} else {
this.groupList[a].groupNames = this.businessCard.customerName + this.groupList[a].groupName
this.groupList[a].groupName = this.businessCard.customerName + this.groupList[a].groupName
}
}
if (this.groupList[a].groupNameRule == 2) {
......@@ -218,9 +217,9 @@ export default {
this.vehicleInfoList[0].vehicleTrain = ''
}
if (!this.vehicleInfoList[0].vehicleNo) {
this.vehicleInfoList[0].vehicleTrain = ''
this.vehicleInfoList[0].vehicleNo = ''
}
this.groupList[a].groupNames = this.vehicleInfoList[0].vehicleTrain + this.vehicleInfoList[0].vehicleNo + this.groupList[a].groupName
this.groupList[a].groupName = this.vehicleInfoList[0].vehicleTrain + this.vehicleInfoList[0].vehicleNo + this.groupList[a].groupName
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!