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