Browse Source

界面权限

master
孙家正 1 year ago
parent
commit
cc9ddca193
  1. 2
      pages/home/my.vue
  2. 2
      pages/purchase/record.vue

2
pages/home/my.vue

@ -70,7 +70,7 @@
<view class="item" @click="$u.route({url:'/pages/stock/record'})" v-else>
<text class="plant-liulanjilu-tianchong"/> <text>出入库记录</text> <text class="plant-youbian"/>
</view>
<view class="item" @click="$u.route({url:'/pages/purchase/record'})">
<view class="item" @click="$u.route({url:'/pages/purchase/record'})" v-if="$store.getters.userInfo.roleCode!='ware_admin'">
<text class="plant-liulanjilu-tianchong"/> <text>采购记录</text> <text class="plant-youbian"/>
</view>
<view class="item" @click="$u.route({url:'/pages/home/news'})">

2
pages/purchase/record.vue

@ -95,7 +95,7 @@
<view class="foot">
<view class="examine">
<text>审核部门{{v.auditDepart}}</text>
<text class="over">意见{{v.reason}}</text>
<text v-if="v.applicantStatus ==='1' || v.applicantStatus ==='5'" class="over">意见{{v.reason}}</text>
</view>
<text class="type" :style="{'--bg':({1:'#EE263A',2:'#FFCB69',3:'#FFCB69',4:'#FFCB69',5:'#00ff00'})[v.applicantStatus]}">{{({1:"审核未通过",2:"待审核",3:"待审核",4:"审核",5:"审核通过"})[v.applicantStatus]}}</text>
</view>

Loading…
Cancel
Save