1 line
3.9 KiB
Plaintext
1 line
3.9 KiB
Plaintext
<view class="new_fllow"><view class="top_required">只展示<label style="color:#f00;" class="_span">必填</label>字段<switch checked="{{isRequired}}" color="#03AA96" data-event-opts="{{[['change',[['changeRequired',['$event']]]]]}}" bindchange="__e"></switch></view><view class="fllow_form"><view><text>*</text>关联客户</view><view data-event-opts="{{[['tap',[['changeCustomer',['$event']]]]]}}" class="form_right" bindtap="__e"><view class="{{['ri_label',customerObj.name?'valueActive':'']}}">{{customerObj.name?customerObj.name:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></view><view class="fllow_form"><view><text>*</text>关联合同</view><view data-event-opts="{{[['tap',[['changeContract',['$event']]]]]}}" class="form_right" bindtap="__e"><view class="{{['ri_label',contractObj.id?'valueActive':'']}}">{{contractObj.name?contractObj.name:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></view><view class="fllow_form"><view><text>*</text>合同编号</view><view class="form_input"><view class="{{['ri_label',contractObj.id?'valueActive':'']}}">{{contractObj.id?contractObj.num:'点击选择'}}</view></view></view><view class="fllow_form"><view><text>*</text>计划回款金额</view><view class="form_input"><input class="{{[money?'valueActive':'']}}" type="number" placeholder-style="font-size:30rpx;color: #999;" placeholder="请输入计划回款金额" data-event-opts="{{[['input',[['__set_model',['','money','$event',[]]]]]]}}" value="{{money}}" bindinput="__e"/></view></view><view class="fllow_form"><view><text>*</text>计划回款期数</view><view class="form_input"><input class="{{[num?'valueActive':'']}}" type="number" placeholder-style="font-size:30rpx;color: #999;" placeholder="请输入计划回款期数" data-event-opts="{{[['input',[['__set_model',['','num','$event',[]]]]]]}}" value="{{num}}" bindinput="__e"/></view></view><view class="fllow_form"><view><text>*</text>计划回款日期</view><picker mode="date" data-event-opts="{{[['change',[['changeTime',['$event']]]]]}}" bindchange="__e"><view class="form_right"><view class="{{['ri_label',return_date?'valueActive':'']}}">{{return_date?return_date:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></picker></view><view class="fllow_form"><view><text>*</text>计划回款方式</view><picker value="{{index}}" range="{{type}}" data-event-opts="{{[['change',[['changeType',['$event']]]]]}}" bindchange="__e"><view class="form_right"><view class="{{['ri_label',return_type?'valueActive':'']}}">{{return_type?return_type:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></picker></view><view class="fllow_form"><view><text>*</text>提前几天提醒</view><view class="form_input"><input class="{{[remind?'valueActive':'']}}" type="number" placeholder-style="font-size:30rpx;color: #999;" placeholder="请输入提前几天提醒" data-event-opts="{{[['input',[['__set_model',['','remind','$event',[]]]]]]}}" value="{{remind}}" bindinput="__e"/></view></view><block wx:if="{{!isRequired}}"><view class="fllow_area"><view class="area_head">备注</view><textarea class="{{[remarks?'valueActive':'']}}" placeholder="请输入备注" placeholder-class="ri_label" data-event-opts="{{[['input',[['__set_model',['','remarks','$event',[]]]]]]}}" value="{{remarks}}" bindinput="__e"></textarea></view></block><view class="btn_g bg-blue button-hover round" id="btn" data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['saveFollow']]]]]}}" bindtap="__e">保存</view><select-customer class="vue-ref" bind:getCustomerinfo="__e" vue-id="eee29294-1" data-ref="customerChild" data-event-opts="{{[['^getCustomerinfo',[['sureCustomer']]]]}}" bind:__l="__l"></select-customer><select-contract class="vue-ref" bind:contractInfo="__e" vue-id="eee29294-2" data-ref="contractChild" data-event-opts="{{[['^contractInfo',[['sureContract']]]]}}" bind:__l="__l"></select-contract></view> |