diff --git a/pages/stock/mana.vue b/pages/stock/mana.vue
index ae25c86..f5bf629 100644
--- a/pages/stock/mana.vue
+++ b/pages/stock/mana.vue
@@ -10,6 +10,7 @@
}
}
&>.btns{
+ flex-shrink: 0;
margin:28rpx 30rpx 0;
display:flex;
border-radius: 30rpx;
@@ -28,83 +29,88 @@
}
}
}
- &>.item{
- &>.info{
- display:flex;
- align-items: center;
- margin-bottom:20rpx;
- text{
- &:first-child{
- color:#fff;
- background:#10C176;
- height:40rpx;
- width:80rpx;
- text-align: center;
- line-height: 40rpx;
- border-radius: 0 20rpx 0 20rpx;
- margin-right:10rpx;
- }
- &:nth-child(2){
- &:after{
- content:"("attr(data-unit)")";
- color:#999;
- font-size:20rpx;
+ scroll-view{
+ flex-grow: 1;
+ height:1rpx;
+ .item{
+ &>.info{
+ display:flex;
+ align-items: center;
+ margin-bottom:20rpx;
+ text{
+ &:first-child{
+ color:#fff;
+ background:#10C176;
+ height:40rpx;
+ min-width:80rpx;
+ text-align: center;
line-height: 40rpx;
- margin-left:6rpx;
+ border-radius: 0 20rpx 0 20rpx;
+ margin-right:10rpx;
+ padding:0 6rpx;
+ }
+ &:nth-child(2){
+ &:after{
+ content:"("attr(data-unit)")";
+ color:#999;
+ font-size:20rpx;
+ line-height: 40rpx;
+ margin-left:6rpx;
+ }
+ }
+ &:nth-child(3){
+ margin-left:auto;
+ color:#F34848;
+ font-size:24rpx;
}
}
- &:nth-child(3){
- margin-left:auto;
- color:#F34848;
- font-size:24rpx;
- }
- }
- }
- &>.company{
- font-size:24rpx;
- margin-bottom:14rpx;
- text{
- color:var(--c);
}
- }
- &>.num{
- display:flex;
- align-items: center;
- &>text{
+ &>.company{
font-size:24rpx;
- color:#999;
+ margin-bottom:14rpx;
+ text{
+ color:var(--c);
+ }
}
- &>.btns{
- margin-left:auto;
- button{
- padding:0;
- height:48rpx;
- width: 96rpx;
+ &>.num{
+ display:flex;
+ align-items: center;
+ &>text{
font-size:24rpx;
- &:first-child{
- color:#10C176;
- background:rgba(16, 193, 119, 0.1);
- }
- &:nth-child(2){
- margin-left:20rpx;
- color:#fff;
- background:#10C176;
+ color:#999;
+ }
+ &>.btns{
+ margin-left:auto;
+ button{
+ padding:0;
+ height:48rpx;
+ width: 96rpx;
+ font-size:24rpx;
+ &:first-child{
+ color:#10C176;
+ background:rgba(16, 193, 119, 0.1);
+ }
+ &:nth-child(2){
+ margin-left:20rpx;
+ color:#fff;
+ background:#10C176;
+ }
+ // background:transparent;
+ // border:2rpx solid transparent;
+ // color:var(--c);
+ // font-weight: bold;
+ // font-size:30rpx;
+ // height:50rpx;
+ // width:50rpx;
+ // &:first-child{
+ // border-radius: 30rpx 0 0 30rpx;
+ // border-color:var(--c);
+ // }
+ // &:nth-child(2){
+ // border-radius: 0 30rpx 30rpx 0;
+ // border-color:var(--c);
+ // }
}
- // background:transparent;
- // border:2rpx solid transparent;
- // color:var(--c);
- // font-weight: bold;
- // font-size:30rpx;
- // height:50rpx;
- // width:50rpx;
- // &:first-child{
- // border-radius: 30rpx 0 0 30rpx;
- // border-color:var(--c);
- // }
- // &:nth-child(2){
- // border-radius: 0 30rpx 30rpx 0;
- // border-color:var(--c);
- // }
}
}
}
@@ -112,7 +118,7 @@
}
-
+
@@ -120,35 +126,82 @@
-
+
-
-
+
+
-
-
- 化肥
- 中量元素水溶肥
- 补货量≥300kg
-
-
- 微量元素肥
- 云南云天化股份有限公司
-
-
- 库存量:200kg
-
-
-
+
+
+
+ {{v.agriculturalGoods}}
+ {{v.substanceName}}
+ 补货量≥{{v.replenishment||0}}kg
+
+
+ {{v.detailType}}
+ {{v.supplierName}}
+
+
+ 库存量:{{v.equivalentInventory||0}}kg
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/pages/warehouse/mana.vue b/pages/warehouse/mana.vue
index b9f2ab0..fbe6171 100644
--- a/pages/warehouse/mana.vue
+++ b/pages/warehouse/mana.vue
@@ -88,7 +88,7 @@
修改
删除
- 查看库存
+ 查看库存