|  |  |  | 
|---|
|  |  |  | <view> | 
|---|
|  |  |  | <view class="code"> | 
|---|
|  |  |  | <view class="item"> | 
|---|
|  |  |  | <view class="code-decs">订单号:</view> | 
|---|
|  |  |  | <input type="text" placeholder=" 扫码 / 输入" v-model="orderNo" :focus="orderNoFocus" | 
|---|
|  |  |  | <input type="text" placeholder=" 扫码 / 输入 订单号" v-model="orderNo" :focus="orderNoFocus" | 
|---|
|  |  |  | @input="findOrder()"> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <view class="item"> | 
|---|
|  |  |  | <view class="code-decs">料箱码:</view> | 
|---|
|  |  |  | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus" | 
|---|
|  |  |  | <input type="text" placeholder=" 扫码 / 输入 货架码" v-model="barcode" :focus="barcodeFocus" | 
|---|
|  |  |  | @input="barcodeInput()"> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <view class="item"> | 
|---|
|  |  |  | <view class="code-decs">物料码:</view> | 
|---|
|  |  |  | <input type="text" placeholder=" 扫码 / 输入" v-model="matnr" :focus="matFocus" @input="findMat()"> | 
|---|
|  |  |  | <input type="text" placeholder=" 扫码 / 输入 物料码" v-model="matnr" :focus="matFocus" @input="findMat()"> | 
|---|
|  |  |  | <view class="item-right"> | 
|---|
|  |  |  | <button></button> | 
|---|
|  |  |  | <text style="text-align: right;color: #409EFF;" @click="selectMat()">提取+</text> | 
|---|
|  |  |  | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </scroll-view> | 
|---|
|  |  |  | <view> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <!-- 底部操作按钮 --> | 
|---|
|  |  |  | <view class="buttom"> | 
|---|
|  |  |  | <button size="mini" @click="reset('warn')">重置</button> | 
|---|
|  |  |  | 
|---|
|  |  |  | messageText: '', | 
|---|
|  |  |  | title: '', | 
|---|
|  |  |  | content: '', | 
|---|
|  |  |  | orderNoFocus: true, | 
|---|
|  |  |  | barcodeFocus: false, | 
|---|
|  |  |  | orderNoFocus: false, | 
|---|
|  |  |  | barcodeFocus: true, | 
|---|
|  |  |  | matFocus: false, | 
|---|
|  |  |  | matData: '', | 
|---|
|  |  |  | removeNum: 0, | 
|---|
|  |  |  | 
|---|
|  |  |  | margin-left: 20rpx; | 
|---|
|  |  |  | border-bottom: 1px solid #DCDFE6; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .item input { | 
|---|
|  |  |  | height: 50rpx; | 
|---|
|  |  |  | line-height: 50rpx; | 
|---|
|  |  |  | /* font-family: PingFang SC; uniapp 默认字体不居中 */ | 
|---|
|  |  |  | font-size: 36upx; | 
|---|
|  |  |  | font-family: PingFang SC; | 
|---|
|  |  |  | width: 55vw; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | flex: 1; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .code-decs { | 
|---|
|  |  |  | 
|---|
|  |  |  | z-index: 9; | 
|---|
|  |  |  | /* border-top: 1px solid #DCDFE6; */ | 
|---|
|  |  |  | text-align: center; | 
|---|
|  |  |  | box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5); | 
|---|
|  |  |  | box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | </style> | 
|---|