| | |
| | | <view class="revise-box"> |
| | | <view class="revise-box-top"> |
| | | <view class="color-block-blue"></view> |
| | | <text class="title">修改批号/数量</text> |
| | | <text class="title">修改</text> |
| | | </view> |
| | | <view class="changeBox"> |
| | | <view class="num-box"> |
| | |
| | | analysis() { |
| | | let that = this |
| | | let str = that.orderNo.split(';') |
| | | |
| | | that.orderNo = str[0] |
| | | if(that.matList.length>0) { |
| | | if(str[1] != that.matList[0].orderno){ |
| | | uni.showToast({title: '请确认上架单号', icon: "none", position: 'top'}); |
| | | return; |
| | | } |
| | | } |
| | | uni.request({ |
| | | url: that.commonUrl + '/mat/auth', |
| | | data: { |
| | |
| | | uni.vibrateShort(); |
| | | let res = result.data |
| | | if (res.code === 200 && res.data) { |
| | | res.data['orderno'] = str[1] |
| | | res.data.batch = str[2] |
| | | that.matData = res.data |
| | | that.matnr = '' |