Files
FreeERP.Applet/miniprogram/pages/other/batchDetail/batchDetail.wxml
2026-02-05 11:28:26 +08:00

30 lines
1.6 KiB
Plaintext

<page-plugin isAuth="{{authInfo['SF_ERP_GOODS_BATCH_VIEW']}}" loading="{{loading}}"
is-login="{{isLogin}}" bind:handleLogin="handleLogin">
<search-popup placeholder="输入单据编号" bind:change="searchChange" bind:ok="searchOk"
bind:reset="searchReset" value="{{params.rel_bill_no}}" data-key="rel_bill_no">
</search-popup>
<count-plugin count="{{count}}">
<!-- <sort-plugin options="{{sort}}" bind:ok="onSort" value="{{params.order}}" slot="right" /> -->
</count-plugin>
<empty-plugin wx:if="{{list.length == 0}}" />
<card-plugin wx:for="{{ list }}" wx:key="stock_log_id">
<view slot="header" style="width: 100%;display: flex;justify-content: space-between;">
<view>{{ item.rel_bill_no }}</view>
<view style="font-weight: normal;">{{item.type}}</view>
</view>
<view slot="content">
<!-- <card-item-plugin label="业务类型" value="{{item.type}}" /> -->
<card-item-plugin label="商品名称" value="{{item.goods_name}}" />
<card-item-plugin label="数量" value="{{item.stock}}" />
<card-item-plugin label="商品编码" value="{{item.goods_code}}" />
<card-item-plugin label="商品属性" value="{{item.attr_name}}" />
<card-item-plugin label="仓库" value="{{depotsObj[item.depot_id]}}" />
<!-- <card-item-plugin label="备注" value="{{item.comments}}" /> -->
<card-item-plugin label="创建日期" value="{{item.create_date}}" />
</view>
</card-plugin>
<pagination-plugin curr_page="{{params.curr_page}}" page_count="{{params.page_count}}"
total="{{count}}" bind:change="paginationChange" />
</page-plugin>