| | |
| | | <view class="cu-form-group"> |
| | | <view class="title">票号</view> |
| | | <input placeholder="请扫描现品票号" v-model="fieldsIndex" @input="search()" focus></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> |
| | | <view class="cu-form-group"> |
| | |
| | | } |
| | | that.getDetl(param); |
| | | }, |
| | | |
| | | clearCode() { |
| | | this.fieldsIndex = '' |
| | | }, |
| | | async getDetl(req) { |
| | | let that = this; |
| | | |
| | | const { code, data, msg } = await request('/asnOrderItem/trackCode', { |
| | | uni.showLoading({ |
| | | title: "加载中...", |
| | | mask: true |
| | | }) |
| | | const { |
| | | code, |
| | | data, |
| | | msg |
| | | } = await request('/asnOrderItem/trackCode', { |
| | | matnrCode: that.matnrCode, |
| | | asnCode: that.asnCode, |
| | | code: that.asnCode, |
| | |
| | | position: 'top' |
| | | }) |
| | | } |
| | | // uni.hideLoading(); |
| | | uni.hideLoading(); |
| | | }, |
| | | |
| | | async getList() { |
| | |
| | | }; |
| | | }); |
| | | |
| | | const { code, data, msg } = await request('/waitPakin/merge', { |
| | | const { |
| | | code, |
| | | data, |
| | | msg |
| | | } = await request('/waitPakin/merge', { |
| | | items: newArr, |
| | | isHalf: this.isHalf, |
| | | barcode: this.container, |