| | |
| | | <!-- <view> |
| | | <checkbox :value="item.id+''" :checked="item.checked" style="display: block;" /> |
| | | </view> --> |
| | | <view class="matnr"><text style="width: 400rpx;">编码:{{item.matnr}}</text></view> |
| | | <view><text style="width: 400rpx;">品名:{{item.maktx}}</text></view> |
| | | <view><text style="width: 400rpx;">批号:{{item.batch}}</text></view> |
| | | <view class="matnr"><text style="width: 400rpx;">编码:{{item.matNo}}</text></view> |
| | | <view><text style="width: 400rpx;">品名:{{item.matName}}</text></view> |
| | | <view><text style="width: 400rpx;">规格:{{item.str2}}</text></view> |
| | | <view> |
| | | <text style="width: 400rpx;">数量:{{item.anfme}}</text> |
| | | <text style="width: 400rpx;">数量:{{item.count}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="data-list-right"> |
| | |
| | | this.focus = true; |
| | | }); |
| | | }, |
| | | remove() { |
| | | // this.matList.splice(index,1) |
| | | for (var i = 0; i < this.matList.length; i++) { |
| | | if (this.matList[i].checked == true) { |
| | | this.matList.splice(i,1) |
| | | } |
| | | } |
| | | remove(item,index) { |
| | | this.matList.splice(index,1) |
| | | |
| | | // for (var i = 0; i < this.matList.length; i++) { |
| | | // if (this.matList[i].checked == true) { |
| | | // this.matList.splice(i,1) |
| | | // } |
| | | // } |
| | | this.checkList(); |
| | | uni.vibrateShort(); |
| | | }, |
| | |
| | | 'token':uni.getStorageSync('token') |
| | | }, |
| | | success(result) { |
| | | console.log(result) |
| | | uni.hideLoading(); |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | |
| | | findMat() { |
| | | let that = this |
| | | uni.request({ |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mat/auth', |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/matCode/auth', |
| | | data: { |
| | | matnr:that.matnr |
| | | id:that.matnr |
| | | }, |
| | | header: { |
| | | 'token':uni.getStorageSync('token') |
| | | }, |
| | | success(result) { |
| | | console.log(result) |
| | | uni.vibrateShort(); |
| | | let res = result.data |
| | | if (res.code === 200 && res.data) { |