mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-03-26 07:13:10 +00:00
1 line
3.6 KiB
Plaintext
1 line
3.6 KiB
Plaintext
<view class="specs data-v-24c8b160"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" bindchange="__e" class="data-v-24c8b160"><block wx:for="{{attrsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['list','acea-row','data-v-24c8b160',administer?'on':'']}}"><block wx:if="{{administer}}"><checkbox class="checkbox data-v-24c8b160" value="{{item.id}}" checked="{{item.checked}}"></checkbox></block><view class="listCon data-v-24c8b160"><view class="item acea-row row-middle data-v-24c8b160"><view class="name data-v-24c8b160">规格名称</view><view class="info data-v-24c8b160">{{item.suk}}</view></view><view class="item acea-row row-middle data-v-24c8b160"><view class="name data-v-24c8b160">售价</view><input type="digit" 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-24c8b160"/></view><view class="item acea-row row-middle data-v-24c8b160"><view class="name data-v-24c8b160">成本价</view><input type="digit" 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-24c8b160"/></view><view class="item acea-row row-middle data-v-24c8b160"><view class="name data-v-24c8b160">原价</view><input type="digit" 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-24c8b160"/></view><view class="item acea-row row-middle data-v-24c8b160"><view class="name data-v-24c8b160">库存</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-24c8b160"/></view></view></view></block></checkbox-group><block wx:if="{{administer}}"><view class="footer on acea-row row-between-wrapper data-v-24c8b160"><checkbox-group data-event-opts="{{[['change',[['checkboxAllChange',['$event']]]]]}}" bindchange="__e" class="data-v-24c8b160"><checkbox value="all" checked="{{isAllSelect}}" class="data-v-24c8b160"></checkbox><text class="checkAll data-v-24c8b160">全选</text></checkbox-group><view class="acea-row row-middle data-v-24c8b160"><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-24c8b160" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['batchEdit',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-24c8b160" bindtap="__e">批量修改</view></view></view></block><block wx:else><view class="footer acea-row row-between-wrapper data-v-24c8b160"><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-24c8b160" bindtap="__e">批量操作</view><view data-event-opts="{{[['tap',[['define',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-24c8b160" bindtap="__e">保存</view></view></block><edit-price vue-id="4867d5e0-1" visible="{{visiblePrice}}" goodsInfo="{{goodsInfo}}" data-event-opts="{{[['^closeDrawer',[['priceCloseDrawer']]],['^successChange',[['successChange']]]]}}" bind:closeDrawer="__e" bind:successChange="__e" class="data-v-24c8b160" bind:__l="__l"></edit-price></view> |