酷炫直播运营系统小程序版本

addExpenseForm.wxml 6.0KB

1
  1. <view class="con data-v-7b1fe134"><view class="infoTop data-v-7b1fe134"><view class="flex-bewteen data-v-7b1fe134"><view class="data-v-7b1fe134"><text class="data-v-7b1fe134">时间:</text><text class="data-v-7b1fe134">{{pageOpt.date?pageOpt.date:infoTop.date}}</text></view><view class="data-v-7b1fe134"><text class="data-v-7b1fe134">经手人:</text><text class="data-v-7b1fe134">{{pageOpt.staff_name?pageOpt.staff_name:infoTop.staff_name}}</text></view></view><view class="flex-bewteen tMar14 data-v-7b1fe134"><view class="data-v-7b1fe134"><text class="data-v-7b1fe134">公司:</text><text class="data-v-7b1fe134">{{pageOpt.company?pageOpt.company:infoTop.company}}</text></view><view class="data-v-7b1fe134"><text class="data-v-7b1fe134">部门:</text><text class="data-v-7b1fe134">{{pageOpt.department?pageOpt.department:infoTop.department}}</text></view></view></view><block wx:if="{{editAreaShow}}"><view class="data-v-7b1fe134"><block wx:for="{{danFromList}}" wx:for-item="d" wx:for-index="didx" wx:key="didx"><view class="edit_item data-v-7b1fe134"><view class="data-v-7b1fe134">报销单<block wx:if="{{danFromList&&danFromList.length>1}}"><text class="data-v-7b1fe134">{{didx+1}}</text></block><block wx:if="{{danFromList&&danFromList.length>1}}"><text data-event-opts="{{[['tap',[['deleDan',[didx,'$0'],[[['danFromList','',didx,'id']]]]]]]}}" class="iconfont icon-butongguo_icon f26 lMar8 data-v-7b1fe134" bindtap="__e"></text></block></view><view class="edit_item_row data-v-7b1fe134">{{"加班类型:"+pageOpt.reason}}</view><view class="edit_item_row data-v-7b1fe134"><view class="flex-bewteen data-v-7b1fe134"><text class="data-v-7b1fe134">出发</text><text class="note data-v-7b1fe134">*</text><uni-datetime-picker bind:input="__e" class="ecpensePicker data-v-7b1fe134" vue-id="{{'e8db4340-1-'+didx}}" type="datetime" end="{{tomorrw}}" clear-icon="{{false}}" border="{{false}}" disabled="{{onlySee}}" value="{{d.start_time}}" data-event-opts="{{[['^input',[['__set_model',['$0','start_time','$event',[]],[[['danFromList','',didx]]]]]]]}}" bind:__l="__l"></uni-datetime-picker></view><view class="data-v-7b1fe134"><input class="ipt_box data-v-7b1fe134" disabled="{{onlySee}}" type="text" placeholder="请输入出发地点" data-event-opts="{{[['input',[['__set_model',['$0','start_site','$event',[]],[[['danFromList','',didx]]]]]]]}}" value="{{d.start_site}}" bindinput="__e"/></view></view><view class="edit_item_row data-v-7b1fe134"><view class="flex-bewteen data-v-7b1fe134"><text class="data-v-7b1fe134">到达</text><text class="note data-v-7b1fe134">*</text><uni-datetime-picker bind:input="__e" class="ecpensePicker data-v-7b1fe134" vue-id="{{'e8db4340-2-'+didx}}" type="datetime" clear-icon="{{false}}" end="{{tomorrw}}" border="{{false}}" disabled="{{onlySee}}" value="{{d.end_time}}" data-event-opts="{{[['^input',[['__set_model',['$0','end_time','$event',[]],[[['danFromList','',didx]]]]]]]}}" bind:__l="__l"></uni-datetime-picker></view><view class="data-v-7b1fe134"><input class="ipt_box data-v-7b1fe134" type="text" disabled="{{onlySee}}" placeholder="请输入到达地点" data-event-opts="{{[['input',[['__set_model',['$0','end_site','$event',[]],[[['danFromList','',didx]]]]]]]}}" value="{{d.end_site}}" bindinput="__e"/></view></view><view class="edit_item_row data-v-7b1fe134"><view class="flex-bewteen data-v-7b1fe134"><text class="data-v-7b1fe134">交通工具</text><text class="note data-v-7b1fe134">*</text><picker class="ex_picker data-v-7b1fe134" style="width:54%;" disabled="{{onlySee}}" range="{{car_type_option}}" value="{{d.car_type}}" data-event-opts="{{[['change',[['bindPickerChange',['$event',didx]]]],['input',[['__set_model',['$0','car_type','$event',[]],[[['danFromList','',didx]]]]]]]}}" bindchange="__e" bindinput="__e"><view class="uni-input data-v-7b1fe134">{{car_type_option[d.car_type]}}</view></picker></view><view class="flex-bewteen data-v-7b1fe134"><text class="data-v-7b1fe134">金额</text><text class="note data-v-7b1fe134">*</text><input class="ipt_box data-v-7b1fe134" style="width:60%;" disabled="{{onlySee}}" type="text" placeholder="请输入金额" data-event-opts="{{[['input',[['__set_model',['$0','amount','$event',[]],[[['danFromList','',didx]]]]]]]}}" value="{{d.amount}}" bindinput="__e"/></view></view><view class="edit_item_row data-v-7b1fe134"><view data-event-opts="{{[['tap',[['passFeechange',[didx]]]]]}}" bindtap="__e" class="data-v-7b1fe134"><checkbox class="expense_check data-v-7b1fe134" style="transform:scale(0.7);" value="{{d.passing_is}}" checked="{{d.passing_is}}" disabled="{{onlySee}}"></checkbox>过路费</view><block wx:if="{{d.passing_is}}"><view class="flex-bewteen data-v-7b1fe134"><text class="data-v-7b1fe134">金额</text><text class="note data-v-7b1fe134">*</text><input class="ipt_box data-v-7b1fe134" style="width:60%;" disabled="{{onlySee}}" type="text" placeholder="请输入金额" data-event-opts="{{[['input',[['__set_model',['$0','toll_fee','$event',[]],[[['danFromList','',didx]]]]]]]}}" value="{{d.toll_fee}}" bindinput="__e"/></view></block></view><view style="height:3px;background:#3D4453;margin:30rpx 0 20rpx;" class="data-v-7b1fe134"></view><view class="flex-bewteen data-v-7b1fe134"><text class="data-v-7b1fe134">备注</text><textarea class="ex_textarea data-v-7b1fe134" disabled="{{onlySee}}" placeholder="请输入备注" placeholder-style="line-height: 60rpx;padding:10rpx" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],[[['danFromList','',didx]]]]]]]}}" value="{{d.remark}}" bindinput="__e"></textarea></view></view></block></view></block><block wx:if="{{optisEdit==1&&infoTop&&infoTop.if_can_add_new==1||optisEdit==0}}"><view data-event-opts="{{[['tap',[['addFormList',['$event']]]]]}}" class="plusBox data-v-7b1fe134" bindtap="__e">添加报销单<text class="iconfont icon-tianjia_icon f26 lMar8 data-v-7b1fe134"></text></view></block><block wx:if="{{!onlySee}}"><view data-event-opts="{{[['tap',[['liveAdd',['$event']]]]]}}" class="save data-v-7b1fe134" bindtap="__e">保存</view></block><wm-watermark vue-id="e8db4340-3" text="{{real_name}}" class="data-v-7b1fe134" bind:__l="__l"></wm-watermark></view>