marymelisa 4 vuotta sitten
vanhempi
commit
19ed1a5b87
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      src/views/information/goods/components/add/index.vue

+ 3 - 0
src/views/information/goods/components/add/index.vue

@@ -47,6 +47,7 @@
               <a-select class="inlineFormSelect"
                         style="width: 200px"
                         v-model:value="formState.unitid"
+                        :getPopupContainer="(triggerNode) => triggerNode.parentNode" 
                         placeholder="请选择单位">
                 <a-select-option v-for="item in unitList"
                                  :value="item.enumitemname"
@@ -111,6 +112,7 @@
                            :rules="rules.gldwrstandards.unitid">
                 <a-select class="inlineFormSelect"
                           v-model:value="domain.unitid"
+                          :getPopupContainer="(triggerNode) => triggerNode.parentNode" 
                           placeholder="请选择单位">
                   <a-select-option v-for="item in unitList"
                                    :value="item.enumitemname"
@@ -226,6 +228,7 @@
                 <a-select class="inlineFormSelect"
                           @change="middleChange(domain.middlegoodsid, domain)"
                           v-model:value="domain.middlegoodsid"
+                          :getPopupContainer="(triggerNode) => triggerNode.parentNode" 
                           placeholder="请选择套保品种">
                   <a-select-option v-for="item in goodsGroup"
                                    :value="item.goodsgroupid"