| | |
| | | fallbackClass="fallbackStyle" |
| | | ghostClass="item_ghost" |
| | | @end="dragEnd" |
| | | :default-sort="{ prop: 'operationOrder' }" |
| | | @choose="operationRowClick" |
| | | > |
| | | <div |
| | | :class="{ dragItem: true, active: x.active }" |
| | | v-for="(x, i) in operations" |
| | | :key="i" |
| | | > |
| | | <!-- <div class="dragBody"> |
| | | <div class="info">{{ x.operationNo }}</div> |
| | | <div class="info">{{ x.operationName }}</div> |
| | | <div class="info">{{ x.partName }}</div> |
| | | </div> --> |
| | | <el-row> |
| | | <el-col :span="2" class="frame">{{ i+1 }} |
| | | </el-col> |
| | |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | operationOrder:el.operationOrder, |
| | | } |
| | | }) |
| | | console.log(data,"id"); |
| | | changeOrder(data).then((res) =>{ |
| | | console.log(res,"回调"); |
| | | }).catch(error => { |
| | | console.error(error) |
| | | }); |
| | |
| | | this.dataForm.bomId = null |
| | | }, |
| | | // 点击工艺工序行触发校验工艺是否修改,若修改则不可操作,需先保存,若未修改,则可查询出对应的参数集 |
| | | operationRowClick(row) { |
| | | operationRowClick(event) { |
| | | const row = this.operations[event.oldIndex] |
| | | if (this.dataForm.id != null && this.dataForm.id !== 0) { |
| | | this.routingOperationId = row.technologyRoutingOperationId |
| | | this.moRoutingOperationId = row.id |