Howie 1 ano atrás
pai
commit
6f5e056d48

+ 1 - 2
src/views/supply/apply/components/apply_form.vue

@@ -191,7 +191,7 @@
                 size="small"
                 filterable
                 clearable
-                :disabled=" isDealer ? goodsList.length > 0 : false"
+                :disabled="listItem ? isDealer ? goodsList.length > 0 : false : false"
                 style="width: 100%"
               >
                 <el-option
@@ -210,7 +210,6 @@
                 placeholder="选择存货类别"
                 style="width: 100%"
                 clearable
-                :disabled=" isDealer ? goodsList.length > 0 : false"
               >
                 <el-option
                   v-for="item in categoryList"

+ 1 - 1
src/views/supply/apply/components/engin_form.vue

@@ -315,7 +315,7 @@
                 size="small"
                 filterable
                 clearable
-                :disabled=" isDealer ? goodsList.length > 0 || tableSelection.length > 0 : false"
+                :disabled="listItem ? isDealer ? goodsList.length > 0 || tableSelection.length > 0 : false: false"
 
                 style="width: 100%"
               >