Эх сурвалжийг харах

H5:是否售罄按钮权限

panyong 3 жил өмнө
parent
commit
49d41b7328

+ 0 - 3
htmldev/dashboard/README.md

@@ -22,6 +22,3 @@ npm run lint
 
 ### Customize configuration
 See [Configuration Reference](https://cli.vuejs.org/config/).
-
-### TODO
-- [ ] 样式:安卓、iOS对照调整

+ 1 - 2
htmldev/manage/src/views/business/pms/goods/index.vue

@@ -174,8 +174,7 @@
       </el-table-column>
       <el-table-column label="操作" width="160">
         <template slot-scope="scope">
-          <!--todo 设置按钮权限-->
-          <el-button type="text" :disabled="booLock" @click="showStoragedialogForm(scope.row)">是否售罄</el-button>
+          <el-button v-permission="'business_pms_goods_storage'" :disabled="booLock" type="text" @click="showStoragedialogForm(scope.row)">是否售罄</el-button>
           <el-button type="text" v-permission="'business_pms_goods_edit'" @click="edit(scope.row)">编辑</el-button>
           <el-button type="text" v-permission="'business_pms_goods_del'" @click="del(scope.row)">删除</el-button>
         </template>