|
@@ -18,12 +18,14 @@
|
|
<div class="tip-body">
|
|
<div class="tip-body">
|
|
<div class="tip-content">
|
|
<div class="tip-content">
|
|
<div class="text-title">无动销提醒</div>
|
|
<div class="text-title">无动销提醒</div>
|
|
- <p class="text-val">1.商品名称xxx,在【无动销提醒周期】内,无动销,请及时处理</p>
|
|
|
|
- <p class="text-val">1.商品名称xxx,在【无动销提醒周期】内,无动销,请及时处理</p>
|
|
|
|
|
|
+ <p class="text-val" v-for="(item,index) in dataInfo.noMovingPinReminder" :key="index">{{ `${index+1}.${item}` }}</p>
|
|
|
|
+ <p class="text-val" v-show="dataInfo.noMovingPinReminder.length===0">暂无</p>
|
|
<div class="text-title">过期提醒</div>
|
|
<div class="text-title">过期提醒</div>
|
|
- <p class="text-val">3.商品名称xxx,条码xxx,生产日期xxx,保质期xxx,库存xxx,即将要过期,请及时处理</p>
|
|
|
|
|
|
+ <p class="text-val" v-for="(item,index) in dataInfo.expirationReminder" :key="index">{{ `${index+1}.${item}` }}</p>
|
|
|
|
+ <p class="text-val" v-show="dataInfo.expirationReminder.length===0">暂无</p>
|
|
<div class="text-title">库存提醒</div>
|
|
<div class="text-title">库存提醒</div>
|
|
- <p class="text-val">4.商品名称xxx,库存告警,请及时处理</p>
|
|
|
|
|
|
+ <p class="text-val" v-for="(item,index) in dataInfo.inventoryReminder" :key="index">{{ `${index+1}.${item}` }}</p>
|
|
|
|
+ <p class="text-val" v-show="dataInfo.inventoryReminder.length===0">暂无</p>
|
|
</div>
|
|
</div>
|
|
<div class="btn-wrap">
|
|
<div class="btn-wrap">
|
|
<a-button type="primary" @click="handleOk" class="confirm-btn">好的</a-button>
|
|
<a-button type="primary" @click="handleOk" class="confirm-btn">好的</a-button>
|
|
@@ -39,7 +41,11 @@ export default {
|
|
return {
|
|
return {
|
|
visible: false,
|
|
visible: false,
|
|
confirmLoading: false,
|
|
confirmLoading: false,
|
|
- dataInfo: {},
|
|
|
|
|
|
+ dataInfo: {
|
|
|
|
+ expirationReminder: [],
|
|
|
|
+ inventoryReminder: [],
|
|
|
|
+ noMovingPinReminder: []
|
|
|
|
+ },
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -103,7 +109,8 @@ export default {
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
}
|
|
.tip-content {
|
|
.tip-content {
|
|
- height: 210px;
|
|
|
|
|
|
+ max-height: 300px;
|
|
|
|
+ overflow: hidden scroll;
|
|
}
|
|
}
|
|
.btn-wrap {
|
|
.btn-wrap {
|
|
margin-top: 16px;
|
|
margin-top: 16px;
|