|
@@ -504,7 +504,7 @@
|
|
|
},
|
|
|
addteam(){
|
|
|
if(this.pricetype==1){
|
|
|
- if (!this.deptBudgetList.tranPrice) {
|
|
|
+ if (!this.deptBudgetList.tranPrice&&this.deptBudgetList.tranPrice !=0) {
|
|
|
this.$message({
|
|
|
message: '请设置运输单价(元/吨)!',
|
|
|
type: 'warning',
|
|
@@ -520,7 +520,7 @@
|
|
|
})
|
|
|
}
|
|
|
}else{
|
|
|
- if (!this.deptBudgetList.tranPriceCar) {
|
|
|
+ if (!this.deptBudgetList.tranPriceCar&&this.deptBudgetList.tranPriceCar!=0) {
|
|
|
this.$message({
|
|
|
message: '请设置运输单价(元/车)!',
|
|
|
type: 'warning',
|
|
@@ -541,7 +541,7 @@
|
|
|
add() {
|
|
|
|
|
|
if(this.pricetype==1){
|
|
|
- if (!this.deptBudgetList.tranPrice) {
|
|
|
+ if (!this.deptBudgetList.tranPrice&&this.deptBudgetList.tranPrice!=0) {
|
|
|
this.$message({
|
|
|
message: '请设置运输单价(元/吨)!',
|
|
|
type: 'warning',
|
|
@@ -617,7 +617,7 @@
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
|
- if (!this.deptBudgetList.tranPriceCar) {
|
|
|
+ if (!this.deptBudgetList.tranPriceCar&&this.deptBudgetList.tranPriceCar!=0) {
|
|
|
this.$message({
|
|
|
message: '请设置运输单价(元/车)!',
|
|
|
type: 'warning',
|