Commit 8e9da46a68552dc7254fbe2c2b2259c9d9f88ef0

Authored by sanmu
2 parents c8423c0f e9ee7ce8

Merge branch 'develop' of http://39.108.227.113:8001/zhusen/order-erp-front into develop

.vscode/settings.json
... ... @@ -91,7 +91,8 @@
91 91 "editor.codeActionsOnSave": {
92 92 "source.fixAll.eslint": "explicit",
93 93 "source.fixAll.stylelint": "explicit"
94   - }
  94 + },
  95 + "editor.defaultFormatter": "esbenp.prettier-vscode"
95 96 },
96 97 "i18n-ally.localesPaths": ["src/locales/lang"],
97 98 "i18n-ally.keystyle": "nested",
... ...
src/views/project/order/index.vue
... ... @@ -102,7 +102,10 @@
102 102 <a-button type="primary" @click="handleExportModal" v-if="role !== ROLE.INSPECT"
103 103 >导出</a-button
104 104 >
105   - <a-button type="primary" @click="handleProfitModal" v-if="role === ROLE.ADMIN"
  105 + <a-button
  106 + type="primary"
  107 + @click="handleProfitModal"
  108 + v-if="role === ROLE.ADMIN || role === ROLE.BUSINESS"
106 109 >分析利润</a-button
107 110 >
108 111 <a-button
... ...