现场调试修改 入库 出库 放货重新分配货位

This commit is contained in:
liuhanqing
2025-12-26 13:23:28 +08:00
parent ced125c8e9
commit 6b56e5f2ad
53 changed files with 3397 additions and 1832 deletions

View File

@@ -3,12 +3,12 @@
<view class="logo-content align-center justify-center flex">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image>
<text class="title">{{ $t('login.appTitle') }}</text>
<text class="title">WMS手持终端</text>
</view>
<view class="login-form-content">
<view class="input-item flex align-center">
<view class="iconfont icon-user icon"></view>
<input v-model="loginForm.username" class="input" type="text" :placeholder="$t('login.usernamePlaceholder')" maxlength="30" @focus="showAccountList = true" @input="handleUsernameInput" />
<input v-model="loginForm.username" class="input" type="text" placeholder="请输入账号" maxlength="30" @focus="showAccountList = true" @input="handleUsernameInput" />
<view class="history-accounts" v-if="showAccountList && historyAccounts.length > 0">
<view v-for="(account, index) in historyAccounts" :key="index" class="account-item" @click="selectAccount(account)">
{{ account }}
@@ -17,15 +17,15 @@
</view>
<view class="input-item flex align-center">
<view class="iconfont icon-password icon"></view>
<input v-model="loginForm.password" type="password" class="input" :placeholder="$t('login.passwordPlaceholder')" maxlength="20" />
<input v-model="loginForm.password" type="password" class="input" placeholder="请输入密码" maxlength="20" />
</view>
<view class="remember-account flex align-center">
<checkbox :checked="rememberAccount" @click="toggleRememberAccount" style="transform:scale(0.7)" />
<text class="text-grey1" >{{ $t('login.rememberAccount') }}</text>
<text class="text-grey1" >记住账号</text>
</view>
<view class="action-btn">
<button @click="handleLogin" class="login-btn cu-btn block bg-blue lg round">{{ $t('login.login') }}</button>
<button @click="goToSettings" class="settings-btn cu-btn block lg round">{{ $t('login.serverSettings') }}</button>
<button @click="handleLogin" class="login-btn cu-btn block bg-blue lg round">登录</button>
<button @click="goToSettings" class="settings-btn cu-btn block lg round">服务器设置</button>
</view>
<!-- <view class="reg text-center" v-if="register">
<text class="text-grey1">没有账号?</text>
@@ -38,8 +38,8 @@
</view> -->
</view>
<view class="copyright-section text-center">
<text class="version">{{ $t('login.version') }}</text>
<text class="copyright">{{ $t('login.copyright') }}</text>
<text class="version">Version 1.0.0</text>
<text class="copyright">© 2025 WMS仓储管理系统</text>
</view>
</view>
</template>
@@ -95,11 +95,11 @@
if (this.loginForm.username === "") {
this.$modal.msgError(this.$t('login.usernameRequired'))
this.$modal.msgError('请输入您的账号')
} else if (this.loginForm.password === "") {
this.$modal.msgError(this.$t('login.passwordRequired'))
this.$modal.msgError('请输入您的密码')
} else {
this.$modal.loading(this.$t('login.loggingIn'))
this.$modal.loading('登录中,请耐心等待...')
this.pwdLogin()
}
},