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 lines
4.3 KiB
1 lines
4.3 KiB
<view class="add data-v-d86df08a"><view class="add-bd data-v-d86df08a"><block wx:if="{{info.id}}"><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">编号:</view><view class="r data-v-d86df08a"><input type="text" data-event-opts="{{[['input',[['__set_model',['$0','number','$event',[]],['info']]]]]}}" value="{{info.number}}" bindinput="__e" class="data-v-d86df08a"/></view></view></block><block wx:if="{{type==3||type==4}}"><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">数量:</view><view class="r data-v-d86df08a"><input type="number" data-event-opts="{{[['input',[['__set_model',['$0','count','$event',[]],['info']]]]]}}" value="{{info.count}}" bindinput="__e" class="data-v-d86df08a"/></view></view></block><block wx:else><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">性别:</view><view class="r data-v-d86df08a"><picker mode="selector" range="{{sexList}}" value="{{sexIndex}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-d86df08a">{{''+(sexIndex>=0?sexList[sexIndex]:"")+''}}<image class="arrow data-v-d86df08a" src="/static/jiantouxia@2x.png"></image></picker></view></view></block><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">生日:</view><view class="r data-v-d86df08a"><picker mode="date" value="{{info.birthday}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange1',['$event']]]]]}}" bindchange="__e" class="data-v-d86df08a">{{''+(info.birthday?info.birthday:"")+''}}<image class="date data-v-d86df08a" src="/static/rili@2x.png"></image></picker></view></view><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">父亲:</view><view class="r data-v-d86df08a"><picker mode="selector" range="{{fatherList}}" value="{{fatherIndex}}" range-key="number" data-event-opts="{{[['change',[['bindDateChange4',['$event']]]]]}}" bindchange="__e" class="data-v-d86df08a">{{''+(fatherIndex>=0?fatherList[fatherIndex].number:"")+''}}<image class="arrow data-v-d86df08a" src="/static/jiantouxia@2x.png"></image></picker></view></view><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">母亲:</view><view class="r data-v-d86df08a"><picker mode="selector" range="{{motherList}}" value="{{motherIndex}}" range-key="number" data-event-opts="{{[['change',[['bindDateChange5',['$event']]]]]}}" bindchange="__e" class="data-v-d86df08a">{{''+(motherIndex>=0?motherList[motherIndex].number:"")+''}}<image class="arrow data-v-d86df08a" src="/static/jiantouxia@2x.png"></image></picker></view></view><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">品系:</view><view class="r data-v-d86df08a"><picker mode="selector" range="{{strainsList}}" value="{{strainsIndex}}" range-key="title" data-event-opts="{{[['change',[['bindDateChange2',['$event']]]]]}}" bindchange="__e" class="data-v-d86df08a">{{''+(strainsIndex>=0?strainsList[strainsIndex].title:"")+''}}<image class="arrow data-v-d86df08a" src="/static/jiantouxia@2x.png"></image></picker></view></view><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">基因:</view><view class="r data-v-d86df08a"><picker mode="selector" range="{{geneList}}" value="{{geneIndex}}" range-key="title" data-event-opts="{{[['change',[['bindDateChange3',['$event']]]]]}}" bindchange="__e" class="data-v-d86df08a">{{''+(geneIndex>=0?geneList[geneIndex].title:"")+''}}<image class="arrow data-v-d86df08a" src="/static/jiantouxia@2x.png"></image></picker></view></view><block wx:if="{{type==1||type==2}}"><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">毛色:</view><view class="r data-v-d86df08a"><input type="text" data-event-opts="{{[['input',[['__set_model',['$0','hair_color','$event',[]],['info']]]]]}}" value="{{info.hair_color}}" bindinput="__e" class="data-v-d86df08a"/><image class="arrow data-v-d86df08a" src="/static/jiantouxia@2x.png"></image></view></view></block><view class="item data-v-d86df08a"><view class="l data-v-d86df08a">备注:</view><view class="r data-v-d86df08a"><input type="text" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['info']]]]]}}" value="{{info.remark}}" bindinput="__e" class="data-v-d86df08a"/></view></view></view><view class="add-fd data-v-d86df08a"><view data-event-opts="{{[['tap',[['toCreate',['$event']]]]]}}" class="btn data-v-d86df08a" bindtap="__e">完成</view></view></view> |