在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;">
|
||||
<text>付款时间</text>
|
||||
<text style="color: #323232;">{{ formattime(detailAny.paytime) }}</text>
|
||||
|
||||
</view>
|
||||
<view>{{detailAny.status}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -492,6 +494,7 @@
|
||||
// this.qrList = res.data.detail.ordercode;
|
||||
this.qrimages = res.data.detail.ordercode;
|
||||
this.detailAny = res.data.detail;
|
||||
console.log('{{detailAny.status}}',detailAny.status,detailAny);
|
||||
this.generateAllQRCodes()
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
@ -125,6 +125,14 @@
|
||||
</view>
|
||||
|
||||
<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"
|
||||
v-if="status == 9">
|
||||
<span> 申请售后 </span>
|
||||
@ -255,6 +263,12 @@
|
||||
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) {
|
||||
uni.navigateTo({
|
||||
|
@ -80,12 +80,12 @@
|
||||
</u-form-item>
|
||||
<u-form-item label="单位税号" prop="tax_id"
|
||||
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" />
|
||||
</u-form-item>
|
||||
<u-form-item label="注册地址" prop="enterprise_address"
|
||||
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" />
|
||||
</u-form-item>
|
||||
<u-form-item label="注册电话" prop="enterprise_phone"
|
||||
@ -95,7 +95,7 @@
|
||||
</u-form-item>
|
||||
<u-form-item label="开户银行" prop="bank_deposit"
|
||||
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" />
|
||||
</u-form-item>
|
||||
<u-form-item label="银行账号" prop="bank_number"
|
||||
@ -112,7 +112,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>
|
||||
|
@ -369,6 +369,7 @@
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
this.headShow = false;
|
||||
console.log('options:', options.num, options.order_nos);
|
||||
this.num = options.num
|
||||
this.order_nos = options.order_nos
|
||||
|
@ -340,6 +340,7 @@
|
||||
// status: 9,
|
||||
// keywords: this.keywords,
|
||||
invoice_status: 0,
|
||||
have_invoice:1,
|
||||
}
|
||||
}).then(res => {
|
||||
console.log('code', res.code);
|
||||
@ -441,7 +442,7 @@
|
||||
// keywords: this.keywords,
|
||||
page: this.page,
|
||||
limit: this.limit,
|
||||
status: this.recordeStatus
|
||||
status: this.recordeStatus,
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
|
@ -329,7 +329,7 @@
|
||||
const activityInfo = uni.getStorageSync('activityInfo')
|
||||
const niName = uni.getStorageSync('niName')
|
||||
if (niName) {
|
||||
console.log(1, 'niName', niName)
|
||||
console.log('1-',1, 'niName', niName)
|
||||
this.userName = niName
|
||||
} else {
|
||||
console.log(2)
|
||||
@ -419,7 +419,7 @@
|
||||
})
|
||||
},
|
||||
callPhone(phone) {
|
||||
console.log(phone)
|
||||
console.log('phone',phone)
|
||||
uni.showToast({
|
||||
title: '开发中,敬请期待~',
|
||||
icon: 'none'
|
||||
@ -498,7 +498,7 @@
|
||||
// })
|
||||
},
|
||||
to(url) {
|
||||
console.log(url)
|
||||
console.log('url',url)
|
||||
uni.navigateTo({
|
||||
url: url
|
||||
});
|
||||
@ -575,11 +575,12 @@
|
||||
|
||||
//小程序静默登录
|
||||
miniLogin() {
|
||||
console.log('小程序静默登录');
|
||||
let _this = this;
|
||||
uni.getProvider({
|
||||
service: 'oauth',
|
||||
success: function(res) {
|
||||
console.log(res)
|
||||
console.log('小程序静默登录-res',res)
|
||||
if (~res.provider.indexOf('weixin')) {
|
||||
uni.login({
|
||||
provider: 'weixin',
|
||||
@ -645,7 +646,9 @@
|
||||
getPhoneNumber(e) {
|
||||
var _this = this;
|
||||
//_this.miniLogin()
|
||||
console.log('获取手机号',e,e.detail.iv);
|
||||
if (!e.detail.iv) {
|
||||
console.log('!e.detail.iv');
|
||||
uni.showToast({
|
||||
title: '授权失败,请重新授权',
|
||||
icon: 'none',
|
||||
@ -694,7 +697,7 @@
|
||||
iv: data.iv,
|
||||
sessionKey: data.sessionKey,
|
||||
}).then(res => {
|
||||
console.log('res', res)
|
||||
console.log('解析手机号-res', res)
|
||||
if (res.code == 1) {
|
||||
_this.userRegister(res.data.phoneNumber, openidInfo.openid);
|
||||
} else {
|
||||
@ -713,7 +716,7 @@
|
||||
//用户注册
|
||||
userRegister(mobile, openid) {
|
||||
var _this = this;
|
||||
console.log(uni.getStorageInfoSync("code"))
|
||||
console.log('用户注册-uni.getStorageInfoSync("code")',uni.getStorageInfoSync("code"))
|
||||
uni.$u.http.post('/api/user/registerLogin', {
|
||||
mobile: mobile,
|
||||
openid: openid,
|
||||
@ -834,6 +837,7 @@
|
||||
|
||||
|
||||
clickTop() {
|
||||
console.log('clickTop');
|
||||
// uni.navigateTo({
|
||||
// url: '/packageA/my/person-detail'
|
||||
// })
|
||||
|
Loading…
x
Reference in New Issue
Block a user