| | |
| | | </view> |
| | | <checkbox-group @change="checkbox"> |
| | | <label v-for="(item,index) in tag" :key="index" class="demo-list bg-false" |
| | | @click="showTag(item.id)"> |
| | | @click="showTag(item.orderNo)"> |
| | | <view class="demo-list-right"> |
| | | <view class="tag"> |
| | | <view class="cu-tag bg-blue ">订单</view> |
| | |
| | | <view class="tag"> |
| | | <view class="cu-tag bg-cyan ">订单明细</view> |
| | | </view> |
| | | <view class="matnr" style="font-size: 16px;"><text style="min-width: 500rpx;font-size: 12px;">{{item.supp}}</text></view> |
| | | <view class="matnr" style="font-size: 16px;"><text style="min-width: 500rpx;font-size: 12px;">{{item.color}}</text></view> |
| | | <view class="matnr" style="font-size: 16px;"><text style="min-width: 500rpx;font-size: 12px;">{{item.maktx}}</text></view> |
| | | <view class="matnr" style="font-size: 16px;"><text style="min-width: 500rpx;font-size: 12px;">{{item.specs}}</text></view> |
| | | <view class="matnr" style="font-size: 16px;"><text style="min-width: 500rpx;font-size: 12px;">{{item.xh}}</text></view> |
| | |
| | | let that = this |
| | | uni.showLoading(); |
| | | uni.request({ |
| | | url: that.commonUrl + '/orderDetl/list/auth', |
| | | header: { |
| | | 'token':uni.getStorageSync('token'), |
| | | }, |
| | | data: { |
| | | curr: 1, |
| | | limit: 100000, |
| | | order_id: parentId |
| | | url: that.commonUrl + '/mobile/order/search/orderNo/auth', |
| | | header: { |
| | | 'token':uni.getStorageSync('token'), |
| | | 'content-type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | header: { |
| | | 'token':uni.getStorageSync('token'), |
| | | }, |
| | | data: { |
| | | orderNo: parentId |
| | | }, |
| | | method: 'POST', |
| | | success(result) { |
| | | console.log(result) |
| | | that.tag = null |
| | | that.data = null |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | if (res.data != null && res.data.records.length > 0) { |
| | | that.data = res.data.records |
| | | if (res.data != null && res.data[0].combMats.length > 0) { |
| | | that.data = res.data[0].combMats |
| | | } else { |
| | | that.showMat(parentId) |
| | | } |