Commit 4d46eba5 by liangjianmin

feat(warehouseQc): 添加库内质检页面及相关功能和样式

- 新增搜索框和状态筛选功能
- 完善质检列表展示,包含详细信息
- 添加一键回库和推送质检功能
- 更新 API 接口以支持新功能
parent 5d10a8c1
.warehouseQc {
padding: 22rpx;
padding: 15rpx 22rpx;
.empty {
width: 100%;
height: 100vh;
.search-box {
height: 60rpx;
background: #ffffff;
border-radius: 10rpx;
padding: 0 18rpx 0 0;
.sn {
width: 164rpx;
height: 35rpx;
border-right: 1px solid #f0f0f2;
.uni-input {
font-size: 18rpx;
color: #292b33;
font-weight: bold;
}
.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;
}
}
.search-bar {
width: calc(100% - 164rpx);
.icon-juxing1 {
font-size: 30rpx;
color: #919399;
margin-left: 17rpx;
margin-right: 13rpx;
}
.uni-input {
font-size: 18rpx;
color: #484b59;
}
.icon-a-juxing11 {
font-size: 30rpx;
color: #c6c7cc;
}
}
}
.status-filter {
margin-top: 15rpx;
padding: 12rpx 18rpx;
background: #ffffff;
border-radius: 10rpx;
flex-wrap: wrap;
.status-item {
margin-right: 30rpx;
.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;
}
}
.status-text {
font-size: 18rpx;
color: #484b59;
margin-left: 8rpx;
}
}
}
.list {
margin-top: 15rpx;
padding-bottom: 100rpx;
.box {
position: relative;
padding: 15rpx 17rpx 50rpx 17rpx;
background: #ffffff;
box-shadow: 0px 3rpx 3rpx 0px rgba(198, 199, 204, 0.3);
border-radius: 10rpx;
margin-bottom: 15rpx;
flex-wrap: wrap;
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;
}
}
.status-tag {
position: absolute;
right: 50rpx;
top: 13rpx;
.status-tag-text {
display: inline-block;
padding: 5rpx 18rpx;
border-radius: 30rpx;
font-size: 18rpx;
font-weight: 500;
&.status-1 {
background: rgba(72, 75, 89, 0.08);
color: #484b59;
}
.tips {
font-size: 28rpx;
&.status-2 {
background: rgba(25, 105, 249, 0.1);
color: #1969f9;
}
&.status-3 {
background: rgba(249, 129, 25, 0.1);
color: #f98119;
}
&.status-4 {
background: rgba(0, 181, 120, 0.1);
color: #00b578;
}
}
}
.input-box {
margin-bottom: 8rpx;
flex: 0 0 50%;
.label {
font-size: 17rpx;
color: #919399;
white-space: nowrap;
}
.text {
font-size: 17rpx;
color: #484b59;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.tt {
font-size: 17rpx;
color: #1969f9;
}
}
.btn-box {
position: absolute;
right: 17rpx;
bottom: 13rpx;
.btn-primary {
padding: 0 16rpx;
height: 36rpx;
background: #1969f9;
border-radius: 8rpx;
font-size: 16rpx;
color: #ffffff;
margin-left: 10rpx;
}
.btn-danger {
padding: 0 16rpx;
height: 36rpx;
background: #fff;
border-radius: 8rpx;
font-size: 16rpx;
color: #f00;
border: 1px solid #f00;
margin-left: 10rpx;
}
}
}
}
.no-date {
margin-top: 200rpx;
.iconfont {
font-size: 120rpx;
color: #c6c7cc;
}
.text {
font-size: 22rpx;
color: #919399;
margin-top: 20rpx;
}
}
.fix-btn {
position: fixed;
bottom: 0;
width: 100%;
left: 0;
z-index: 999;
.btn1 {
width: 128rpx;
height: 75rpx;
background: #ffffff;
border-right: 1px solid #f0f0f2;
.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;
}
}
.btn3 {
width: calc(100% - 128rpx);
height: 75rpx;
background: #1969f9;
font-size: 23rpx;
color: #ffffff;
}
}
}
......@@ -470,7 +470,30 @@ const API = {
* 扫码解析二维码
* */
scanQrCode: API_BASE_ICHUNT + '/supplywechatwms/scanQrCode',
stockInTaskNum: API_BASE + '/api/stockIn/stockIn/stockInTaskNum'
/**
* 获取入仓号的任务统计(总任务数 + 待理货数)
*/
stockInTaskNum: API_BASE + '/api/stockIn/stockIn/stockInTaskNum',
/**
* 库内质检-列表
*/
stockQualityControlList: API_BASE + '/api/stockQualityControl/list',
/**
* 库内质检-推送质检
*/
stockQualityControlPushQc: API_BASE + '/api/stockQualityControl/pushQc',
/**
* 库内质检-取消质检
*/
stockQualityControlCancel: API_BASE + '/api/stockQualityControl/cancel',
/**
* 库内质检-一键回库
*/
stockQualityControlRebackToStock: API_BASE + '/api/stockQualityControl/rebackToStock',
/**
* 库内质检-质检系统数据(图片/附件/结果)
*/
stockQualityControlQcSystemData: API_BASE + '/api/stockQualityControl/qcSystemData'
}
......
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