You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.7 KiB
1 lines
3.7 KiB
<view class="specs data-v-065580a8"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" bindchange="__e" class="data-v-065580a8"><block wx:for="{{attrsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['list','acea-row','data-v-065580a8',administer?'on':'']}}"><block wx:if="{{administer}}"><checkbox class="checkbox data-v-065580a8" value="{{item.id}}" checked="{{item.checked}}"></checkbox></block><view class="listCon data-v-065580a8"><view class="item acea-row row-middle data-v-065580a8"><view class="name data-v-065580a8">规格名称</view><view class="info data-v-065580a8">{{item.suk}}</view></view><view class="item acea-row row-middle data-v-065580a8"><view class="name data-v-065580a8">售价</view><input type="number" disabled="{{administer}}" min="0" placeholder="请填写售价" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.price}}" bindinput="__e" class="data-v-065580a8"/></view><view class="item acea-row row-middle data-v-065580a8"><view class="name data-v-065580a8">成本价</view><input type="number" disabled="{{administer}}" placeholder="请填写成本价" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','cost','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.cost}}" bindinput="__e" class="data-v-065580a8"/></view><view class="item acea-row row-middle data-v-065580a8"><view class="name data-v-065580a8">原价</view><input type="number" disabled="{{administer}}" placeholder="请填写原价" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','ot_price','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.ot_price}}" bindinput="__e" class="data-v-065580a8"/></view><block wx:if="{{storeNum}}"><view class="item acea-row row-middle data-v-065580a8"><view class="name data-v-065580a8">库存</view><input type="number" disabled="{{administer}}" placeholder="请填写库存" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','stock','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.stock}}" bindinput="__e" class="data-v-065580a8"/></view></block></view></view></block></checkbox-group><block wx:if="{{administer}}"><view class="footer on acea-row row-between-wrapper data-v-065580a8"><checkbox-group data-event-opts="{{[['change',[['checkboxAllChange',['$event']]]]]}}" bindchange="__e" class="data-v-065580a8"><checkbox value="all" checked="{{isAllSelect}}" class="data-v-065580a8"></checkbox><text class="checkAll data-v-065580a8">全选</text></checkbox-group><view class="acea-row row-middle data-v-065580a8"><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-065580a8" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['batchEdit',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-065580a8" bindtap="__e">批量修改</view></view></view></block><block wx:else><view class="footer acea-row row-between-wrapper data-v-065580a8"><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-065580a8" bindtap="__e">批量操作</view><view data-event-opts="{{[['tap',[['define',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-065580a8" bindtap="__e">保存</view></view></block><edit-price vue-id="4867d5e0-1" visible="{{visiblePrice}}" goodsInfo="{{goodsInfo}}" storeNum="{{storeNum}}" data-event-opts="{{[['^closeDrawer',[['priceCloseDrawer']]],['^successChange',[['successChange']]]]}}" bind:closeDrawer="__e" bind:successChange="__e" class="data-v-065580a8" bind:__l="__l"></edit-price></view> |