修改商品搜索及完善批次页面

This commit is contained in:
zhengw
2026-02-05 11:28:26 +08:00
parent 62039e3684
commit 4b8842d676
14 changed files with 256 additions and 13 deletions

View File

@@ -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)}`,
});
},

View File

@@ -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>