|
@@ -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)" />
|
|
@@ -742,10 +742,18 @@ export default {
|
|
|
methods: {
|
|
|
// 判断效期管理
|
|
|
handleJudge(attribute) {
|
|
|
- // 维护新版本才能修改:批号及库存状态管理(isInventoryStatus)、序列号管理(serialNoManager)
|
|
|
- if (attribute.prop == 'isInventoryStatus' || attribute.prop == 'serialNoManager') {
|
|
|
+ // 维护新版本才能修改:批号及库存状态管理(isInventoryStatus)、
|
|
|
+ if (attribute.prop == 'isInventoryStatus') {
|
|
|
return !(this.maintainNewVersion && attribute.edit);
|
|
|
}
|
|
|
+ // 序列号管理(serialNoManager):维护新版本 && 批号及库存状态管理
|
|
|
+ else if (attribute.prop == 'serialNoManager') {
|
|
|
+
|
|
|
+ if (this.basicData.value['isInventoryStatus'] == '2') this.basicData.value['serialNoManager'] = '2';
|
|
|
+
|
|
|
+ return !(this.maintainNewVersion && attribute.edit && this.basicData.value['isInventoryStatus'] == '0');
|
|
|
+
|
|
|
+ }
|
|
|
// 批号及库存状态管理(isInventoryStatus) 控制 效期管理是否展示(expiryDateManagerment)
|
|
|
else if (attribute.prop == 'expiryDateManagerment') {
|
|
|
|
|
@@ -2030,9 +2038,12 @@ export default {
|
|
|
|
|
|
.md-content {
|
|
|
margin-top: 12px;
|
|
|
- height: calc(100vh - 260px);
|
|
|
+ // height: calc(100vh - 260px);
|
|
|
+ height: calc(100vh - 228px);
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
+
|
|
|
+
|
|
|
.md-basic {
|
|
|
overflow: auto;
|
|
|
|
|
@@ -2040,6 +2051,10 @@ export default {
|
|
|
// height: calc(100vh - 625px);
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
+ .el-table__body {
|
|
|
+ // height: calc(100vh - 300px);
|
|
|
+ }
|
|
|
+
|
|
|
.el-form {
|
|
|
max-height: 200px;
|
|
|
overflow-y: auto;
|
|
@@ -2067,6 +2082,10 @@ export default {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ // .md-content>.el-tabs {
|
|
|
+ // height: calc(100vh - 280px);
|
|
|
+ // }
|
|
|
+
|
|
|
.otherDialog {
|
|
|
|
|
|
.el-collapse-item__content {
|
|
@@ -2251,6 +2270,10 @@ export default {
|
|
|
overflow-x: auto;
|
|
|
}
|
|
|
|
|
|
+/* .md-main>>>.el-table .el-table__body {
|
|
|
+ height: calc(100vh - 300px);
|
|
|
+} */
|
|
|
+
|
|
|
/* .otherDialog>>>.el-collapse-item__content {
|
|
|
padding-bottom: 12px;
|
|
|
}
|