添加页面, 组件, 图标
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<page-plugin isAuth="{{authInfo['SF_ERP_PURCHASE_ORDER_VIEW']}}" loading="{{loading}}"
|
||||
is-login="{{isLogin}}" bind:handleLogin="handleLogin">
|
||||
<search-popup placeholder="输入单据编码" bind:change="searchChange" bind:ok="searchOk"
|
||||
<search-popup placeholder="输入单据编号" bind:change="searchChange" bind:ok="searchOk"
|
||||
bind:reset="searchReset" value="{{params.bill_no}}" data-key="bill_no">
|
||||
<view slot="content">
|
||||
|
||||
@@ -29,32 +29,29 @@
|
||||
<!-- <sort-plugin options="{{sort}}" bind:ok="onSort" value="{{params.order}}" slot="right" /> -->
|
||||
</count-plugin>
|
||||
|
||||
<t-empty wx:if="{{list.length == 0}}" icon="info-circle-filled" description="暂无数据"
|
||||
style="margin-bottom: 24rpx;" />
|
||||
<block wx:for="{{ list }}" wx:key="info_process_id">
|
||||
<card-plugin>
|
||||
<view slot="header">{{ item.bill_no }}</view>
|
||||
<view slot="content">
|
||||
<card-item-plugin label="供应商名称" value="{{item.crm_name}}" />
|
||||
<card-item-plugin label="单据日期" value="{{item.bill_date}}" />
|
||||
<card-item-plugin label="操作员">
|
||||
<view slot="value">
|
||||
{{item.creator_name}}
|
||||
<text wx:if="{{item.creator_nick_name}}">({{item.creator_nick_name}})</text>
|
||||
</view>
|
||||
</card-item-plugin>
|
||||
<card-item-plugin label="数量" value="{{item.total_quantity}}" />
|
||||
<card-item-plugin label="金额" value="{{item.total_amount}}" />
|
||||
<card-item-plugin label="状态" value="{{item.state_name}}" />
|
||||
<card-item-plugin label="备注" value="{{item.comments}}" />
|
||||
<card-item-plugin label="创建日期" value="{{item.create_date}}" />
|
||||
</view>
|
||||
<view slot="footer" style="padding-bottom: 16rpx;">
|
||||
<t-button wx:if="{{authInfo['SF_ERP_PURCHASE_ORDER_DEL']}}" size="small" theme="danger"
|
||||
bind:tap="onOrderDel" data-index="{{index}}">删除</t-button>
|
||||
</view>
|
||||
</card-plugin>
|
||||
</block>
|
||||
<empty-plugin wx:if="{{list.length == 0}}" />
|
||||
<card-plugin wx:for="{{ list }}" wx:key="bill_no">
|
||||
<view slot="header">{{ item.bill_no }}</view>
|
||||
<view slot="content">
|
||||
<card-item-plugin label="供应商名称" value="{{item.crm_name}}" />
|
||||
<card-item-plugin label="单据日期" value="{{item.bill_date}}" />
|
||||
<card-item-plugin label="操作员">
|
||||
<view slot="value">
|
||||
{{item.creator_name}}
|
||||
<text wx:if="{{item.creator_nick_name}}">({{item.creator_nick_name}})</text>
|
||||
</view>
|
||||
</card-item-plugin>
|
||||
<card-item-plugin label="数量" value="{{item.total_quantity}}" />
|
||||
<card-item-plugin label="金额" value="{{item.total_amount}}" />
|
||||
<card-item-plugin label="状态" value="{{item.state_name}}" />
|
||||
<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 wx:if="{{authInfo['SF_ERP_PURCHASE_ORDER_DEL']}}" size="small" theme="danger"
|
||||
bind:tap="onOrderDel" 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>
|
||||
Reference in New Issue
Block a user