在PayStatus页面新加按钮;新增抬头的input格式调整
This commit is contained in:
parent
8959e864eb
commit
00a78d2e39
@ -92,7 +92,9 @@
|
|||||||
<view class="flex w-100 space-between hui align-items" style="margin-top: 40rpx;">
|
<view class="flex w-100 space-between hui align-items" style="margin-top: 40rpx;">
|
||||||
<text>付款时间</text>
|
<text>付款时间</text>
|
||||||
<text style="color: #323232;">{{ formattime(detailAny.paytime) }}</text>
|
<text style="color: #323232;">{{ formattime(detailAny.paytime) }}</text>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
<view>{{detailAny.status}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -492,6 +494,7 @@
|
|||||||
// this.qrList = res.data.detail.ordercode;
|
// this.qrList = res.data.detail.ordercode;
|
||||||
this.qrimages = res.data.detail.ordercode;
|
this.qrimages = res.data.detail.ordercode;
|
||||||
this.detailAny = res.data.detail;
|
this.detailAny = res.data.detail;
|
||||||
|
console.log('{{detailAny.status}}',detailAny.status,detailAny);
|
||||||
this.generateAllQRCodes()
|
this.generateAllQRCodes()
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -125,6 +125,14 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="footer align-items flex-column" style="justify-content: space-between;">
|
<view class="footer align-items flex-column" style="justify-content: space-between;">
|
||||||
|
<view @click="toPay(detailAny.id, detailAny.order_no)" class="footer-right flex justify-center align-items"
|
||||||
|
v-if="detailAny.status == 0" style="color: #bbfc5b;">
|
||||||
|
<text>去支付 <u-count-down :time="detailAny.cancel_last_seconds * 1000"></u-count-down></text>
|
||||||
|
</view>
|
||||||
|
<!-- <view @click="openCancels" class="footer-right flex justify-center align-items"
|
||||||
|
v-if="detailAny.status == 0">
|
||||||
|
<text>取消支付 <u-count-down :time="detailAny.cancel_last_seconds * 1000"></u-count-down></text>
|
||||||
|
</view> -->
|
||||||
<view @click="service(detailAny.id)" class="footer-right flex justify-center align-items"
|
<view @click="service(detailAny.id)" class="footer-right flex justify-center align-items"
|
||||||
v-if="status == 9">
|
v-if="status == 9">
|
||||||
<span> 申请售后 </span>
|
<span> 申请售后 </span>
|
||||||
@ -255,6 +263,12 @@
|
|||||||
url: `/packageA/center/detail?id=${this.detail.activity_id}`
|
url: `/packageA/center/detail?id=${this.detail.activity_id}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 去支付
|
||||||
|
toPay(id, order_no) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "/packageA/my/pendinPay?id=" + id + "&order_no=" + order_no
|
||||||
|
})
|
||||||
|
},
|
||||||
//申请售后
|
//申请售后
|
||||||
service(id) {
|
service(id) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
@ -80,12 +80,12 @@
|
|||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="单位税号" prop="tax_id"
|
<u-form-item label="单位税号" prop="tax_id"
|
||||||
v-if="form.head_type == 'corporate' || form.head_type == ''">
|
v-if="form.head_type == 'corporate' || form.head_type == ''">
|
||||||
<u-input inputAlign="right" v-model="form.tax_id" type="number" placeholder="请输入单位税号"
|
<u-input inputAlign="right" v-model="form.tax_id" placeholder="请输入单位税号"
|
||||||
border="none" />
|
border="none" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="注册地址" prop="enterprise_address"
|
<u-form-item label="注册地址" prop="enterprise_address"
|
||||||
v-if="form.head_type == 'corporate' || form.head_type == ''">
|
v-if="form.head_type == 'corporate' || form.head_type == ''">
|
||||||
<u-input inputAlign="right" v-model="form.enterprise_address" type="number" placeholder="必填"
|
<u-input inputAlign="right" v-model="form.enterprise_address" placeholder="必填"
|
||||||
border="none" />
|
border="none" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="注册电话" prop="enterprise_phone"
|
<u-form-item label="注册电话" prop="enterprise_phone"
|
||||||
@ -95,7 +95,7 @@
|
|||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="开户银行" prop="bank_deposit"
|
<u-form-item label="开户银行" prop="bank_deposit"
|
||||||
v-if="form.head_type == 'corporate' || form.head_type == ''">
|
v-if="form.head_type == 'corporate' || form.head_type == ''">
|
||||||
<u-input inputAlign="right" v-model="form.bank_deposit" type="number" placeholder="必填"
|
<u-input inputAlign="right" v-model="form.bank_deposit" placeholder="必填"
|
||||||
border="none" />
|
border="none" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="银行账号" prop="bank_number"
|
<u-form-item label="银行账号" prop="bank_number"
|
||||||
@ -112,7 +112,7 @@
|
|||||||
placeholder="请输入发票预留手机号" border="none" />
|
placeholder="请输入发票预留手机号" border="none" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="邮箱地址" prop="invoice_reservation_email" required>
|
<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" />
|
placeholder="请输入发票预留邮箱" border="none" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
|
@ -369,6 +369,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
this.headShow = false;
|
||||||
console.log('options:', options.num, options.order_nos);
|
console.log('options:', options.num, options.order_nos);
|
||||||
this.num = options.num
|
this.num = options.num
|
||||||
this.order_nos = options.order_nos
|
this.order_nos = options.order_nos
|
||||||
|
@ -340,6 +340,7 @@
|
|||||||
// status: 9,
|
// status: 9,
|
||||||
// keywords: this.keywords,
|
// keywords: this.keywords,
|
||||||
invoice_status: 0,
|
invoice_status: 0,
|
||||||
|
have_invoice:1,
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log('code', res.code);
|
console.log('code', res.code);
|
||||||
@ -441,7 +442,7 @@
|
|||||||
// keywords: this.keywords,
|
// keywords: this.keywords,
|
||||||
page: this.page,
|
page: this.page,
|
||||||
limit: this.limit,
|
limit: this.limit,
|
||||||
status: this.recordeStatus
|
status: this.recordeStatus,
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 1) {
|
if (res.code == 1) {
|
||||||
|
@ -329,7 +329,7 @@
|
|||||||
const activityInfo = uni.getStorageSync('activityInfo')
|
const activityInfo = uni.getStorageSync('activityInfo')
|
||||||
const niName = uni.getStorageSync('niName')
|
const niName = uni.getStorageSync('niName')
|
||||||
if (niName) {
|
if (niName) {
|
||||||
console.log(1, 'niName', niName)
|
console.log('1-',1, 'niName', niName)
|
||||||
this.userName = niName
|
this.userName = niName
|
||||||
} else {
|
} else {
|
||||||
console.log(2)
|
console.log(2)
|
||||||
@ -419,7 +419,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
callPhone(phone) {
|
callPhone(phone) {
|
||||||
console.log(phone)
|
console.log('phone',phone)
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '开发中,敬请期待~',
|
title: '开发中,敬请期待~',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
@ -498,7 +498,7 @@
|
|||||||
// })
|
// })
|
||||||
},
|
},
|
||||||
to(url) {
|
to(url) {
|
||||||
console.log(url)
|
console.log('url',url)
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: url
|
url: url
|
||||||
});
|
});
|
||||||
@ -575,11 +575,12 @@
|
|||||||
|
|
||||||
//小程序静默登录
|
//小程序静默登录
|
||||||
miniLogin() {
|
miniLogin() {
|
||||||
|
console.log('小程序静默登录');
|
||||||
let _this = this;
|
let _this = this;
|
||||||
uni.getProvider({
|
uni.getProvider({
|
||||||
service: 'oauth',
|
service: 'oauth',
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
console.log(res)
|
console.log('小程序静默登录-res',res)
|
||||||
if (~res.provider.indexOf('weixin')) {
|
if (~res.provider.indexOf('weixin')) {
|
||||||
uni.login({
|
uni.login({
|
||||||
provider: 'weixin',
|
provider: 'weixin',
|
||||||
@ -645,7 +646,9 @@
|
|||||||
getPhoneNumber(e) {
|
getPhoneNumber(e) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
//_this.miniLogin()
|
//_this.miniLogin()
|
||||||
|
console.log('获取手机号',e,e.detail.iv);
|
||||||
if (!e.detail.iv) {
|
if (!e.detail.iv) {
|
||||||
|
console.log('!e.detail.iv');
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '授权失败,请重新授权',
|
title: '授权失败,请重新授权',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
@ -694,7 +697,7 @@
|
|||||||
iv: data.iv,
|
iv: data.iv,
|
||||||
sessionKey: data.sessionKey,
|
sessionKey: data.sessionKey,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log('res', res)
|
console.log('解析手机号-res', res)
|
||||||
if (res.code == 1) {
|
if (res.code == 1) {
|
||||||
_this.userRegister(res.data.phoneNumber, openidInfo.openid);
|
_this.userRegister(res.data.phoneNumber, openidInfo.openid);
|
||||||
} else {
|
} else {
|
||||||
@ -713,7 +716,7 @@
|
|||||||
//用户注册
|
//用户注册
|
||||||
userRegister(mobile, openid) {
|
userRegister(mobile, openid) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
console.log(uni.getStorageInfoSync("code"))
|
console.log('用户注册-uni.getStorageInfoSync("code")',uni.getStorageInfoSync("code"))
|
||||||
uni.$u.http.post('/api/user/registerLogin', {
|
uni.$u.http.post('/api/user/registerLogin', {
|
||||||
mobile: mobile,
|
mobile: mobile,
|
||||||
openid: openid,
|
openid: openid,
|
||||||
@ -834,6 +837,7 @@
|
|||||||
|
|
||||||
|
|
||||||
clickTop() {
|
clickTop() {
|
||||||
|
console.log('clickTop');
|
||||||
// uni.navigateTo({
|
// uni.navigateTo({
|
||||||
// url: '/packageA/my/person-detail'
|
// url: '/packageA/my/person-detail'
|
||||||
// })
|
// })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user