| | |
| | | class="section-header"> |
| | | <div class="section-title">工艺路线项目列表</div> |
| | | <div class="section-actions"> |
| | | <div class="sort-tip">拖拽表格排序</div> |
| | | <div v-if="!routeInfo.status" |
| | | class="sort-tip">拖拽表格排序</div> |
| | | <el-button icon="Grid" |
| | | @click="toggleView" |
| | | style="margin-right: 10px;"> |
| | | 卡片视图 |
| | | </el-button> |
| | | <el-button type="primary" |
| | | <el-button v-if="!routeInfo.status" |
| | | type="primary" |
| | | @click="handleAdd">新增</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" |
| | | v-if="!routeInfo.status" |
| | | align="center" |
| | | fixed="right" |
| | | width="150"> |
| | |
| | | <div class="section-header"> |
| | | <div class="section-title">工艺路线项目列表</div> |
| | | <div class="section-actions"> |
| | | <div class="sort-tip">长按拖拽卡片排序</div> |
| | | <div v-if="!routeInfo.status" |
| | | class="sort-tip">长按拖拽卡片排序</div> |
| | | <el-button icon="Menu" |
| | | @click="toggleView" |
| | | style="margin-right: 10px;"> |
| | | 表格视图 |
| | | </el-button> |
| | | <el-button type="primary" |
| | | v-if="!routeInfo.status" |
| | | @click="handleAdd">新增</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | <el-button type="primary" |
| | | link |
| | | size="small" |
| | | v-if="!routeInfo.status" |
| | | @click="handleEdit(item)" |
| | | :disabled="item.isComplete">编辑</el-button> |
| | | <el-button type="info" |
| | |
| | | <el-button type="danger" |
| | | link |
| | | size="small" |
| | | v-if="!routeInfo.status" |
| | | @click="handleDelete(item)" |
| | | :disabled="item.isComplete">删除</el-button> |
| | | </div> |
| | |
| | | <span v-else>{{ row.unit }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="unitPrice" |
| | | <el-table-column prop="unitPrice" |
| | | label="单价"> |
| | | <template #default="{ row }"> |
| | | <el-form-item v-if="bomDataValue.isEdit" |
| | |
| | | dictLabel: route.query.dictLabel || "", |
| | | bomId: route.query.bomId || null, |
| | | description: route.query.description || "", |
| | | status: route.query.status === "true" ? true : false, |
| | | }; |
| | | if (pageType.value === "order") { |
| | | queryList2(route.query.orderId) |