Commit bc5ef767 by zhouzy

1

1 parent b8373abc
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
</div> </div>
<div class="textBox"> <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"> <div class="nameBox wechatNumber text-two-line">
<span v-for="user in item.userList" :key="user.id">{{ '@' + user.staffName }}</span> <span v-for="user in item.userList" :key="user.id">{{ '@' + user.staffName }}</span>
</div> </div>
...@@ -82,7 +82,6 @@ export default { ...@@ -82,7 +82,6 @@ export default {
data() { data() {
return { return {
dialogContent: '', dialogContent: '',
groupNames: '',
showRemark: false, showRemark: false,
suffix: [], suffix: [],
welcome: '', welcome: '',
...@@ -201,16 +200,16 @@ export default { ...@@ -201,16 +200,16 @@ export default {
if (res) { if (res) {
for (var a = 0; a < this.groupList.length; a++) { for (var a = 0; a < this.groupList.length; a++) {
if (!this.vehicleInfoList) { if (!this.vehicleInfoList) {
this.groupList[a].groupNames = this.groupList[a].groupName this.groupList[a].groupName = this.groupList[a].groupName
} else { } else {
if (this.groupList[a].groupNameRule == 0) { 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.groupList[a].groupNameRule == 1) {
if (this.vehicleInfoList[0].vehicleTrain) { 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 { } 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) { if (this.groupList[a].groupNameRule == 2) {
...@@ -218,9 +217,9 @@ export default { ...@@ -218,9 +217,9 @@ export default {
this.vehicleInfoList[0].vehicleTrain = '' this.vehicleInfoList[0].vehicleTrain = ''
} }
if (!this.vehicleInfoList[0].vehicleNo) { 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!