wyq 4 лет назад
Родитель
Сommit
4ae39a3585
1 измененных файлов с 9 добавлено и 3 удалено
  1. 9 3
      src/components/basicKnow/AddTerm.vue

+ 9 - 3
src/components/basicKnow/AddTerm.vue

@@ -1319,7 +1319,7 @@ export default {
     },
     // 保存基础术语
     comfirn(flg) {
-      console.log(this.synonymous)
+      console.log(this.synonymous);
       if (!this.data.libName) {
         this.warning('请输入医学标准术语名称');
         return;
@@ -1374,6 +1374,10 @@ export default {
         this.warning('请选择药品类型');
         return;
       }
+      if (this.data.type == '中医疾病' || this.data.type == '中医证候') {
+        this.warning('请输入编码');
+        return;
+      }
       // 过滤同义词空数据
       let realData = [];
       if (this.id) {
@@ -1604,7 +1608,6 @@ tr,
 td {
   list-style: none;
 }
-
 /deep/ .radioWrap .el-radio {
   display: block;
   height: 41px;
@@ -1619,7 +1622,9 @@ td {
 
 // 饿了么分组下拉
 .el-scrollbar {
-  .el-select-dropdown__list {
+  .el-scrollbar__view {
+    display: flex !important;
+    max-width: 100% !important;
     .el-select-group__wrap {
       min-width: 160px !important;
       display: inline-block !important;
@@ -1627,6 +1632,7 @@ td {
     }
   }
 }
+
 .range {
   margin-top: 20px;
 }