enrolledForm.wxml 14 KB

1
  1. <view class="content data-v-1623751c"><u-form vue-id="a368a12c-1" model="{{form}}" label-width="140" data-ref="form" class="data-v-1623751c vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('a368a12c-2')+','+('a368a12c-1')}}" label="支付方式" prop="payTypeName" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['e0']]]]}}" bindtap="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-1623751c">{{form.payTypeName}}</text></u-form-item><u-form-item vue-id="{{('a368a12c-3')+','+('a368a12c-1')}}" label="订单号" prop="orderNo" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><view style="display:flex;" class="data-v-1623751c"><u-input bind:input="__e" style="flex:1;" vue-id="{{('a368a12c-4')+','+('a368a12c-3')}}" placeholder="请输入订单号" value="{{form.orderNo}}" data-event-opts="{{[['^input',[['__set_model',['$0','orderNo','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input><block wx:if="{{payTypeCode==0}}"><u-icon style="margin-left:5px;" vue-id="{{('a368a12c-5')+','+('a368a12c-3')}}" name="scan" size="60" data-event-opts="{{[['^click',[['scanQRCode']]]]}}" bind:click="__e" class="data-v-1623751c" bind:__l="__l"></u-icon></block></view></u-form-item><block wx:if="{{payTypeCode==1}}"><u-form-item vue-id="{{('a368a12c-6')+','+('a368a12c-1')}}" label="有效期" prop="time" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['e1']]]]}}" bindtap="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-1623751c">{{form.time}}</text></u-form-item></block><u-form-item vue-id="{{('a368a12c-7')+','+('a368a12c-1')}}" label="学生照片" prop="imageFileId" required="{{true}}" label-position="top" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-upload vue-id="{{('a368a12c-8')+','+('a368a12c-7')}}" max-count="{{1}}" action="{{uploadUrl}}" header="{{uploadHeader}}" file-list="{{fileList}}" index="1" data-event-opts="{{[['^onSuccess',[['uploadSuccess']]],['^onError',[['uploadError']]],['^onRemove',[['uploadRemove']]]]}}" bind:onSuccess="__e" bind:onError="__e" bind:onRemove="__e" class="data-v-1623751c" bind:__l="__l"></u-upload></u-form-item><block wx:if="{{payTypeCode==1}}"><u-form-item vue-id="{{('a368a12c-9')+','+('a368a12c-1')}}" label="上传合同" prop="contractFileId" required="{{true}}" label-position="top" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-upload vue-id="{{('a368a12c-10')+','+('a368a12c-9')}}" max-count="{{1}}" action="{{uploadUrl}}" header="{{uploadHeader}}" index="2" data-event-opts="{{[['^onSuccess',[['uploadSuccess']]],['^onError',[['uploadError']]],['^onRemove',[['uploadRemove']]]]}}" bind:onSuccess="__e" bind:onError="__e" bind:onRemove="__e" class="data-v-1623751c" bind:__l="__l"></u-upload></u-form-item></block><u-form-item vue-id="{{('a368a12c-11')+','+('a368a12c-1')}}" label="接收人" prop="coachName" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-12')+','+('a368a12c-11')}}" placeholder="请输入接收人" disabled="{{true}}" value="{{form.coachName}}" data-event-opts="{{[['^input',[['__set_model',['$0','coachName','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-13')+','+('a368a12c-1')}}" label="家长姓名" prop="parentsName" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-14')+','+('a368a12c-13')}}" placeholder="请输入家长姓名" value="{{form.parentsName}}" data-event-opts="{{[['^input',[['__set_model',['$0','parentsName','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-15')+','+('a368a12c-1')}}" label="学员姓名" prop="studentName" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-16')+','+('a368a12c-15')}}" placeholder="请输入学员姓名" value="{{form.studentName}}" data-event-opts="{{[['^input',[['__set_model',['$0','studentName','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-17')+','+('a368a12c-1')}}" label="学员性别" prop="sex" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['e2']]]]}}" bindtap="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-1623751c">{{form.sex}}</text></u-form-item><u-form-item vue-id="{{('a368a12c-18')+','+('a368a12c-1')}}" label="学员年龄" prop="age" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-19')+','+('a368a12c-18')}}" type="number" placeholder="请输入学员年龄" value="{{form.age}}" data-event-opts="{{[['^input',[['__set_model',['$0','age','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-20')+','+('a368a12c-1')}}" label="学生生日" prop="birthday" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['e3']]]]}}" bindtap="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-1623751c">{{form.birthday}}</text></u-form-item><u-form-item vue-id="{{('a368a12c-21')+','+('a368a12c-1')}}" label="手机号码" prop="phone" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-22')+','+('a368a12c-21')}}" type="number" placeholder="请输入手机号码" value="{{form.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-23')+','+('a368a12c-1')}}" label="报名班级" prop="className" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['selectClass']]]]}}" bindtap="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-1623751c">{{form.className}}</text></u-form-item><u-form-item vue-id="{{('a368a12c-24')+','+('a368a12c-1')}}" label="课时总价" prop="sumPrice" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('a368a12c-25')+','+('a368a12c-24')}}" type="number" placeholder="请输入课时总价" value="{{form.sumPrice}}" data-event-opts="{{[['^blur',[['setCoursePrice']]],['^input',[['__set_model',['$0','sumPrice','$event',[]],['form']]]]]}}" bind:blur="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-26')+','+('a368a12c-1')}}" label="课时数" prop="courseNumber" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('a368a12c-27')+','+('a368a12c-26')}}" type="number" placeholder="请输入课时数" value="{{form.courseNumber}}" data-event-opts="{{[['^blur',[['setCoursePrice']]],['^input',[['__set_model',['$0','courseNumber','$event',[]],['form']]]]]}}" bind:blur="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-28')+','+('a368a12c-1')}}" label="课时单价" prop="coursePrice" required="{{true}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-29')+','+('a368a12c-28')}}" type="number" placeholder="请输入课时单价" value="{{form.coursePrice}}" data-event-opts="{{[['^input',[['__set_model',['$0','coursePrice','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-30')+','+('a368a12c-1')}}" label="赠课数量" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-31')+','+('a368a12c-30')}}" type="number" placeholder="请输入赠课数量" value="{{form.lessonsGiveNumber}}" data-event-opts="{{[['^input',[['__set_model',['$0','lessonsGiveNumber','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('a368a12c-32')+','+('a368a12c-1')}}" label="赠品" label-position="top" class="data-v-1623751c" bind:__l="__l"></u-form-item><block wx:for="{{giftList}}" wx:for-item="item" wx:for-index="index1" wx:key="index1"><u-form-item vue-id="{{('a368a12c-33-'+index1)+','+('a368a12c-1')}}" label="{{item.name}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{item.type==1}}"><u-radio-group bind:input="__e" vue-id="{{('a368a12c-34-'+index1)+','+('a368a12c-33-'+index1)}}" value="{{item.value}}" data-event-opts="{{[['^input',[['__set_model',['$0','value','$event',[]],[[['giftList','',index1]]]]]]]}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.itemList}}" wx:for-item="site" wx:for-index="index2" wx:key="index2"><u-radio vue-id="{{('a368a12c-35-'+index1+'-'+index2)+','+('a368a12c-34-'+index1)}}" name="{{site.id}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}">{{''+site.name+''}}</u-radio></block></u-radio-group></block><block wx:else><u-checkbox-group bind:input="__e" vue-id="{{('a368a12c-36-'+index1)+','+('a368a12c-33-'+index1)}}" value="{{item.value}}" data-event-opts="{{[['^input',[['__set_model',['$0','value','$event',[]],[[['giftList','',index1]]]]]]]}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.itemList}}" wx:for-item="site" wx:for-index="index2" wx:key="index2"><u-checkbox bind:input="__e" vue-id="{{('a368a12c-37-'+index1+'-'+index2)+','+('a368a12c-36-'+index1)}}" name="{{site.id}}" value="{{site.checked}}" data-event-opts="{{[['^input',[['__set_model',['$0','checked','$event',[]],[[['giftList','',index1],['itemList','',index2]]]]]]]}}" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}">{{''+site.name+''}}</u-checkbox></block></u-checkbox-group></block></u-form-item></block><u-form-item vue-id="{{('a368a12c-38')+','+('a368a12c-1')}}" label="销售员" prop="saleName" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['e4']]]]}}" bindtap="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-1623751c">{{form.saleName}}</text></u-form-item><u-form-item vue-id="{{('a368a12c-39')+','+('a368a12c-1')}}" label="谈单人" prop="talkerName" required="{{true}}" right-icon="arrow-right" data-event-opts="{{[['tap',[['e5']]]]}}" bindtap="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-1623751c">{{form.talkerName}}</text></u-form-item><u-form-item vue-id="{{('a368a12c-40')+','+('a368a12c-1')}}" label="备注" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('a368a12c-41')+','+('a368a12c-40')}}" type="textarea" placeholder="请输入备注" auto-height="{{true}}" height="{{100}}" value="{{form.remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','remark','$event',[]],['form']]]]]}}" class="data-v-1623751c" bind:__l="__l"></u-input></u-form-item></u-form><u-action-sheet vue-id="a368a12c-42" list="{{sexList}}" value="{{sexShow}}" data-event-opts="{{[['^click',[['setSex']]],['^input',[['__set_model',['','sexShow','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-action-sheet><u-picker vue-id="a368a12c-43" mode="time" params="{{timeParams}}" value="{{timeShow}}" data-event-opts="{{[['^confirm',[['setTime']]],['^input',[['__set_model',['','timeShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-picker><u-picker vue-id="a368a12c-44" mode="time" params="{{birthdayParams}}" value="{{birthdayShow}}" data-event-opts="{{[['^confirm',[['setBirthday']]],['^input',[['__set_model',['','birthdayShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-picker><u-picker vue-id="a368a12c-45" mode="selector" range="{{classList}}" range-key="name" value="{{classShow}}" data-event-opts="{{[['^confirm',[['setClass']]],['^input',[['__set_model',['','classShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-picker><u-picker vue-id="a368a12c-46" mode="selector" range="{{saleList}}" range-key="name" value="{{saleShow}}" data-event-opts="{{[['^confirm',[['setSale']]],['^input',[['__set_model',['','saleShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-picker><u-picker vue-id="a368a12c-47" mode="selector" range="{{talkerList}}" range-key="name" value="{{talkerShow}}" data-event-opts="{{[['^confirm',[['setTalker']]],['^input',[['__set_model',['','talkerShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-picker><u-picker vue-id="a368a12c-48" mode="selector" range="{{payTypeList}}" range-key="name" value="{{payTypeShow}}" data-event-opts="{{[['^confirm',[['setPayType']]],['^input',[['__set_model',['','payTypeShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-1623751c" bind:__l="__l"></u-picker><view class="handle-fix-box data-v-1623751c"><u-button vue-id="a368a12c-49" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['submitForm']]]]}}" bind:click="__e" class="data-v-1623751c" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></view><u-top-tips vue-id="a368a12c-50" data-ref="uTips" class="data-v-1623751c vue-ref" bind:__l="__l"></u-top-tips></view>