Commit f6b4bdd3 authored by 张海景's avatar 张海景

update:修改生产排产的布局

parent 544ae2a7
......@@ -30,14 +30,14 @@
<div class="cardBox">
<div v-if="taskWorkunitList.length" class="list">
<div @click.stop="handleClick(item,index)" class="list-item" :class="{'active': currentTask === index}" v-for="(item,index) in taskWorkunitList" :key="index">
<div class="item-top">工作单元: {{ item.workunitCode }}</div>
<div>工作单元名称:{{ item.workunitName }}</div>
<div class="item-top">{{ item.workunitCode }}</div>
<div>{{ item.workunitName }}</div>
</div>
</div>
<div v-else style="text-align: center;margin-top:30px;color:#ccc;">暂无数据</div>
</div>
</div>
<div>
<div style="width: calc(100% - 600px);">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="任务号" prop="taskCode">
<el-input
......@@ -665,7 +665,11 @@ export default {
max-height:600px;
overflow-y:auto;
.list{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.list-item{
width: 48%;
padding: 10px;
border: 1px solid #eee;
border-radius: 6px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment