53 lines
3.1 KiB
Plaintext
53 lines
3.1 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.batch_no}}" data-key="batch_no">
|
||
|
|
<view slot="content">
|
||
|
|
<search-input label="自定义批号" value="{{params.batch_custom_no}}" data-key="batch_custom_no"
|
||
|
|
bind:change="searchChange2" />
|
||
|
|
<!-- <option-cell-plugin title="订单阶段" value="{{params.order_step}}" bind:change="onOptionChange"
|
||
|
|
mode="checkbox" options="{{orderStep}}" data-key="order_step" /> -->
|
||
|
|
|
||
|
|
<select-plugin title="仓库" options="{{depots}}" value="{{params.depot_id}}"
|
||
|
|
bind:change="onOptionChange" data-key="depot_id" />
|
||
|
|
<select-plugin title="供应商" options="{{crms}}" value="{{params.supplier_id}}"
|
||
|
|
bind:change="onOptionChange" data-key="supplier_id" />
|
||
|
|
|
||
|
|
<date-picker-plugin title="保质期开始日期" value="{{params.expire_dateL}}" data-key="expire_dateL"
|
||
|
|
bind:confirm="datePickerConfirm" />
|
||
|
|
<date-picker-plugin title="保质期结束日期" value="{{params.expire_dateU}}" data-key="expire_dateU"
|
||
|
|
bind:confirm="datePickerConfirm" />
|
||
|
|
<date-picker-plugin title="创建开始日期" value="{{params.create_dateL}}" data-key="create_dateL"
|
||
|
|
bind:confirm="datePickerConfirm" />
|
||
|
|
<date-picker-plugin title="创建结束日期" value="{{params.create_dateU}}" data-key="create_dateU"
|
||
|
|
bind:confirm="datePickerConfirm" />
|
||
|
|
</view>
|
||
|
|
</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="batch_id">
|
||
|
|
<view slot="header">{{ item.batch_no }}</view>
|
||
|
|
<view slot="content">
|
||
|
|
<card-item-plugin label="自定义批号" value="{{item.batch_custom_no}}" />
|
||
|
|
<card-item-plugin label="保质期" value="{{item.expire_date}}" />
|
||
|
|
<card-item-plugin label="商品名称" value="{{item.goods_name}}" />
|
||
|
|
<card-item-plugin label="商品编码" value="{{item.goods_code}}" />
|
||
|
|
<card-item-plugin label="批次单位" value="{{item.unit_ch_name}}" />
|
||
|
|
<card-item-plugin label="批次单价" value="{{item.batch_price}}" />
|
||
|
|
<card-item-plugin label="库存" value="{{item.batch_nums}}" />
|
||
|
|
<card-item-plugin label="仓库" value="{{depotsObj[item.depot_id]}}" />
|
||
|
|
<card-item-plugin label="供应商" value="{{crmObj[item.supplier_id]}}" />
|
||
|
|
<card-item-plugin label="备注" value="{{item.comments}}" />
|
||
|
|
<card-item-plugin label="创建日期" value="{{item.create_date}}" />
|
||
|
|
</view>
|
||
|
|
<view slot="footer" class="card-plugin-footer">
|
||
|
|
<t-button size="small" theme="primary" bind:tap="onDetail" data-index="{{index}}">子商品
|
||
|
|
</t-button>
|
||
|
|
</view>
|
||
|
|
</card-plugin>
|
||
|
|
<pagination-plugin curr_page="{{params.curr_page}}" page_count="{{params.page_count}}"
|
||
|
|
total="{{count}}" bind:change="paginationChange" />
|
||
|
|
</page-plugin>
|