数据库设计

This commit is contained in:
13405411873 2024-09-13 16:44:45 +08:00
parent 1440ad19e7
commit 763db17eda
3 changed files with 1 additions and 9 deletions

View File

@ -204,13 +204,6 @@
<el-table-column label="单位" align="center" prop="unit"/> <el-table-column label="单位" align="center" prop="unit"/>
<el-table-column label="当前库存" align="center" prop="stock"/> <el-table-column label="当前库存" align="center" prop="stock"/>
</el-table> </el-table>
<!-- <pagination
v-show="commodityForm.total>0"
:total="commodityForm.total"
:page.sync="commodityForm.page"
:limit.sync="commodityForm.pageSize"
@pagination="getCommodityList"
/> -->
</el-main> </el-main>
</el-container> </el-container>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
@ -281,7 +274,6 @@ export default {
// //
supplierList:[], supplierList:[],
state:'await', state:'await',
saveFlag:false, saveFlag:false,

View File

@ -141,7 +141,7 @@ public class CardGiftActiveController extends BaseController {
response.setCharacterEncoding("utf-8"); response.setCharacterEncoding("utf-8");
response.setHeader("Content-disposition", "attachment;filename=demo.xlsx"); response.setHeader("Content-disposition", "attachment;filename=demo.xlsx");
try{ try{
// 写入文件数据 // 写入文件数据
response.setContentType("application/vnd.ms-excel"); response.setContentType("application/vnd.ms-excel");
EasyExcel.write(response.getOutputStream(), CardGift.class).sheet("download").doWrite(list); EasyExcel.write(response.getOutputStream(), CardGift.class).sheet("download").doWrite(list);
}catch(Exception e) { }catch(Exception e) {

Binary file not shown.