|
@@ -533,6 +533,7 @@
|
|
|
|
|
|
},
|
|
|
add() {
|
|
|
+
|
|
|
if(this.pricetype==1){
|
|
|
if (!this.deptBudgetList.tranPrice) {
|
|
|
this.$message({
|
|
@@ -585,9 +586,10 @@
|
|
|
})
|
|
|
} else if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 1000 && (this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) >=
|
|
|
100) {
|
|
|
+ console.log(111111)
|
|
|
tmp1 = 'C'
|
|
|
this.deptBudgetList.count++
|
|
|
- this.deptBudgetList.tranCarInfoList.push({
|
|
|
+ this.deptBudgetList.tranCarInfoList1.push({
|
|
|
driverName: '',
|
|
|
driverPhone: '',
|
|
|
carLength: 0,
|
|
@@ -617,7 +619,7 @@
|
|
|
var tmp1 = 'C00'
|
|
|
this.deptBudgetList.count++
|
|
|
if ((this.deptBudgetList.tranCarInfoList.length+this.deptBudgetList.tranCarInfoList1.length) < 10) {
|
|
|
- this.deptBudgetList.tranCarInfoList.push({
|
|
|
+ this.deptBudgetList.tranCarInfoList1.push({
|
|
|
driverName: '',
|
|
|
driverPhone: '',
|
|
|
carLength: 0,
|
|
@@ -639,7 +641,7 @@
|
|
|
10) {
|
|
|
tmp1 = 'C0'
|
|
|
this.deptBudgetList.count++
|
|
|
- this.deptBudgetList.tranCarInfoList.push({
|
|
|
+ this.deptBudgetList.tranCarInfoList1.push({
|
|
|
driverName: '',
|
|
|
driverPhone: '',
|
|
|
carLength: 0,
|
|
@@ -661,7 +663,7 @@
|
|
|
100) {
|
|
|
tmp1 = 'C'
|
|
|
this.deptBudgetList.count++
|
|
|
- this.deptBudgetList.tranCarInfoList.push({
|
|
|
+ this.deptBudgetList.tranCarInfoList1.push({
|
|
|
driverName: '',
|
|
|
driverPhone: '',
|
|
|
carLength: 0,
|