parent
88a5d5db4f
commit
cd58a5eaf9
@ -0,0 +1,8 @@ |
||||
<template> |
||||
<div class="app-container">我的商品</div> |
||||
</template> |
||||
<script> |
||||
export default { |
||||
name: 'MyGoods' |
||||
} |
||||
</script> |
@ -0,0 +1,51 @@ |
||||
<template> |
||||
<div class="app-container"> |
||||
<el-form :inline="true"> |
||||
<el-form-item> |
||||
<el-input placeholder="请输入计量单位" /> |
||||
</el-form-item> |
||||
<el-form-item> |
||||
<el-date-picker v-model="queryParams.dateRange" style="width: 240px" value-format="yyyy-MM-dd" |
||||
type="daterange" range-separator="-" start-placeholder="开始日期" |
||||
end-placeholder="结束日期"></el-date-picker> |
||||
</el-form-item> |
||||
<el-form-item> |
||||
<el-button type="primary">查询</el-button> |
||||
<el-button>重置</el-button> |
||||
</el-form-item> |
||||
<br /> |
||||
<el-form-item> |
||||
<el-button type="primary">新增计量单位</el-button> |
||||
<el-button>导出</el-button> |
||||
</el-form-item> |
||||
</el-form> |
||||
<el-table :data="dataList" border> |
||||
<el-table-column type="selection" align="center"></el-table-column> |
||||
<el-table-column type="index" label="序号" align="center"></el-table-column> |
||||
<el-table-column label="计量单位" align="center">个</el-table-column> |
||||
<el-table-column label="创建时间" align="center">2022-12-31 12:31</el-table-column> |
||||
<el-table-column label="操作" align="center"> |
||||
<el-button type="text">编辑</el-button> |
||||
<el-button type="text">删除</el-button> |
||||
</el-table-column> |
||||
|
||||
</el-table> |
||||
</div> |
||||
</template> |
||||
<script> |
||||
export default { |
||||
name: 'Unit', |
||||
data() { |
||||
return { |
||||
dataList: [{}], |
||||
total: 1, |
||||
// 查询参数 |
||||
queryParams: { |
||||
pageNum: 1, |
||||
pageSize: 10, |
||||
dateRange: undefined |
||||
}, |
||||
} |
||||
} |
||||
} |
||||
</script> |
Loading…
Reference in new issue