| | |
| | | <template> |
| | | <div class="content-main"> |
| | | <div class="top-bar"> |
| | | <el-form ref="form" style="width: 1000px;margin-top: 10px;" :inline="true"> |
| | | <el-form ref="form" style="width: 100%;margin-top: 10px;" :inline="true"> |
| | | <el-form-item label="样式编号:"> |
| | | <el-input size="small" v-model="materialCode" placeholder="请输入样式编号"></el-input> |
| | | </el-form-item> |
| | |
| | | <el-form-item> |
| | | <el-button type="primary" size="small" @click="getData()">查询</el-button> |
| | | <el-button type="primary" size="small" plain @click="resetData()">重置</el-button> |
| | | <el-dropdown style="margin-left: 7px;"> |
| | | <!-- <el-dropdown style="margin-left: 7px;"> |
| | | <span class="el-dropdown-link"> |
| | | 高级搜索<i class="el-icon-arrow-down el-icon--right"></i> |
| | | </span> |
| | |
| | | <el-dropdown-item disabled>双皮奶</el-dropdown-item> |
| | | <el-dropdown-item divided>蚵仔煎</el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | </el-dropdown> --> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form style="margin-top: 10px;"> |
| | |
| | | </div> |
| | | <div class="library-table"> |
| | | <div class="table-box"> |
| | | <el-table ref="tableData" :max-height="800" :cell-style="{ textAlign: 'left' }" |
| | | <el-table ref="tableData" :max-height="700" :cell-style="{ textAlign: 'left' }" |
| | | :header-cell-style="{ border: '0px', background: '#f5f7fa', color: '#606266', boxShadow: 'inset 0 1px 0 #ebeef5', textAlign: 'left' }" |
| | | :data="tableData" style="width: 100%"> |
| | | <el-table-column type="selection" label="" min-width="5%" /> |
| | |
| | | } |
| | | } |
| | | .library-table { |
| | | height:80vh; |
| | | background-color: #fff; |
| | | flex: 1; |
| | | margin: 0px -15px; |