feat: model/asset中vendor和type的处理

1.model中vendor和type的修改
2.asset新增model后model列表刷新
This commit is contained in:
陈劲松
2020-03-12 12:13:45 +08:00
parent 2cfe1947ae
commit e270361186
6 changed files with 240 additions and 36 deletions

View File

@@ -649,12 +649,14 @@
if (data === 'showAdd') {
//this.addUnitShow = true;
this.editUnitShow = true;
this.$refs['assetEditUnit'].show();
this.$refs['assetEditUnit'].accountSwitch=false;
this.$refs['assetEditUnit'].getAssetData('');
this.$refs['assetEditUnit'].resetAsset();
}
if (data === 'showEdit') {
this.editUnitShow = true;
this.$refs['assetEditUnit'].show();
this.$refs['assetEditUnit'].getAssetData(id)
}
if (data === 'showView') {