|
|
@@ -53,6 +53,20 @@
|
|
|
<el-form-item label="物联ID">{{ iotId }}</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="物联产品key">
|
|
|
+ <el-input class="input" v-model="form.iotProductKey"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="物联编号">
|
|
|
+ <el-input
|
|
|
+ class="input"
|
|
|
+ v-model="form.iotSubstanceCode"
|
|
|
+ ></el-input></el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
<!-- <div class="basic-details-title border-none">
|
|
|
<span class="border-span">扩展信息</span>
|
|
|
</div>
|
|
|
@@ -167,6 +181,8 @@
|
|
|
form: {
|
|
|
extInfoSelf: [],
|
|
|
// 基本信息
|
|
|
+ iotSubstanceCode: '',
|
|
|
+ iotProductKey: '',
|
|
|
code: '',
|
|
|
name: '',
|
|
|
productTime: '',
|
|
|
@@ -300,6 +316,7 @@
|
|
|
this.form.categoryId = this.basicInfo.id;
|
|
|
this.form.name = this.basicInfo.name;
|
|
|
this.form.code = data.code; //Date.now(); //res.data[0].onlyCode;
|
|
|
+ this.form.iotProductKey = res.category.iotProductKey;
|
|
|
this.initOtherMsg();
|
|
|
},
|
|
|
// 计算过保时间
|
|
|
@@ -470,6 +487,8 @@
|
|
|
// 物联参数
|
|
|
this.isIotEnable = data.isIotEnable;
|
|
|
this.iotId = data.iotId;
|
|
|
+ this.form.iotProductKey =
|
|
|
+ this.form.iotProductKey || data.category.category.iotProductKey;
|
|
|
},
|
|
|
async initOtherMsg() {
|
|
|
// 基本信息
|