【v2.4.3】修复初始化仓库、库位问题
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"name" : "MES",
|
"name" : "MES",
|
||||||
"appid" : "__UNI__66F7FE2",
|
"appid" : "__UNI__66F7FE2",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "2.4.2",
|
"versionName" : "2.4.3",
|
||||||
"versionCode" : 242,
|
"versionCode" : 243,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"usingComponents" : true,
|
"usingComponents" : true,
|
||||||
|
|||||||
@@ -8,15 +8,15 @@
|
|||||||
<view class="login-form-content">
|
<view class="login-form-content">
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
<view class="iconfont icon-user icon"></view>
|
<view class="iconfont icon-user icon"></view>
|
||||||
<input v-model="loginForm.username" class="input" type="text" placeholder="请输入账号" maxlength="30" />
|
<input v-model="loginForm.username" @confirm="handleLogin" class="input" type="text" placeholder="请输入账号" maxlength="30" />
|
||||||
</view>
|
</view>
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
<view class="iconfont icon-password icon"></view>
|
<view class="iconfont icon-password icon"></view>
|
||||||
<input v-model="loginForm.password" type="password" class="input" placeholder="请输入密码" maxlength="20" />
|
<input v-model="loginForm.password" @confirm="handleLogin" type="password" class="input" placeholder="请输入密码" maxlength="20" />
|
||||||
</view>
|
</view>
|
||||||
<view class="input-item flex align-center" style="margin: 20px auto 0;" v-if="captchaEnabled">
|
<view class="input-item flex align-center" style="margin: 20px auto 0;" v-if="captchaEnabled">
|
||||||
<view class="iconfont icon-code icon"></view>
|
<view class="iconfont icon-code icon"></view>
|
||||||
<input v-model="loginForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
|
<input v-model="loginForm.code" @confirm="handleLogin" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
|
||||||
<image :src="codeUrl" @click="getCode" class="login-code-img"></image>
|
<image :src="codeUrl" @click="getCode" class="login-code-img"></image>
|
||||||
</view>
|
</view>
|
||||||
<!-- <u-cell-group :border="false">
|
<!-- <u-cell-group :border="false">
|
||||||
@@ -252,6 +252,10 @@
|
|||||||
uni.removeStorageSync('HBusername');
|
uni.removeStorageSync('HBusername');
|
||||||
uni.removeStorageSync('HBpassword');
|
uni.removeStorageSync('HBpassword');
|
||||||
}
|
}
|
||||||
|
this.$store.dispatch("GetAreaOptions");
|
||||||
|
this.$store.dispatch("GetShelvesOptions");
|
||||||
|
this.$store.dispatch("GetLocationOptions");
|
||||||
|
this.$store.dispatch("GetWarehouseOptions");
|
||||||
this.$store.dispatch('GetInfo').then(res => {
|
this.$store.dispatch('GetInfo').then(res => {
|
||||||
// this.$tab.redirectTo('/pages/work/esop')
|
// this.$tab.redirectTo('/pages/work/esop')
|
||||||
// if (this.typeTitle == '常用功能') {
|
// if (this.typeTitle == '常用功能') {
|
||||||
|
|||||||
@@ -385,7 +385,7 @@
|
|||||||
let warehouseObj = _this.$store.getters.warehouseOptions.find(item => item.warehouseCode == whCode);
|
let warehouseObj = _this.$store.getters.warehouseOptions.find(item => item.warehouseCode == whCode);
|
||||||
if (!warehouseObj) {
|
if (!warehouseObj) {
|
||||||
_this.checkStorageLocationBarcode = false;
|
_this.checkStorageLocationBarcode = false;
|
||||||
_this.$modal.msg("货架不存在!");
|
_this.$modal.msg("仓库不存在!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (areaCode) {
|
if (areaCode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user