添加采购和仓库订单详情页面
This commit is contained in:
@@ -95,6 +95,14 @@ Page({
|
||||
});
|
||||
});
|
||||
},
|
||||
onOrderDetail(e: any) {
|
||||
const data = getDataSet(e);
|
||||
const index = data.index;
|
||||
const item = this.data.list[index];
|
||||
wx.navigateTo({
|
||||
url: `/pages/purchase/buyInOrderDetail/buyInOrderDetail?head_id=${item.head_id}`,
|
||||
});
|
||||
},
|
||||
onViewAttachment(e: any) {
|
||||
const data = getDataSet(e);
|
||||
const index = data.index;
|
||||
|
||||
@@ -48,6 +48,8 @@
|
||||
<card-item-plugin label="创建日期" value="{{item.create_date}}" />
|
||||
</view>
|
||||
<view slot="footer" class="card-plugin-footer">
|
||||
<t-button size="small" theme="primary" bind:tap="onOrderDetail" data-index="{{index}}">查看
|
||||
</t-button>
|
||||
<t-button wx:if="{{authInfo['SF_ERP_PURCHASE_STORE_DEL']}}" size="small" theme="danger"
|
||||
bind:tap="onOrderDel" data-index="{{index}}">删除</t-button>
|
||||
<t-button wx:if="{{item.total_att}}" size="small" bind:tap="onViewAttachment"
|
||||
|
||||
Reference in New Issue
Block a user