| | |
| | | <view class="cu-form-group ">
|
| | | <view class="title">批次号</view>
|
| | | <input placeholder="请输入物料批次" v-model="batch"></input>
|
| | | <text class='text-blue'></text>
|
| | | </view>
|
| | | <view class="cu-form-group ">
|
| | | <view class="title">物料标签</view>
|
| | |
| | | <button class="cu-btn text-blue line-blue shadow" @click="clear">清空</button>
|
| | | <button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm">组盘</button>
|
| | | </view>
|
| | |
|
| | | </view>
|
| | | </template>
|
| | |
|
| | |
| | | megreQty: '',
|
| | | list: [],
|
| | | range: [],
|
| | | batch: '',
|
| | | repeatClick: false,
|
| | | isconfirm: false
|
| | | }
|
| | |
| | | code,
|
| | | data,
|
| | | msg
|
| | | } = await request('/asnOrderItem/trackCode/' + this.barcode, {}, "get")
|
| | | } = await request('/asnOrderItem/trackCode', { |
| | | code: this.barcode, |
| | | batch: this.batch |
| | | }, "post")
|
| | | if (code === 200) {
|
| | | data && this.list.push(data);
|
| | | } else {
|
| | |
| | | msg
|
| | | } = await request('/waitPakin/merge', {
|
| | | items: newArr,
|
| | | barcode: this.container
|
| | | barcode: this.container, |
| | | batch: this.batch,
|
| | | })
|
| | | if (code === 200) {
|
| | | uni.showToast({
|