crm_second_opening_mini/pagesA/cost/item.wxml

38 lines
2.4 KiB
Plaintext

<view class="data-v-2a5dec54">
<block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
<view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','',index]]]]]]]}}" class="cost data-v-2a5dec54" bindtap="__e">
<block wx:if="{{item.check_status==0}}">
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-2a5dec54">待审核</label></view>
</block>
<block wx:if="{{item.check_status==1}}">
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-2a5dec54">审核中</label></view>
</block>
<block wx:if="{{item.check_status==2}}">
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-2a5dec54">审核通过</label></view>
</block>
<block wx:if="{{item.check_status==3}}">
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-2a5dec54">审核未通过</label></view>
</block>
<block wx:if="{{item.check_status==4}}">
<view class="cost_status data-v-2a5dec54"><label class="_span data-v-2a5dec54">撤销</label></view>
</block>
<view class="cost_type data-v-2a5dec54">{{item.consume_type}}</view>
<view class="cost_info data-v-2a5dec54">
<view class="cost_left data-v-2a5dec54">
<view class="cost_text data-v-2a5dec54">{{"关联合同:"+item.contract.name}}</view>
<view class="cost_text data-v-2a5dec54">{{"费用金额:"+item.money}}</view>
<view class="cost_text data-v-2a5dec54">{{"报销主题:"+item.theme}}</view>
<view class="cost_text data-v-2a5dec54">{{"备注:"+item.remark}}</view>
<view class="cost_text data-v-2a5dec54">{{"创建人:"+item.staff.name}}</view>
</view>
<view class="cost_right data-v-2a5dec54">
<image class="staffimg data-v-2a5dec54" src="{{item.staff.img}}" mode></image>
<view class="staffname data-v-2a5dec54">{{item.staff.name}}</view>
</view>
</view>
</view>
</block>
<block wx:if="{{$root.g0==0}}">
<u-empty vue-id="b3d048d6-1" text="暂无更多" class="data-v-2a5dec54" bind:__l="__l"></u-empty>
</block>
</view>