|
@@ -311,14 +311,14 @@
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="充电功率:" label-width="120px">
|
|
|
|
|
|
+ <el-form-item label="充电功率:" label-width="120px" v-if="setType != 0">
|
|
<el-input
|
|
<el-input
|
|
v-model="fromData.powerNum"
|
|
v-model="fromData.powerNum"
|
|
placeholder="请输入充电功率"
|
|
placeholder="请输入充电功率"
|
|
maxlength="4"
|
|
maxlength="4"
|
|
@input="handleEdit"
|
|
@input="handleEdit"
|
|
></el-input>
|
|
></el-input>
|
|
- <span class="kwh">kWh</span>
|
|
|
|
|
|
+ <span class="kwh">{{ setType == 2 ?'%':'kWh' }}</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
@@ -429,8 +429,10 @@ export default {
|
|
console.log(data, "data");
|
|
console.log(data, "data");
|
|
if (data.comState == 0) {
|
|
if (data.comState == 0) {
|
|
this.fromData.comState = "插枪充电";
|
|
this.fromData.comState = "插枪充电";
|
|
|
|
+ this.fromData.arr = [ {text: "A枪",value: "0",},{text: "B枪",value: "1",}]
|
|
} else {
|
|
} else {
|
|
this.fromData.comState = "线束充电";
|
|
this.fromData.comState = "线束充电";
|
|
|
|
+ this.fromData.arr = [ {text: "A枪",value: "0",},]
|
|
}
|
|
}
|
|
this.fromData.cangnum = data.cangnum;
|
|
this.fromData.cangnum = data.cangnum;
|
|
this.dialogChargeVisible = true;
|
|
this.dialogChargeVisible = true;
|