You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
14 KiB

<view><view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view class="bottom-border mab15"><view class="left-border"><text class="mgl10">{{"关联人"+(index+1)}}</text></view></view><uni-forms style="padding-bottom:0;" vue-id="{{'6c6d7bc0-1-'+index}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item style="padding-bottom:0;" vue-id="{{('6c6d7bc0-2-'+index)+','+('6c6d7bc0-1-'+index)}}" required="{{true}}" name="type" label="关联人类型" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-checkbox bind:input="__e" vue-id="{{('6c6d7bc0-3-'+index)+','+('6c6d7bc0-2-'+index)}}" localdata="{{linkTypeList}}" value="{{item.type}}" data-event-opts="{{[['^input',[['__set_model',['$0','type','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-data-checkbox></uni-forms-item></uni-forms><block wx:if="{{item.type==0}}"><uni-forms class="from-position vue-ref-in-for" vue-id="{{'6c6d7bc0-4-'+index}}" value="{{item}}" validate-trigger="bind" err-show-type="toast" data-ref="manItem" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('6c6d7bc0-5-'+index)+','+('6c6d7bc0-4-'+index)}}" name="relatedName" required="{{true}}" label="关联人名称" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-6-'+index)+','+('6c6d7bc0-5-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入关联人名称" value="{{item.relatedName}}" data-event-opts="{{[['^input',[['__set_model',['$0','relatedName','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-7-'+index)+','+('6c6d7bc0-4-'+index)}}" name="phone" required="{{true}}" label="联系电话" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-8-'+index)+','+('6c6d7bc0-7-'+index)}}" disabled="{{handle}}" type="number" maxlength="11" inputBorder="{{true}}" placeholder="请输入联系电话" value="{{item.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-9-'+index)+','+('6c6d7bc0-4-'+index)}}" name="maritalStatus" required="{{true}}" label="婚姻状况" bind:__l="__l" vue-slots="{{['default']}}"><picker class="{{[handle=='watch'||handle=='audit'?'disabled':'']}}" disabled="{{handle}}" value="{{item.maritalStatusVal}}" range="{{maritalList}}" range-key="name" data-event-opts="{{[['change',[['relatedMaritalChange',['$event','$0'],[[['list','',index]]]]]]]}}" bindchange="__e"><view class="picker-view flex-between" style="{{(handle?'background-color:#eee;':'')}}"><text>{{item.maritalStatusVal!==""?maritalList[item.maritalStatusVal].name:'请选择'}}</text><text class="cuIcon-unfold lg text-gray"></text></view></picker></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-10-'+index)+','+('6c6d7bc0-4-'+index)}}" name="idCard" required="{{true}}" label="身份证号码" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-11-'+index)+','+('6c6d7bc0-10-'+index)}}" disabled="{{handle}}" type="idcard" inputBorder="{{true}}" placeholder="请输入身份证号码" value="{{item.idCard}}" data-event-opts="{{[['^input',[['__set_model',['$0','idCard','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-12-'+index)+','+('6c6d7bc0-4-'+index)}}" name="age" required="{{true}}" label="年龄" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-13-'+index)+','+('6c6d7bc0-12-'+index)}}" disabled="{{handle}}" type="number" maxlength="2" inputBorder="{{true}}" placeholder="请输入年龄" value="{{item.age}}" data-event-opts="{{[['^input',[['__set_model',['$0','age','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-14-'+index)+','+('6c6d7bc0-4-'+index)}}" name="gender" required="{{true}}" label="性别" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-checkbox bind:input="__e" vue-id="{{('6c6d7bc0-15-'+index)+','+('6c6d7bc0-14-'+index)}}" disabled="{{handle}}" localdata="{{genders}}" value="{{item.gender}}" data-event-opts="{{[['^input',[['__set_model',['$0','gender','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-data-checkbox></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-16-'+index)+','+('6c6d7bc0-4-'+index)}}" name="address" required="{{true}}" label="联系地址" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-17-'+index)+','+('6c6d7bc0-16-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入联系地址" value="{{item.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-18-'+index)+','+('6c6d7bc0-4-'+index)}}" name="relatedEducation(index)" required="{{true}}" label="学历" bind:__l="__l" vue-slots="{{['default']}}"><picker class="{{[handle=='watch'||handle=='audit'?'disabled':'']}}" disabled="{{handle}}" value="{{item.educationVal}}" range="{{educationList}}" range-key="name" data-event-opts="{{[['change',[['educationChange',['$event',index]]]]]}}" bindchange="__e"><view class="picker-view flex-between" style="{{(handle?'background-color:#eee;':'')}}"><text>{{item.educationVal!==''?educationList[item.educationVal].name:'请选择'}}</text><text class="cuIcon-unfold lg text-gray"></text></view></picker></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-19-'+index)+','+('6c6d7bc0-4-'+index)}}" name="employer" required="{{true}}" label="工作单位" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-20-'+index)+','+('6c6d7bc0-19-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入工作单位" value="{{item.employer}}" data-event-opts="{{[['^input',[['__set_model',['$0','employer','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-21-'+index)+','+('6c6d7bc0-4-'+index)}}" name="position" required="{{true}}" label="职务" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-22-'+index)+','+('6c6d7bc0-21-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入职务" value="{{item.position}}" data-event-opts="{{[['^input',[['__set_model',['$0','position','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-23-'+index)+','+('6c6d7bc0-4-'+index)}}" name="relationship" required="{{true}}" label="关联关系" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-24-'+index)+','+('6c6d7bc0-23-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入关联关系" value="{{item.relationship}}" data-event-opts="{{[['^input',[['__set_model',['$0','relationship','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item></uni-forms></block><block wx:if="{{item.type==1}}"><uni-forms class="from-position vue-ref-in-for" vue-id="{{'6c6d7bc0-25-'+index}}" value="{{item}}" validate-trigger="bind" err-show-type="toast" data-ref="enterprise" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('6c6d7bc0-26-'+index)+','+('6c6d7bc0-25-'+index)}}" name="relatedName" required="{{true}}" label="关联人名称" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-27-'+index)+','+('6c6d7bc0-26-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入关联人名称" value="{{item.relatedName}}" data-event-opts="{{[['^input',[['__set_model',['$0','relatedName','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-28-'+index)+','+('6c6d7bc0-25-'+index)}}" name="address" required="{{true}}" label="联系住址" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-29-'+index)+','+('6c6d7bc0-28-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入联系住址" value="{{item.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-30-'+index)+','+('6c6d7bc0-25-'+index)}}" name="socialUnifiedCode" required="{{true}}" label="社会统一代码" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-31-'+index)+','+('6c6d7bc0-30-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入社会统一代码" value="{{item.socialUnifiedCode}}" data-event-opts="{{[['^input',[['__set_model',['$0','socialUnifiedCode','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-32-'+index)+','+('6c6d7bc0-25-'+index)}}" name="registeredCapital" required="{{true}}" label="注册资金(万元)" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-33-'+index)+','+('6c6d7bc0-32-'+index)}}" disabled="{{handle}}" type="digit" inputBorder="{{true}}" placeholder="请输入注册资金" value="{{item.registeredCapital}}" data-event-opts="{{[['^input',[['__set_model',['$0','registeredCapital','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-34-'+index)+','+('6c6d7bc0-25-'+index)}}" name="registeredTime" required="{{true}}" label="注册时间" bind:__l="__l" vue-slots="{{['default']}}"><picker class="{{[handle?'disabled':'']}}" disabled="{{handle}}" mode="date" value="{{item.registeredTime}}" data-event-opts="{{[['change',[['relatedtimeChange',['$event','$0'],[[['list','',index]]]]]]]}}" bindchange="__e"><view class="picker-view flex-between"><text>{{item.registeredTime?item.registeredTime:'请选择'}}</text><text class="cuIcon-unfold lg text-gray"></text></view></picker></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-35-'+index)+','+('6c6d7bc0-25-'+index)}}" name="industry" required="{{true}}" label="所属行业" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-36-'+index)+','+('6c6d7bc0-35-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入所属行业" value="{{item.industry}}" data-event-opts="{{[['^input',[['__set_model',['$0','industry','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-37-'+index)+','+('6c6d7bc0-25-'+index)}}" name="legalPersonName" required="{{true}}" label="法人姓名" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-38-'+index)+','+('6c6d7bc0-37-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入法人姓名" value="{{item.legalPersonName}}" data-event-opts="{{[['^input',[['__set_model',['$0','legalPersonName','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-39-'+index)+','+('6c6d7bc0-25-'+index)}}" name="phone" required="{{true}}" label="联系电话" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-40-'+index)+','+('6c6d7bc0-39-'+index)}}" disabled="{{handle}}" type="number" maxlength="11" inputBorder="{{true}}" placeholder="请输入联系电话" value="{{item.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-41-'+index)+','+('6c6d7bc0-25-'+index)}}" name="relationship" required="{{true}}" label="关联关系" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-42-'+index)+','+('6c6d7bc0-41-'+index)}}" disabled="{{handle}}" type="text" inputBorder="{{true}}" placeholder="请输入关联关系" value="{{item.relationship}}" data-event-opts="{{[['^input',[['__set_model',['$0','relationship','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('6c6d7bc0-43-'+index)+','+('6c6d7bc0-25-'+index)}}" name="shareholdersSituation" required="{{true}}" label="股东情况" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6c6d7bc0-44-'+index)+','+('6c6d7bc0-43-'+index)}}" disabled="{{handle}}" type="textarea" inputBorder="{{true}}" placeholder="请输入关联关系" value="{{item.shareholdersSituation}}" data-event-opts="{{[['^input',[['__set_model',['$0','shareholdersSituation','$event',[]],[[['list','',index]]]]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item></uni-forms></block><view class="foot-btn btn-rig pad-bt"><block wx:if="{{!handle}}"><button class="mini-btn round def-btn mar-lr" type="primary" size="mini" data-event-opts="{{[['tap',[['submitForm',['$0',index],[[['list','',index]]]]]]]}}" bindtap="__e">保存</button></block><block wx:if="{{!handle}}"><button class="mini-btn round" type="warn" size="mini" data-event-opts="{{[['tap',[['deleteContact',[index,'$0'],[[['list','',index]]]]]]]}}" bindtap="__e">删除</button></block></view></block></block></view><block wx:if="{{!handle}}"><button data-event-opts="{{[['tap',[['addContact',['$event']]]]]}}" class="cu-btn block bg-blue margin-tb-sm lg round" bindtap="__e">新增关联人</button></block></view>