crm_second_opening_mini/pagesA/crm/contract/contract.wxml

1 line
9.3 KiB
Plaintext
Raw Normal View History

2023-03-13 01:13:08 +00:00
<view class="new_linkman data-v-63eed792"><view class="top_required data-v-63eed792">只展示<label style="color:#f00;" class="_span data-v-63eed792">必填</label>字段<switch checked="{{isRequired}}" color="#03AA96" data-event-opts="{{[['change',[['changeRequired',['$event']]]]]}}" bindchange="__e" class="data-v-63eed792"></switch></view><view class="fllow_form data-v-63eed792"><view class="data-v-63eed792"><text class="data-v-63eed792">*</text>客户名称</view><view data-event-opts="{{[['tap',[['changeCus',['$event']]]]]}}" class="form_right data-v-63eed792" bindtap="__e"><view class="{{['data-v-63eed792',customerName?'valueActive':'']}}">{{customerName?customerName:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-63eed792"></view></view></view><block wx:if="{{!isRequired}}"><view class="fllow_form data-v-63eed792"><view style="margin-left:15rpx;" class="data-v-63eed792">关联商机</view><view data-event-opts="{{[['tap',[['changeBusiness',['$event']]]]]}}" class="form_right data-v-63eed792" bindtap="__e"><view class="{{['data-v-63eed792',businessObj.id?'valueActive':'']}}">{{businessObj.id?businessObj.name:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-63eed792"></view></view></view></block><view class="fllow_form data-v-63eed792"><view class="data-v-63eed792"><text class="data-v-63eed792">*</text>客户签约人</view><view data-event-opts="{{[['tap',[['changeContact',['$event']]]]]}}" class="form_right data-v-63eed792" bindtap="__e"><view class="{{['data-v-63eed792',contactName?'valueActive':'']}}">{{''+(contactName?contactName:'点击选择')}}</view><view class="iconfont icon-arrows_right data-v-63eed792"></view></view></view><view class="fllow_form data-v-63eed792"><view class="data-v-63eed792"><text class="data-v-63eed792">*</text>公司签约人</view><view data-event-opts="{{[['tap',[['changeStaff',['$event']]]]]}}" class="form_right data-v-63eed792" bindtap="__e"><view class="{{['data-v-63eed792',staffName?'valueActive':'']}}">{{''+(staffName?staffName:'点击选择')}}</view><view class="iconfont icon-arrows_right data-v-63eed792"></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-63eed792" bind:__l="__l"></form-item></block><block wx:if="{{!isRequired}}"><view class="fllow_form data-v-63eed792"><view style="padding-left:15rpx;" class="data-v-63eed792">购买产品</view><view data-event-opts="{{[['tap',[['addPart',['$event']]]]]}}" class="add_in data-v-63eed792" bindtap="__e">+添加产品</view></view></block><block wx:if="{{$root.g0!=0}}"><view class="pro_warp data-v-63eed792"><block wx:for="{{productList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="li_warp data-v-63eed792"><view class="cell_con data-v-63eed792"><view class="cell_con_top data-v-63eed792"><view class="contitle data-v-63eed792">{{item.name}}</view><image class="deleimg data-v-63eed792" src="{{BASE_IMG_URL+'delete1.png'}}" mode data-event-opts="{{[['tap',[['delProduct',[index]]]]]}}" bindtap="__e"></image></view><view class="pro_con_box data-v-63eed792"><view class="boxleft data-v-63eed792"><view class="context data-v-63eed792">{{"编号:"+item.num}}</view><view class="context data-v-63eed792">{{"规格:"+item.unit}}</view><view class="context data-v-63eed792">{{"最低价:"+item.min_price}}</view><view class="context data-v-63eed792">销售价:¥<input class="productPrice data-v-63eed792" 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-63eed792"><view class="conright data-v-63eed792"><uni-number-box vue-id="{{'7528bfcc-2-'+index}}" min="{{1}}" value="{{item.number}}" data-event-o