You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
709 B
23 lines
709 B
<view> |
|
<image src="{{my_asset['product-icon']}}"></image> |
|
<text>{{my_asset.product.name}}</text> |
|
<text>资产编号{{my_asset.no}}</text> |
|
<text>{{my_asset.product.unit}}</text> |
|
|
|
<block wx:for="{{my_asset['sub-products']}}" wx:for-item="sub_product"> |
|
<view class="item"> |
|
<text>{{sub_product.name}} {{sub_product.stock}}</text> |
|
</view> |
|
</block> |
|
|
|
<block wx:for="{{years}}" wx:for-item="year"> |
|
<text>{{year}}</text> |
|
<block wx:for="{{my_asset['inventory-changes'][year]}}" wx:for-item="inventory_change"> |
|
<view class="item"> |
|
<text>原因{{inventory_change.reason}}</text> |
|
<text>数量{{(inventory_change.quantity)/1000}}克</text> |
|
</view> |
|
</block> |
|
</block> |
|
|
|
</view>
|
|
|