Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
8959e864eb | |||
7b915afd84 |
@ -483,11 +483,12 @@
|
||||
line-height: 70rpx;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
border: 2rpx solid #999999;
|
||||
border: 2rpx solid #323232;
|
||||
border-radius: 276rpx 276rpx 276rpx 276rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
|
||||
.btn_InvIng {
|
||||
width: 180rpx;
|
||||
height: 70rpx;
|
||||
|
@ -117,7 +117,7 @@
|
||||
:safeAreaInsetBottom="false" :closeable="false">
|
||||
<view class="popupBox flex justify-start align-items flex-column">
|
||||
<view class="pop-header flex align-items flex-column flex-start">
|
||||
<span class="name white-space">请确认是否取消报名</span>
|
||||
<span class="name">请确认是否取消报名</span>
|
||||
<span class="price">
|
||||
若频繁取消,可能会影响账号部分功能使用。建议您确认行程后再操作。
|
||||
</span>
|
||||
@ -1139,7 +1139,7 @@
|
||||
}
|
||||
|
||||
.name {
|
||||
width: 288rpx;
|
||||
width: 320rpx;
|
||||
height: 36rpx;
|
||||
font-family: PingFang SC Bold, PingFang SC Bold;
|
||||
font-weight: 600;
|
||||
|
@ -124,11 +124,19 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="footer flex align-items flex-column" style="justify-content: space-between;">
|
||||
<view class="footer align-items flex-column" style="justify-content: space-between;">
|
||||
<view @click="service(detailAny.id)" class="footer-right flex justify-center align-items"
|
||||
v-if="status == 9">
|
||||
<span> 申请售后 </span>
|
||||
</view>
|
||||
<view @click="toAddInvoic(detailAny.id)" class="footer-right flex justify-center align-items"
|
||||
v-if="detailAny.status == 9 && detailAny.invoice_status == 0 && detailAny.detail.feel == 0">
|
||||
<span> 开发票 </span>
|
||||
</view>
|
||||
<view @click="checkInvoice(detailAny.invoiceaplpy.id)" class="footer-right2 flex justify-center align-items"
|
||||
v-if="detailAny.status == 9 && detailAny.invoice_status == 2 && detailAny.detail.feel == 0">
|
||||
<span> 查看发票 </span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -253,6 +261,19 @@
|
||||
url: `/packageA/afterSales/index?id=${id}`
|
||||
})
|
||||
},
|
||||
//申请发票
|
||||
toAddInvoic(id, order_no) {
|
||||
const num = 1
|
||||
uni.navigateTo({
|
||||
url: '/packageB/invoice/addInvoice?id=' + id + "&order_nos=" + order_no + "&num=" + num
|
||||
})
|
||||
},
|
||||
//查看发票
|
||||
checkInvoice(id, order_no) {
|
||||
uni.navigateTo({
|
||||
url: '/packageB/invoice/invoiceInfo?id=' + id + "&order_no=" + order_no
|
||||
})
|
||||
},
|
||||
//星期
|
||||
dateWeeks(timestamp) {
|
||||
return dateWeek(timestamp)
|
||||
@ -537,6 +558,7 @@
|
||||
width: 100%;
|
||||
height: 166rpx;
|
||||
margin-top: 50rpx;
|
||||
display: grid;
|
||||
|
||||
.footer-right {
|
||||
width: 690rpx;
|
||||
@ -553,6 +575,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
.footer-right2 {
|
||||
width: 690rpx;
|
||||
height: 90rpx;
|
||||
background: #f5f5f5;
|
||||
border-radius: 148rpx;
|
||||
border: 2rpx solid #323232;
|
||||
|
||||
span {
|
||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||
font-weight: 400;
|
||||
font-size: 36rpx;
|
||||
color: #9C9C9C;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-right1 {
|
||||
width: 690rpx;
|
||||
height: 90rpx;
|
||||
|
@ -109,15 +109,15 @@
|
||||
</u-form-item>
|
||||
|
||||
<u-form-item label="抬头名称" prop="invoice_header" required>
|
||||
<u-input inputAlign="right" v-model="form.invoice_header" type="number" placeholder="请输入抬头名称"
|
||||
<u-input inputAlign="right" v-model="form.invoice_header" placeholder="请输入抬头名称"
|
||||
border="none" />
|
||||
</u-form-item>
|
||||
<u-form-item label="单位税号" prop="tax_id" v-if="form.head_type == 'corporate'">
|
||||
<u-input inputAlign="right" v-model="form.tax_id" type="number" placeholder="请输入单位税号"
|
||||
<u-input inputAlign="right" v-model="form.tax_id" placeholder="请输入单位税号"
|
||||
border="none" />
|
||||
</u-form-item>
|
||||
<u-form-item label="注册地址" prop="enterprise_address" v-if="form.head_type == 'corporate'">
|
||||
<u-input inputAlign="right" style="width:400rpx" v-model="form.enterprise_address" type="number" placeholder="必填"
|
||||
<u-input inputAlign="right" style="width:400rpx" v-model="form.enterprise_address" placeholder="必填"
|
||||
border="none" />
|
||||
</u-form-item>
|
||||
<u-form-item label="注册电话" prop="enterprise_phone" v-if="form.invoice_type == 'special'">
|
||||
@ -125,7 +125,7 @@
|
||||
border="none" />
|
||||
</u-form-item>
|
||||
<u-form-item label="开户银行" prop="bank_deposit" v-if="form.head_type == 'corporate'">
|
||||
<u-input inputAlign="right" v-model="form.bank_deposit" type="number" placeholder="必填"
|
||||
<u-input inputAlign="right" v-model="form.bank_deposit" placeholder="必填"
|
||||
border="none" />
|
||||
</u-form-item>
|
||||
<u-form-item label="银行账号" prop="bank_number" v-if="form.head_type == 'corporate'">
|
||||
@ -141,7 +141,7 @@
|
||||
placeholder="请输入发票预留手机号" border="none" />
|
||||
</u-form-item>
|
||||
<u-form-item label="邮箱地址" prop="invoice_reservation_email" required>
|
||||
<u-input inputAlign="right" v-model="form.invoice_reservation_email" type="number"
|
||||
<u-input inputAlign="right" v-model="form.invoice_reservation_email"
|
||||
placeholder="请输入发票预留邮箱" border="none" />
|
||||
</u-form-item>
|
||||
</view>
|
||||
@ -186,7 +186,7 @@
|
||||
</view>
|
||||
<view class="textSec">{{item.tax_id}}</view>
|
||||
</view>
|
||||
<view class="manageEdit">
|
||||
<view class="manageEdit" @click.stop="editHead(item.id)">
|
||||
<image style="width: 50rpx;height: 50rpx;" src="https://naweigetetest2.hschool.com.cn/miniapp/invoice/manageEdit.png"
|
||||
mode=""></image>
|
||||
</view>
|
||||
@ -215,7 +215,7 @@
|
||||
|
||||
</scroll-view>
|
||||
|
||||
<view class="popup-footer">
|
||||
<view class="popup-footer1">
|
||||
<view class="headBtn" style="width: 90%;height: 90rpx;background-color: #323232;border-radius: 148rpx;color: #BBFC5B;font-size: 36rpx;
|
||||
font-weight: 400;
|
||||
line-height: 50rpx;
|
||||
@ -228,7 +228,7 @@
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 66rpx;">
|
||||
<view>添加抬头</view>
|
||||
<view @click="addHead()">添加抬头</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -382,6 +382,10 @@
|
||||
}
|
||||
console.log('order_nos:', this.order_nos,'totalPrice:',this.totalPrice);
|
||||
},
|
||||
onShow() {
|
||||
this.headShow = false;
|
||||
this.getHeadList();
|
||||
},
|
||||
onReady() {
|
||||
console.log('设置规则:', this.rules);
|
||||
this.$refs.uForm.setRules(this.rules);
|
||||
@ -485,6 +489,18 @@
|
||||
console.log('5555',this.form);
|
||||
this.closeHeadShow();
|
||||
},
|
||||
addHead() {
|
||||
uni.navigateTo({
|
||||
url: '/packageB/invoice/addHead'
|
||||
})
|
||||
},
|
||||
editHead(id) {
|
||||
this.HeadId = id
|
||||
console.log('HeadId',this.HeadId);
|
||||
uni.navigateTo({
|
||||
url: '/packageB/invoice/addHead?id=' + this.HeadId
|
||||
})
|
||||
},
|
||||
submit() {
|
||||
console.log('sub1');
|
||||
if (this.form.invoice_reservation_phone == '') {
|
||||
@ -1002,7 +1018,39 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.popup-footer1 {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.headBtn {
|
||||
width: 90%;
|
||||
height: 90rpx;
|
||||
background-color: #323232;
|
||||
border-radius: 148rpx;
|
||||
color: #BBFC5B;
|
||||
font-size: 36rpx;
|
||||
font-weight: 400;
|
||||
line-height: 50rpx;
|
||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||
text-transform: none;
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 66rpx;
|
||||
margin-left: 2%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -19,6 +19,13 @@
|
||||
</span>
|
||||
</view>
|
||||
|
||||
<!-- 信息提醒 -->
|
||||
<view class="manageRecord" v-if="selected == 2">
|
||||
<image style="width: 36rpx;height: 36rpx;margin-right: 10rpx;" src="https://naweigetetest2.hschool.com.cn/miniapp/invoice/manageRecord.png" mode="">
|
||||
</image>
|
||||
<view>抬头信息仅用于开具发票,请勿用于转账等其他用途谨防受骗</view>
|
||||
</view>
|
||||
|
||||
<view style="min-height: 100vh;margin-top: 80rpx;width: 100%;">
|
||||
<!-- 合开发票 -->
|
||||
<view v-if="selected == 0">
|
||||
@ -49,7 +56,7 @@
|
||||
<view class="invoiceBtn" @click="handleIssueInvoice()">
|
||||
<view>申请开票</view>
|
||||
</view>
|
||||
<view class="bottom_box flex justify-center align-items" style="height: 1240rpx;width: 100%;"
|
||||
<view class="bottom_box flex justify-center align-items"
|
||||
v-if="unInvoiceList.length == 0">
|
||||
<view style="text-align: center;">
|
||||
<image src="/static/no.png" style="width: 150rpx;height: 150rpx;"></image>
|
||||
@ -58,9 +65,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- 提交记录 -->
|
||||
|
||||
<view class="recordList" v-else-if="selected == 1">
|
||||
|
||||
<!-- v-if="item[index].length == 1" -->
|
||||
@ -149,7 +154,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="bottom_box flex justify-center align-items" style="height: 1240rpx;width: 100%;"
|
||||
<view class="bottom_box flex justify-center align-items"
|
||||
v-if="recordList.length == 0">
|
||||
<view style="text-align: center;">
|
||||
<image src="/static/no.png" style="width: 150rpx;height: 150rpx;"></image>
|
||||
@ -158,14 +163,9 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<!-- 抬头管理 -->
|
||||
<view class="manageList" v-else>
|
||||
<!-- 信息提醒 -->
|
||||
<view class="manageRecord">
|
||||
<image style="width: 36rpx;height: 36rpx;" src="https://naweigetetest2.hschool.com.cn/miniapp/invoice/manageRecord.png" mode="">
|
||||
</image>
|
||||
<text style="margin-left: 10rpx;">抬头信息仅用于开具发票,请勿用于转账等其他用途谨防受骗</text>
|
||||
</view>
|
||||
<!-- 专用 -->
|
||||
<view class="manageList-item" v-for="(item,index) in headList" :key="index" style="margin-bottom: 20rpx;">
|
||||
<view class="manage-type" v-if="item.head_type == 'corporate'">专业发票抬头</view>
|
||||
@ -203,11 +203,14 @@
|
||||
</view>
|
||||
</view>-->
|
||||
<!-- 按钮 -->
|
||||
<view class="footer-mangBtn">
|
||||
<view class="invoiceBtn" @click="addHead()">
|
||||
<view>添加发票抬头</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="bottom_box flex justify-center align-items" style="height: 1240rpx;width: 100%;"
|
||||
|
||||
<view class="bottom_box flex justify-center align-items"
|
||||
v-if="headList.length == 0">
|
||||
<view style="text-align: center;">
|
||||
<image src="/static/no.png" style="width: 150rpx;height: 150rpx;"></image>
|
||||
@ -659,11 +662,12 @@
|
||||
|
||||
|
||||
.record-tabs {
|
||||
// background: #ffffff;
|
||||
background: #f5f5f5;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
overflow-x: auto;
|
||||
position: relative;
|
||||
position: fixed;
|
||||
top: 90rpx;
|
||||
margin: 10rpx 0;
|
||||
border-radius: 30rpx;
|
||||
@ -686,6 +690,7 @@
|
||||
line-height: 26rpx;
|
||||
flex: 0 0 auto;
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.s-header.selected {
|
||||
@ -696,6 +701,7 @@
|
||||
// font-size: 32rpx;
|
||||
color: #323232;
|
||||
line-height: 28rpx;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
}
|
||||
@ -706,6 +712,7 @@
|
||||
height: auto;
|
||||
display: block;
|
||||
justify-content: center;
|
||||
margin-top: 120rpx;
|
||||
|
||||
|
||||
.recordList-item {
|
||||
@ -890,13 +897,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
.manageList {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
// padding-top: 20rpx;
|
||||
|
||||
.manageRecord {
|
||||
margin: 20rpx;
|
||||
z-index: 100;
|
||||
position: fixed;
|
||||
top: 70rpx;
|
||||
// width: 100%;
|
||||
// margin: 0rpx 20rpx 20rpx 20rpx;
|
||||
padding: 20rpx ;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
@ -908,9 +915,16 @@
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: #f5f5f5;
|
||||
// margin: 0 auto;
|
||||
}
|
||||
|
||||
.manageList {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
margin-top: 80rpx;
|
||||
// padding-top: 20rpx;
|
||||
|
||||
.manageList-item {
|
||||
background-color: #ffffff;
|
||||
padding: 20rpx 0;
|
||||
@ -999,6 +1013,34 @@
|
||||
}
|
||||
}
|
||||
|
||||
.footer-mangBtn {
|
||||
width: 100%;
|
||||
height: 160rpx;
|
||||
background-color: #ffffff;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
||||
.invoiceBtn {
|
||||
width: 90%;
|
||||
height: 90rpx;
|
||||
background-color: #323232;
|
||||
border-radius: 148rpx;
|
||||
color: #BBFC5B;
|
||||
font-size: 36rpx;
|
||||
font-weight: 400;
|
||||
line-height: 50rpx;
|
||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||
text-transform: none;
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 32rpx;
|
||||
margin-left: 5%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -1006,6 +1048,18 @@
|
||||
}
|
||||
|
||||
|
||||
.bottom_box{
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top:40%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -47,7 +47,7 @@
|
||||
<u-icon v-if="imagesIndex != 0" name="arrow-left" @click="changeLeft()"></u-icon>
|
||||
</view>
|
||||
|
||||
<image style="width: 320px;height: 240px;margin: 0rpx 26rpx;" :src="imagesList[imagesIndex]" mode=""></image>
|
||||
<image style="width: 280px;height: 240px;margin: 0rpx 26rpx;" :src="imagesList[imagesIndex]" mode=""></image>
|
||||
<view style="width: 20rpx;height: 20rpx;">
|
||||
<u-icon v-if="imagesIndex != iamgesListIndexNum" name="arrow-right" @click="changeRight()"></u-icon>
|
||||
</view>
|
||||
@ -69,9 +69,9 @@
|
||||
data() {
|
||||
return {
|
||||
popupStyImg: {
|
||||
width: '700rpx',
|
||||
width: '650rpx',
|
||||
padding: '24rpx 24rpx 42rpx 24rpx',
|
||||
height: '500rpx',
|
||||
height: '600rpx',
|
||||
margin: '0 auto', // 水平居中
|
||||
display: 'flex',
|
||||
justifyContent: 'start',
|
||||
|
@ -39,7 +39,7 @@
|
||||
机构联系人
|
||||
</view>
|
||||
<view>
|
||||
<input type="text" placeholder="请输入机构姓名" class="input" v-model="formData.realname"
|
||||
<input type="text" placeholder="请输入机构联系人姓名" class="input" v-model="formData.realname"
|
||||
placeholder-class="plasty" />
|
||||
</view>
|
||||
</view>
|
||||
@ -69,9 +69,9 @@
|
||||
<view class="text_lab">
|
||||
详细地址
|
||||
</view>
|
||||
<view>
|
||||
<view style="width: 400rpx;">
|
||||
<input type="text" placeholder="请输入详细地址" class="input" v-model="formData.desc"
|
||||
placeholder-class="plasty" />
|
||||
style="width: 400rpx;" placeholder-class="plasty" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user