| | |
| | | :header-cell-style="this.$headerCellStyle" |
| | | :cell-style="this.$cellStyle" |
| | | row-key="partcode" |
| | | @sort-change="sortChange" |
| | | @select="handleSelectionChange" |
| | | @select-all="handleAllChange" |
| | | > |
| | |
| | | <el-table-column |
| | | prop="partcode" |
| | | label="存货编码" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="partname" |
| | | label="存货名称" |
| | | sortable="custom" |
| | | show-tooltip-when-overflow |
| | | min-width="200" |
| | | /> |
| | | <el-table-column |
| | | prop="partspec" |
| | | label="规格型号" |
| | | |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | {{ row.partspec ? row.partspec : '/' }} |
| | |
| | | <el-table-column |
| | | prop="idinventoryclassname" |
| | | label="所属类别" |
| | | sortable="custom" |
| | | /> |
| | | |
| | | </el-table> |
| | |
| | | } |
| | | }) |
| | | |
| | | this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()] |
| | | |
| | | this.$nextTick(() => { |
| | | this.dialogForm.qualityinsptcode = row.code |
| | | this.dialogForm.qualityinsptname = row.name |
| | |
| | | descr: i.descr |
| | | }) |
| | | }) |
| | | this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()] |
| | | this.CheckItemSelectAllArr = JSON.parse(JSON.stringify(this.CheckItemSelectArr)) |
| | | }, |
| | | // 数值判定 |
| | |
| | | this.isCancel = true |
| | | this.checkitem = [] |
| | | this.CheckItemSelectArr = JSON.parse(JSON.stringify(this.CheckItemSelectAllArr)) |
| | | this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()] |
| | | this.$refs.dialogForm.clearValidate() |
| | | }, |
| | | // 对话框取消 |