|
@@ -26,7 +26,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="check-list">
|
|
<view class="check-list">
|
|
- <productList ref="productList" noDataText="暂无产品" @allChecked="allCheckedCallback"></productList>
|
|
|
|
|
|
+ <productList ref="productList" noDataText="暂无待补货产品" @allChecked="allCheckedCallback"></productList>
|
|
</view>
|
|
</view>
|
|
<!-- 底部栏 -->
|
|
<!-- 底部栏 -->
|
|
<view class="footer-bar flex align_center" v-if="partList.length">
|
|
<view class="footer-bar flex align_center" v-if="partList.length">
|
|
@@ -37,9 +37,12 @@
|
|
<view>
|
|
<view>
|
|
已选<text>{{totalCategory}}</text>款产品
|
|
已选<text>{{totalCategory}}</text>款产品
|
|
</view>
|
|
</view>
|
|
- <view>
|
|
|
|
|
|
+ <view v-if="!showCart">
|
|
查看明细 <u-icon name="arrow-up"></u-icon>
|
|
查看明细 <u-icon name="arrow-up"></u-icon>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view v-else>
|
|
|
|
+ 关闭明细 <u-icon name="arrow-down"></u-icon>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="f-btns">
|
|
<view class="f-btns">
|
|
<u-button size="medium" @click="submitOrder" :custom-style="customBtnStyle" shape="circle" type="primary" hover-class="none" >确定选择</u-button>
|
|
<u-button size="medium" @click="submitOrder" :custom-style="customBtnStyle" shape="circle" type="primary" hover-class="none" >确定选择</u-button>
|
|
@@ -64,7 +67,7 @@
|
|
>
|
|
>
|
|
<view class="nav-right-item flex align_center">
|
|
<view class="nav-right-item flex align_center">
|
|
<view class="uni-col-1" @click="delDetail(item,index)">
|
|
<view class="uni-col-1" @click="delDetail(item,index)">
|
|
- <u-icon name="close-circle" color="#999" size="35"></u-icon>
|
|
|
|
|
|
+ <u-icon name="close-circle" color="#ff5500" size="35"></u-icon>
|
|
</view>
|
|
</view>
|
|
<view class="uni-col-11 flex">
|
|
<view class="uni-col-11 flex">
|
|
<view class="uni-col-2">
|
|
<view class="uni-col-2">
|
|
@@ -218,6 +221,9 @@
|
|
list.map(item => {
|
|
list.map(item => {
|
|
this.allCheckedCallback(true,item)
|
|
this.allCheckedCallback(true,item)
|
|
})
|
|
})
|
|
|
|
+ if(!e.value && this.showCart){
|
|
|
|
+ this.showCart = false
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 选中事件
|
|
// 选中事件
|
|
allCheckedCallback(isAllChecked,row){
|
|
allCheckedCallback(isAllChecked,row){
|
|
@@ -255,6 +261,7 @@
|
|
this.$refs.productList.setChecked(item.id,false)
|
|
this.$refs.productList.setChecked(item.id,false)
|
|
const index = this.chooseList.findIndex(k => k.id == item.id)
|
|
const index = this.chooseList.findIndex(k => k.id == item.id)
|
|
this.chooseList.splice(index,1)
|
|
this.chooseList.splice(index,1)
|
|
|
|
+ this.allChecked = false
|
|
// 全部清空
|
|
// 全部清空
|
|
if(this.chooseList.length==0){
|
|
if(this.chooseList.length==0){
|
|
this.clearChoose()
|
|
this.clearChoose()
|
|
@@ -475,6 +482,7 @@
|
|
}
|
|
}
|
|
&:last-child{
|
|
&:last-child{
|
|
font-size: 0.8rem;
|
|
font-size: 0.8rem;
|
|
|
|
+ color: #0485F6;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -557,7 +565,7 @@
|
|
padding-top: 20rpx;
|
|
padding-top: 20rpx;
|
|
font-size: 26upx;
|
|
font-size: 26upx;
|
|
> text{
|
|
> text{
|
|
- color: #00aaff;
|
|
|
|
|
|
+ color: #ff5500;
|
|
}
|
|
}
|
|
> view{
|
|
> view{
|
|
color: #999;
|
|
color: #999;
|