|
@@ -550,7 +550,7 @@
|
|
|
var tmp1 = 'C00'
|
|
|
this.deptBudgetList.count++
|
|
|
console.log(this.deptBudgetList.tranCarInfoList,this.deptBudgetList.tranCarInfoList1.length)
|
|
|
- if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 10) {
|
|
|
+ if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 9) {
|
|
|
this.deptBudgetList.tranCarInfoList1.push({
|
|
|
driverName: '',
|
|
|
driverPhone: '',
|
|
@@ -569,8 +569,8 @@
|
|
|
tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length+1),
|
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
|
})
|
|
|
- } else if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 100 && (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) >=
|
|
|
- 10) {
|
|
|
+ } else if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 99 && (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) >=
|
|
|
+ 9) {
|
|
|
tmp1 = 'C0'
|
|
|
this.deptBudgetList.count++
|
|
|
this.deptBudgetList.tranCarInfoList1.push({
|
|
@@ -592,7 +592,7 @@
|
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
|
})
|
|
|
} else if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 1000 && (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) >=
|
|
|
- 100) {
|
|
|
+ 99) {
|
|
|
console.log(111111)
|
|
|
tmp1 = 'C'
|
|
|
this.deptBudgetList.count++
|
|
@@ -625,7 +625,7 @@
|
|
|
} else {
|
|
|
var tmp1 = 'C00'
|
|
|
this.deptBudgetList.count++
|
|
|
- if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 10) {
|
|
|
+ if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 9) {
|
|
|
this.deptBudgetList.tranCarInfoList1.push({
|
|
|
driverName: '',
|
|
|
driverPhone: '',
|
|
@@ -644,8 +644,8 @@
|
|
|
tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length+1),
|
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
|
})
|
|
|
- } else if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 100 && (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) >=
|
|
|
- 10) {
|
|
|
+ } else if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 99 && (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) >=
|
|
|
+ 9) {
|
|
|
tmp1 = 'C0'
|
|
|
this.deptBudgetList.count++
|
|
|
this.deptBudgetList.tranCarInfoList1.push({
|
|
@@ -667,7 +667,7 @@
|
|
|
tranPrice: this.deptBudgetList.tranPrice
|
|
|
})
|
|
|
} else if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 1000 && (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) >=
|
|
|
- 100) {
|
|
|
+ 99) {
|
|
|
tmp1 = 'C'
|
|
|
this.deptBudgetList.count++
|
|
|
this.deptBudgetList.tranCarInfoList1.push({
|