diff --git a/pages/massif/add_transaction.vue b/pages/massif/add_transaction.vue index ee2eeb1..66f5a05 100644 --- a/pages/massif/add_transaction.vue +++ b/pages/massif/add_transaction.vue @@ -2,8 +2,10 @@ .container{ min-height:100%; background:#f6f6f6; + padding:30rpx 0; .info{ + margin-top:0; .name{ display:flex; align-items: center; @@ -43,47 +45,122 @@ - 蔬菜 精品小黄瓜 + {{detail.plantTypeName}} {{detail.plantName}} - 提示:当前可交易数量150kg 采收日期:2022-12-26 + 提示:当前可交易重量{{detail.harvestNum||0}}kg 采收日期:{{detail.harvestTime}} - - + - + / - + - - - + + + + + + \ No newline at end of file diff --git a/pages/massif/mana/recovery.vue b/pages/massif/mana/recovery.vue index cf900f3..b75b42e 100644 --- a/pages/massif/mana/recovery.vue +++ b/pages/massif/mana/recovery.vue @@ -118,7 +118,7 @@ 负责人:{{v.principal}} 采收日期:{{v.harvestTime}} - 交易 + 交易 @@ -202,6 +202,14 @@ export default { } } }, + toAddTransaction(e){ + uni.navigateTo({ + url:"/pages/massif/add_transaction", + success(res){ + res.eventChannel.emit('detail',e) + } + }) + }, } } \ No newline at end of file