Commit 5807a98f by liangjianmin

feat(picking): 新增自营资料修改功能及相关样式优化

- 添加“修改自营资料”按钮,支持打开编辑弹窗
- 新增编辑弹窗组件,实现包装方式、包装量、拣货方式等字段编辑
- 实现自营资料数据的获取和保存接口调用
- 增加多个字段和选项的表单绑定及数据双向更新
- 新增尺码输入样式及按钮组样式,提升用户交互体验
- 优化line-clamp属性兼容性,提升样式一致性
parent fbda17b4
......@@ -176,6 +176,7 @@
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
}
......@@ -187,6 +188,16 @@
font-size: 15rpx;
color: #ffffff;
}
.btn-border {
width: 140rpx;
height: 30rpx;
background: #ffffff;
border: 1px solid #1969f9;
border-radius: 8rpx;
font-size: 15rpx;
color: #1969f9;
}
}
}
......@@ -379,6 +390,7 @@
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
}
}
......@@ -493,6 +505,7 @@
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
}
}
......@@ -730,3 +743,96 @@
}
}
}
.edit-form-row {
margin-bottom: 20rpx;
padding: 0 20rpx;
}
.edit-form-item {
width: 100%;
}
.edit-label {
font-size: 18rpx;
color: #484b59;
font-weight: bold;
margin-bottom: 12rpx;
}
.edit-input-box {
width: 100%;
height: 60rpx;
background: #ffffff;
border-radius: 10rpx;
border: 1px solid #1969f9;
display: flex;
align-items: center;
padding: 0 20rpx;
picker {
width: 100%;
height: 100%;
display: flex;
align-items: center;
view {
width: 100%;
}
}
.edit-picker-value {
font-size: 18rpx;
color: #484b59;
width: 525rpx;
display: flex;
.iconfont {
font-size: 24rpx;
color: #999;
margin-left: 10rpx;
}
}
.edit-input {
width: 100%;
height: 100%;
font-size: 18rpx;
color: #484b59;
}
}
.edit-btn-group {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 75rpx;
display: flex;
background: #ffffff;
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
.edit-btn-cancel {
width: 30%;
height: 100%;
background: #ffe0d7;
font-size: 23rpx;
color: #ff3700;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
}
.edit-btn-confirm {
width: 70%;
height: 100%;
background: #1969f9;
font-size: 23rpx;
color: #ffffff;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
}
}
\ No newline at end of file
......@@ -453,7 +453,16 @@ const API = {
/**
* 三方质检-检后收货
* */
receiveAfterInspection: API_BASE + '/api/inspectionOrder/receiveAfterInspection'
receiveAfterInspection: API_BASE + '/api/inspectionOrder/receiveAfterInspection',
/**
* 保存自营货品信息
* */
updateZyGoods: API_BASE + '/api/zyGoods/updateZyGoods',
/**
* 获取自营货品信息
* */
getZyGoodsInfo: API_BASE + '/api/zyGoods/getZyGoodsInfo'
}
......
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