| | |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">原材料检验</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button type="primary" icon="el-icon-plus" style="background: #004EA2;">新增</el-button> |
| | | <el-button type="primary" icon="el-icon-plus" style="background: #004EA2;" @click="goDetail(null)">新增</el-button> |
| | | <el-button icon="el-icon-download">删除</el-button> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <span class="table_do" @click="changeShowDetail">查看</span> |
| | | <span class="table_do" @click="changeShowDetail(scope.row)">查看</span> |
| | | <span class="table_do">打印</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | }, |
| | | this.selectRawInspectsList() |
| | | }, |
| | | changeShowDetail(){ |
| | | this.goDetail() |
| | | changeShowDetail({id}){ |
| | | this.goDetail(id) |
| | | // console.log(id) |
| | | // const res = await this.$axios.post(this.$api.url.selectRawInspectsListById,{params:{id}}) |
| | | // console.log(res) |
| | | |
| | | } |
| | | } |
| | | } |