|
@@ -89,7 +89,7 @@
|
|
|
<el-col :span="6" style="text-align: right;">
|
|
|
<!-- 附件管理 -->
|
|
|
<!-- <el-button-group>
|
|
|
- <el-button size="small" icon="el-icon-paperclip" @click="handleFile"></el-button></el-button-group> -->
|
|
|
+ <el-button size="small" icon="el-icon-paperclip" @click="handleFile"></el-button></el-button-group> -->
|
|
|
|
|
|
<!-- 切换 -->
|
|
|
<!-- <el-button-group>
|
|
@@ -100,7 +100,7 @@
|
|
|
<el-button size="small" icon="el-icon-arrow-right" :disabled="!handleBasicEdit"
|
|
|
@click="handleChangePage('next')" />
|
|
|
<el-button size="small" icon="el-icon-d-arrow-right" :disabled="!handleBasicEdit"
|
|
|
- @click="handleChangePage('end')" /></el-button-group> -->
|
|
|
+ @click="handleChangePage('end')" /></el-button-group> -->
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
@@ -410,7 +410,7 @@
|
|
|
:disabled="!(materialType.isEdit && mt.edit)" v-model="scope.row[mt.prop]" :key="scope.row[mt.prop]">
|
|
|
<el-option v-if="mt.dictId" v-for="d in mt.dictId" :key="d.dictValue" :label="d.dictLabel"
|
|
|
:value="d.dictValue">
|
|
|
- </el-option></el-select> -->
|
|
|
+ </el-option></el-select> -->
|
|
|
|
|
|
<!-- 其他类型 -->
|
|
|
<el-input v-else size="small" v-model="scope.row[mt.prop]" :readonly="!(materialType.isEdit && mt.edit)" />
|
|
@@ -1426,10 +1426,10 @@ export default {
|
|
|
this.updateButtonGroup = true;
|
|
|
// this.count++;
|
|
|
//需要禁止点击其他标签
|
|
|
- this.detailsTabs = this.detailsTabs.map(item => {
|
|
|
- item['disabled'] = true;
|
|
|
- return item
|
|
|
- })
|
|
|
+ // this.detailsTabs = this.detailsTabs.map(item => {
|
|
|
+ // item['disabled'] = true;
|
|
|
+ // return item
|
|
|
+ // })
|
|
|
console.log(this.detailsTabs, 'this.detailsTabs ');
|
|
|
|
|
|
},
|
|
@@ -1727,11 +1727,6 @@ export default {
|
|
|
this.updateButtonGroup = false;
|
|
|
this.handleRest();
|
|
|
|
|
|
- //需要禁止点击其他标签
|
|
|
- this.detailsTabs = this.detailsTabs.map(item => {
|
|
|
- item['disabled'] = false;
|
|
|
- return item;
|
|
|
- })
|
|
|
}
|
|
|
|
|
|
// 取消其他主页签详情弹窗修改
|
|
@@ -2003,6 +1998,26 @@ export default {
|
|
|
},
|
|
|
|
|
|
},
|
|
|
+
|
|
|
+ watch: {
|
|
|
+ // 监听主标签修改标识,控制其他标签是否禁止点击
|
|
|
+ 'updateButtonGroup': function (nVal, oVal) {
|
|
|
+ console.log(nVal, 'nVal', oVal, 'oVal');
|
|
|
+ this.detailsTabs = this.detailsTabs.map(item => {
|
|
|
+ item['disabled'] = nVal;
|
|
|
+ return item;
|
|
|
+ })
|
|
|
+ },
|
|
|
+ 'maintainNewVersion': function (nVal, oVal) {
|
|
|
+ console.log(nVal, 'nVal', oVal, 'oVal');
|
|
|
+ this.detailsTabs = this.detailsTabs.map(item => {
|
|
|
+ item['disabled'] = nVal;
|
|
|
+ return item;
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
created() {
|
|
|
|
|
|
// 基本信息
|