|
@@ -150,12 +150,12 @@ func (this *ActivitySpecialTripCoAntroller) AddUser() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if userType == 2 {
|
|
if userType == 2 {
|
|
- tripRemaining -= 1-i
|
|
|
|
|
|
+ tripRemaining = tripRemaining-1-i
|
|
itemBill.Total = strconv.Itoa(tripRemaining) + "次"
|
|
itemBill.Total = strconv.Itoa(tripRemaining) + "次"
|
|
} else {
|
|
} else {
|
|
for k, num := range mapChartName {
|
|
for k, num := range mapChartName {
|
|
if activityInfo.ChartPermissionName == k {
|
|
if activityInfo.ChartPermissionName == k {
|
|
- num -= 1 - i
|
|
|
|
|
|
+ num = num- 1 - i
|
|
}
|
|
}
|
|
itemBill.Total += k + strconv.Itoa(num) + "次+"
|
|
itemBill.Total += k + strconv.Itoa(num) + "次+"
|
|
}
|
|
}
|