徐总多门店
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.1 KiB

<view class="container data-v-1e2d89c6"><block wx:if="{{list.cart_info}}"><view class="goods-box data-v-1e2d89c6"><view class="header data-v-1e2d89c6">{{"订单号:"+list.order_id}}</view><block wx:for="{{list.cart_info}}" wx:for-item="item" wx:for-index="index"><view class="item acea-row data-v-1e2d89c6"><view class="pictrue data-v-1e2d89c6"><image src="{{item.cart_info.productInfo.attrInfo.image}}" mode class="data-v-1e2d89c6"></image></view><view class="text acea-row row-column row-between data-v-1e2d89c6"><view class="title line2 data-v-1e2d89c6">{{item.cart_info.productInfo.store_name}}</view><view class="money acea-row row-between row-middle data-v-1e2d89c6"><view class="orangcol data-v-1e2d89c6">已核销:<text class="data-v-1e2d89c6">{{item.write_times-item.surplus_num}}</text>{{"/"+item.write_times+''}}</view><block wx:if="{{item.is_writeoff==1}}"><view class="txt acea-row row-middle data-v-1e2d89c6">核销已完成</view></block><block wx:else><view class="txt acea-row row-middle data-v-1e2d89c6">本次核销:<view class="carnum acea-row row-center-wrapper data-v-1e2d89c6"><block wx:if="{{item.surplus_num_input==1}}"><view class="reduce bggary data-v-1e2d89c6"><text class="iconfont icon-ic_Reduce data-v-1e2d89c6"></text></view></block><block wx:else><view data-event-opts="{{[['tap',[['subCart',['$0',index],[[['list.cart_info','',index]]]]]]]}}" class="reduce data-v-1e2d89c6" catchtap="__e"><text class="iconfont icon-ic_Reduce data-v-1e2d89c6"></text></view></block><input class="nums data-v-1e2d89c6" type="number" data-event-opts="{{[['input',[['__set_model',['$0','surplus_num_input','$event',[]],[[['list.cart_info','',index]]]],['numInput',['$event']]]],['blur',[['numBlur',['$event']]]]]}}" value="{{item.surplus_num_input}}" bindinput="__e" bindblur="__e"/><block wx:if="{{item.surplus_num_input==item.surplus_num}}"><view class="plus bggary data-v-1e2d89c6"><text class="iconfont icon-ic_increase data-v-1e2d89c6"></text></view></block><block wx:else><view data-event-opts="{{[['tap',[['addCart',['$0',index],[[['list.cart_info','',index]]]]]]]}}" class="plus data-v-1e2d89c6" catchtap="__e"><text class="iconfont icon-ic_increase data-v-1e2d89c6"></text></view></block></view></view></block></view></view></view></block></view></block><block wx:if="{{$root.g0}}"><view class="record-box data-v-1e2d89c6"><view class="header data-v-1e2d89c6">核销记录</view><view class="list data-v-1e2d89c6"><block wx:for="{{recordList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-middle row-between data-v-1e2d89c6"><view class="left data-v-1e2d89c6">{{item.add_time}}</view><view class="right data-v-1e2d89c6">{{"核销"+item.writeoff_num+"次"}}</view></view></block></view></view></block><view class="footer acea-row row-middle row-between data-v-1e2d89c6"><navigator class="btn data-v-1e2d89c6" url="{{storeNum?'/pages/admin/work/index':'/pages/admin/work/store'}}" hover-class="none">返回工作台</navigator><block wx:if="{{list.cart_info&&list.cart_info[0].surplus_num}}"><view data-event-opts="{{[['tap',[['verification',['$event']]]]]}}" class="btn data-v-1e2d89c6" bindtap="__e">确认核销</view></block></view></view>