| | |
| | | <el-table-column |
| | | label="操作" |
| | | fixed="right" |
| | | width="120" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | |
| | | :visible.sync="dialogVisibleRoute" |
| | | width="800px" |
| | | top="15vh" |
| | | :fullscreen="isFullscreen" |
| | | :fullscreen="isIpad" |
| | | class="dialogVisibleRoute" |
| | | @closed="handleCloseRoute" |
| | | @close="handleCloseRoute" |
| | |
| | | <div style="margin-bottom: 10px"> |
| | | <i class="el-icon-s-operation" style="color:#42b983;" /> 工序列表 |
| | | </div> |
| | | <div style="height: 400px;overflow-y: scroll"> |
| | | <div style="overflow-y: scroll"> |
| | | <el-table |
| | | :data="projectTableData" |
| | | border |
| | | height="300" |
| | | height="280" |
| | | highlight-current-row |
| | | :header-cell-style="this.$headerCellStyle" |
| | | :cell-style="this.$cellStyle" |
| | |
| | | } |
| | | } |
| | | return { |
| | | isFullscreen: false, |
| | | isIpad: false, |
| | | mainHeight: 0, |
| | | tableHeight: 0, |
| | | form: { |
| | |
| | | materialname: [ |
| | | { required: true, message: '请输入物料名称', trigger: ['blur', 'change'] } |
| | | ], |
| | | materialspec: [ |
| | | { required: true, message: '请输入物料规格', trigger: ['blur', 'change'] } |
| | | ], |
| | | // materialspec: [//物料规格暂时改为非必填 |
| | | // { required: true, message: '请输入物料规格', trigger: ['blur', 'change'] } |
| | | // ], |
| | | uomcode: [ |
| | | { required: true, message: '请选择使用单位', trigger: ['blur', 'change'] } |
| | | ], |
| | |
| | | this.dialogForm.minstockqty = row.maxqty |
| | | this.dialogForm.maxstockqty = row.minqty |
| | | }) |
| | | await this.getuomSelect() |
| | | }, |
| | | // 删除按钮 |
| | | async del(row) { |
| | |
| | | getHeight() { |
| | | this.$nextTick(() => { |
| | | this.mainHeight = window.innerHeight - 250 |
| | | this.tableHeight = this.mainHeight - 100 |
| | | // this.isFullscreen = window.innerHeight < 800 |
| | | if (window.innerHeight < 800) { |
| | | this.tableHeight = this.mainHeight - 50 |
| | | if (window.innerHeight < 769) { |
| | | this.tableHeight = this.tableHeight - 50 |
| | | } |
| | | this.isIpad = window.innerHeight < 769 && window.innerWidth < 1367 |
| | | }) |
| | | }, |
| | | /* 点击关联工艺路线模块*/ |