From 44b03453df5554980f600b8a84af4b5bdf90a87e Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Fri, 17 Feb 2023 11:32:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E8=B0=83=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/add_transaction.vue | 117 +++++++++++++++++++++++++------ pages/massif/mana/recovery.vue | 10 ++- 2 files changed, 106 insertions(+), 21 deletions(-) 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