| 1 |
- <view class="app-content data-v-6fba314a"><block wx:if="{{!$root.g0}}"><view style="padding-bottom:120rpx;" class="data-v-6fba314a"><t-table vue-id="bee5544e-1" headerBackgroundColor="#F0F2F6" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}"><t-tr vue-id="{{('bee5544e-2')+','+('bee5544e-1')}}" header="{{true}}" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}"><t-th vue-id="{{('bee5544e-3')+','+('bee5544e-2')}}" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}">名称</t-th><t-th vue-id="{{('bee5544e-4')+','+('bee5544e-2')}}" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}">排序</t-th><t-th vue-id="{{('bee5544e-5')+','+('bee5544e-2')}}" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}">重量(公斤)</t-th><t-th vue-id="{{('bee5544e-6')+','+('bee5544e-2')}}" class="data-v-6fba314a" 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-6fba314a"><t-tr vue-id="{{('bee5544e-7-'+index)+','+('bee5544e-1')}}" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}"><t-td vue-id="{{('bee5544e-8-'+index)+','+('bee5544e-7-'+index)}}" align="center" color="info" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-6fba314a">{{item.name}}</view></t-td><t-td vue-id="{{('bee5544e-9-'+index)+','+('bee5544e-7-'+index)}}" align="center" color="info" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-6fba314a"><input style="border:1rpx solid #cccccc;" name="inTurn" type="number" data-event-opts="{{[['focus',[['e0',['$event']]]],['input',[['__set_model',['$0','inTurn','$event',[]],[[['list.data','',index]]]]]]]}}" data-event-params="{{({item})}}" value="{{item.inTurn}}" bindfocus="__e" bindinput="__e" class="data-v-6fba314a"/></view></t-td><t-td vue-id="{{('bee5544e-10-'+index)+','+('bee5544e-7-'+index)}}" align="center" color="info" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-6fba314a"><input style="border:1rpx solid #cccccc;" name="weight" type="digit" data-event-opts="{{[['focus',[['e1',['$event']]]],['input',[['__set_model',['$0','weight','$event',[]],[[['list.data','',index]]]]]]]}}" data-event-params="{{({item})}}" value="{{item.weight}}" bindfocus="__e" bindinput="__e" class="data-v-6fba314a"/></view></t-td><t-td vue-id="{{('bee5544e-11-'+index)+','+('bee5544e-7-'+index)}}" align="center" color="info" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-6fba314a"><input style="border:1rpx solid #cccccc;" name="shelfLife" type="digit" data-event-opts="{{[['focus',[['e2',['$event']]]],['input',[['__set_model',['$0','shelfLife','$event',[]],[[['list.data','',index]]]]]]]}}" data-event-params="{{({item})}}" value="{{item.shelfLife}}" bindfocus="__e" bindinput="__e" class="data-v-6fba314a"/></view></t-td></t-tr></view></block></t-table></view></block><block wx:else><view class="data-v-6fba314a"><app-wrapper-empty vue-id="bee5544e-12" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-6fba314a" bind:__l="__l"></app-wrapper-empty></view></block><view class="app-footer data-v-6fba314a"><view data-event-opts="{{[['tap',[['showBatchUpdate',['add']]]]]}}" class="admin-button-com middle blue data-v-6fba314a" bindtap="__e">整列累加</view><view data-event-opts="{{[['tap',[['showBatchUpdate',['update']]]]]}}" class="admin-button-com middle blue data-v-6fba314a" 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-6fba314a" style="margin-left:20rpx;" bindtap="__e">花材</view><view data-event-opts="{{[['tap',[['savePrice',['$event']]]]]}}" class="admin-button-com middle blue data-v-6fba314a" style="margin-left:20rpx;" bindtap="__e">全部保存</view></view><modal-module vue-id="bee5544e-13" show="{{batchModel}}" title="批量操作" color="#333" size="{{32}}" padding="30upx 30upx" data-event-opts="{{[['^click',[['affirmBatch']]]]}}" bind:click="__e" class="data-v-6fba314a" bind:__l="__l" vue-slots="{{['customContent']}}"><view slot="customContent" class="data-v-6fba314a"><view class="select-cmd_bx data-v-6fba314a"><view class="num_bx data-v-6fba314a" style="margin:60rpx 0 60rpx 0;font-size:35rpx;"><view class="flex data-v-6fba314a">数值:<input style="border:1rpx solid #CCCCCC;height:60rpx;" type="digit" data-event-opts="{{[['input',[['__set_model',['','batchNum','$event',[]]]]]]}}" value="{{batchNum}}" bindinput="__e" class="data-v-6fba314a"/></view></view></view></view></modal-module></view>
|