Commit b8fa6ad88420e8b32f10a3aef25219a5442f706f

Authored by lxf
1 parent 548dbbf4

fix: 货源管理

Showing 2 changed files with 24 additions and 21 deletions   Show diff stats
pages.json
... ... @@ -115,19 +115,6 @@
115 115 }
116 116 },
117 117 {
118   - "path": "pages/settlement/index",
119   - "style": {
120   - "navigationBarTitleText": "支付申请",
121   - "enablePullDownRefresh": true
122   - }
123   - },
124   - {
125   - "path": "pages/settlement/filter",
126   - "style": {
127   - "navigationBarTitleText": "筛选器"
128   - }
129   - },
130   - {
131 118 "path": "pages/me/index",
132 119 "style": {
133 120 "navigationBarTitleText": "我的"
... ... @@ -243,6 +230,24 @@
243 230 }
244 231 }
245 232 ]
  233 + },
  234 + {
  235 + "root": "pages/settlement",
  236 + "pages": [
  237 + {
  238 + "path": "index",
  239 + "style": {
  240 + "navigationBarTitleText": "支付申请",
  241 + "enablePullDownRefresh": true
  242 + }
  243 + },
  244 + {
  245 + "path": "filter",
  246 + "style": {
  247 + "navigationBarTitleText": "筛选器"
  248 + }
  249 + }
  250 + ]
246 251 }
247 252 ],
248 253 "globalStyle": {
... ... @@ -283,11 +288,6 @@
283 288 "text": "订单"
284 289 },
285 290 {
286   - "pagePath": "pages/settlement/index",
287   - "iconPath": "static/tabbar/settlement.png",
288   - "selectedIconPath": "static/tabbar/settlement-active.png",
289   - "text": "结算"
290   - },{
291 291 "pagePath": "pages/me/index",
292 292 "iconPath": "static/tabbar/me.png",
293 293 "selectedIconPath": "static/tabbar/me-active.png",
... ...
pages/me/index.vue
... ... @@ -43,11 +43,14 @@
43 43 <!-- #endif -->
44 44 </view>
45 45 </view>
46   - <view class="page-my__list">
  46 + <view class="page-my__list" v-if="$permission('/settlement/paymentApply')">
  47 + <u-cell-group>
  48 + <u-cell icon="/static/tabbar/settlement.png" icon-style="color:#333" title-style="color:#333" title="支付申请" is-link url="/pages/settlement/index"> </u-cell>
  49 + </u-cell-group>
  50 + </view>
  51 + <view class="page-my__list" v-if="$permission('/settlement/paymentPlan')">
47 52 <u-cell-group>
48   - <!-- <u-cell v-if="$permission('/settlement/paymentPlan')" icon="file-text" title="支付申请" is-link url="/pages/payPlan/list"> </u-cell>-->
49 53 <u-cell
50   - v-if="$permission('/settlement/paymentPlan')"
51 54 icon="https://zeyi-tms-product.oss-cn-hangzhou.aliyuncs.com/dispatch-helper-ma/svg/pay-rmb.svg"
52 55 icon-style="color:#333"
53 56 title-style="color:#333"
... ...