添加采购管理页面详情页, 权限修改
This commit is contained in:
37
miniprogram/pages/finance/incomeDetail/incomeDetail.wxml
Normal file
37
miniprogram/pages/finance/incomeDetail/incomeDetail.wxml
Normal file
@@ -0,0 +1,37 @@
|
||||
<page-plugin isAuth="{{authInfo['SF_FINANCE_INCOME_VIEW']}}" loading="{{loading}}"
|
||||
is-login="{{isLogin}}" bind:handleLogin="handleLogin">
|
||||
|
||||
<total-bar-plugin customStyle="flex-direction: column;">
|
||||
<card-item-plugin label="单据编号" value="{{info.bill_no}}" />
|
||||
<card-item-plugin label="单据日期" value="{{info.bill_date}}" />
|
||||
<card-item-plugin label="往来单位" value="{{info.crm_name}}" />
|
||||
<card-item-plugin label="收入账户" value="{{info.account_name}}" />
|
||||
<card-item-plugin label="收入金额" value="{{info.total_amount}}" />
|
||||
<card-item-plugin label="备注" value="{{info.comments}}" />
|
||||
</total-bar-plugin>
|
||||
|
||||
<!-- <t-cell title="Excel附件" left-icon="file-excel"
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;" arrow
|
||||
bind:tap="onPreview2" /> -->
|
||||
|
||||
<t-cell title="附件" left-icon="file"
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;z-index:1"
|
||||
bordered="{{false}}" />
|
||||
<view style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
||||
<block wx:for="{{files}}" wx:key="index">
|
||||
<t-cell title="{{item.file_name}}" hover="{{item._file_type != 'file'}}"
|
||||
arrow="{{item._file_type != 'file'}}" bind:tap="onPreview" data-index="{{index}}" />
|
||||
</block>
|
||||
</view>
|
||||
|
||||
<t-cell wx:if="{{ detail.length }}" title="收入项目明细" left-icon="article" note="{{detail.length}}条"
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;z-index:1"
|
||||
bordered="{{false}}" />
|
||||
<card-plugin wx:for="{{ detail }}" wx:key="detail_id" showAll="1">
|
||||
<view slot="header">{{ item.finance_item_name }}</view>
|
||||
<view slot="content">
|
||||
<card-item-plugin label="金额" value="{{item.item_amount}}" />
|
||||
<card-item-plugin label="备注" value="{{item.comments}}" />
|
||||
</view>
|
||||
</card-plugin>
|
||||
</page-plugin>
|
||||
Reference in New Issue
Block a user