人车管理 星油车辆添加车牌
This commit is contained in:
@@ -197,9 +197,14 @@ export default {
|
||||
}
|
||||
},
|
||||
save() {
|
||||
// 保存
|
||||
// 保存
|
||||
oilVehicleOwnerApi.saveDispatch(this.oilVehicleOwner).then((res) => {
|
||||
this.$message.success(res.msg);
|
||||
this.$emit("closeDialog");
|
||||
this.$emit("getByPage");
|
||||
});
|
||||
// 新保存
|
||||
oilVehicleOwnerApi.saveDispat(this.oilVehicleOwner).then((res) => {
|
||||
this.$emit("closeDialog");
|
||||
this.$emit("getByPage");
|
||||
this.oilVehicleOwner = {};
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
direction="ltr"
|
||||
destroy-on-close
|
||||
>
|
||||
<OilVehicleOwnerAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
||||
<OilVehicleOwnerAdd v-if="addDialog" @getByPage="getByPage" @closeDialog="closeDialog" />
|
||||
</el-drawer>
|
||||
|
||||
<!-- 导出抽屉 -->
|
||||
|
||||
Reference in New Issue
Block a user