Commit 63cdd878b31bfb1c3c34abf9c497ba217c695e6c
1 parent
90e2d1e2
优化收货单
Showing
2 changed files
with
4 additions
and
4 deletions
ant-design-vue-jeecg/src/views/system/receipt/ReceiveHeaderList.vue
... | ... | @@ -81,8 +81,8 @@ |
81 | 81 | <!-- 操作按钮区域 --> |
82 | 82 | <div class="table-operator"> |
83 | 83 | <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
84 | - <a-button v-has="'receiveHeader:export'" type="primary" icon="download" @click="handleExportXls('收货单表头')">导出</a-button> | |
85 | - <a-upload v-has="'receiveHeader:import'" name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> | |
84 | + <a-button type="primary" icon="download" @click="handleExportXls('收货单表头')">导出</a-button> | |
85 | + <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> | |
86 | 86 | <a-button type="primary" icon="import">导入</a-button> |
87 | 87 | <a-button v-has="'receiveHeader:print'" @click="batchPrint()" type="primary">打印</a-button> |
88 | 88 | </a-upload> |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiveHeader/controller/ReceiveHeaderController.java
... | ... | @@ -141,7 +141,7 @@ public class ReceiveHeaderController extends JeecgController<ReceiveHeader, IRec |
141 | 141 | * @return |
142 | 142 | */ |
143 | 143 | @RequestMapping(value = "/exportXls") |
144 | - @RequiresPermissions("receiveHeader:export") | |
144 | +// @RequiresPermissions("receiveHeader:export") | |
145 | 145 | public ModelAndView exportXls(HttpServletRequest request, ReceiveHeader receiveHeader) { |
146 | 146 | return super.exportXls(request, receiveHeader, ReceiveHeader.class, "收货单表头"); |
147 | 147 | } |
... | ... | @@ -151,7 +151,7 @@ public class ReceiveHeaderController extends JeecgController<ReceiveHeader, IRec |
151 | 151 | * @return |
152 | 152 | */ |
153 | 153 | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
154 | - @RequiresPermissions("receiveHeader:import") | |
154 | +// @RequiresPermissions("receiveHeader:import") | |
155 | 155 | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
156 | 156 | return super.importExcel(request, response, ReceiveHeader.class); |
157 | 157 | } |
... | ... |