From 6c665f104a9a16a809456bdc00d5841280c1c948 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Mon, 17 May 2021 11:34:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=8D=96=E8=AF=A6=E6=83=85=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order-detail/item-money-info/index.wxml | 13 +++++-- pages/agent/order-detail/pound-info/index.js | 6 ++-- .../agent/order-detail/pound-info/index.json | 2 ++ .../agent/order-detail/pound-info/index.wxml | 34 ++++++++++++++++--- 4 files changed, 47 insertions(+), 8 deletions(-) diff --git a/pages/agent/order-detail/item-money-info/index.wxml b/pages/agent/order-detail/item-money-info/index.wxml index 9107c9d..88cf7fc 100644 --- a/pages/agent/order-detail/item-money-info/index.wxml +++ b/pages/agent/order-detail/item-money-info/index.wxml @@ -56,10 +56,14 @@ {{formate.formateWeight(item.weightnoteInfo.netWeight)}}吨 - {{formate.formateAmount(item.prepayMoney)}}元 - 调节费 -{{formate.formateAmount(item.adjustMoney)}}元 + --> + + 补贴与扣款 + {{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元 尾款实收金额: @@ -97,10 +101,15 @@ {{formate.formatePrice(item.unitSurcharge)}}元/吨 x {{formate.formateWeight(item.weightnoteInfo.netWeight)}}吨 - 调节费 {{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元 + --> + + 补贴与扣款 + {{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元 总收款金额: diff --git a/pages/agent/order-detail/pound-info/index.js b/pages/agent/order-detail/pound-info/index.js index 9653dc5..eb48e1a 100644 --- a/pages/agent/order-detail/pound-info/index.js +++ b/pages/agent/order-detail/pound-info/index.js @@ -16,13 +16,15 @@ Component({ * 组件的初始数据 */ data: { - + activeNames: [] }, /** * 组件的方法列表 */ methods: { - + onChange: function({detail}) { + this.setData({ activeNames: detail }) + } } }) diff --git a/pages/agent/order-detail/pound-info/index.json b/pages/agent/order-detail/pound-info/index.json index 4bdaa9d..430facf 100644 --- a/pages/agent/order-detail/pound-info/index.json +++ b/pages/agent/order-detail/pound-info/index.json @@ -1,6 +1,8 @@ { "component": true, "usingComponents": { + "van-collapse": "/components/collapse/index", + "van-collapse-item": "/components/collapse-item/index", "sudoku-image": "/components/sudoku-image/index" } } \ No newline at end of file diff --git a/pages/agent/order-detail/pound-info/index.wxml b/pages/agent/order-detail/pound-info/index.wxml index b84fcbc..207c53d 100644 --- a/pages/agent/order-detail/pound-info/index.wxml +++ b/pages/agent/order-detail/pound-info/index.wxml @@ -24,14 +24,40 @@ 代卖费 {{formate.formatePrice(item.unitSurcharge==null?0:item.unitSurcharge)}}元/吨 - + + + + + + + + 补贴与扣款 + {{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元 + + + + {{cell.title}} + {{formate.formateAmount(cell.amount==null?0:cell.amount)}}元 + + + + 总计 + {{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元 + + + 备注 + {{item.deductionNotes==null? '':item.deductionNotes}} + + + + + 磅单图片 - + \ No newline at end of file