| 1 |
- <view class="billing_box_bg data-v-6ee59528"><view class="input-wrap data-v-6ee59528"><view class="search-bar data-v-6ee59528"><app-search-module vue-id="020b32cd-1" placeholder="输入字母搜索" value="{{py}}" data-event-opts="{{[['^input',[['__set_model',['','py','$event',[]]],['searchFn']]]]}}" bind:input="__e" class="data-v-6ee59528" bind:__l="__l"></app-search-module></view><view style="padding:0 0rpx 0 20rpx;" class="data-v-6ee59528"><button data-event-opts="{{[['tap',[['pageTo',[['o',['url','/admin/ptItem/itemList']]]]]]]}}" class="admin-button-com middle blue data-v-6ee59528" bindtap="__e">添加花材</button></view><view style="padding:0 0rpx 0 20rpx;" class="data-v-6ee59528"><button data-event-opts="{{[['tap',[['removeMemory']]]]}}" class="admin-button-com middle blue data-v-6ee59528" bindtap="__e">清除采购</button></view></view><view class="scroll-middle_bx data-v-6ee59528"><scroll-view class="tab-view data-v-6ee59528" 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-6ee59528',classIndex==index?'active':'']}}" data-current="{{index}}" data-event-opts="{{[['tap',[['swichClass',[index]]]]]}}" catchtap="__e"><text class="data-v-6ee59528">{{item.$orig.className||""}}</text><block wx:if="{{item.m0.bigCount>0||item.m1.smallCount>0}}"><text class="tag data-v-6ee59528"><block wx:if="{{item.m2.bigCount>0||item.m3.smallCount>0}}"><text class="data-v-6ee59528">{{''+(''+item.m4.bigCount)+''}}</text></block><block wx:if="{{item.m5.smallCount>0}}"><text class="data-v-6ee59528">/</text></block><block wx:if="{{item.m6.smallCount>0}}"><text class="data-v-6ee59528">{{item.m7.smallCount}}</text></block></text></block></view></block></scroll-view><scroll-view class="right-box data-v-6ee59528" scroll-y="{{true}}" scroll-into-view="{{scroll_into_view}}" scroll-with-animation="true" lower-threshold="100" data-event-opts="{{[['scroll',[['scroll_detail',['$event']]]],['scrolltolower',[['scroll_bottom',['$event']]]]]}}" bindscroll="__e" bindscrolltolower="__e"><block wx:if="{{!$root.g0}}"><block class="data-v-6ee59528"><block wx:for="{{$root.l2}}" wx:for-item="classItem" wx:for-index="classIndex" wx:key="classIndex"><view class="item_list_bx selectAll data-v-6ee59528" id="{{'class_'+classIndex}}"><view class="item_list_title data-v-6ee59528">{{''+classItem.$orig.className+''}}</view><block wx:for="{{classItem.l1}}" wx:for-item="productItem" wx:for-index="productIndex" wx:key="productIndex"><view style="height:160rpx;" id="{{'class_'+classItem.$orig.classId+'_'+productItem.$orig.id}}" class="data-v-6ee59528"><block wx:if="{{classItem.$orig.isActive}}"><commodity-purchase vue-id="{{'020b32cd-2-'+classIndex+'-'+productIndex}}" type="{{pageType}}" info="{{productItem.$orig}}" bigCount="{{productItem.m8.bigCount}}" smallCount="{{productItem.m9.smallCount}}" itemPrice="{{productItem.m10.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-6ee59528" bind:__l="__l"></commodity-purchase></block></view></block></view></block></block></block><block wx:else><block class="data-v-6ee59528"><app-wrapper-empty vue-id="020b32cd-3" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-6ee59528" bind:__l="__l"></app-wrapper-empty></block></block></scroll-view></view><modal-module vue-id="020b32cd-4" show="{{isModel}}" title="{{customData.itemName}}" color="#333" size="{{32}}" padding="30rpx 30rpx" button="{{showButton}}" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['affirm']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-6ee59528" bind:__l="__l" vue-slots="{{['customContent']}}"><view slot="customContent" class="data-v-6ee59528"><view class="select-view data-v-6ee59528"><view class="select-cmd_bx data-v-6ee59528"><view class="num_bx data-v-6ee59528"><view class="kc data-v-6ee59528">数量</view><input focus="{{isFocus}}" type="number" placeholder="填写扎数" data-event-opts="{{[['input',[['__set_model',['$0','bigCount','$event',[]],['customData']]]]]}}" value="{{customData.bigCount}}" bindinput="__e" class="data-v-6ee59528"/></view></view><view class="select-cmd_bx data-v-6ee59528"><view class="num_bx data-v-6ee59528"><view class="kc data-v-6ee59528">单价</view><input type="number" placeholder="填写单价" data-event-opts="{{[['focus',[['e0',['$event']]]],['input',[['__set_model',['$0','itemPrice','$event',[]],['customData']]]]]}}" value="{{customData.itemPrice}}" bindfocus="__e" bindinput="__e" class="data-v-6ee59528"/></view></view></view></view></modal-module><footer-cart vue-id="020b32cd-5" price="{{allPriceFun}}" count="{{allCount}}" data-event-opts="{{[['^confirm',[['confirmSelectEvent']]]]}}" bind:confirm="__e" class="data-v-6ee59528" bind:__l="__l"></footer-cart></view>
|