增加船号字典作废标识校验

main
董哲奇 15 hours ago
parent 590534ee25
commit da1490e1b6

@ -13,6 +13,9 @@
var token= uni.getStorageSync("token");
if(token){
uni.redirectTo({
url: '/pages/index/index'
});
return false;
}
@ -91,8 +94,9 @@
uni.setStorageSync('user', JSON.stringify(datas.user));
uni.setStorageSync('menu', JSON.stringify(datas.user.btns));
this.getdept();
console.log('1');
//
uni.switchTab({
uni.redirectTo({
url: '/pages/index/index'
});
}else{

@ -13,6 +13,14 @@
]
},
"pages": [
{
"path": "pages/login/index",
"style": {
"app-plus": {
"titleNView": false
}
}
},
{
"path": "pages/index/index",
"style": {
@ -20,14 +28,6 @@
"navigationBarTitleText": "工装托盘管理平台"
}
},
{
"path": "pages/login/index",
"style": {
"app-plus": {
"titleNView": false
}
}
},
{
"path": "pages/me/index",
"style": {

@ -311,6 +311,7 @@
this.ifsm = false;
this.trayInfo=res.data;
if(this.trayInfo.loadId){
console.log(1)
//
this.getYpDetail()
}
@ -347,7 +348,7 @@
title: '数据加载中...'
});
//
const {data: res} = await uni.$http.get('/searchInstdetail',{
const {data: res} = await uni.$http.get('/getInstdetail',{
palletNo:this.rmbm
});
if(res.success){

@ -71,11 +71,12 @@
<view class="input-group">
<view class="label">编号</view>
<view class="input-container">
<input
<u-input
v-model="palletNo"
class="input-field"
placeholder="请输入"
maxlength="50"
@input="toUpperCase"
/>
<view class="scan-btn" @click="scanPallet">
<uni-icons type="scan" size="20" color="#007AFF"></uni-icons>
@ -214,6 +215,10 @@ export default {
this.getTypes();
},
methods: {
toUpperCase(e){
this.palletNo = e.toUpperCase()
this.$forceUpdate();
},
//
showaddress(e) {
this.$refs.clsel._show();

@ -189,6 +189,7 @@
class="input-field"
placeholder="请输入"
maxlength="50"
@input="toUpperCase"
/>
<view class="scan-btn" @click="scanPallet">
<uni-icons type="scan" size="20" color="#007AFF"></uni-icons>
@ -431,6 +432,10 @@ export default {
// #endif
},
methods: {
toUpperCase(e){
this.palletNo = e.toUpperCase()
this.$forceUpdate();
},
//
showaddress(e) {
this.$refs.clsel._show();

@ -79,11 +79,12 @@
<view class="input-group">
<text class="label">编号</text>
<view class="input-container">
<input
<u-input
v-model="palletNo"
class="input-field"
placeholder="请输入"
maxlength="50"
@input="toUpperCase"
/>
<view class="scan-btn" @click="scanPallet">
<uni-icons type="scan" size="20" color="#007AFF"></uni-icons>
@ -250,6 +251,10 @@ export default {
this.$refs.uForm.setRules(this.rules);
},
methods: {
toUpperCase(e){
this.palletNo = e.toUpperCase()
this.$forceUpdate();
},
/**
* h5扫码返回
*/

@ -88,7 +88,7 @@
</view>
</u-form-item>
<u-form-item label="托盘表号" label-width="140rpx" label-position="left" prop="loadInst">
<u-input :border="true" :height="60" placeholder="请输入" input-align="left" v-model="itemList.loadInst" type="text" maxlength="200"></u-input>
<u-input :border="true" :height="60" placeholder="请输入" input-align="left" v-model="itemList.loadInst" type="text" maxlength="200" @input=toUpperCase1></u-input>
</u-form-item>
<u-form-item label="装盘数量" label-width="140rpx" label-position="left" prop="loadQty">
<u-input :border="true" :height="60" placeholder="请输入" input-align="left" v-model="itemList.loadQty" type="number" maxlength="200"></u-input>
@ -138,11 +138,12 @@
<view class="input-group">
<text class="label">编号</text>
<view class="input-container">
<input
<u-input
v-model="palletNo"
class="input-field"
placeholder="请输入"
maxlength="50"
@input="toUpperCase"
/>
<view class="scan-btn" @click="scanPallet">
<uni-icons type="scan" size="20" color="#007AFF"></uni-icons>
@ -308,6 +309,14 @@ export default {
this.$refs.uForm.setRules(this.rules);
},
methods: {
toUpperCase(e){
this.palletNo = e.toUpperCase()
this.$forceUpdate();
},
toUpperCase1(e){
this.itemList.loadInst = e.toUpperCase()
this.$forceUpdate();
},
/**
* h5扫码返回
*/

Loading…
Cancel
Save