更新
This commit is contained in:
@@ -2,29 +2,29 @@
|
||||
<view class="Box">
|
||||
<view class="Box_box_O">
|
||||
<view class="Box_box flex-between">
|
||||
<view>请填写公司名字</view>
|
||||
<view>公司名字</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled="disabled" v-model="form.title"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
placeholder="请填写公司名字" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>请填写法人姓名</view>
|
||||
<view>法人姓名</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.legal_person_name"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
placeholder="请填写法人姓名" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>请填写法人手机号</view>
|
||||
<view>法人手机号</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.phone"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
placeholder="请填写法人手机号" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>电子税局账号</view>
|
||||
<view>开票员身份证号码</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.dlzh"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
placeholder="开票员身份证号码" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>电子税局密码</view>
|
||||
<view>开票员税局密码</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.dlmm"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
placeholder="开票员税局密码" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between" @click="showpicker = true">
|
||||
<view>省份</view>
|
||||
@@ -32,20 +32,26 @@
|
||||
{{form.provinceno_name || ''}}<u-icon name="arrow-right" color="#999999" size="16"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
<view class="Box_box flex-between" @click="showpickerdlsf = true">
|
||||
<view>开票员身份</view>
|
||||
<view class="flex-start">
|
||||
{{form.dlsf_name || ''}}<u-icon name="arrow-right" color="#999999" size="16"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>邀请码</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.code"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
<view class="Box_box_input"><input type="text" maxlength="6" :disabled='disabled' v-model="form.code"
|
||||
placeholder="请填写邀请码" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>办税人姓名</view>
|
||||
<view>开票员姓名</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.taxname"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
placeholder="请填写开票员姓名" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>办税人手机号码</view>
|
||||
<view>开票员手机号码</view>
|
||||
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.taxphone"
|
||||
placeholder="请填写" data-key="mobile" /></view>
|
||||
placeholder="请填写开票员手机号码" data-key="mobile" /></view>
|
||||
</view>
|
||||
<view class="Box_box flex-between">
|
||||
<view>验证码</view>
|
||||
@@ -53,13 +59,12 @@
|
||||
<input class="Box_box_inpuinputt" type="text" v-model="form.verification" placeholder="请填写"
|
||||
data-key="mobile" />
|
||||
<view class="repeats">
|
||||
<view v-if="showText == true"
|
||||
style="padding: 8rpx 0;background: #288EFB; border-radius: 15rpx;"
|
||||
<view v-if="showText == true" style="padding: 8rpx;background: #288EFB; border-radius: 15rpx;"
|
||||
@tap="$u.debounce(CodeRegister, 500)">
|
||||
{{ Recapture }}
|
||||
</view>
|
||||
<view v-else
|
||||
style="color: #ccc; background-color: #f9f9f9; padding: 8rpx 0; border-radius: 15rpx;">
|
||||
style="color: #ccc; background-color: #f9f9f9; padding: 8rpx; border-radius: 15rpx;">
|
||||
{{ second }}s重新发送
|
||||
</view>
|
||||
</view>
|
||||
@@ -99,6 +104,8 @@
|
||||
</view>
|
||||
<u-picker :show="showpicker" :columns="columns" @confirm='confirm' keyName="name"
|
||||
@cancel='showpicker = false'></u-picker>
|
||||
<u-picker :show="showpickerdlsf" :columns="columnsdlsf" @confirm='confirmdlsf' keyName="name"
|
||||
@cancel='showpickerdlsf = false'></u-picker>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
@@ -110,12 +117,16 @@
|
||||
data() {
|
||||
return {
|
||||
showpicker: false,
|
||||
showpickerdlsf: false,
|
||||
disabled: false,
|
||||
Uploadurlnumber: '',
|
||||
namelang: '',
|
||||
merchantAuditStatus: '',
|
||||
columns: [
|
||||
|
||||
],
|
||||
columnsdlsf: [
|
||||
|
||||
],
|
||||
codefailed: false, //验证码是否发送成功
|
||||
store_id: '',
|
||||
@@ -142,6 +153,7 @@
|
||||
},
|
||||
onLoad(e) {
|
||||
console.log(e.store)
|
||||
this.onShowdatadlsf()
|
||||
let data = uni.getStorageSync('form')
|
||||
console.log(data)
|
||||
// if (data.status == '0') {
|
||||
@@ -166,6 +178,8 @@
|
||||
this.form.provinceno_name = data.provinceno_name
|
||||
this.form.taxname = data.bsryxm
|
||||
this.form.taxphone = data.taxphone
|
||||
this.form.dlsf_name = data.dlsf_name
|
||||
this.form.dlsf = data.dlsf
|
||||
}
|
||||
|
||||
},
|
||||
@@ -237,6 +251,13 @@
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (this.form.dlsf == null || this.form.dlsf == '') {
|
||||
uni.showToast({
|
||||
title: '请选择开票员身份',
|
||||
icon: 'none'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (this.form.dlmm == null || this.form.dlmm == '') {
|
||||
uni.showToast({
|
||||
title: '请填写电子税局账密码',
|
||||
@@ -339,6 +360,17 @@
|
||||
this.form.provinceno = e.value[0].code
|
||||
this.showpicker = false
|
||||
},
|
||||
confirmdlsf(e) {
|
||||
console.log('confirm', e)
|
||||
this.form.dlsf = e.value[0].id
|
||||
this.form.dlsf_name = e.value[0].name
|
||||
this.showpickerdlsf = false
|
||||
},
|
||||
async onShowdatadlsf() {
|
||||
let res = await this.api.szzpytypeofinvoicer()
|
||||
console.log(res)
|
||||
this.columnsdlsf = [res.data]
|
||||
},
|
||||
Upload(i) {
|
||||
if (this.disabled) {
|
||||
return false;
|
||||
@@ -434,7 +466,7 @@
|
||||
}
|
||||
|
||||
.repeats {
|
||||
width: 280rpx;
|
||||
flex: none;
|
||||
text-align: center;
|
||||
font-size: 24rpx;
|
||||
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
|
||||
|
||||
Reference in New Issue
Block a user