pull/7/head
zhangyouji 10 months ago
parent ac634dfaf8
commit f96dccb8c8
  1. 6
      packageIntegral/orderDetails/index.vue
  2. 9
      packageIntegral/takeGoods/index.vue

@ -8,17 +8,17 @@
<view class="status-frame"> <view class="status-frame">
<view v-if="info.orderStatus">{{statusEnum[info.orderStatus].value}}</view> <view v-if="info.orderStatus">{{statusEnum[info.orderStatus].value}}</view>
<view>提货码: <text>{{info.takeCode}}</text></view> <view>提货码: <text>{{info.takeCode}}</text></view>
<view>提货时间2024-1-9</view> <view v-if="info.orderStatus==2">提货时间{{info.takeTime}}</view>
</view> </view>
<view class="info-frame"> <view class="info-frame">
<view class="header">用户手机: 18879008955<text>用户名: 张小明</text></view> <view class="header">用户手机: {{info.customerPhone}}<text>用户名: {{info.customerName}}</text></view>
<view class="introduce" v-for="item,index in info.mallOrderInfoDetails" :key="index"> <view class="introduce" v-for="item,index in info.mallOrderInfoDetails" :key="index">
<image :src="item.oderDetailImg"></image> <image :src="item.oderDetailImg"></image>
<view>{{item.productName}}</view> <view>{{item.productName}}</view>
<view>规格{{handler(item.attributeJson)}}</view> <view>规格{{handler(item.attributeJson)}}</view>
<view>120.61 X1</view> <view>{{item.marketPrice}} X{{item.orderNum}}</view>
</view> </view>
<view class="detial"> <view class="detial">
<view>订单编号: <text>{{info.orderCode}}</text></view> <view>订单编号: <text>{{info.orderCode}}</text></view>

@ -31,7 +31,7 @@
<view class="take-frame" v-if="controlWindows.code"> <view class="take-frame" v-if="controlWindows.code">
<view>请输入提货码</view> <view>请输入提货码</view>
<view>提货码或手机后四位</view> <view>提货码</view>
<view class="code"> <view class="code">
<xt-verify-code v-model="code" cursorColor="#333" boxNormalColor="#EAEAEA" boxActiveColor="#EAEAEA" <xt-verify-code v-model="code" cursorColor="#333" boxNormalColor="#EAEAEA" boxActiveColor="#EAEAEA"
@confirm="confirm" :size="4" :isFocus="false"></xt-verify-code> @confirm="confirm" :size="4" :isFocus="false"></xt-verify-code>
@ -73,7 +73,7 @@
pagesize: 20, pagesize: 20,
params: { params: {
takeCode: '', takeCode: '',
customerPhone:'' // customerPhone:''
}, },
}, },
dataList: [] dataList: []
@ -99,7 +99,7 @@
confirm() { confirm() {
this.controlWindows.code = false this.controlWindows.code = false
this.paramter.params.takeCode = this.code this.paramter.params.takeCode = this.code
this.paramter.params.customerPhone = this.code // this.paramter.params.customerPhone = this.code
this.getByPageCloudMini() this.getByPageCloudMini()
}, },
getByPageCloudMini() { getByPageCloudMini() {
@ -132,8 +132,9 @@
icon: 'none' icon: 'none'
}); });
this.$refs.popup.close(); this.$refs.popup.close();
this;getByPageCloudMini()
uni.navigateTo({ uni.navigateTo({
url: '/packageIntegral/orderDetails/index' url: `../orderDetails/index?orderId=${this.dataList[0].orderId}`
}) })
} }
}) })

Loading…
Cancel
Save