|
|
|
@ -130,8 +130,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div class="box-list">
|
|
|
|
|
<div v-for="(serive, sindex) in booGoodsStatusItem" :class="{isBr:!changeGoods && serive.isBr}" :key="`${serive.configId}_${sindex}`">
|
|
|
|
|
<a-tooltip >
|
|
|
|
|
<div
|
|
|
|
|
v-for="(serive, sindex) in booGoodsStatusItem"
|
|
|
|
|
:class="{ isBr: !changeGoods && serive.isBr }"
|
|
|
|
|
:key="`${serive.configId}_${sindex}`">
|
|
|
|
|
<a-tooltip>
|
|
|
|
|
<template v-if="(serive.actDate || serive.actRemark) && !serive.isBr" #title>
|
|
|
|
|
<p v-if="serive.actDate">时间:{{ serive.actDate }}</p>
|
|
|
|
|
<p v-if="serive.actRemark">备注:{{ serive.actRemark }}</p>
|
|
|
|
@ -139,29 +142,36 @@
|
|
|
|
|
</template>
|
|
|
|
|
<div v-if="changeGoods" style="display: flex;align-items: center;margin-top: 10px;">
|
|
|
|
|
<div
|
|
|
|
|
class="items items1"
|
|
|
|
|
class="items"
|
|
|
|
|
v-if="changeGoods && !serive.isBr"
|
|
|
|
|
:class="{ active: serive.isYield, active1: serive.actRemark && !serive.isYield }"
|
|
|
|
|
@click="saveGoodsStatus(serive)">
|
|
|
|
|
{{ serive.showName }}
|
|
|
|
|
<div class="edit" @click.stop="FnOpenEdit(serive)"><a-icon type="edit" /></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-line" style="margin: 0 5px 0 0;" v-if="changeGoods && !serive.isEnd && !serive.isBr" :class="{ active: serive.isYield}"></div>
|
|
|
|
|
<!-- <div
|
|
|
|
|
class="box-line"
|
|
|
|
|
style="margin: 0 5px 0 0;"
|
|
|
|
|
v-if="changeGoods && !serive.isEnd && !serive.isBr"
|
|
|
|
|
:class="{ active: serive.isYield }"></div> -->
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="!changeGoods && !serive.isBr" class="goods-box">
|
|
|
|
|
<div class="goods-content" :class="{ active: serive.isYield}" @click="saveGoodsStatus(serive)">
|
|
|
|
|
<div class="round" :class="{ active: serive.isYield}">
|
|
|
|
|
<a-icon v-if="serive.isYield" style="color:rgb(22, 119, 255);font-size: 8px;" type="check" />
|
|
|
|
|
<div class="goods-content" :class="{ active: serive.isYield }" @click="saveGoodsStatus(serive)">
|
|
|
|
|
<!-- <div class="round" :class="{ active: serive.isYield }">
|
|
|
|
|
<a-icon v-if="serive.isYield" style="color:rgb(48,172,214);font-size: 10px;" type="check" />
|
|
|
|
|
</div> -->
|
|
|
|
|
<a-icon v-if="serive.isYield" class="serve-icon" type="check-circle" />
|
|
|
|
|
<div v-else class="round" >
|
|
|
|
|
</div>
|
|
|
|
|
<div>{{ serive.showName }}</div>
|
|
|
|
|
<div class="showName">{{ serive.showName }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <a-icon type="right" style="color: rgb(179, 175, 175);" /> -->
|
|
|
|
|
<div class="box-line" v-if="!changeGoods && !serive.isEnd" :class="{ active: serive.isYield}"></div>
|
|
|
|
|
<div class="box-line" v-if="!changeGoods && !serive.isEnd" :class="{ active: serive.isYield }"></div>
|
|
|
|
|
<div class="box-edit" @click.stop="FnOpenEdit(serive)"><a-icon type="edit" /></div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</div>
|
|
|
|
|
<br/>
|
|
|
|
|
<br />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-spin>
|
|
|
|
@ -1243,11 +1253,13 @@ export default {
|
|
|
|
|
padding: 2px;
|
|
|
|
|
position: relative;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
.goods-content {
|
|
|
|
|
border: 1px dashed rgb(19, 194, 194);
|
|
|
|
|
background-color: rgb(237, 251, 251);
|
|
|
|
|
// border: 1px dashed rgb(19, 194, 194);
|
|
|
|
|
// background-color: rgb(237, 251, 251);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box-edit {
|
|
|
|
@ -1256,27 +1268,34 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.goods-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
// display: flex;
|
|
|
|
|
border: 1px dashed white;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
&.active{
|
|
|
|
|
color: rgb(22, 119, 255);
|
|
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
|
color: rgb(48,172,214);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.serve-icon{
|
|
|
|
|
font-size:22px;
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
}
|
|
|
|
|
.round {
|
|
|
|
|
width: 15px;
|
|
|
|
|
height: 15px;
|
|
|
|
|
line-height: 11px;
|
|
|
|
|
width: 22px;
|
|
|
|
|
height: 22px;
|
|
|
|
|
line-height: 15px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
margin-right: 3px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
// margin-right: 3px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border: 1px solid rgb(146, 146, 146);
|
|
|
|
|
|
|
|
|
|
border: 2px solid rgb(146, 146, 146);
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
&.active {
|
|
|
|
|
border: 1px solid rgb(22, 119, 255);
|
|
|
|
|
border: 1px solid rgb(48,172,214);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1284,25 +1303,33 @@ export default {
|
|
|
|
|
width: 17px;
|
|
|
|
|
height: 17px;
|
|
|
|
|
border-radius: 0 3px 0 0;
|
|
|
|
|
background: #c9c9c9;
|
|
|
|
|
// background: #c9c9c9;
|
|
|
|
|
display: none;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -1px;
|
|
|
|
|
left: 0px;
|
|
|
|
|
top: -1px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 17px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.box-line{
|
|
|
|
|
height: 1px;
|
|
|
|
|
width: 10px;
|
|
|
|
|
background: rgb(179, 175, 175);
|
|
|
|
|
margin-left: 3px;
|
|
|
|
|
&.active {
|
|
|
|
|
border: 1px solid rgb(22, 119, 255);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.isBr{
|
|
|
|
|
width: 100%;
|
|
|
|
|
.showName{
|
|
|
|
|
width: 48px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
.box-line {
|
|
|
|
|
height: 1px;
|
|
|
|
|
width: 10px;
|
|
|
|
|
background: rgb(179, 175, 175);
|
|
|
|
|
// margin-left: 3px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
|
border: 1px solid rgb(48,172,214);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isBr {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|