Commit 807453fe authored by zhengke's avatar zhengke

修改

parent 3da06541
...@@ -207,13 +207,13 @@ ...@@ -207,13 +207,13 @@
<view class="order_GName" style="border-top:0;"> <view class="order_GName" style="border-top:0;">
<view class="order_big order_comLeft">联系人</view> <view class="order_big order_comLeft">联系人</view>
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<input class="uni-input" v-model="orderMsg.Consignee" style="border:none;padding-left:5px;text-align: right;" /> <input class="uni-input" v-model="orderMsg.Consignee" placeholder="请输入联系人" style="border:none;padding-left:5px;text-align: right;" />
</view> </view>
</view> </view>
<view class="order_GName" style="border-top:0;border-top: 1px solid rgba(0, 0, 0, 0.05);"> <view class="order_GName" style="border-top:0;border-top: 1px solid rgba(0, 0, 0, 0.05);">
<view class="order_big order_comLeft">联系电话</view> <view class="order_big order_comLeft">联系电话</view>
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<input class="uni-input" v-model="orderMsg.Mobile" style="border:none;padding-left:5px;text-align: right;" /> <input class="uni-input" v-model="orderMsg.Mobile" placeholder="请输入联系电话" style="border:none;padding-left:5px;text-align: right;" />
</view> </view>
</view> </view>
<view class="order_GName" style="border-top:0;border-top: 1px solid rgba(0, 0, 0, 0.05);"> <view class="order_GName" style="border-top:0;border-top: 1px solid rgba(0, 0, 0, 0.05);">
...@@ -542,19 +542,20 @@ ...@@ -542,19 +542,20 @@
data: this.msg data: this.msg
}, },
res => { res => {
console.log(res, '列表数据');
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.dataList = res.data; this.dataList = res.data;
this.mchs = res.data.mch_list; if(res.data.mch_list){
this.intervalDay = this.dataList.mch_list[0].goods_list[0].goods_attr.use_day; //获取多少天 this.mchs = res.data.mch_list;
this.intervalDay = this.dataList.mch_list[0].goods_list[0].goods_attr.use_day; //获取多少天
this.payInfo.GoodsName = this.mchs[0].goods_list[0].goods_attr.car_name.slice(0,10);
this.payInfo.GoodsName = this.mchs[0].goods_list[0].goods_attr.car_name.slice(0,10);
this.mchs.forEach(x => {
x.goods_list.forEach(j => { this.mchs.forEach(x => {
j.marketingLogo = JSON.parse(j.marketingLogo) x.goods_list.forEach(j => {
j.marketingLogo = JSON.parse(j.marketingLogo)
})
}) })
}) }
this.initCoupon(); this.initCoupon();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment