crm_second_opening_mini/pages/index/groupCompany/cost/addCost.wxml

1 line
4.4 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="{{[customerObj.id?'valueActive':'']}}">{{customerObj.id?customerObj.name:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></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="{{[consume_time?'valueActive':'']}}">{{consume_time?consume_time:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></picker></view><view class="fllow_form"><view><text>*</text>消费方式</view><picker value="{{index}}" range="{{typeList}}" data-event-opts="{{[['change',[['changeType',['$event']]]]]}}" bindchange="__e"><view class="form_right"><view class="{{[consume_type?'valueActive':'']}}">{{consume_type?consume_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="{{[money?'valueActive':'']}}" type="text" placeholder-style="font-size:30rpx;color: #999;" placeholder="请输入消费金额" data-event-opts="{{[['input',[['__set_model',['','money','$event',[]]]]]]}}" value="{{money}}" bindinput="__e"/></view></view><block wx:if="{{!isRequired}}"><view class="fllow_area"><view class="area_head">备注</view><textarea class="{{[remark?'valueActive':'']}}" placeholder="请输入备注" placeholder-style="color:#999" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"></textarea></view></block><block wx:if="{{!isRequired}}"><view class="fllow_form"><view style="padding-left:23rpx;">上传附件</view><view data-event-opts="{{[['tap',[['uploadClick',['$event']]]]]}}" class="form_right" bindtap="__e"><view>选择附件</view><view class="iconfont icon-arrows_right"></view></view></view></block><block wx:if="{{$root.g0!=0}}"><view class="imglist"><block wx:for="{{imgList}}" wx:for-item="item" wx:for-index="imgindex" wx:key="imgindex"><view class="imgbox"><image class="delimg" src="{{BASE_IMG_URL+'close.png'}}" mode="scaleToFill" data-event-opts="{{[['tap',[['delImg',[imgindex]]]]]}}" bindtap="__e"></image><image class="selfimg" src="{{item.url}}" mode="scaleToFill" data-event-opts="{{[['tap',[['openCommonImg',['$0',imgindex],['imgList']]]]]}}" bindtap="__e"></image></view></block></view></block><block wx:if="{{$root.g1!=0}}"><view class="fllow_file_li"><block wx:for="{{fileList}}" wx:for-item="item" wx:for-index="fileindex" wx:key="fileindex"><view class="fil_li"><image class="fileimg" src="{{BASE_IMG_URL+'fujian.png'}}" mode="scaleToFill"></image><view data-event-opts="{{[['tap',[['openCommonFile',['$0'],[[['fileList','',fileindex]]]]]]]}}" class="filename" bindtap="__e">{{item.name}}</view><image class="closeimg" src="{{BASE_IMG_URL+'close.png'}}" mode="scaleToFill" data-event-opts="{{[['tap',[['delFile',[fileindex]]]]]}}" bindtap="__e"></image></view></block></view></block><block wx:if="{{approvalPro.status==1}}"><fixed-approval vue-id="4b0ab70f-1" list="{{approvalPro.stepList}}" bind:__l="__l"></fixed-approval></block><block wx:if="{{approvalPro.status==0}}"><examine-template vue-id="4b0ab70f-2" remindPeople="{{remindPeople}}" data-event-opts="{{[['^delExamine',[['delRemind']]]]}}" bind:delExamine="__e" bind:__l="__l"></examine-template></block><view class="btn_g bg-blue button-hover round" id="btn" data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['saveFollow']]]]]}}" bindtap="__e">保存</view><u-action-sheet vue-id="4b0ab70f-3" list="{{uploadActions}}" value="{{uploadShow}}" data-event-opts="{{[['^click',[['uploadType']]],['^input',[['__set_model',['','uploadShow','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-action-sheet><select-customer class="vue-ref" bind:getCustomerinfo="__e" vue-id="4b0ab70f-4" data-ref="customerChild" data-event-opts="{{[['^getCustomerinfo',[['getCustomerinfo']]]]}}" bind:__l="__l"></select-customer></view>