剩余模块:生产入库,销售出库
This commit is contained in:
@@ -5,36 +5,48 @@
|
||||
<view></view>
|
||||
</l-header>
|
||||
<view class="type-bc">
|
||||
<!-- <view class="type-item type-item-gc" @tap="toPages('/pages/receive/index')">
|
||||
<view class="type-item-text">采购收料</view>
|
||||
</view> -->
|
||||
<view class="type-item type-item-hy" @tap="toPages('/pages/verify/index')">
|
||||
<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">{{ t('home.cgrk') }}</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="toPages('/pages/material/index')">
|
||||
<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">{{ t('home.scbl') }}</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="putInProdClisk()">
|
||||
<view class="type-item-text">{{ t('home.sctc') }}</view>
|
||||
</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">{{ t('home.scrk') }}</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="toPages('/pages/outOftock/index')">
|
||||
<view class="type-item-text">{{ t('home.xxck') }}</view>
|
||||
</view>
|
||||
<!-- 珠海模块 -->
|
||||
<template v-if="state.patternId === '101'">
|
||||
<view class="type-item type-item-hy" @tap="toPages('/pages/verify/index')">
|
||||
<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">{{ t('home.cgrk') }}</view>
|
||||
</view>
|
||||
</template>
|
||||
<!-- 泰国模块 -->
|
||||
<template v-if="state.patternId === '103'">
|
||||
<view class="type-item type-item-hy" @tap="toPages('/pages/verifyTa/index')">
|
||||
<view class="type-item-text">{{ t('home.llyz') }}</view>
|
||||
</view>
|
||||
<view class="type-item type-item-jz" @tap="toPages('/pages/purchaseTa/index')">
|
||||
<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">{{ t('home.scfl') }}</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="toPages('/pages/supplement/index')">
|
||||
<view class="type-item-text">{{ t('home.scbl') }}</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="toPages('/pages/ruleClaim/index')">
|
||||
<view class="type-item-text">成套领料</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="toPages('/pages/ruleValidation/index')">
|
||||
<view class="type-item-text">成套验证</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="toPages('/pages/putInProd/index')">
|
||||
<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">{{ t('home.sczx') }}</view>
|
||||
</view>
|
||||
<view class="type-item type-item-hl" @tap="toPages('/pages/productionStorage/index')">
|
||||
<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">{{ t('home.xxck') }}</view>
|
||||
</view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
<u-overlay :show="state.typeBoxShow" @click="state.typeBoxShow = false">
|
||||
@@ -55,13 +67,16 @@
|
||||
const { t, locale } = getI18n
|
||||
const state = reactive({
|
||||
carouselList: [],
|
||||
typeBoxShow:false
|
||||
typeBoxShow:false,
|
||||
appConfig:{},
|
||||
patternId:''
|
||||
})
|
||||
|
||||
onShow(() => {})
|
||||
const putInProdClisk = () => {
|
||||
state.typeBoxShow = true
|
||||
}
|
||||
onShow(() => {
|
||||
state.appConfig = uni.getStorageSync('appLoginInfo')
|
||||
state.patternId = state.appConfig.organizationObj['FOrgOrgId.FNumber']
|
||||
console.log(state.patternId);
|
||||
})
|
||||
const toPages = (url : string, data : any = {}) => {
|
||||
uni.$u.route({
|
||||
url: url,
|
||||
|
||||
Reference in New Issue
Block a user