diff --git a/src/views/allocation/allocationList.vue b/src/views/allocation/allocationList.vue index 1a6d831..6330fe5 100644 --- a/src/views/allocation/allocationList.vue +++ b/src/views/allocation/allocationList.vue @@ -559,7 +559,10 @@ - + diff --git a/src/views/travelConf/add-or-update.vue b/src/views/travelConf/add-or-update.vue index 343d66e..edfbf0b 100644 --- a/src/views/travelConf/add-or-update.vue +++ b/src/views/travelConf/add-or-update.vue @@ -35,28 +35,28 @@ - - - - - - - + + - + + + + + + - - + + + + + + 往返 @@ -64,7 +64,7 @@ - + @@ -161,19 +161,8 @@ let cleanField = []; if(saveData.pricingType == 1){ cleanField = [ 'seasonsType', 'timeIntervalType', 'startingPrice', 'freeKilometers', 'nightTravelExpenses', 'pricePerKilometer' ]; - if(saveData.travelType == 1) { - //免费的,重置价格 - saveData.fixedPrice = 0; - } }else if(saveData.pricingType == 2) { cleanField = [ 'fixedType', 'fixedPrice' ]; - if(saveData.travelType == 1) { - //免费的,重置价格 - saveData.startingPrice = 0; - saveData.freeKilometers = 0; - saveData.nightTravelExpenses = 0; - saveData.pricePerKilometer = 0; - } } if(cleanField.length){ cleanField.forEach(key => { diff --git a/src/views/travelConf/index.vue b/src/views/travelConf/index.vue index 2aed6a9..39130c6 100644 --- a/src/views/travelConf/index.vue +++ b/src/views/travelConf/index.vue @@ -33,7 +33,7 @@ 查询 - + @@ -66,14 +66,19 @@ 夜间 - - - - - - - + + + + + + + + +