2026-02-10 10:47:00 +08:00
|
|
|
<page-plugin isAuth="{{authInfo['SF_ERP_PURCHASE_STORE_VIEW']}}" loading="{{loading}}"
|
|
|
|
|
is-login="{{isLogin}}" bind:handleLogin="handleLogin">
|
|
|
|
|
|
|
|
|
|
<total-bar-plugin customStyle="flex-direction: column;">
|
|
|
|
|
<card-item-plugin label="供应商" value="{{info.crm_name}}" />
|
|
|
|
|
<card-item-plugin label="单据编号" value="{{info.bill_no}}" />
|
|
|
|
|
<card-item-plugin label="单据日期" value="{{info.bill_date}}" />
|
|
|
|
|
<card-item-plugin label="关联单据" value="{{info.rel_bill_no}}" />
|
|
|
|
|
<card-item-plugin label="单据金额" value="{{info.total_amount}}" />
|
|
|
|
|
<card-item-plugin label="优惠金额" value="{{info.discount_amount}}" />
|
|
|
|
|
<card-item-plugin label="结算金额" value="{{info.total_real_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" />
|
|
|
|
|
|
2026-02-10 17:13:24 +08:00
|
|
|
<t-cell wx:if="{{files.length}}" title="附件" left-icon="file"
|
2026-02-10 10:47:00 +08:00
|
|
|
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;z-index:1"
|
|
|
|
|
bordered="{{false}}" />
|
2026-02-10 17:13:24 +08:00
|
|
|
<view wx:if="{{files.length}}" style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
2026-02-10 10:47:00 +08:00
|
|
|
<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="item_id">
|
|
|
|
|
<view slot="header">{{ item.goods_name }}</view>
|
|
|
|
|
<view slot="content">
|
|
|
|
|
<card-item-plugin label="仓库" value="{{item.depot_name}}" />
|
|
|
|
|
<card-item-plugin label="编码" value="{{item.goods_code}}" />
|
|
|
|
|
<card-item-plugin label="属性" value="{{item.attr_name}}" />
|
|
|
|
|
<card-item-plugin label="批号" value="{{item.batch_no}}" />
|
|
|
|
|
<card-item-plugin label="数量" value="{{item.item_quantity}}{{item.goods_unit}}" />
|
|
|
|
|
<!-- <card-item-plugin label="单位" value="{{item.goods_unit}}" /> -->
|
|
|
|
|
<card-item-plugin label="单价" value="{{item.item_price}}" />
|
|
|
|
|
<card-item-plugin label="金额" value="{{item.all_price}}" />
|
|
|
|
|
<card-item-plugin label="税率" value="{{item.tax_rate}}%" />
|
|
|
|
|
<card-item-plugin label="税额" value="{{item.tax_money}}" />
|
|
|
|
|
<card-item-plugin label="价税合计" value="{{item.tax_last_money}}" />
|
|
|
|
|
<card-item-plugin label="备注" value="{{item.comments}}" />
|
|
|
|
|
</view>
|
|
|
|
|
</card-plugin>
|
|
|
|
|
</page-plugin>
|