| | |
| | | <!-- <view @click="allChecked">{{allCheckBtnTitle}}</view> --> |
| | | </view> |
| | | </view> |
| | | <view v-for="orderDetl in dataList" > |
| | | <view>{{orderDetl.orderNo}}</view> |
| | | <view>{{orderDetl.matnr}}</view> |
| | | <view>{{orderDetl.threeCode}}</view> |
| | | <hr> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | baseUrl: '', |
| | | token: '', |
| | | searchValueFocus: true, |
| | | searchValue: '' |
| | | searchValue: '', |
| | | dataList: [], |
| | | data: { |
| | | curr: 1, |
| | | limit: 100, |
| | | three_code: '', |
| | | } |
| | | |
| | | } |
| | | }, |
| | |
| | | this.getOrderDetlList() |
| | | }, |
| | | methods: { |
| | | getOrderDetlList() { |
| | | |
| | | getOrderDetlList(threeCode,limit) { |
| | | let _this = this |
| | | _this.data.three_code = threeCode |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/order/detls/pakin/page/auth`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: _this.data, |
| | | method: 'GET', |
| | | success(res) { |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | _this.dataList = res.data.records |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | searchValueInput2() { |
| | | |
| | | this.getOrderDetlList(this.searchValue,99999) |
| | | }, |
| | | clear() { |
| | | |
| | | this.getOrderDetlList(this.searchValue,99999) |
| | | } |
| | | } |
| | | } |