修改商品搜索及完善批次页面
This commit is contained in:
@@ -112,9 +112,9 @@ Page({
|
||||
const index = data.index;
|
||||
const item = this.data.list[index];
|
||||
wx.navigateTo({
|
||||
url: `/pages/other/goodsDetail/goodsDetail?goods_id=${
|
||||
item.goods_id
|
||||
}&title=${encodeURIComponent(item.goods_name)}`,
|
||||
url: `/pages/other/batchDetail/batchDetail?batch_id=${
|
||||
item.batch_id
|
||||
}&title=${encodeURIComponent(item.batch_no)}`,
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<card-item-plugin label="创建日期" value="{{item.create_date}}" />
|
||||
</view>
|
||||
<view slot="footer" class="card-plugin-footer">
|
||||
<t-button size="small" theme="primary" bind:tap="onDetail" data-index="{{index}}">子商品
|
||||
<t-button size="small" theme="primary" bind:tap="onDetail" data-index="{{index}}">查看
|
||||
</t-button>
|
||||
</view>
|
||||
</card-plugin>
|
||||
|
||||
Reference in New Issue
Block a user