| | |
| | | prop="wksp_name" |
| | | label="生产车间" |
| | | min-width="110" |
| | | show-tooltip-when-overflow |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | |
| | | prop="stepname" |
| | | label="加工工序" |
| | | sortable="custom" |
| | | min-width="110" |
| | | min-width="90" |
| | | /> |
| | | <el-table-column |
| | | prop="eqp_name" |
| | | label="加工设备" |
| | | label="加工设备/供方" |
| | | min-width="110" |
| | | show-tooltip-when-overflow |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | |
| | | /> |
| | | <el-table-column |
| | | prop="eqpcode" |
| | | label="设备编码" |
| | | :label="eqpTable.steptype==='Z'?'设备编码':'外协供方编码'" |
| | | sortable="custom" |
| | | min-width="110" |
| | | /> |
| | | <el-table-column |
| | | prop="eqpname" |
| | | label="设备名称" |
| | | :label="eqpTable.steptype==='Z'?'设备名称':'外协供方名称'" |
| | | min-width="110" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | v-if="eqpTable.steptype==='Z'" |
| | | prop="wksp_name" |
| | | sortable="custom" |
| | | label="生产车间" |
| | | min-width="110" |
| | | /> |
| | | <el-table-column |
| | | v-if="eqpTable.steptype==='Z'" |
| | | sortable="custom" |
| | | prop="eqp_value" |
| | | label="设备节拍" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="eqpTable.steptype==='Z'" |
| | | prop="stand_value" |
| | | label="生产节拍" |
| | | sortable="custom" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="eqpTable.steptype==='Z'" |
| | | prop="cavity_qty" |
| | | label="腔型数" |
| | | sortable="custom" |
| | |
| | | partcode: '', |
| | | routecode: '', |
| | | stepcode: '', |
| | | steptype: '', |
| | | page: 1, |
| | | rows: 10, |
| | | prop: 'eqpcode', |
| | | order: 'desc' |
| | | order: 'asc' |
| | | }, |
| | | eqpTableLength: 0, |
| | | isEqpTableEdit: true, |
| | |
| | | }, |
| | | async getEqpTable(val) { |
| | | if (typeof val === 'string') { |
| | | console.log('执行1') |
| | | this.eqpTable.steptype = this.stepDialogArr.find(item => item.name === val).flag |
| | | this.eqpTable.partcode = this.dialogForm.partcode |
| | | this.eqpTable.routecode = this.dialogForm.routecode |
| | | this.eqpTable.stepcode = this.stepDialogArr.find(item => item.name === val).code |
| | | } else if (typeof val === 'number') { |
| | | console.log('执行2') |
| | | // console.log(this.stepDialogArr) |
| | | this.eqpTable.steptype = this.stepDialogArr[0].flag |
| | | this.eqpTable.partcode = this.dialogForm.partcode |
| | | this.eqpTable.routecode = this.dialogForm.routecode |
| | | this.eqpTable.stepcode = this.stepDialogArr[0].code |