提交
This commit is contained in:
1 parent
3c7a47981a
commit
5e91791ebf
45 files changed
+4134
-9984
No files matched your search
@@ -1,29 +1,26 @@
|
||||
<!-- 生产工单展开行 · 生产任务子列表 -->
|
||||
<template>
|
||||
<div class="work-order-task-sublist">
|
||||
<div class="panel-top work-order-task-sublist__head">
|
||||
<h3 class="work-order-task-sublist__title title-bar-heading">生产任务</h3>
|
||||
</div>
|
||||
|
||||
<div class="list-toolbar work-order-task-sublist__toolbar">
|
||||
<div class="list-toolbar-row">
|
||||
<el-button
|
||||
class="btn-main"
|
||||
type="primary"
|
||||
size="small"
|
||||
:disabled="!canDispatch"
|
||||
@click="handleDispatch"
|
||||
>
|
||||
<el-icon><Position /></el-icon>派发任务
|
||||
</el-button>
|
||||
<el-button class="btn-ghost" :loading="loading" @click="loadData">
|
||||
<el-button class="btn-ghost" size="small" :loading="loading" @click="loadData">
|
||||
<el-icon><RefreshLeft /></el-icon>刷新
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="work-order-task-sublist__body sqxp-subtable-wrap">
|
||||
<div class="work-order-task-sublist__body">
|
||||
<el-table
|
||||
class="list-table work-order-task-sublist__table sqxp-subtable"
|
||||
class="list-table work-order-task-sublist__table"
|
||||
:data="tableData"
|
||||
v-loading="loading"
|
||||
stripe
|
||||
@@ -333,21 +330,8 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.work-order-task-sublist__head {
|
||||
padding: 0 0 10px;
|
||||
margin: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.work-order-task-sublist__title {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.work-order-task-sublist__toolbar {
|
||||
padding: 0 0 10px;
|
||||
padding: 0 0 8px;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@@ -355,6 +339,17 @@
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.work-order-task-sublist__table {
|
||||
width: 100%;
|
||||
|
||||
:deep(.el-table__inner-wrapper),
|
||||
:deep(.el-table__header-wrapper),
|
||||
:deep(.el-table__body-wrapper) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.work-order-task-sublist__ops {
|
||||
|
||||
@@ -94,7 +94,6 @@
|
||||
stripe
|
||||
row-key="id"
|
||||
@selection-change="handleSelectionChange"
|
||||
@row-dblclick="handleView"
|
||||
@expand-change="handleWorkOrderRowExpand"
|
||||
>
|
||||
<el-table-column
|
||||
@@ -103,7 +102,7 @@
|
||||
align="center"
|
||||
header-align="center"
|
||||
/>
|
||||
<el-table-column type="expand" min-width="48">
|
||||
<el-table-column type="expand" min-width="64">
|
||||
<template #default="{ row }">
|
||||
<WorkOrderTaskSubList
|
||||
:work-order="row"
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
<!-- eslint-disable vue/no-v-model-argument -->
|
||||
<template>
|
||||
<div class="qc-work-order-task-sublist">
|
||||
<div class="panel-top qc-work-order-task-sublist__head">
|
||||
<h3 class="qc-work-order-task-sublist__title title-bar-heading">质检任务</h3>
|
||||
</div>
|
||||
|
||||
<div class="list-toolbar qc-work-order-task-sublist__toolbar">
|
||||
<div class="list-toolbar-row">
|
||||
<el-button class="btn-ghost" :loading="loading" @click="loadData">
|
||||
<el-button class="btn-ghost" size="small" :loading="loading" @click="loadData">
|
||||
<el-icon><RefreshLeft /></el-icon>刷新
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -1221,21 +1217,8 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.qc-work-order-task-sublist__head {
|
||||
padding: 0 0 10px;
|
||||
margin: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.qc-work-order-task-sublist__title {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.qc-work-order-task-sublist__toolbar {
|
||||
padding: 0 0 10px;
|
||||
padding: 0 0 8px;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -98,10 +98,9 @@
|
||||
v-loading="loading"
|
||||
stripe
|
||||
row-key="id"
|
||||
@row-dblclick="handleView"
|
||||
@expand-change="handleWorkOrderRowExpand"
|
||||
>
|
||||
<el-table-column type="expand" min-width="48">
|
||||
<el-table-column type="expand" min-width="64">
|
||||
<template #default="{ row }">
|
||||
<QcWorkOrderTaskSubList
|
||||
v-if="activeTypeTab !== 'all'"
|
||||
|
||||
Reference in new issue
Block a user