index.wxml 2.3 KB

1
  1. <view class="page-wrap data-v-08809c70"><view class="pageTabs data-v-08809c70"><uni-segmented-control vue-id="7c37083e-1" current="{{tabIdx}}" values="{{tabs}}" style-type="text" active-color="#007aff" data-event-opts="{{[['^clickItem',[['changeTab']]]]}}" bind:clickItem="__e" class="data-v-08809c70" bind:__l="__l"></uni-segmented-control></view><view class="head data-v-08809c70"><uni-section vue-id="7c37083e-2" title="物资列表" type="line" class="data-v-08809c70" bind:__l="__l" vue-slots="{{['right']}}"><view data-event-opts="{{[['tap',[['linkToRecord',['$event']]]]]}}" class="handle data-v-08809c70" bindtap="__e" slot="right">出库/入库记录</view></uni-section><view data-event-opts="{{[['tap',[['onInbound',['in',tabIdx+1]]]]]}}" class="addbt data-v-08809c70" bindtap="__e"><view class="word data-v-08809c70">物资入库</view></view></view><view class="pageMain data-v-08809c70"><block wx:for="{{items}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><uni-card vue-id="{{'7c37083e-3-'+idx}}" padding="0" class="data-v-08809c70" bind:__l="__l" vue-slots="{{['default','title']}}"><view class="title data-v-08809c70" slot="title"><view class="name data-v-08809c70"><uni-tag vue-id="{{('7c37083e-4-'+idx)+','+('7c37083e-3-'+idx)}}" text="{{item.goodsCatTitle}}" type="primary" class="data-v-08809c70" bind:__l="__l"></uni-tag></view><uni-tag vue-id="{{('7c37083e-5-'+idx)+','+('7c37083e-3-'+idx)}}" text="{{''+item.count}}" custom-style="background-color: #ecf5ff; border-color: #d9ecff; color: #409eff;" class="data-v-08809c70" bind:__l="__l"></uni-tag></view><view class="bottom data-v-08809c70"><view class="groupName data-v-08809c70"><uni-tag vue-id="{{('7c37083e-6-'+idx)+','+('7c37083e-3-'+idx)}}" text="{{item.groupName}}" type="success" inverted="{{true}}" class="data-v-08809c70" bind:__l="__l"></uni-tag></view><view data-event-opts="{{[['tap',[['onOutbound',['$0'],[[['items','',idx]]]]]]]}}" class="handle _div data-v-08809c70" bindtap="__e"><uni-tag vue-id="{{('7c37083e-7-'+idx)+','+('7c37083e-3-'+idx)}}" text="出库" type="warning" size="normal" class="data-v-08809c70" bind:__l="__l"></uni-tag></view></view></uni-card></block></view><create-bound bind:success="__e" vue-id="7c37083e-8" data-ref="bound" data-event-opts="{{[['^success',[['onBoundSuccess']]]]}}" class="data-v-08809c70 vue-ref" bind:__l="__l"></create-bound></view>