| | |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="order" type="text" disabled="true" |
| | | <input v-model="orderNo" type="text" disabled="true" |
| | | placeholder-style="line-height: 85rpx;"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="removeOrder()"></uni-icons> |
| | | </view> |
| | |
| | | }); |
| | | }, |
| | | findOrder() { |
| | | console.info("!23") |
| | | console.info(that.orderNo) |
| | | let that = this |
| | | uni.request({ |
| | | url: that.commonUrl + '/mobile/order/search/orderNo/auth', |
| | | data: { |
| | | orderNo: that.order |
| | | orderNo: that.orderNo |
| | | }, |
| | | header: { |
| | | 'token': uni.getStorageSync('token') |
| | |
| | | console.log(result) |
| | | let res = result.data |
| | | if (res.code === 200 && res.data) { |
| | | console.info("!234345454") |
| | | console.info(res.data.orderNo) |
| | | if (!that.orderNo){ |
| | | that.orderNo = res.data.orderNo |
| | | } |
| | | if (that.orderNo == res.data.orderNo){ |
| | | that.findOrder() |
| | | that.checkMat(res.data) |