|
|
@ -197,9 +197,14 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
save() { |
|
|
|
save() { |
|
|
|
// 保存 |
|
|
|
// 保存 |
|
|
|
oilVehicleOwnerApi.saveDispatch(this.oilVehicleOwner).then((res) => { |
|
|
|
oilVehicleOwnerApi.saveDispatch(this.oilVehicleOwner).then((res) => { |
|
|
|
this.$message.success(res.msg); |
|
|
|
this.$message.success(res.msg); |
|
|
|
|
|
|
|
this.$emit("closeDialog"); |
|
|
|
|
|
|
|
this.$emit("getByPage"); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
// 新保存 |
|
|
|
|
|
|
|
oilVehicleOwnerApi.saveDispat(this.oilVehicleOwner).then((res) => { |
|
|
|
this.$emit("closeDialog"); |
|
|
|
this.$emit("closeDialog"); |
|
|
|
this.$emit("getByPage"); |
|
|
|
this.$emit("getByPage"); |
|
|
|
this.oilVehicleOwner = {}; |
|
|
|
this.oilVehicleOwner = {}; |
|
|
|