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