|
@@ -512,6 +512,7 @@ export default {
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
var tmp1='C00'
|
|
var tmp1='C00'
|
|
|
|
+ this.deptBudgetList.count++
|
|
if(this.deptBudgetList.tranCarInfoList.length<10){
|
|
if(this.deptBudgetList.tranCarInfoList.length<10){
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
driverName: '',
|
|
driverName: '',
|
|
@@ -524,12 +525,13 @@ export default {
|
|
carNumber: '',
|
|
carNumber: '',
|
|
disabled: false,
|
|
disabled: false,
|
|
tranType: '1',
|
|
tranType: '1',
|
|
- tranCarNo: tmp1+(this.deptBudgetList.count+1),
|
|
|
|
|
|
+ tranCarNo: tmp1+(this.deptBudgetList.count),
|
|
tranPrice:this.deptBudgetList.tranPrice
|
|
tranPrice:this.deptBudgetList.tranPrice
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- else if(this.deptBudgetList.tranCarInfoList.length>=10){
|
|
|
|
|
|
+ else if(this.deptBudgetList.tranCarInfoList.length<100&&this.deptBudgetList.tranCarInfoList.length>=10){
|
|
tmp1='C0'
|
|
tmp1='C0'
|
|
|
|
+ this.deptBudgetList.count++
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
driverName: '',
|
|
driverName: '',
|
|
driverPhone: '',
|
|
driverPhone: '',
|
|
@@ -541,7 +543,25 @@ export default {
|
|
carNumber: '',
|
|
carNumber: '',
|
|
disabled: false,
|
|
disabled: false,
|
|
tranType: '1',
|
|
tranType: '1',
|
|
- tranCarNo: tmp1+(this.deptBudgetList.count+1),
|
|
|
|
|
|
+ tranCarNo: tmp1+(this.deptBudgetList.count),
|
|
|
|
+ tranPrice:this.deptBudgetList.tranPrice
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ else if(this.deptBudgetList.tranCarInfoList.length<1000&&this.deptBudgetList.tranCarInfoList.length>=100){
|
|
|
|
+ tmp1='C'
|
|
|
|
+ this.deptBudgetList.count++
|
|
|
|
+ this.deptBudgetList.tranCarInfoList.push({
|
|
|
|
+ driverName: '',
|
|
|
|
+ driverPhone: '',
|
|
|
|
+ carLength: 0,
|
|
|
|
+ carLengthKey: '',
|
|
|
|
+ loadWeight: null,
|
|
|
|
+ carModel: '',
|
|
|
|
+ carModelKey: '',
|
|
|
|
+ carNumber: '',
|
|
|
|
+ disabled: false,
|
|
|
|
+ tranType: '1',
|
|
|
|
+ tranCarNo: tmp1+(this.deptBudgetList.count),
|
|
tranPrice:this.deptBudgetList.tranPrice
|
|
tranPrice:this.deptBudgetList.tranPrice
|
|
})
|
|
})
|
|
}
|
|
}
|