Parcourir la source

非挂网目录 带量批次控制

liumy il y a 1 an
Parent
commit
d9cdb314ec
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      src/views/page/consumCataManage-sup/catalogdetailsadd.vue

+ 6 - 2
src/views/page/consumCataManage-sup/catalogdetailsadd.vue

@@ -149,6 +149,7 @@
                 v-model="infoData.isFas"
                 placeholder="请选择是否集采"
                 clearable
+                @change="clearType"
               >
                 <el-option
                   v-for="item in iFjcData"
@@ -160,7 +161,7 @@
             </el-form-item>
           </div>
           <div class="flex-css">
-            <el-form-item label="带量批次" prop="fasBtch">
+            <el-form-item label="带量批次" prop="fasBtch"  v-if="infoData.isFas == '0'"  :rules="rules.required">
               <el-input
                 v-model="infoData.fasBtch"
                 placeholder="请输入带量批次"
@@ -461,7 +462,10 @@ export default {
         }
       });
     },
-
+    // 集采类型
+    clearType() {
+      this.infoData.fasBtch = "";
+    },
     // getData() {
     //   selectMcsListById({ id: this.$route.query.id })
     //     .then((response) => {