addPrice.wxml 5.3 KB

1
  1. <view class="app-content data-v-4926edcd"><block wx:if="{{!$root.g0}}"><view style="padding-bottom:120rpx;" class="data-v-4926edcd"><t-table vue-id="32c03034-1" headerBackgroundColor="#F0F2F6" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><t-tr vue-id="{{('32c03034-2')+','+('32c03034-1')}}" header="{{true}}" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><t-th vue-id="{{('32c03034-3')+','+('32c03034-2')}}" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}">名称</t-th><t-th vue-id="{{('32c03034-4')+','+('32c03034-2')}}" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}">散客</t-th><t-th vue-id="{{('32c03034-5')+','+('32c03034-2')}}" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}">普店</t-th><t-th vue-id="{{('32c03034-6')+','+('32c03034-2')}}" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}">银店</t-th><t-th vue-id="{{('32c03034-7')+','+('32c03034-2')}}" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}">金店</t-th></t-tr><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-4926edcd"><t-tr vue-id="{{('32c03034-8-'+index)+','+('32c03034-1')}}" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><t-td vue-id="{{('32c03034-9-'+index)+','+('32c03034-8-'+index)}}" align="center" color="info" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-4926edcd">{{item.name}}</view></t-td><t-td vue-id="{{('32c03034-10-'+index)+','+('32c03034-8-'+index)}}" align="center" color="info" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-4926edcd"><input style="border:1rpx solid #cccccc;" name="skAddPrice" type="digit" data-event-opts="{{[['focus',[['e0',['$event']]]],['input',[['__set_model',['$0','skAddPrice','$event',[]],[[['list.data','',index]]]]]]]}}" data-event-params="{{({item})}}" value="{{item.skAddPrice}}" bindfocus="__e" bindinput="__e" class="data-v-4926edcd"/></view></t-td><t-td vue-id="{{('32c03034-11-'+index)+','+('32c03034-8-'+index)}}" align="center" color="info" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-4926edcd"><input style="border:1rpx solid #cccccc;" name="price" type="digit" data-event-opts="{{[['focus',[['e1',['$event']]]],['input',[['__set_model',['$0','addPrice','$event',[]],[[['list.data','',index]]]]]]]}}" data-event-params="{{({item})}}" value="{{item.addPrice}}" bindfocus="__e" bindinput="__e" class="data-v-4926edcd"/></view></t-td><t-td vue-id="{{('32c03034-12-'+index)+','+('32c03034-8-'+index)}}" align="center" color="info" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-4926edcd"><input style="border:1rpx solid #cccccc;" name="hjAddPrice" type="digit" data-event-opts="{{[['focus',[['e2',['$event']]]],['input',[['__set_model',['$0','hjAddPrice','$event',[]],[[['list.data','',index]]]]]]]}}" data-event-params="{{({item})}}" value="{{item.hjAddPrice}}" bindfocus="__e" bindinput="__e" class="data-v-4926edcd"/></view></t-td><t-td vue-id="{{('32c03034-13-'+index)+','+('32c03034-8-'+index)}}" align="center" color="info" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-4926edcd"><input style="border:1rpx solid #cccccc;" name="zsAddPrice" type="digit" data-event-opts="{{[['focus',[['e3',['$event']]]],['input',[['__set_model',['$0','zsAddPrice','$event',[]],[[['list.data','',index]]]]]]]}}" data-event-params="{{({item})}}" value="{{item.zsAddPrice}}" bindfocus="__e" bindinput="__e" class="data-v-4926edcd"/></view></t-td></t-tr></view></block></t-table></view></block><block wx:else><view class="data-v-4926edcd"><app-wrapper-empty vue-id="32c03034-14" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-4926edcd" bind:__l="__l"></app-wrapper-empty></view></block><view class="app-footer data-v-4926edcd"><view data-event-opts="{{[['tap',[['showBatchUpdate',['add']]]]]}}" class="admin-button-com middle blue data-v-4926edcd" bindtap="__e">整列累加</view><view data-event-opts="{{[['tap',[['showBatchUpdate',['update']]]]]}}" class="admin-button-com middle blue data-v-4926edcd" style="margin-left:20rpx;" bindtap="__e">整列改为</view><view data-event-opts="{{[['tap',[['pageTo',[['o',['url','/admin/item/list']]]]]]]}}" class="admin-button-com middle blue data-v-4926edcd" style="margin-left:20rpx;" bindtap="__e">花材</view><view data-event-opts="{{[['tap',[['savePrice',['$event']]]]]}}" class="admin-button-com middle blue data-v-4926edcd" style="margin-left:20rpx;" bindtap="__e">全部保存</view></view><modal-module vue-id="32c03034-15" show="{{batchModel}}" title="批量操作" color="#333" size="{{32}}" padding="30upx 30upx" data-event-opts="{{[['^click',[['affirmBatch']]]]}}" bind:click="__e" class="data-v-4926edcd" bind:__l="__l" vue-slots="{{['customContent']}}"><view slot="customContent" class="data-v-4926edcd"><view class="select-cmd_bx data-v-4926edcd"><view class="num_bx data-v-4926edcd" style="margin:60rpx 0 60rpx 0;font-size:35rpx;"><view class="flex data-v-4926edcd">金额:<input style="border:1rpx solid #CCCCCC;height:60rpx;" type="digit" data-event-opts="{{[['input',[['__set_model',['','batchPrice','$event',[]]]]]]}}" value="{{batchPrice}}" bindinput="__e" class="data-v-4926edcd"/></view></view></view></view></modal-module></view>