| | |
| | | name: 'pakin', |
| | | color: 'blue', |
| | | // cuIcon: 'pullup', |
| | | url: `/phyz/order/purchaseOrder` |
| | | url: `/phyz/bcp/bcpDbOrder` |
| | | }, |
| | | |
| | | ], |
| | |
| | | onLoad() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.searchValue = uni.getStorageSync('threeCode'); |
| | | this.searchValue = uni.getStorageSync('bcpDbThreeCode'); |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | console.log("onLoad"); |
| | | }, |
| | |
| | | _this.data.three_code = threeCode |
| | | _this.data.limit = limit |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/order/bcp/detls/pakin/page/auth`, |
| | | url: `${_this.baseUrl}/order/bcpDb/detls/pakin/page/auth`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: _this.data, |
| | | method: 'GET', |
| | |
| | | searchValueInput2() { |
| | | this.dataList = [] |
| | | this.data.curr = 1 |
| | | uni.setStorageSync('threeCode', this.searchValue); |
| | | uni.setStorageSync('bcpDbThreeCode', this.searchValue); |
| | | if (this.searchValue.length == 0) { |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | } else { |
| | |
| | | console.log(data); |
| | | if (data.data == 1) { |
| | | _this.orderCarList = [] |
| | | _this.getOrderDetlList(uni.getStorageSync('threeCode'),10) |
| | | _this.getOrderDetlList(uni.getStorageSync('bcpDbThreeCode'),10) |
| | | } |
| | | } |
| | | } |
| | |
| | | onLoad() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.searchValue = uni.getStorageSync('threeCode'); |
| | | this.searchValue = uni.getStorageSync('bcpThreeCode'); |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | console.log("onLoad"); |
| | | }, |
| | |
| | | searchValueInput2() { |
| | | this.dataList = [] |
| | | this.data.curr = 1 |
| | | uni.setStorageSync('threeCode', this.searchValue); |
| | | uni.setStorageSync('bcpThreeCode', this.searchValue); |
| | | if (this.searchValue.length == 0) { |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | } else { |
| | |
| | | console.log(data); |
| | | if (data.data == 1) { |
| | | _this.orderCarList = [] |
| | | _this.getOrderDetlList(uni.getStorageSync('threeCode'),10) |
| | | _this.getOrderDetlList(uni.getStorageSync('bcpThreeCode'),10) |
| | | } |
| | | } |
| | | } |