crm_second_opening_mini/pages/index/groupCompany/contract/editContract.wxml

1 line
6.6 KiB
Plaintext

<view class="new_linkman data-v-ed77a604"><view class="fllow_form data-v-ed77a604"><view class="data-v-ed77a604"><text class="data-v-ed77a604">*</text>客户名称</view><picker disabled="{{true}}" value="{{cusIndex}}" range="{{cuslist}}" data-event-opts="{{[['change',[['changeCus',['$event']]]]]}}" bindchange="__e" class="data-v-ed77a604"><view class="form_right data-v-ed77a604"><view class="{{['data-v-ed77a604',customerName?'valueActive':'']}}">{{customerName?customerName:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-ed77a604"></view></view></picker></view><view class="fllow_form data-v-ed77a604"><view style="margin-left:15rpx;" class="data-v-ed77a604">关联商机</view><view data-event-opts="{{[['tap',[['changeBusiness',['$event']]]]]}}" class="form_right data-v-ed77a604" bindtap="__e"><view class="{{['data-v-ed77a604',businessObj.id?'valueActive':'']}}">{{businessObj.id?businessObj.name:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-ed77a604"></view></view></view><view class="fllow_form data-v-ed77a604"><view class="data-v-ed77a604"><text class="data-v-ed77a604">*</text>客户签约人</view><picker mode="selector" range="{{contactList}}" value="{{contactIndex}}" range-key="name" data-event-opts="{{[['change',[['changeContact',['$event']]]]]}}" bindchange="__e" class="data-v-ed77a604"><view class="form_right data-v-ed77a604"><view class="{{['data-v-ed77a604',contactname?'valueActive':'']}}">{{contactname?contactname:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-ed77a604"></view></view></picker></view><view class="fllow_form data-v-ed77a604"><view class="data-v-ed77a604"><text class="data-v-ed77a604">*</text>公司签约人</view><picker range-key="name" range="{{staffList}}" value="{{staffIndex}}" data-event-opts="{{[['change',[['changeStaff',['$event']]]]]}}" bindchange="__e" class="data-v-ed77a604"><view class="form_right data-v-ed77a604"><view class="{{['data-v-ed77a604',staffname?'valueActive':'']}}">{{staffname?staffname:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-ed77a604"></view></view></picker></view><block wx:for="{{listForm}}" wx:for-item="item" wx:for-index="index" wx:key="index"><form-item vue-id="{{'4e49dab0-1-'+index}}" objInfo="{{item}}" data-event-opts="{{[['^changeData',[['changeOtherData']]]]}}" bind:changeData="__e" class="data-v-ed77a604" bind:__l="__l"></form-item></block><view class="fllow_form data-v-ed77a604"><view style="padding-left:15rpx;" class="data-v-ed77a604">购买产品</view><view data-event-opts="{{[['tap',[['addPart',['$event']]]]]}}" class="add_in data-v-ed77a604" bindtap="__e">+添加产品</view></view><block wx:if="{{$root.g0!=0}}"><view class="pro_warp data-v-ed77a604"><block wx:for="{{productList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="li_warp data-v-ed77a604"><view class="cell_con data-v-ed77a604"><view class="cell_con_top data-v-ed77a604"><view class="contitle data-v-ed77a604">{{item.name}}</view><image class="deleimg data-v-ed77a604" src="{{BASE_IMG_URL+'delete1.png'}}" mode data-event-opts="{{[['tap',[['delProduct',[index]]]]]}}" bindtap="__e"></image></view><view class="pro_con_box data-v-ed77a604"><view class="boxleft data-v-ed77a604"><view class="context data-v-ed77a604">{{"编号:"+item.num}}</view><view class="context data-v-ed77a604">{{"规格:"+item.unit}}</view><view class="context data-v-ed77a604">{{"最低价:"+item.min_price}}</view><view class="context data-v-ed77a604">销售价:¥<input class="productPrice data-v-ed77a604" type="text" placeholder="产品价格" data-event-opts="{{[['blur',[['changeProductPrice',['$event']]]],['input',[['__set_model',['$0','price','$event',[]],[[['productList','',index]]]]]]]}}" value="{{item.price}}" bindblur="__e" bindinput="__e"/></view></view><view class="conbot data-v-ed77a604"><view class="conright data-v-ed77a604"><uni-number-box vue-id="{{'4e49dab0-2-'+index}}" min="{{1}}" 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-ed77a604" bind:__l="__l"></uni-number-box></view></view></view><view class="config_set data-v-ed77a604"><view data-event-opts="{{[['tap',[['toSelectConfig',['$0',index],[[['productList','',index]]]]]]]}}" class="config_title data-v-ed77a604" bindtap="__e">产品配件:<image class="addConimg data-v-ed77a604" src="{{BASE_IMG_URL+'addvonfig.jpg'}}" mode></image></view><view class="config_list data-v-ed77a604"><block wx:for="{{item.parts}}" wx:for-item="conitem" wx:for-index="conindex" wx:key="conindex"><view class="config_li data-v-ed77a604"><view data-event-opts="{{[['tap',[['delPeizhi',[index,conindex]]]]]}}" class="del data-v-ed77a604" bindtap="__e">-</view><image class="conimg data-v-ed77a604" src="{{conitem.img}}" mode></image><view class="config_name data-v-ed77a604" style="width:210rpx;">{{conitem.name}}</view><view class="config_step data-v-ed77a604"><uni-number-box vue-id="{{'4e49dab0-3-'+index+'-'+conindex}}" min="{{1}}" value="{{conitem.number}}" data-event-opts="{{[['^change',[['changeConfigNumber',['$event',conindex,index]]]],['^input',[['__set_model',['$0','number','$event',[]],[[['productList','',index],['parts','',conindex]]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-ed77a604" bind:__l="__l"></uni-number-box></view></view></block></view></view></view></view></block></view></block><block wx:if="{{approvalPro.status==1}}"><fixed-approval vue-id="4e49dab0-4" list="{{approvalPro.stepList}}" class="data-v-ed77a604" bind:__l="__l"></fixed-approval></block><block wx:if="{{approvalPro.status==0}}"><examine-template vue-id="4e49dab0-5" remindPeople="{{remindPeople}}" data-event-opts="{{[['^delExamine',[['delRemind']]]]}}" bind:delExamine="__e" class="data-v-ed77a604" bind:__l="__l"></examine-template></block><view data-event-opts="{{[['tap',[['toSave',['$event']]]]]}}" class="btn_g bg-blue button-hover round data-v-ed77a604" bindtap="__e">保存</view><popup-list bind:selectList="__e" vue-id="4e49dab0-6" data-ref="productChild" data-event-opts="{{[['^selectList',[['selectList']]]]}}" class="data-v-ed77a604 vue-ref" bind:__l="__l"></popup-list><popup-product-config bind:selectList="__e" vue-id="4e49dab0-7" data-ref="productConfig" data-event-opts="{{[['^selectList',[['configList']]]]}}" class="data-v-ed77a604 vue-ref" bind:__l="__l"></popup-product-config><select-business bind:sureBusiness="__e" vue-id="4e49dab0-8" data-ref="businessChild" data-event-opts="{{[['^sureBusiness',[['sureBusiness']]]]}}" class="data-v-ed77a604 vue-ref" bind:__l="__l"></select-business></view>