This commit is contained in:
2025-04-29 13:26:19 +08:00
parent 6e1ae24845
commit bf88fcb395
73 changed files with 12939 additions and 4637 deletions

View File

@@ -9,39 +9,39 @@
<view class="type-item-text">采购收料</view>
</view> -->
<view class="type-item type-item-hy" @tap="toPages('/pages/verify/index')">
<view class="type-item-text">来料验证</view>
<view class="type-item-text">{{ t('home.llyz') }}</view>
</view>
<view class="type-item type-item-jz" @tap="toPages('/pages/purchase/index')">
<view class="type-item-text">采购入库</view>
<view class="type-item-text">{{ t('home.cgrk') }}</view>
</view>
<view class="type-item type-item-hl" @tap="toPages('/pages/material/index')">
<view class="type-item-text">生产发料</view>
<view class="type-item-text">{{ t('home.scfl') }}</view>
</view>
<view class="type-item type-item-hl" @tap="toPages('/pages/supplement/index')">
<view class="type-item-text">生产补料</view>
<view class="type-item-text">{{ t('home.scbl') }}</view>
</view>
<view class="type-item type-item-hl" @tap="putInProdClisk()">
<view class="type-item-text">生产投产</view>
<view class="type-item-text">{{ t('home.sctc') }}</view>
</view>
<view class="type-item type-item-hl" @tap="toPages('/pages/encasement/index')">
<view class="type-item-text">生产装箱</view>
<view class="type-item type-item-hl" @tap="toPages('/pages/encasement/material')">
<view class="type-item-text">{{ t('home.sczx') }}</view>
</view>
<!-- <view class="type-item type-item-hl" @tap="toPages('/pages/inLove/loveList')">
<view class="type-item-text">生产汇报</view>
</view> -->
<view class="type-item type-item-hl" @tap="toPages('/pages/productionStorage/index')">
<view class="type-item-text">生产入库</view>
<view class="type-item-text">{{ t('home.scrk') }}</view>
</view>
<view class="type-item type-item-hl" @tap="toPages('/pages/outOftock/index')">
<view class="type-item-text">销售出库</view>
<view class="type-item-text">{{ t('home.xxck') }}</view>
</view>
</view>
</view>
<u-overlay :show="state.typeBoxShow" @click="state.typeBoxShow = false">
<view class="typeBox">
<view class="btn-item" @click="toPages('/pages/putInProd/index',{type:'1'})">开始生产</view>
<view class="btn-item" @click="toPages('/pages/putInProd/index',{type:'2'})">开始汇报</view>
<view class="btn-item" @click="toPages('/pages/putInProd/index',{type:'3'})">开始测试</view>
<view class="btn-item" @click="toPages('/pages/putInProd/index',{type:'1'})">{{ t('home.kssc') }}</view>
<view class="btn-item" @click="toPages('/pages/putInProd/index',{type:'3'})">{{ t('home.kscs') }}</view>
<view class="btn-item" @click="toPages('/pages/putInProd/index',{type:'2'})">{{ t('home.kshb') }}</view>
</view>
</u-overlay>
</view>
@@ -58,14 +58,7 @@
typeBoxShow:false
})
onShow(() => {
if (!uni.getStorageSync('TOKEN')) {
uni.clearStorageSync();
uni.reLaunch({
url: '/pages/client/account/login'
});
}
})
onShow(() => {})
const putInProdClisk = () => {
state.typeBoxShow = true
}
@@ -81,10 +74,7 @@
.typeBox {
position: absolute;
bottom: 120rpx;
//display: flex;
width: 100vw;
.btn-item {
width: 80vw;
margin: 32rpx auto;