| | |
| | | acceptDataFromOpenedPage: function(data) { |
| | | that.matnr = data.data |
| | | that.findMat(that.matnr) |
| | | that.matnr = '' |
| | | }, |
| | | }, |
| | | success: function(res) { |
| | |
| | | }, |
| | | |
| | | }); |
| | | that.matnr = '' |
| | | |
| | | }, // selectMat |
| | | findMat() { |
| | | let that = this |
| | |
| | | }, |
| | | adjust() { |
| | | let that = this |
| | | var combMats = [] |
| | | var combParam = {} |
| | | combParam['barcode'] = that.barcode |
| | | combParam['wrkDetls'] = that.matList |
| | | uni.request({ |
| | | url: that.commonUrl + '/adjust/auth', |
| | | url: that.commonUrl + '/mobile/adjustNew/auth', |
| | | method: 'POST', |
| | | data: { |
| | | combParam: that.matList |
| | | }, |
| | | data: JSON.stringify(combParam), |
| | | header: { |
| | | 'token':uni.getStorageSync('token') |
| | | }, |
| | |
| | | </view> |
| | | <view class="config-item"> |
| | | <text>项目:</text> |
| | | <input v-model="PROJECT" type="text" placeholder="lywms" placeholder-style="font-size:16rpx;text-indent: 10rpx;"> |
| | | <input v-model="PROJECT" type="text" placeholder="wms" placeholder-style="font-size:16rpx;text-indent: 10rpx;"> |
| | | </view> |
| | | <view class="flex justify-around"> |
| | | <button class="cu-btn bg-blue lg" @click="configConfirm">确认</button> |
| | |
| | | width: 500rpx; |
| | | height: 500rpx; |
| | | background-color: #fff; |
| | | border-radius: 20px; |
| | | } |
| | | .config-title { |
| | | height: 100rpx; |