| | |
| | | <form> |
| | | <view class="cu-form-group" v-show="!isconfirm"> |
| | | <view class="title">票号:</view> |
| | | <input placeholder="请扫描票号" v-model="fieldsIndex" focus></input> |
| | | <input placeholder="请扫描票号" v-model="fieldsIndex" focus @input="search()"></input> |
| | | <text class='cuIcon-close text-gray margin-right-xs' v-show="fieldsIndex!==''" @click="clearCode"></text> |
| | | <text class='cuIcon-search text-blue' @click="search"></text> |
| | | </view> |
| | | </form> |
| | | </view> |
| | |
| | | }, |
| | | async search() { |
| | | let that = this; |
| | | // if(this.barcode === '' || this.barcode ===null){ |
| | | // if(this.fieldsIndex === '' || this.fieldsIndex.length < 30){ |
| | | // return ; |
| | | // } |
| | | const { code, data, msg } = await request('/wave/order/items', { |