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
5.4 KiB

<view class="container"><uni-datetime-picker style="margin-bottom:10px;" vue-id="ec6e0c1a-1" type="daterange" value="{{range}}" data-event-opts="{{[['^change',[['searchList']]],['^input',[['__set_model',['','range','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker><view class="tui-order-item boxbg"><view class="content"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shop-box" style="background:#fff;display:block;overflow:hidden;margin:0 auto 10px;"><view><view style="padding-left:20rpx;margin:40rpx 0;font-weight:bold;font-size:36rpx;text-align:center;"><text>{{"货号:"+(item.$orig.productSn==null?'':item.$orig.productSn)}}</text></view><view style="text-align:center;margin-bottom:20rpx;"><text>{{"名称:"+(item.$orig.productName==null?'':item.$orig.productName)}}</text><text style="padding:0 20rpx;">{{"总数量:"+(item.$orig.productCount==undefined?'0':item.$orig.productCount)}}</text><text style="padding:0 20rpx;">{{"采购价:"+(item.$orig.customerBuySaleVoList[0].customerBuyProductDetailLogVos[0].purchasePrice==null?'':item.$orig.customerBuySaleVoList[0].customerBuyProductDetailLogVos[0].purchasePrice)}}</text></view><uni-table vue-id="{{'ec6e0c1a-2-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('ec6e0c1a-3-'+index)+','+('ec6e0c1a-2-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('ec6e0c1a-4-'+index)+','+('ec6e0c1a-3-'+index)}}" align="center" width="100" bind:__l="__l" vue-slots="{{['default']}}">日期</uni-th><uni-th vue-id="{{('ec6e0c1a-5-'+index)+','+('ec6e0c1a-3-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('ec6e0c1a-6-'+index)+','+('ec6e0c1a-3-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">单价</uni-th><uni-th vue-id="{{('ec6e0c1a-7-'+index)+','+('ec6e0c1a-3-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th><uni-th vue-id="{{('ec6e0c1a-8-'+index)+','+('ec6e0c1a-3-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">利润</uni-th></uni-tr><block wx:for="{{item.l0}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><uni-tr bind:tap="__e" vue-id="{{('ec6e0c1a-9-'+index+'-'+index1)+','+('ec6e0c1a-2-'+index)}}" data-event-opts="{{[['^tap',[['xiaoshouDetail',['2','$0'],[[['list','',index],['customerBuySaleVoList','',index1]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('ec6e0c1a-10-'+index+'-'+index1)+','+('ec6e0c1a-9-'+index+'-'+index1)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item1.f0}}</uni-td><uni-td vue-id="{{('ec6e0c1a-11-'+index+'-'+index1)+','+('ec6e0c1a-9-'+index+'-'+index1)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item1.$orig.productCount}}</uni-td><uni-td vue-id="{{('ec6e0c1a-12-'+index+'-'+index1)+','+('ec6e0c1a-9-'+index+'-'+index1)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item1.$orig.customerBuyProductDetailLogVos[0].realPrice}}</uni-td><uni-td vue-id="{{('ec6e0c1a-13-'+index+'-'+index1)+','+('ec6e0c1a-9-'+index+'-'+index1)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item1.$orig.customerBuyProductDetailLogVos[0].realPrice*item1.$orig.productCount}}</uni-td><uni-td vue-id="{{('ec6e0c1a-14-'+index+'-'+index1)+','+('ec6e0c1a-9-'+index+'-'+index1)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item1.g0}}</uni-td></uni-tr></block></uni-table></view></view></block></view></view><u-loadmore vue-id="ec6e0c1a-15" status="{{status}}" bind:__l="__l"></u-loadmore><uni-popup class="vue-ref" vue-id="ec6e0c1a-16" background-color="#fff" data-ref="xsdetailPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="detail-popup"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="width:50rpx;height:50rpx;position:absolute;right:20rpx;top:25rpx;" bindtap="__e"><uni-icons vue-id="{{('ec6e0c1a-17')+','+('ec6e0c1a-16')}}" type="closeempty" color="red" size="22" bind:__l="__l"></uni-icons></view><view style="height:100rpx;line-height:100rpx;font-weight:bold;font-size:36rpx;text-align:center;"> 规格数量详情 </view><uni-table style="margin-bottom:20rpx;border-radius:10px;" vue-id="{{('ec6e0c1a-18')+','+('ec6e0c1a-16')}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('ec6e0c1a-19')+','+('ec6e0c1a-18')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('ec6e0c1a-20')+','+('ec6e0c1a-19')}}" align="center" width="80" bind:__l="__l" vue-slots="{{['default']}}">规格</uni-th><uni-th vue-id="{{('ec6e0c1a-21')+','+('ec6e0c1a-19')}}" align="center" width="55" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th></uni-tr><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-tr vue-id="{{('ec6e0c1a-22-'+index)+','+('ec6e0c1a-18')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('ec6e0c1a-23-'+index)+','+('ec6e0c1a-22-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.f1}}</uni-td><uni-td vue-id="{{('ec6e0c1a-24-'+index)+','+('ec6e0c1a-22-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.$orig.productCount}}</uni-td></uni-tr></block></uni-table></view></uni-popup></view>