添加采购和仓库订单详情页面

This commit is contained in:
zhengw
2026-02-10 10:47:00 +08:00
parent 81acde261f
commit 62b5fceac5
30 changed files with 787 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
<page-plugin isAuth="{{authInfo['SF_ERP_SALE_ORDERS_VIEW']}}" loading="{{loading}}"
<page-plugin isAuth="{{authInfo['SF_ERP_PURCHASE_REQUEST_VIEW']}}" loading="{{loading}}"
is-login="{{isLogin}}" bind:handleLogin="handleLogin">
<total-bar-plugin customStyle="flex-direction: column;">
@@ -12,7 +12,8 @@
bind:tap="onPreview2" /> -->
<t-cell title="附件" left-icon="file"
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;z-index:1" />
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'}}"
@@ -25,15 +26,16 @@
</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" />
<card-plugin wx:for="{{ detail }}" wx:key="detail_id">
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" showAll="1">
<view slot="header">{{ item.goods_name }}</view>
<view slot="content">
<card-item-plugin label="编码" value="{{item.goods_code}}" />
<card-item-plugin label="属性" value="{{item.attr_name}}" />
<card-item-plugin label="数量" value="{{item.item_quantity}}" />
<card-item-plugin label="单位" value="{{item.goods_unit}}" />
<card-item-plugin label="备注" value="{{item.comments}}" />
<card-item-plugin label="属性" value="{{item.attr_name}}" />
<card-item-plugin label="数量" value="{{item.item_quantity}}{{item.goods_unit}}" />
<!-- <card-item-plugin label="单位" value="{{item.goods_unit}}" /> -->
<card-item-plugin wx:if="{{item.comments}}" label="备注" value="{{item.comments}}" />
</view>
</card-plugin>
</page-plugin>