| | |
| | | </div> |
| | | </div> |
| | | <el-table class="el-table sampleTable" ref="sampleTable" :data="sampleList" height="250px" tooltip-effect="dark" |
| | | border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-top: 10px;"> |
| | | border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-bottom: 10px;"> |
| | | <el-table-column type="selection" width="60" :selectable="selectable" v-if="active==1"></el-table-column> |
| | | <el-table-column type="index" label="序号" width="65" align="center"></el-table-column> |
| | | <el-table-column prop="sample" label="样品名称" align="center" min-width="100"> |
| | |
| | | }, |
| | | created() { |
| | | this.menu = menus.menu |
| | | if (this.PROJECT !== '装备电缆') { // 检测中心暂无'原材料检验下单'功能 |
| | | const index = this.menu.findIndex(item => item.v === '业务管理') |
| | | if (index > -1) { |
| | | const index2 = this.menu[index].c.findIndex(obj => obj.v === '原材料检验下单') |
| | | if (index2 > -1) { |
| | | this.menu[index].c.splice(index2, 1) |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.userName = JSON.parse(localStorage.getItem("user")).name; |
| | |
| | | v: "业务管理", |
| | | i: "font icon-kexueyanjiuheshiyankaifa", |
| | | p: "selectInsOrderParameter selectInsOrderPlanList pageInsReport costStatistics selectWarehouse", |
| | | c: [{ |
| | | c: [ |
| | | { |
| | | v: "原材料检验下单", |
| | | i: "font icon-erjidaohang", |
| | | u: "b1-material-inspection-order", |
| | | p: "selectInsOrderParameter" |
| | | }, |
| | | { |
| | | v: "检验下单", |
| | | i: "font icon-erjidaohang", |
| | | u: "b1-inspection-order", |