hls_crm/unpackage/dist/dev/mp-weixin/pagesA/crm/contract/contract.wxml

1 line
7.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="new_linkman data-v-2d11d07a"><view class="top_required data-v-2d11d07a">只展示<label style="color:#f00;" class="_span data-v-2d11d07a">必填</label>字段<switch checked="{{isRequired}}" color="#008EFF" data-event-opts="{{[['change',[['changeRequired',['$event']]]]]}}" bindchange="__e" class="data-v-2d11d07a"></switch></view><view class="fllow_form data-v-2d11d07a"><view class="data-v-2d11d07a"><text class="data-v-2d11d07a">*</text>店长名称</view><view data-event-opts="{{[['tap',[['changeCus',['$event']]]]]}}" class="form_right data-v-2d11d07a" bindtap="__e"><view class="{{['data-v-2d11d07a',customerName?'valueActive':'']}}">{{customerName?customerName:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-2d11d07a"></view></view></view><view class="fllow_form data-v-2d11d07a"><view class="data-v-2d11d07a"><text class="data-v-2d11d07a">*</text>客户签约人</view><view data-event-opts="{{[['tap',[['changeContact',['$event']]]]]}}" class="form_right data-v-2d11d07a" bindtap="__e"><view class="{{['data-v-2d11d07a',contactName?'valueActive':'']}}">{{''+(contactName?contactName:'点击选择')}}</view><view class="iconfont icon-arrows_right data-v-2d11d07a"></view></view></view><view class="fllow_form data-v-2d11d07a"><view class="data-v-2d11d07a"><text class="data-v-2d11d07a">*</text>公司签约人</view><view data-event-opts="{{[['tap',[['changeStaff',['$event']]]]]}}" class="form_right data-v-2d11d07a" bindtap="__e"><view class="{{['data-v-2d11d07a',staffName?'valueActive':'']}}">{{''+(staffName?staffName:'点击选择')}}</view><view class="iconfont icon-arrows_right data-v-2d11d07a"></view></view></view><block wx:for="{{listForm}}" wx:for-item="item" wx:for-index="index" wx:key="index"><form-item vue-id="{{'7528bfcc-1-'+index}}" isNotRequired="{{isRequired}}" objInfo="{{item}}" data-event-opts="{{[['^changeData',[['changeOtherData']]]]}}" bind:changeData="__e" class="data-v-2d11d07a" bind:__l="__l"></form-item></block><block wx:if="{{!isRequired}}"><view class="fllow_form data-v-2d11d07a"><view style="padding-left:15rpx;" class="data-v-2d11d07a">购买产品</view><view data-event-opts="{{[['tap',[['addPart',['$event']]]]]}}" class="add_in data-v-2d11d07a" bindtap="__e">+添加产品</view></view></block><block wx:if="{{$root.g0!=0}}"><view class="pro_warp data-v-2d11d07a"><block wx:for="{{productList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="li_warp data-v-2d11d07a"><view class="cell_con data-v-2d11d07a"><view class="cell_con_top data-v-2d11d07a"><view class="contitle data-v-2d11d07a">{{item.name}}</view><image class="deleimg data-v-2d11d07a" src="{{BASE_IMG_URL+'delete1.png'}}" mode data-event-opts="{{[['tap',[['delProduct',[index]]]]]}}" bindtap="__e"></image></view><view class="pro_con_box data-v-2d11d07a"><view class="boxleft data-v-2d11d07a"><view class="context data-v-2d11d07a">{{"编号:"+item.num}}</view><view class="context data-v-2d11d07a">{{"单位:"+item.unit}}</view><view class="context data-v-2d11d07a">零售价:¥<input class="productPrice data-v-2d11d07a" type="digit" placeholder="产品价格" data-event-opts="{{[['blur',[['changeProductPrice',['$event']]]],['input',[['__set_model',['$0','price','$event',[]],[[['productList','',index]]]]]]]}}" value="{{item.price}}" bindblur="__e" bindinput="__e"/></view><view class="context data-v-2d11d07a">批发价:¥<input class="productPrice data-v-2d11d07a" type="digit" placeholder="批发价" data-event-opts="{{[['input',[['__set_model',['$0','wholesale','$event',[]],[[['productList','',index]]]]]]]}}" value="{{item.wholesale}}" bindinput="__e"/></view></view><view class="conbot data-v-2d11d07a"><view class="conright data-v-2d11d07a"><uni-number-box vue-id="{{'7528bfcc-2-'+index}}" min="{{1}}" max="{{20000}}" value="{{item.number}}" data-event-opts="{{[['^change',[['changeNumber',['$event',index]]]],['^input',[['__set_model',['$0','number','$event',[]],[[['productList','',index]]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-2d11d07a" bind:__l="__l"></uni-number-box></view></view></view></view></view></block></view></block><block wx:if="{{$root.g1}}"><view class="fllow_form data-v-2d11d07a"><view class="data-v-2d11d07a">业绩分配方式</view><picker value="{{methodIndex}}" range="{{methodArr}}" range-key="name" data-event-opts="{{[['change',[['changeMethod',['$event']]]]]}}" bindchange="__e" class="data-v-2d11d07a"><view class="form_right data-v-2d11d07a"><view class="{{['data-v-2d11d07a',methodArr[methodIndex]?'valueActive':'']}}">{{''+(methodArr[methodIndex]?methodArr[methodIndex].name:'点击选择')}}</view><view class="iconfont icon-arrows_right data-v-2d11d07a"></view></view></picker></view></block><block wx:if="{{$root.g2!=0}}"><view class="ach_list data-v-2d11d07a"><image class="deleimg data-v-2d11d07a" src="{{BASE_IMG_URL+'delete1.png'}}" mode data-event-opts="{{[['tap',[['delDistribution',['$event']]]]]}}" bindtap="__e"></image><block wx:for="{{distributionArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="ach_li data-v-2d11d07a"><view class="ach_rate data-v-2d11d07a">业绩占比<label class="_span data-v-2d11d07a">{{"("+item.name+"%)"}}</label></view><block wx:if="{{!item.staff.id}}"><view class="ach_staff data-v-2d11d07a"><image class="uploadimg data-v-2d11d07a" src="{{BASE_IMG_URL+'/addfile.png'}}" data-event-opts="{{[['tap',[['selectTeam',[index]]]]]}}" bindtap="__e"></image><view class="ach_t data-v-2d11d07a">选择成员</view></view></block><block wx:else><view class="ach_staff data-v-2d11d07a"><view data-event-opts="{{[['tap',[['delDisStaff',[index]]]]]}}" class="delStaff data-v-2d11d07a" bindtap="__e">×</view><image class="uploadimg data-v-2d11d07a" style="border-radius:50%;" src="{{item.staff.img?item.staff.img:BASE_IMG_URL+'/headImg.png'}}"></image><view class="ach_t data-v-2d11d07a">{{item.staff.name}}</view></view></block></view></block></view></block><block wx:if="{{approvalPro.status==1}}"><fixed-approval vue-id="7528bfcc-3" list="{{approvalPro.stepList}}" class="data-v-2d11d07a" bind:__l="__l"></fixed-approval></block><block wx:if="{{approvalPro.status==0}}"><examine-template vue-id="7528bfcc-4" remindPeople="{{remindPeople}}" data-event-opts="{{[['^delExamine',[['delRemind']]]]}}" bind:delExamine="__e" class="data-v-2d11d07a" bind:__l="__l"></examine-template></block><view class="btn_g bg-blue button-hover round data-v-2d11d07a" id="btn" data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['toSave']]]]]}}" bindtap="__e">保存</view><popup-list bind:selectList="__e" vue-id="7528bfcc-5" data-ref="productChild" data-event-opts="{{[['^selectList',[['selectList']]]]}}" class="data-v-2d11d07a vue-ref" bind:__l="__l"></popup-list><popup-product-config bind:selectList="__e" vue-id="7528bfcc-6" data-ref="productConfig" data-event-opts="{{[['^selectList',[['configList']]]]}}" class="data-v-2d11d07a vue-ref" bind:__l="__l"></popup-product-config><select-customer bind:getCustomerinfo="__e" vue-id="7528bfcc-7" data-ref="customerChild" data-event-opts="{{[['^getCustomerinfo',[['sureSelect']]]]}}" class="data-v-2d11d07a vue-ref" bind:__l="__l"></select-customer><select-link bind:linkInfo="__e" vue-id="7528bfcc-8" data-ref="linkChild" data-event-opts="{{[['^linkInfo',[['sureLink']]]]}}" class="data-v-2d11d07a vue-ref" bind:__l="__l"></select-link><select-staff vue-id="7528bfcc-9" type="{{2}}" data-ref="staffChild" data-event-opts="{{[['^sureStaff',[['sureStaff']]]]}}" bind:sureStaff="__e" class="data-v-2d11d07a vue-ref" bind:__l="__l"></select-staff><select-team-members bind:sureTeam="__e" vue-id="7528bfcc-10" data-ref="teamChild" data-event-opts="{{[['^sureTeam',[['sureTeam']]]]}}" class="data-v-2d11d07a vue-ref" bind:__l="__l"></select-team-members><select-business bind:sureBusiness="__e" vue-id="7528bfcc-11" data-ref="businessChild" data-event-opts="{{[['^sureBusiness',[['sureBusiness']]]]}}" class="data-v-2d11d07a vue-ref" bind:__l="__l"></select-business></view>