add.wxml 4.7 KB

1
  1. <view class="billing_box_bg data-v-62f70d4e"><view class="input-wrap data-v-62f70d4e"><app-search-module vue-id="020b32cd-1" placeholder="请输入关键词,支持拼音首字母搜索" value="{{py}}" data-event-opts="{{[['^search',[['searchFn']]],['^input',[['__set_model',['','py','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-62f70d4e" bind:__l="__l"></app-search-module></view><view class="scroll-middle_bx data-v-62f70d4e"><scroll-view class="tab-view data-v-62f70d4e" scroll-y="{{true}}" scroll-with-animation="{{true}}" scroll-top="{{scrollTop}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['tab-bar-item _div data-v-62f70d4e',classIndex==index?'active':'']}}" data-current="{{index}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" catchtap="__e"><text class="data-v-62f70d4e">{{item.$orig.className||""}}</text><block wx:if="{{item.m0}}"><text class="tag data-v-62f70d4e"><block wx:if="{{item.m1}}"><text class="data-v-62f70d4e">{{''+(''+item.m2.bigCount)+''}}</text></block><block wx:if="{{item.m3.smallCount>0}}"><text class="data-v-62f70d4e">/</text></block><block wx:if="{{item.m4.smallCount>0}}"><text class="data-v-62f70d4e">{{item.m5.smallCount}}</text></block></text></block></view></block></scroll-view><scroll-view class="right-box data-v-62f70d4e" scroll-y="{{true}}" scroll-into-view="{{scrollClassId}}"><block wx:if="{{!$root.g0}}"><block class="data-v-62f70d4e"><block wx:for="{{$root.l2}}" wx:for-item="classItem" wx:for-index="classIndex" wx:key="classIndex"><view class="item_list_bx data-v-62f70d4e" id="{{'class_'+classItem.$orig.classId}}"><view class="item_list_title data-v-62f70d4e">{{''+classItem.$orig.className+''}}</view><block wx:for="{{classItem.l1}}" wx:for-item="productItem" wx:for-index="productIndex" wx:key="productIndex"><commodity-purchase vue-id="{{'020b32cd-2-'+classIndex+'-'+productIndex}}" type="{{pageType}}" info="{{productItem.$orig}}" bigCount="{{productItem.m6.bigCount}}" smallCount="{{productItem.m7.smallCount}}" itemPrice="{{productItem.m8.itemPrice}}" data-event-opts="{{[['^customNum',[['customNum']]],['^add',[['addEvent']]],['^addOneEvent',[['addCustomNumEvent']]],['^del',[['delAllEvent']]]]}}" bind:customNum="__e" bind:add="__e" bind:addOneEvent="__e" bind:del="__e" class="data-v-62f70d4e" bind:__l="__l"></commodity-purchase></block></view></block></block></block><block wx:else><block class="data-v-62f70d4e"><app-wrapper-empty vue-id="020b32cd-3" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-62f70d4e" bind:__l="__l"></app-wrapper-empty></block></block></scroll-view></view><modal-module vue-id="020b32cd-4" show="{{isModel}}" title color="#333" size="{{32}}" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['affirm']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-62f70d4e" bind:__l="__l" vue-slots="{{['customContent']}}"><view slot="customContent" class="data-v-62f70d4e"><view class="select-view data-v-62f70d4e"><view class="select-cmd_bx data-v-62f70d4e"><view class="num_bx data-v-62f70d4e"><view class="kc data-v-62f70d4e">总价</view><all-select-input vue-id="{{('020b32cd-5')+','+('020b32cd-4')}}" isActive="{{isAloneAllActive}}" isFocus="{{isAloneAllFocus}}" value="{{customData.itemPrice}}" placeholder="采购总价" data-event-opts="{{[['^deleteInputVal',[['deleteAloneInputVal']]],['^initAllInput',[['initAloneAllInput']]],['^moveAllInput',[['moveAloneAllInput']]]]}}" bind:deleteInputVal="__e" bind:initAllInput="__e" bind:moveAllInput="__e" class="data-v-62f70d4e" bind:__l="__l"></all-select-input>元</view></view><view class="select-cmd_bx data-v-62f70d4e"><view class="num_bx data-v-62f70d4e"><view class="kc data-v-62f70d4e">数量</view><all-more-select-input vue-id="{{('020b32cd-6')+','+('020b32cd-4')}}" isActive="{{isActive}}" isFocus="{{isFocus}}" value="{{customData.bigCount}}" isActiveOne="{{isActiveOne}}" isFocusOne="{{isFocusOne}}" valueOne="{{customData.smallCount}}" data-event-opts="{{[['^deleteInputVal',[['deleteInputVal']]],['^initAllInput',[['initAllInput']]],['^moveAllInput',[['moveAllInput']]],['^deleteInputValOne',[['deleteInputValOne']]],['^initAllInputOne',[['initAllInputOne']]],['^moveAllInputOne',[['moveAllInputOne']]]]}}" bind:deleteInputVal="__e" bind:initAllInput="__e" bind:moveAllInput="__e" bind:deleteInputValOne="__e" bind:initAllInputOne="__e" bind:moveAllInputOne="__e" class="data-v-62f70d4e" bind:__l="__l"></all-more-select-input></view></view></view></view></modal-module><footer-cart vue-id="020b32cd-7" price="{{allPrice}}" count="{{allCount}}" data-event-opts="{{[['^confirm',[['confirmSelectEvent']]]]}}" bind:confirm="__e" class="data-v-62f70d4e" bind:__l="__l"></footer-cart></view>