| | |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="list" style="background-color: #fda800;color: #fff;" v-for="wrkMast in waitPakins"> |
| | | <view class="list" style="background-color: #fda800;color: #fff;" v-if="!wrkDetls" v-for="wrkMast in waitPakins"> |
| | | <view class="list-left"> |
| | | <view>物料号:{{wrkMast.matnr}}</view> |
| | | <view>物料名称:{{wrkMast.maktx}}</view> |
| | |
| | | data: {devNo: e}, |
| | | method: 'POST', |
| | | success(res) { |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | _this.searchValue = '' |
| | | setTimeout(()=> { |
| | | _this.getBasDevp() |
| | | },100) |
| | | } else { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(()=> { |
| | | _this.searchValue = '' |
| | | _this.getBasDevp() |
| | | },2000) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | data: JSON.stringify(devNo), |
| | | method: 'POST', |
| | | success(res) { |
| | | |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | _this.searchValue = '' |
| | | setTimeout(()=> { |
| | | _this.getBasDevp() |
| | | },100) |
| | | } else { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(()=> { |
| | | _this.searchValue = '' |
| | | _this.getBasDevp() |
| | | },2000) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | success(result) { |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | setTimeout(()=> { |
| | | that.searchValue = '' |
| | | that.getBasDevp() |
| | | },300) |
| | | uni.showToast({ |
| | | title: res.msg, |
| | | icon: "none", |
| | |
| | | reviseConfirm() { |
| | | this.startPakin('empty') |
| | | this.$refs.revise.close() |
| | | setTimeout(()=> { |
| | | this.getBasDevp() |
| | | },300) |
| | | } |
| | | } |
| | | } |