chenrui 3 vuotta sitten
vanhempi
commit
c74039989b
1 muutettua tiedostoa jossa 1 lisäystä ja 12 poistoa
  1. 1 12
      src/views/productManagement/productInfo/edit.vue

+ 1 - 12
src/views/productManagement/productInfo/edit.vue

@@ -50,18 +50,6 @@
             </a-input-group>
           </a-form-model-item>
           <a-form-model-item label="产品品牌" prop="productBrandSn">
-            <!-- <a-select
-          id="productInfoEdit-productBrand"
-          placeholder="请输入名称或拼音查询,如果没有请点击 '+' 新增"
-          :disabled="!!$route.params.id"
-          allowClear
-          v-model="form.productBrandSn"
-          :showSearch="true"
-          option-filter-prop="children"
-          :filter-option="filterOption"
-          style="width: 90%;">
-          <a-select-option v-for="item in productBrandList" :key="item.brandSn" :value="item.brandSn" :disabled="item.enabledFlag==0">{{ item.brandName }}</a-select-option>
-          </a-select> -->
             <a-select
               show-search
               id="productInfoEdit-productBrand"
@@ -78,6 +66,7 @@
               <a-select-option v-for="item in productBrandList" :key="item.brandSn" :value="item.brandSn" :disabled="item.enabledFlag==0">{{ item.brandName }}</a-select-option>
             </a-select>
             <a-button
+              v-if="$hasPermissions('B_product_dealerProductBrand_add')"
               @click="openModal=true"
               :disabled="!!$route.params.id"
               icon="plus"