Bläddra i källkod

三大运营商店铺下单填身份证号

1410417013 10 månader sedan
förälder
incheckning
1dcd57827f
3 ändrade filer med 12 tillägg och 1 borttagningar
  1. 7 1
      pages/index/shop/confirmOrder.vue
  2. 1 0
      pages/order/index.vue
  3. 4 0
      pages/order/takefood.vue

+ 7 - 1
pages/index/shop/confirmOrder.vue

@@ -27,6 +27,10 @@
 						</view>
 					</view>
 				</view>
+				<view class="flex margin-top" style="align-items: center;" v-if="shopTypeName=='三大运营商'">
+					<view>请填写身份证号:</view>
+					<input type="idcard" v-model="idcard1" style="border: 1px solid;"/>
+				</view>
 				<!-- 预约送达时间 -->
 				<!-- <view class="goods_address" v-if="reservationOpenFlag==1">
 					<view class="address_box">
@@ -380,6 +384,7 @@ export default {
 			// 是否显示积分模块
 			isIntegral: false,
 			shopTypeName:'',//店铺类型
+			idcard1:'',//身份证号
 		}
 	},
 	onLoad(option) {
@@ -1287,7 +1292,8 @@ export default {
 							couponId: this.coupon ? this.coupon.id : '',
 							addressId: this.address.addressId ? this.address.addressId : '',
 							orderType: this.orderType,
-							type: res.enable ? 1 : 3
+							type: res.enable ? 1 : 3,
+							idCard:this.idcard1
 						}
 
 						console.log(data)

+ 1 - 0
pages/order/index.vue

@@ -49,6 +49,7 @@
 						</view>
 					</view>
 					<view style="padding: 0 30rpx; font-size: 20px" v-if="item.orderSequence">#{{ item.orderSequence }}</view>
+					<view style="padding: 0 30rpx; font-size: 16px" v-if="item.idCard">身份证号:{{ item.idCard }}</view>
 
 					<view class="cont_two_text" v-if="item.orderCode">{{ item.orderCode }}</view>
 					<view class="cont_two_text2" v-if="item.status == 6">

+ 4 - 0
pages/order/takefood.vue

@@ -159,6 +159,10 @@
 					<text>订单信息</text>
 				</view>
 				<view class="tosend_cont_infor" v-if="dataDet.orderType == 1">
+					<view class="tosend_cont_infor_le">身份证号</view>
+					<view class="tosend_cont_infor_ri">{{ dataDet.idCard }}</view>
+				</view>
+				<view class="tosend_cont_infor" v-if="dataDet.orderType == 1">
 					<view class="tosend_cont_infor_le">取餐号码</view>
 					<view class="tosend_cont_infor_ri">{{ dataDet.orderCode }}</view>
 				</view>