Merge branch 'devlop_wxxr' of http://47.97.1.152:5880/r/pda-master into devlop_wxxr
# Conflicts:
# pages/check/TempCheck.vue
| | |
| | | }) |
| | | 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) { |
| | | uni.showToast({ |
| | | title: msg, |
| | | icon: "none", |
| | | position: 'top' |
| | | }) |
| | | that.search() |
| | | } else { |
| | | uni.showToast({ |
| | | title: msg, |
| | |
| | | position: 'top' |
| | | }) |
| | | } |
| | | this.isconfirm = !this.isconfirm |
| | | }, |
| | | async addMatnr() { |
| | | const { |
| | |
| | | return; |
| | | } |
| | | this.repeatClick = true |
| | | const { |
| | | code, |
| | | data, |
| | | msg |
| | | } = await request('/saveCheckDiff', { |
| | | container: that.barcode, |
| | | checkId: that.check.id, |
| | | checkDiffItems: that.list |
| | | const {code, data, msg } = await request('/temp/check/confirm', { |
| | | barcode: that.barcode, |
| | | items: that.list |
| | | }) |
| | | if (code === 200) { |
| | | uni.showToast({ |
| | |
| | | } else { |
| | | uni.showToast({ |
| | | title: msg, |
| | | icon: "none", |
| | | icon: "error", |
| | | }) |
| | | } |
| | | this.repeatClick = false |
| | |
| | | <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']"
|