|
@@ -1323,19 +1323,16 @@
|
|
|
},
|
|
|
// 除基本信息之后的修改
|
|
|
handleOtherEdit() {
|
|
|
- console.log('除基本信息之后的修改', this.otherDeatils.queryKey);
|
|
|
-
|
|
|
- if ((this.otherDeatils.queryKey && this.otherDeatils.queryKey != '') || this.mainMsg.checkedList.length == 1) {
|
|
|
+ console.log('除基本信息之后的修改');
|
|
|
+ if (this.mainMsg.checkedList.length == 1) {
|
|
|
this.otherDeatils.show = true;
|
|
|
this.otherDeatils.isEdit = true;
|
|
|
let activeTab = this.detailsTabs.filter(item => item.code == this.activeMainTab)[0];
|
|
|
+ this.otherDeatils.queryKey = this.mainMsg.checkedList[0].id;
|
|
|
this.otherDeatils.title = activeTab.label;
|
|
|
- this.otherDeatils.queryKey = this.otherDeatils.queryKey || this.mainMsg.checkedList[0].id;
|
|
|
console.log(this.otherDeatils, 'this.otherDeatils');
|
|
|
// 查询其他标签页列表详情
|
|
|
this.getOtherListDetails(activeTab.code, this.otherDeatils.queryKey);
|
|
|
-
|
|
|
-
|
|
|
} else {
|
|
|
this.$message({
|
|
|
message: '修改请选择单个数据!',
|