You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.8 KiB

<view class="data-v-30083258"><view class="popup-height data-v-30083258"><uni-forms vue-id="178174b2-1" modelValue="{{addForm}}" validateTrigger="bind" rules="{{rules}}" label-width="160rpx" label-align="right" data-ref="addForm" class="data-v-30083258 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('178174b2-2')+','+('178174b2-1')}}" label="员工姓名" required="{{true}}" name="nickname" class="data-v-30083258" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('178174b2-3')+','+('178174b2-2')}}" type="text" placeholder="请输入员工姓名" value="{{addForm.nickname}}" data-event-opts="{{[['^input',[['__set_model',['$0','nickname','$event',[]],['addForm']]]]]}}" class="data-v-30083258" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('178174b2-4')+','+('178174b2-1')}}" label="手机号" required="{{true}}" name="mobile" class="data-v-30083258" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('178174b2-5')+','+('178174b2-4')}}" type="text" placeholder="请输入员工手机号" value="{{addForm.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['addForm']]]]]}}" class="data-v-30083258" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('178174b2-6')+','+('178174b2-1')}}" label="身份权限" required="{{true}}" name="type" class="data-v-30083258" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('178174b2-7')+','+('178174b2-6')}}" localdata="{{typeList}}" value="{{addForm.type}}" data-event-opts="{{[['^input',[['__set_model',['$0','type','$event',[]],['addForm']]]]]}}" class="data-v-30083258" bind:__l="__l"></uni-data-select></uni-forms-item><uni-forms-item vue-id="{{('178174b2-8')+','+('178174b2-1')}}" label="入库确认" required="{{true}}" name="warehouseKeeperFlag" class="data-v-30083258" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('178174b2-9')+','+('178174b2-8')}}" localdata="{{wareList}}" value="{{addForm.warehouseKeeperFlag}}" data-event-opts="{{[['^input',[['__set_model',['$0','warehouseKeeperFlag','$event',[]],['addForm']]]]]}}" class="data-v-30083258" bind:__l="__l"></uni-data-select></uni-forms-item></uni-forms><u-button vue-id="178174b2-10" type="primary" data-event-opts="{{[['^click',[['onFormSubmit']]]]}}" bind:click="__e" class="data-v-30083258" bind:__l="__l" vue-slots="{{['default']}}">保存</u-button><block wx:if="{{type==='edit'}}"><button style="margin-top:13px !important;background-color:#5fd9ee;font-size:14px;height:40px;" type="primary" data-event-opts="{{[['tap',[['deleteSubmit',['$event']]]]]}}" bindtap="__e" class="data-v-30083258">删除</button></block></view></view>