|
|
|
|
@ -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扫码返回
|
|
|
|
|
*/
|
|
|
|
|
|