Commit 4ffd8278 by 张杰

v1.6.0版本需求

1 parent 049165b0
......@@ -156,7 +156,7 @@
</el-form-item>
<div class="icon_box">
<auth-button type="primary" class="btn" size="mini" v-show="item.edit && dialogType != 'create'" pid="vehicle_vin_edit" @click.native="editDevince(item,index)">编辑</auth-button>
<el-button v-show="!item.edit" class="btn" @click="editDevince(item,index)">取消</el-button>
<el-button v-show="!item.edit && dialogType != 'create'" class="btn" @click="editDevince(item,index)">取消</el-button>
</div>
<div class="icon_box" v-if="dialogType == 'create'">
<i v-show="!isViewMode && index != 0" @click="removeDevice(index)" class="el-icon-remove-outline"></i>
......@@ -903,6 +903,7 @@ export default {
//this.snForm.deviceArr = [{ sn: "", deviceType: "" }];
//this.snForm.deviceInfoDtos = [{}];
this.snForm = {}
this.$set(this.snForm, "deviceInfoDtos", [
{ sn: "", deviceClassifyName: "" },
]);
......@@ -1229,6 +1230,7 @@ export default {
});
});
},
// 关闭弹框
handleClose(id) {
this.btnClick(id);
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!