|
|
|
@ -67,6 +67,42 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
|
<!-- 查看商品库存弹出层 --> |
|
|
|
<uni-popup ref="addPopup" background-color="#fff"> |
|
|
|
<view class="popup-content" style="height:auto !important;"> |
|
|
|
<view style="font-size: 36rpx;font-weight: bold;text-align: center;">提示</view> |
|
|
|
<view v-if="goodsList !=''" |
|
|
|
style="width:100%;font-weight:bold;text-align: center;font-size: 28rpx;margin: 20rpx 0;"> |
|
|
|
{{goodsList[0].productName}}商品有以下库存,确认继续删除吗? |
|
|
|
</view> |
|
|
|
<view class="tui-order-item boxbg"> |
|
|
|
<view style="display: flex;border-bottom: 1px solid #eee;height: 50rpx;line-height: 50rpx;"> |
|
|
|
<view style="width: 70%;text-align: center;border-right: 1px solid #eee;">商品规格</view> |
|
|
|
<view style="width: 29%;text-align: center;">数量</view> |
|
|
|
</view> |
|
|
|
<view class="shop-box" v-for="(item,index) in goodsList" :key="index" style="position: relative;"> |
|
|
|
<view style='height: 50rpx;line-height: 50rpx;'> |
|
|
|
<view style="width: 70%;text-align: center;border-right: 1px solid #eee;float: left;height: 50rpx;overflow: hidden;"> |
|
|
|
{{item.attributeList | sliceMsg}} |
|
|
|
</view> |
|
|
|
<view style="width: 29%;text-align: center;float: left;"> |
|
|
|
{{item.stockCount}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <u-loadmore :status="status" /> --> |
|
|
|
<view class="popup-bottom"> |
|
|
|
<view class="popup-bottom-left"> |
|
|
|
<view class="bottom-btn" @tap="this.$refs.addPopup.close()" |
|
|
|
style="background: linear-gradient(90deg, #FF9797, #FFC1E0);">再想想</view> |
|
|
|
</view> |
|
|
|
<view class="popup-bottom-right"> |
|
|
|
<view class="bottom-btn" @tap="this.show = true">确认删除</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
|
</view> |
|
|
|
|
|
|
|
@ -241,6 +277,8 @@ |
|
|
|
this.dialogTit = '输入分类名' |
|
|
|
} else if(type == 'attrAdd') { |
|
|
|
this.dialogTit = '输入属性名' |
|
|
|
// this.$refs.addPopup.open() |
|
|
|
// return; |
|
|
|
} else if(type == 'attrValAdd') { |
|
|
|
this.dialogTit = '输入属性值' |
|
|
|
} |
|
|
|
|