Commit edc8998f authored by lixy's avatar lixy

通用价格设置--车辆不存在bug修复

parent 78c0edf0
......@@ -114,7 +114,7 @@
if(response.status == 200) {
this.form = {
// id: response.data.id,
vehicleId: response.data.vehicleId,
vehicleId: this.oneRow.vehicleId,
applicationObj: response.data.allModelUse ? 2 : response.data.allVehicleUse ? 3 : 1, // 周末免费天数扣除
rentFreeDay: response.data.rentFreeDay, // 免费天数扣除
rentPrice: response.data.rentPrice, // 租赁价格
......@@ -153,6 +153,7 @@
params.allModelUse = params.applicationObj == 2 ? 1 : 0
params.allVehicleUse = params.applicationObj == 3 ? 1 : 0
params.applicationObj = undefined
params.vehicleId = this.oneRow.vehicleId
vehicleCommonPriceUpdate(params).then(response => {
if (response.status == 200) {
this.$notify({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment