|
@@ -513,7 +513,7 @@
|
|
} else {
|
|
} else {
|
|
var tmp1 = 'C00'
|
|
var tmp1 = 'C00'
|
|
this.deptBudgetList.count++
|
|
this.deptBudgetList.count++
|
|
- if (this.deptBudgetList.tranCarInfoList.length < 10) {
|
|
|
|
|
|
+ if (this.deptBudgetList.tranCarInfoList.length + 1 < 10) {
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
driverName: '',
|
|
driverName: '',
|
|
driverPhone: '',
|
|
driverPhone: '',
|
|
@@ -532,7 +532,7 @@
|
|
tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
})
|
|
})
|
|
- } else if (this.deptBudgetList.tranCarInfoList.length < 100 && this.deptBudgetList.tranCarInfoList.length >=
|
|
|
|
|
|
+ } else if (this.deptBudgetList.tranCarInfoList.length+ 1 < 100 && this.deptBudgetList.tranCarInfoList.length + 1>=
|
|
10) {
|
|
10) {
|
|
tmp1 = 'C0'
|
|
tmp1 = 'C0'
|
|
this.deptBudgetList.count++
|
|
this.deptBudgetList.count++
|
|
@@ -554,7 +554,7 @@
|
|
tranCarNo: 'C0' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranCarNo: 'C0' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
})
|
|
})
|
|
- } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length >=
|
|
|
|
|
|
+ } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length+ 1 >=
|
|
100) {
|
|
100) {
|
|
tmp1 = 'C'
|
|
tmp1 = 'C'
|
|
this.deptBudgetList.count++
|
|
this.deptBudgetList.count++
|
|
@@ -587,7 +587,7 @@
|
|
} else {
|
|
} else {
|
|
var tmp1 = 'C00'
|
|
var tmp1 = 'C00'
|
|
this.deptBudgetList.count++
|
|
this.deptBudgetList.count++
|
|
- if (this.deptBudgetList.tranCarInfoList.length < 10) {
|
|
|
|
|
|
+ if (this.deptBudgetList.tranCarInfoList.length + 1 < 10) {
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
driverName: '',
|
|
driverName: '',
|
|
driverPhone: '',
|
|
driverPhone: '',
|
|
@@ -606,7 +606,7 @@
|
|
tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
})
|
|
})
|
|
- } else if (this.deptBudgetList.tranCarInfoList.length < 100 && this.deptBudgetList.tranCarInfoList.length >=
|
|
|
|
|
|
+ } else if (this.deptBudgetList.tranCarInfoList.length < 100 && this.deptBudgetList.tranCarInfoList.length+ 1 >=
|
|
10) {
|
|
10) {
|
|
tmp1 = 'C0'
|
|
tmp1 = 'C0'
|
|
this.deptBudgetList.count++
|
|
this.deptBudgetList.count++
|
|
@@ -628,7 +628,7 @@
|
|
tranCarNo: 'C0' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranCarNo: 'C0' + (this.deptBudgetList.tranCarInfoList.length + 1),
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
})
|
|
})
|
|
- } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length >=
|
|
|
|
|
|
+ } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length+ 1 >=
|
|
100) {
|
|
100) {
|
|
tmp1 = 'C'
|
|
tmp1 = 'C'
|
|
this.deptBudgetList.count++
|
|
this.deptBudgetList.count++
|