| | |
| | | <view class="item-footer"> |
| | | <view class="action-btns"> |
| | | <up-button type="info" |
| | | size="mini" |
| | | size="small" |
| | | plain |
| | | text="生产追溯" |
| | | @click="goTraceability(item)"></up-button> |
| | | <up-button type="info" |
| | | size="small" |
| | | plain |
| | | text="工艺路线" |
| | | @click="goProcessRoute(item)"></up-button> |
| | | <up-button type="primary" |
| | | size="mini" |
| | | size="small" |
| | | plain |
| | | text="来源" |
| | | @click="goSource(item)"></up-button> |
| | | <up-button type="success" |
| | | size="mini" |
| | | size="small" |
| | | plain |
| | | text="领料详情" |
| | | @click="goPickingDetail(item)"></up-button> |
| | |
| | | }); |
| | | }; |
| | | |
| | | // 跳转生产追溯 |
| | | const goTraceability = item => { |
| | | uni.navigateTo({ |
| | | url: `/pages/productionManagement/productionTraceability/index?npsNo=${item.npsNo}`, |
| | | }); |
| | | }; |
| | | |
| | | // 页面显示时加载数据 |
| | | onShow(() => { |
| | | handleQuery(); |