feat: 重构扫码与巡检模块,优化页面路由
1. 新增钢卷详情、扫码页面与设备巡检组件 2. 调整首页跳转逻辑至扫码页面,更新tabBar配置 3. 隐藏旧的分条、其他操作模块,替换钢卷详情弹窗为页面跳转 4. 复用巡检组件到扫码页面与设备巡检页
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<!-- 分条操作区 -->
|
||||
<view class="section-card split-section">
|
||||
<!-- <view class="section-card split-section">
|
||||
<view class="section-title">
|
||||
<text class="title-icon">✂️</text>
|
||||
<text class="title-text">分条操作</text>
|
||||
@@ -12,10 +12,10 @@
|
||||
{{ item.dictLabel }}
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<!-- 其他操作区 -->
|
||||
<view class="section-card other-section">
|
||||
<!-- <view class="section-card other-section">
|
||||
<view class="section-title">
|
||||
<text class="title-icon">🔧</text>
|
||||
<text class="title-text">其他操作</text>
|
||||
@@ -26,7 +26,7 @@
|
||||
{{ item.dictLabel }}
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<!-- 快捷操作区 -->
|
||||
<view class="section-card quick-section">
|
||||
@@ -39,7 +39,7 @@
|
||||
<button class="type-btn cancelship-btn" @click="handleCancelShip">撤回发货</button>
|
||||
<button class="type-btn move-btn" @click="handleTranfer">移库</button>
|
||||
<button class="type-btn see-btn" @click="handleSee">查看存储钢卷</button>
|
||||
<button class="type-btn packing-btn" @click="handlePack">打包</button>
|
||||
<!-- <button class="type-btn packing-btn" @click="handlePack">打包</button> -->
|
||||
<button class="type-btn release-btn" @click="handleRelease">释放库位</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -346,7 +346,7 @@
|
||||
if (res.rows.length == 1) {
|
||||
const coilId = res.rows[0].coilId;
|
||||
uni.navigateTo({
|
||||
url: '/pages/easycode/editby?coilId=' + coilId
|
||||
url: '/pages/coil-detail/index?coilId=' + coilId
|
||||
})
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user