| | |
| | | }) |
| | | return; |
| | | } |
| | | this.list.push(...this.matnrList) |
| | | this.matnrList = [] |
| | | this.isconfirm = !this.isconfirm |
| | | |
| | | this.confirmAddMatnr() |
| | | this.matnrList = []; |
| | | }, |
| | | |
| | | remove(index) { |
| | | this.matnrList.splice(index, 1); |
| | | }, |
| | |
| | | matnrs: this.matnrList |
| | | }) |
| | | if (code === 200) { |
| | | |
| | | that.search() |
| | | } else { |
| | | |
| | | uni.showToast({ |
| | | title: msg, |
| | | icon: "error", |
| | | position: 'top' |
| | | }) |
| | | } |
| | | this.isconfirm = !this.isconfirm |
| | | }, |
| | | async addMatnr() { |
| | | const { |
| | |
| | | <text class='cuIcon-close text-gray margin-right-xs' v-show="barcode!==''" @click="clearBarcode"></text>
|
| | | <text class='cuIcon-search text-blue' @click="search"></text>
|
| | | </view>
|
| | |
|
| | | </form>
|
| | |
|
| | |
|
| | | <view class="padding-lr margin-top-sm">
|
| | | <block v-for="(item, index) in list" :key="index">
|
| | | <view class="cu-list det menu sm-border margin-bottom-sm " :class="[item.barcode===barcode&&'act']"
|