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
10 KiB

<view class="addDiver_body"><view class="addDiver_card"><view class="card_title"><view class="tiao"></view><view class="card_title_text">基础信息</view></view><uni-list vue-id="78e1884d-1" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('78e1884d-2')+','+('78e1884d-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header"><image style="width:12rpx;position:absolute;left:0;" src="/static/bt.png" mode="widthFix"></image>用户昵称</view><view class="list_right" style="padding-right:16px !important;" slot="body"><input class="list_right_input" placeholder="请输入昵称" data-event-opts="{{[['input',[['__set_model',['$0','userName','$event',[]],['postData']]]]]}}" value="{{postData.userName}}" bindinput="__e"/></view></uni-list-item><uni-list-item class="fg" vue-id="{{('78e1884d-3')+','+('78e1884d-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header"><image style="width:12rpx;position:absolute;left:0;" src="/static/bt.png" mode="widthFix"></image>密码</view><view class="list_right" slot="body"><view style="width:100%;padding-right:16px !important;"><input class="list_right_input" placeholder="请输入密码或生成随机密码" data-event-opts="{{[['input',[['__set_model',['$0','password','$event',[]],['postData']]]]]}}" value="{{postData.password}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['random']]]]}}" style="font-size:24rpx;position:relative;color:#2866FF;justify-content:flex-end;display:flex;align-items:center;z-index:999999;" bindtap="__e"><text>生成密码</text></view></view></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-4')+','+('78e1884d-1')}}" border="{{false}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header"><image style="width:12rpx;position:absolute;left:0;" src="/static/bt.png" mode="widthFix"></image>手机号码</view><view class="list_right" style="padding-right:16px !important;" slot="body"><view style="width:100%;"><input class="list_right_input" placeholder="请输入手机号码" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['postData']]]]]}}" value="{{postData.phone}}" bindinput="__e"/><view style="font-size:24rpx;color:#2866FF;justify-content:flex-end;display:flex;align-items:center;"><radio style="transform:scale(0.5);" color="#2866FF" value="r1" checked="{{false}}"></radio>是否将密码发送给客户</view></view></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-5')+','+('78e1884d-1')}}" link="{{true}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">生日</view><view class="list_right list_nosele" style="{{'color:'+(postData.birthday?'#333333':'')+';'}}" slot="body" data-event-opts="{{[['tap',[['open',['$event']]]]]}}" bindtap="__e">{{''+(postData.birthday?postData.birthday:'请选择生日日期')+''}}</view></uni-list-item><uni-list-item vue-id="{{('78e1884d-6')+','+('78e1884d-1')}}" link="{{true}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">头像</view><view class="list_right list_nosele" style="{{'color:'+(postData.headPhoto?'#333333':'')+';'}}" slot="body" data-event-opts="{{[['tap',[['clickfn',['$event']]]]]}}" bindtap="__e">{{''+(postData.headPhoto?'已上传':'请上传')+''}}</view></uni-list-item><uni-list-item vue-id="{{('78e1884d-7')+','+('78e1884d-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">个人车牌</view><view class="list_right list_nosele" style="padding-right:16px !important;" slot="body"><input class="list_right_input" placeholder="请输入个人车牌号码" data-event-opts="{{[['input',[['__set_model',['$0','plateNumber','$event',[]],['postData']]]]]}}" value="{{postData.plateNumber}}" bindinput="__e"/></view></uni-list-item></uni-list></view><view class="addDiver_card"><view class="card_title"><view class="tiao"></view><view class="card_title_text" style="display:flex;justify-content:space-between;width:100%;"><view>关联绑定企业</view><view data-event-opts="{{[['tap',[['clearFn',['$event']]]]]}}" class="clear" bindtap="__e"><image style="height:32rpx;margin-right:10rpx;" src="../../static/clear.png" mode="heightFix"></image>清除</view></view></view><uni-list vue-id="78e1884d-8" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('78e1884d-9')+','+('78e1884d-8')}}" link="{{true}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">企业名称</view><view class="list_right" slot="body"><view class="list_right list_nosele" style="{{'color:'+(aboutEnterprise.name?'#333333':' ')+';'}}" slot="body" data-event-opts="{{[['tap',[['jump',['$event']]]]]}}" bindtap="__e">{{''+(aboutEnterprise.name?aboutEnterprise.name:'请选择企业')+''}}</view></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-10')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">企业类型</view><view class="list_right" slot="body"><u-radio-group vue-id="{{('78e1884d-11')+','+('78e1884d-10')}}" iconPlacement="right" placement="row" value="{{enterpriseType}}" data-event-opts="{{[['^change',[['groupChange']]],['^input',[['__set_model',['','enterpriseType','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{radiolist1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-radio vue-id="{{('78e1884d-12-'+index)+','+('78e1884d-11')}}" customStyle="{{({marginBottom:'8px'})}}" label="{{item.name}}" name="{{item.name}}" data-event-opts="{{[['^change',[['radioChange']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}">{{''+item.name+''}}</u-radio></block></u-radio-group></view></uni-list-item><block wx:if="{{enterpriseType=='自营'}}"><uni-list-item vue-id="{{('78e1884d-13')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">企业车牌</view><view class="list_right" style="padding-right:16px !important;" slot="body"><view style="width:100%;"><input class="list_right_input" placeholder="请输入企业车牌" data-event-opts="{{[['input',[['__set_model',['$0','plateNumberCompany','$event',[]],['aboutEnterprise']]]]]}}" value="{{aboutEnterprise.plateNumberCompany}}" bindinput="__e"/></view></view></uni-list-item></block><uni-list-item vue-id="{{('78e1884d-14')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单日金额上限</view><view class="list_right " slot="body"><view style="width:100%;padding-right:16px !important;display:flex;"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','dayAmountToplimit','$event',[]],['aboutEnterprise']],['inputFn',['dayAmountToplimit']]]]]}}" value="{{aboutEnterprise.dayAmountToplimit}}" bindinput="__e"/><text class="yuan">元</text></view></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-15')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单次金额上限</view><view class="list_right " slot="body"><view style="width:100%;padding-right:16px !important;display:flex;"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','orderAmountToplimit','$event',[]],['aboutEnterprise']],['inputFn',['orderAmountToplimit']]]]]}}" value="{{aboutEnterprise.orderAmountToplimit}}" bindinput="__e"/><text class="yuan">元</text></view></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-16')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单日加油升数上限</view><view class="list_right " style="padding-right:16px !important;display:flex;" slot="body"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','dayVolumeToplimit','$event',[]],['aboutEnterprise']],['inputFn',['dayVolumeToplimit']]]]]}}" value="{{aboutEnterprise.dayVolumeToplimit}}" bindinput="__e"/><text class="yuan">升</text></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-17')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单笔加油升数上限</view><view class="list_right " style="padding-right:16px !important;display:flex;" slot="body"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','orderVolumeToplimit','$event',[]],['aboutEnterprise']],['inputFn',['orderVolumeToplimit']]]]]}}" value="{{aboutEnterprise.orderVolumeToplimit}}" bindinput="__e"/><text class="yuan">升</text></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-18')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">是否共享企业额度</view><view class="list_right" style="padding-right:16px !important;" slot="body"><u-switch vue-id="{{('78e1884d-19')+','+('78e1884d-18')}}" disabled="{{disabled}}" openText="{{openText}}" asyncChange="{{true}}" activeColor="#17A00E" inactive-color="#BBBBBB" size="35" value="{{switchOpen}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','switchOpen','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-switch></view></uni-list-item><uni-list-item vue-id="{{('78e1884d-20')+','+('78e1884d-8')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">备注</view><view class="list_right " style="padding-right:16px !important;" slot="body"><input class="list_right_input" placeholder="请输入备注" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['aboutEnterprise']]]]]}}" value="{{aboutEnterprise.remark}}" bindinput="__e"/></view></uni-list-item></uni-list></view><view class="list_footer"><button data-event-opts="{{[['tap',[['postFn',['$event']]]]]}}" class="list_butten " bindtap="__e">保存</button></view><u-picker vue-id="78e1884d-21" mode="time" value="{{show}}" data-event-opts="{{[['^confirm',[['dateConfirm']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></view>