|
|
@@ -52,7 +52,7 @@
|
|
|
</view>
|
|
|
<button class="submit" style="margin-bottom:20rpx" @tap="paySubmit" v-if="needPay">{{payStatusStr}}</button>
|
|
|
<button class="submit" style="margin-top:20rpx" @tap="openPopup" v-if="needInvoice">申请开票</button>
|
|
|
- <uni-popup ref="popup" :mask-click="false">
|
|
|
+ <uni-popup ref="popup" :mask-click="false" popHeight="55%">
|
|
|
<view class="popup-box">
|
|
|
<view>
|
|
|
<view class="popup-title">申请开票</view>
|
|
|
@@ -62,6 +62,12 @@
|
|
|
<view>开票抬头:</view><input class="card input" style="width: 75%;" type="text" v-model="invoiceName" />
|
|
|
</view>
|
|
|
<view class="popup-type">
|
|
|
+ <view>手机号:</view><input class="card input" style="width: 75%;" type="tel" v-model="invoicePhone" />
|
|
|
+ </view>
|
|
|
+ <view class="popup-type">
|
|
|
+ <view>邮箱:</view><input class="card input" style="width: 75%;" type="text" v-model="invoiceEmail" />
|
|
|
+ </view>
|
|
|
+ <view class="popup-type">
|
|
|
<view>备注:</view><input class="card input" style="width: 75%;" type="text" v-model="invoiceRemark" />
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -92,6 +98,8 @@ export default {
|
|
|
statusColor:getApp().globalData.statusColor,
|
|
|
invoiceName : '',
|
|
|
invoiceRemark : '',
|
|
|
+ invoicePhone:'',
|
|
|
+ invoiceEmail:''
|
|
|
};
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
@@ -262,6 +270,8 @@ export default {
|
|
|
code:this.pay_code,
|
|
|
invoice : this.invoiceName,
|
|
|
remark : this.invoiceRemark,
|
|
|
+ phone:this.invoicePhone,
|
|
|
+ email:this.invoiceEmail,
|
|
|
openId: getApp().globalData.open_id,
|
|
|
};
|
|
|
uni.request({
|
|
|
@@ -353,7 +363,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.popup-box {
|
|
|
- height: 90%;
|
|
|
+ height: 95%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
|
@@ -368,6 +378,9 @@ export default {
|
|
|
font-size: 28rpx;
|
|
|
padding: 10rpx 0 10rpx 0;
|
|
|
}
|
|
|
+ .uni-popup__wrapper-box {
|
|
|
+ height: 65%!important;
|
|
|
+ }
|
|
|
.popup-type {
|
|
|
display: flex;
|
|
|
height: 80rpx;
|
|
|
@@ -393,4 +406,5 @@ export default {
|
|
|
.popup-submit {
|
|
|
background-color: #249CD3;
|
|
|
}
|
|
|
+
|
|
|
</style>
|