diff --git a/yanzhu-ui/src/views/base/assetsType/index.vue b/yanzhu-ui/src/views/base/assetsType/index.vue index 5516c25..28eeb51 100644 --- a/yanzhu-ui/src/views/base/assetsType/index.vue +++ b/yanzhu-ui/src/views/base/assetsType/index.vue @@ -341,8 +341,7 @@ export default { it.sel=(","+row.unit+",").indexOf(","+it.text+",")>=0; }); getAssetsType(id).then(response => { - this.form = response.data; - this.form.sunit=""; + this.form = {...response.data,sunit:''}; this.open = true; this.title = "修改物资类型"; });