| | |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="barcode" type="text" placeholder="扫码 / 输入" maxlength="10" |
| | | :focus="barcodeFocus" @input="barcodeInput"> |
| | | :focus="barcodeFocus" @input="barcodeInput" placeholder-style="line-height: 85rpx;"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode()"></uni-icons> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="order" type="text" placeholder="扫码 / 输入" @input="findOrder()" |
| | | :focus="focus"> |
| | | :focus="focus" placeholder-style="line-height: 85rpx;"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="removeOrder()"></uni-icons> |
| | | </view> |
| | | </view> |
| | |
| | | if (res.code === 200) { |
| | | uni.showToast({ |
| | | title: res.msg, |
| | | position: 'bottom', |
| | | position: 'top', |
| | | duration: 1000 |
| | | }); |
| | | that.barcode = '' |
| | | that.orderNo = '' |
| | | that.order = '' |
| | | that.matList = [] |
| | | that.resst() |
| | | } else if (res.code == 403) { |
| | | uni.showToast({title: res.msg, icon: "none", position: 'top'}) |
| | | setTimeout(() => { |