Commit 689b0854 by LJM

bug

parent 201c6c8d
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
} }
.list { .list {
margin-top: 15rpx; margin-top: 15rpx;
padding-bottom: 150rpx; padding-bottom: 50rpx;
flex-wrap: wrap; flex-wrap: wrap;
.box { .box {
position: relative; position: relative;
......
...@@ -52,6 +52,23 @@ ...@@ -52,6 +52,23 @@
margin-bottom: 15rpx; margin-bottom: 15rpx;
flex-wrap: wrap; flex-wrap: wrap;
border: 1px solid transparent; border: 1px solid transparent;
.check-box-icon {
position: absolute;
right: 18rpx;
top: 17rpx;
width: 20rpx;
height: 20rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/11/0bf30da3e8ce6c476c210173b5f13d51.png') no-repeat center;
background-size: contain;
display: block;
}
&.curr {
border: 1px solid #1969f9;
.check-box-icon {
background: url('https://img.ichunt.com/images/ichunt/202304/11/71a74e52e94bcf2e89f8df9817d494c6.png') no-repeat center;
background-size: contain;
}
}
.input-box { .input-box {
margin-bottom: 11rpx; margin-bottom: 11rpx;
flex: 0 0 50%; flex: 0 0 50%;
...@@ -102,6 +119,51 @@ ...@@ -102,6 +119,51 @@
} }
} }
} }
.fix-btn {
position: fixed;
bottom: 0;
width: 100%;
left: 0;
z-index: 999;
.btn1 {
width: 128rpx;
height: 75rpx;
background: #ffffff;
.check-box-icon {
width: 20rpx;
height: 20rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/11/0bf30da3e8ce6c476c210173b5f13d51.png') no-repeat center;
background-size: contain;
display: block;
&.curr {
background: url('https://img.ichunt.com/images/ichunt/202304/11/71a74e52e94bcf2e89f8df9817d494c6.png') no-repeat center;
background-size: contain;
}
}
.text {
margin-left: 10rpx;
font-size: 20rpx;
color: #484b59;
}
}
.btn2 {
width: calc(100% - 128rpx);
height: 75rpx;
background: #1969f9;
font-size: 23rpx;
color: #ffffff;
}
.btn3 {
width: 180rpx;
height: 75rpx;
background: #ffffff;
font-size: 23rpx;
color: #ff3700;
border-left: 1px solid #f0f0f2;
font-weight: bold;
}
}
} }
::v-deep .uni-drawer__content { ::v-deep .uni-drawer__content {
...@@ -127,6 +189,19 @@ ...@@ -127,6 +189,19 @@
font-weight: bold; font-weight: bold;
} }
} }
.p-text {
margin-top: 38rpx;
margin-bottom: 18rpx;
.tt {
font-size: 20rpx;
color: #484b59;
}
.ed {
font-weight: bold;
font-size: 20rpx;
color: #1969f9;
}
}
.field-item { .field-item {
flex-wrap: wrap; flex-wrap: wrap;
.item { .item {
...@@ -168,6 +243,9 @@ ...@@ -168,6 +243,9 @@
} }
.form-input { .form-input {
margin-bottom: 18rpx; margin-bottom: 18rpx;
.mb0 {
margin-bottom: 0 !important;
}
.input-title { .input-title {
margin-bottom: 10rpx; margin-bottom: 10rpx;
.input-title-t1 { .input-title-t1 {
...@@ -175,6 +253,11 @@ ...@@ -175,6 +253,11 @@
color: #484b59; color: #484b59;
font-weight: bold; font-weight: bold;
} }
.input-title-t2 {
font-size: 16rpx;
color: #484b59;
font-weight: bold;
}
} }
.input-box { .input-box {
.uni-input { .uni-input {
...@@ -185,6 +268,36 @@ ...@@ -185,6 +268,36 @@
text-indent: 15rpx; text-indent: 15rpx;
font-size: 16rpx; font-size: 16rpx;
} }
.uni-list-cell {
margin-right: 24rpx;
.text {
font-size: 16rpx;
color: #484b59;
}
}
}
}
.select-box {
height: 55rpx;
background: #ffffff;
border-radius: 10rpx;
border: 1px solid #1969f9;
margin-bottom: 18rpx;
.wrap {
padding-left: 15rpx;
padding-right: 25rpx;
height: 55rpx;
}
.uni-input {
font-size: 17rpx;
color: #484b59;
}
.uni-arrow {
width: 14rpx;
height: 9rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/10/e4c72319ad41ce1425f71cc6ec35f111.png') no-repeat center;
background-size: contain;
margin-left: 12rpx;
} }
} }
.item-tit { .item-tit {
...@@ -218,4 +331,41 @@ ...@@ -218,4 +331,41 @@
font-weight: bold; font-weight: bold;
} }
} }
.uni-table {
margin-top: 20rpx;
width: 100%;
height: 100%;
overflow-y: auto;
border-top: 1px solid #f0f0f2;
border-left: 1px solid #f0f0f2;
border-right: 1px solid #f0f0f2;
.uni-tr {
.uni-td {
width: 33.3%;
height: 50rpx;
font-size: 18rpx;
color: #292b33;
border-bottom: 1px solid #f0f0f2;
border-right: 1px solid #f0f0f2;
&:last-child {
border-right: none;
}
.sn {
margin-left: 6rpx;
height: 35rpx;
.uni-input {
font-size: 18rpx;
color: #292b33;
}
.uni-arrow {
width: 14rpx;
height: 9rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/10/e4c72319ad41ce1425f71cc6ec35f111.png') no-repeat center;
background-size: contain;
margin-left: 12rpx;
}
}
}
}
}
} }
...@@ -49,8 +49,7 @@ ...@@ -49,8 +49,7 @@
</view> </view>
<!-- 列表 --> <!-- 列表 -->
<view class="list row bothSide" v-if="list.length > 0"> <view class="list row bothSide" v-if="list.length > 0">
<view class="box" v-for="(item, index) in list" :key="index" :class="{ curr: filter_list[index] }"> <view class="box" v-for="(item, index) in list" :key="index">
<view class="check-box-icon" @click="filterChange(index)"></view>
<view class="text-item row verCenter"> <view class="text-item row verCenter">
<text class="label">任务ID:</text> <text class="label">任务ID:</text>
<text class="t1">{{ item.stocktake_items_id }}</text> <text class="t1">{{ item.stocktake_items_id }}</text>
...@@ -120,6 +119,7 @@ ...@@ -120,6 +119,7 @@
<text class="iconfont icon-a-juxing21"></text> <text class="iconfont icon-a-juxing21"></text>
<text class="text">查不到当前数据</text> <text class="text">查不到当前数据</text>
</view> </view>
<!--
<view class="fix-btn row verCenter"> <view class="fix-btn row verCenter">
<view class="btn1 row rowCenter verCenter" @click="allChnage()"> <view class="btn1 row rowCenter verCenter" @click="allChnage()">
<text class="check-box-icon" :class="{ curr: filter_list.length > 0 && filter_list.length == filter_id.length }"></text> <text class="check-box-icon" :class="{ curr: filter_list.length > 0 && filter_list.length == filter_id.length }"></text>
...@@ -127,6 +127,7 @@ ...@@ -127,6 +127,7 @@
</view> </view>
<view class="btn2 row rowCenter verCenter" @click="showDrawer('', 2)">补打入库标签</view> <view class="btn2 row rowCenter verCenter" @click="showDrawer('', 2)">补打入库标签</view>
</view> </view>
-->
<!-- 详情 --> <!-- 详情 -->
<uni-drawer ref="showRight" mode="right"> <uni-drawer ref="showRight" mode="right">
<view class="uni-drawer-detail" v-if="detail"> <view class="uni-drawer-detail" v-if="detail">
...@@ -398,7 +399,6 @@ export default { ...@@ -398,7 +399,6 @@ export default {
return false; return false;
} }
var filteredList = this.list.filter(item => this.filter_id.includes(item.stocktake_items_id)); var filteredList = this.list.filter(item => this.filter_id.includes(item.stocktake_items_id));
console.log(filteredList);
if (this.filter_id.length > 1) { if (this.filter_id.length > 1) {
//如果勾选的是多个,则显示两个单选项:按库存数量、按盘点数据 //如果勾选的是多个,则显示两个单选项:按库存数量、按盘点数据
this.formParams.label_num = this.filter_id.length; this.formParams.label_num = this.filter_id.length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment