| | |
| | | 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') |
| | | }, |