diff --git a/pages/stock/list.vue b/pages/stock/list.vue index 03cd2d3..ea6e4d8 100644 --- a/pages/stock/list.vue +++ b/pages/stock/list.vue @@ -16,12 +16,14 @@ font-size:20rpx; color:#fff; background:#10C176; - border-radius: 4rpx; - width:80rpx; + border-radius: 7rpx; + min-width:80rpx; + padding:0 6rpx; text-align: center; height:40rpx; line-height: 40rpx; margin-right:16rpx; + box-sizing: border-box; } &:nth-child(3){ border-radius: 50%; @@ -123,10 +125,10 @@ 规格 - + 请添加规格 @@ -138,9 +140,9 @@ - 采购数量 + {{({out:"出",in:"入"})[mode]}}库数量 - + kg @@ -150,6 +152,16 @@ \ No newline at end of file diff --git a/pages/stock/mana.vue b/pages/stock/mana.vue index f5bf629..da37aa1 100644 --- a/pages/stock/mana.vue +++ b/pages/stock/mana.vue @@ -11,7 +11,7 @@ } &>.btns{ flex-shrink: 0; - margin:28rpx 30rpx 0; + margin:0 30rpx; display:flex; border-radius: 30rpx; button{ @@ -147,8 +147,8 @@ 库存量:{{v.equivalentInventory||0}}kg - - + + @@ -202,6 +202,11 @@ export default { } } }, + toList(mode){ + uni.navigateTo({ + url:`/pages/stock/list?mode=${mode}` + }) + }, } } \ No newline at end of file