| | |
| | | <div class="section-header"> |
| | | <div class="section-title">BOM</div> |
| | | <div class="section-actions" |
| | | v-if="pageType === 'order'"> |
| | | v-if="pageType === 'order' && !routeInfo.status"> |
| | | <el-button type="primary" |
| | | @click="toggleBomEdit"> |
| | | {{ bomDataValue.isEdit ? '取消' : '编辑' }} |
| | |
| | | <ProcessParamListDialog v-model="showParamListDialog" |
| | | :title="`${currentProcess ? getProcessName(currentProcess.processId) : ''} - 参数列表`" |
| | | :route-id="routeId" |
| | | :editable="editable" |
| | | :editable="editable && !routeInfo.status" |
| | | :order-id="orderId" |
| | | :process="currentProcess" |
| | | :page-type="pageType" |
| | |
| | | dictLabel: route.query.dictLabel || "", |
| | | bomId: route.query.bomId || null, |
| | | description: route.query.description || "", |
| | | status: route.query.status === "true" ? true : false, |
| | | status: route.query.status != 1, |
| | | }; |
| | | if (pageType.value === "order") { |
| | | queryList2(route.query.orderId) |
| | |
| | | |
| | | // 初始化拖拽排序 |
| | | const initSortable = () => { |
| | | if (routeInfo.value.status) return; |
| | | destroySortable(); |
| | | |
| | | if (viewMode.value === "table") { |