add
This commit is contained in:
parent
317ad7c192
commit
45b51b0a11
|
@ -288,34 +288,34 @@
|
||||||
|
|
||||||
const currentTab = ref(1)
|
const currentTab = ref(1)
|
||||||
const formData = reactive({
|
const formData = reactive({
|
||||||
// store_id: STORE_INFO.id,
|
|
||||||
// mobile: "",
|
|
||||||
// province: 510000,
|
|
||||||
// city: '',
|
|
||||||
// area: "",
|
|
||||||
// street: "",
|
|
||||||
// village: "",
|
|
||||||
// real_name: "",
|
|
||||||
// auth_code: "",
|
|
||||||
// address: "",
|
|
||||||
// label_name: "",
|
|
||||||
// label_id: "",
|
|
||||||
// user_ship: '',
|
|
||||||
// code: ''
|
|
||||||
store_id: STORE_INFO.id,
|
store_id: STORE_INFO.id,
|
||||||
mobile: "19130550023",
|
mobile: "",
|
||||||
province: 510000,
|
province: 510000,
|
||||||
city: '510600',
|
city: '',
|
||||||
area: "510626",
|
area: "",
|
||||||
street: "510626101",
|
street: "",
|
||||||
village: "",
|
village: "",
|
||||||
real_name: "赵明军",
|
real_name: "",
|
||||||
auth_code: "131527008529094084",
|
auth_code: "",
|
||||||
address: "",
|
address: "",
|
||||||
label_name: "",
|
label_name: "",
|
||||||
label_id: "",
|
label_id: "",
|
||||||
user_ship: '',
|
user_ship: '',
|
||||||
code: ''
|
code: ''
|
||||||
|
// store_id: STORE_INFO.id,
|
||||||
|
// mobile: "19130550023",
|
||||||
|
// province: 510000,
|
||||||
|
// city: '510600',
|
||||||
|
// area: "510626",
|
||||||
|
// street: "510626101",
|
||||||
|
// village: "",
|
||||||
|
// real_name: "赵明军",
|
||||||
|
// auth_code: "131527008529094084",
|
||||||
|
// address: "",
|
||||||
|
// label_name: "",
|
||||||
|
// label_id: "",
|
||||||
|
// user_ship: '',
|
||||||
|
// code: ''
|
||||||
})
|
})
|
||||||
|
|
||||||
const conformRole = (e) => {
|
const conformRole = (e) => {
|
||||||
|
@ -446,16 +446,11 @@
|
||||||
if (!formData.code) return uni.$u.toast('请输入短信验证码');
|
if (!formData.code) return uni.$u.toast('请输入短信验证码');
|
||||||
formData.store_id = STORE_INFO.id
|
formData.store_id = STORE_INFO.id
|
||||||
if (Role.value == 1) {
|
if (Role.value == 1) {
|
||||||
formData.recharge_type = 'INDUSTRYMEMBERS'
|
// formData.recharge_type = 'INDUSTRYMEMBERS'
|
||||||
formData.user_ship = 1
|
// formData.user_ship = 1
|
||||||
vipRechargeApi(formData).then(res => {
|
// vipRechargeApi(formData).then(res => {
|
||||||
|
// })
|
||||||
// timer = setTimeout(() => {
|
// return
|
||||||
// uni.hideLoading();
|
|
||||||
// uni.$u.toast('支付超时');
|
|
||||||
// }, 30000)
|
|
||||||
})
|
|
||||||
return
|
|
||||||
uni.scanCode({
|
uni.scanCode({
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整');
|
if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整');
|
||||||
|
|
|
@ -43,12 +43,7 @@
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
uni.vibrateShort({
|
uni.vibrateShort();
|
||||||
success: function () {
|
|
||||||
console.log('success');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
console.log("点击了")
|
|
||||||
if (refValue.value.length === props.num) {
|
if (refValue.value.length === props.num) {
|
||||||
emits('complete', refValue.value.join(''));
|
emits('complete', refValue.value.join(''));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue