Browse Source

fix

tid1509
赵明涛 9 months ago
parent
commit
5a6c673327
  1. 10
      src/subpackage/party/pages/miniapp/certify.vue
  2. 51
      src/subpackage/party/pages/miniapp/record.vue

10
src/subpackage/party/pages/miniapp/certify.vue

@ -97,12 +97,22 @@
placeholder-class="input-hold-class"></input>
</view>
<view class="rb-input-box b-flex-x b-flex-b">
<view class="rb-input-title b-flex-x">发票抬头<text>*</text></view>
<input class="rb-input" v-model="form.invoice_info.invoice_title" type="text" placeholder="请输入"
placeholder-class="input-hold-class"></input>
</view>
<view class="rb-input-box b-flex-x b-flex-b">
<view class="rb-input-title b-flex-x">发票备注<text>*</text></view>
<input class="rb-input" v-model="form.invoice_info.electronic.desc" type="text" placeholder="请输入"
placeholder-class="input-hold-class"></input>
</view>
</block>
<block v-if="form.invoice_info.invoice_type==3">
<view class="rb-input-box b-flex-x b-flex-b">
<view class="rb-input-title b-flex-x">发票抬头<text>*</text></view>
<input class="rb-input" v-model="form.invoice_info.invoice_title" type="text" placeholder="请输入"
placeholder-class="input-hold-class"></input>
</view>
<view class="rb-input-box rb-line b-flex-x b-flex-b">
<view class="rb-input-title b-flex-x">企业电话<text>*</text></view>
<input class="rb-input" v-model="form.invoice_info.vat.enterprise_phone" type="text" placeholder="请输入"

51
src/subpackage/party/pages/miniapp/record.vue

@ -84,7 +84,7 @@
<input class="rb-input" v-model="form.icp_subject.organize_info.certificate_address" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input>
</view>
<view class="rb-upload-box rb-line b-flex-y b-flex-s b-pb-40">
<view class="rb-upload-title b-flex-x">负责人证件照片<text>*</text></view>
<view class="rb-upload-title b-flex-x">主体证件照片<text>*</text></view>
<view class="rb-upload-list b-flex-x b-flex-a">
<view @click="clickUploadImg('icp_subject','organize_info','certificate_photo')" class="rb-upload-item idcard-width-170 b-flex-y b-flex-c">
<image class="rb-upload-bg " src="../../static/regist/id_people.png"
@ -128,8 +128,12 @@
</view>
<view class="rb-input-box rb-line b-flex-x b-flex-b ">
<view class="rb-input-title b-flex-x">证件类型<text>*</text></view>
<input class="rb-input" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input>
<input class="rb-input" type="text" v-model="form.icp_subject.principal_info.certificate_type" placeholder="个人类型请填写数字(2)" placeholder-class="input-hold-class"></input>
</view>
<!-- <view class="rb-input-box rb-line b-flex-x b-flex-b ">
<view class="rb-input-title b-flex-x">证件类型<text>*</text></view>
<input class="rb-input" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input>
</view> -->
<view class="rb-input-box rb-line b-flex-x b-flex-b ">
<view class="rb-input-title b-flex-x">证件号码<text>*</text></view>
<input class="rb-input" v-model="form.icp_subject.principal_info.certificate_number" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input>
@ -235,7 +239,7 @@
<view class="rb-textarea " style="margin-top:90rpx">
<!-- auto-height="false" -->
<!-- placeholder-style="color:#F76260" -->
<textarea @blur="bindTextAreaBlur" v-model="form.icp_subject.base_info.comment" placeholder="请具体描述小程序实际经营内容、主要服务内容,该信息为主管部门审核重要依据,备注内容字数限制20-200字,请认真填" />
<textarea @blur="bindTextAreaBlur" v-model="form.icp_applets.base_info.comment" placeholder="请具体描述小程序实际经营内容、主要服务内容,该信息为主管部门审核重要依据,备注内容字数限制20-200字,请认真填" />
</view>
</view>
@ -733,14 +737,14 @@ export default {
}
},
onLoad(opts) {
async onLoad(opts) {
console.log("onload-", opts)
// if(!opts.appid){
// opts.appid = "wxc141a743225e7885"
// }
this.appid = opts.appid;
this.getData();
// this.getTempDraft();
await this.getData();
await this.getTempDraft();
},
onShow() {
@ -805,6 +809,35 @@ export default {
this.form.icp_applets.principal_info.certificate_validity_date_end = ""
}
},
setPickerValueShow(){//picker,
console.log("setPickerValue")
let {form} = this
//
this.queryIcpSubjectTypes_index = this.queryIcpSubjectTypes.findIndex(item=>item.type==form.icp_subject.base_info.type)
this.bindPickerChange_queryIcpSubjectTypes({
detail:{
value:this.queryIcpSubjectTypes_index
}
})
//
// setTimeout(()=>{
// this.bindPickerChange_queryIcpCertificateTypes({
// detail:{
// value:form.icp_subject.organize_info.certificate_type
// }
// })
// },500)
// this.queryIcpCertificateTypes_index = this.form.icp_subject.organize_info.certificate_type
// this.queryIcpCertificateTypes_show = this.queryIcpCertificateTypesArr[this.form.icp_subject.organize_info.certificate_type]
//
// this.areaDetail = {
// code:[form.icp_subject.base_info.province,form.icp_subject.base_info.city,form.icp_subject.base_info.district],
// value:[form.icp_subject.base_info.province,form.icp_subject.base_info.city,form.icp_subject.base_info.district]
// }
//
},
bindPickerChange_queryIcpSubjectTypes(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.queryIcpSubjectTypes_index = e.detail.value
@ -952,7 +985,7 @@ export default {
_data.localImg = this.localImg //
console.log("editTempDraft:", _data)
servers.get({
servers.post({
url: party_api.editTempDraft,
data: _data,
isDefaultGet: false,
@ -973,7 +1006,7 @@ export default {
},
getTempDraft(){
let _data = this.getGateWayJson('apply_icp_filing')
servers.get({
servers.post({
url: party_api.getTempDraft,
data: _data,
isDefaultGet: false,
@ -987,6 +1020,8 @@ export default {
console.log("获取缓存数据:", _res)
this.form = _res.form//
if(_res.localImg)this.localImg = _res.localImg//
this.setPickerValueShow()
}
})
.catch(err=>{

Loading…
Cancel
Save