Commit b0ef8dc0 authored by 赵啸非's avatar 赵啸非

临时修改设备管理保修期

parent 6b32c1f6
...@@ -291,7 +291,7 @@ export default { ...@@ -291,7 +291,7 @@ export default {
this.reset(); this.reset();
this.urls.currUrl = "/device/add"; this.urls.currUrl = "/device/add";
this.pageInfo.type = "add"; this.pageInfo.type = "add";
this.form.siteId = row.siteId; this.siteId = row.siteId;
this.siteName = row.siteName; this.siteName = row.siteName;
this.siteCode = row.siteCode; this.siteCode = row.siteCode;
this.getData(); this.getData();
...@@ -316,6 +316,9 @@ export default { ...@@ -316,6 +316,9 @@ export default {
if (this.pageInfo.type == "add" || this.pageInfo.type == "edit") { if (this.pageInfo.type == "add" || this.pageInfo.type == "edit") {
this.form.siteName = this.siteName; this.form.siteName = this.siteName;
this.form.siteCode = this.siteCode; this.form.siteCode = this.siteCode;
this.form.siteId = this.siteId;
console.log("this.form.siteId",this.form.siteId)
} }
}, },
......
...@@ -556,6 +556,7 @@ export default { ...@@ -556,6 +556,7 @@ export default {
row.siteId = this.siteId; row.siteId = this.siteId;
row.siteName = this.siteName; row.siteName = this.siteName;
row.siteCode = this.siteCode; row.siteCode = this.siteCode;
console.log((this.siteId))
this.$refs.drawerform.add(row); this.$refs.drawerform.add(row);
}, },
/** 重写编辑方法 */ /** 重写编辑方法 */
......
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