|
@@ -516,7 +516,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: '',
|
|
@@ -535,7 +535,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++
|
|
@@ -557,7 +557,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++
|
|
@@ -590,7 +590,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: '',
|
|
@@ -609,7 +609,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++
|
|
@@ -631,7 +631,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++
|