平板端快衣店
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
4.7 KiB

<view class="page1"><view style="position:fixed;top:0;z-index:99;height:70px;width:100%;display:flex;background:#fff;padding-top:30px;"><uni-icons vue-id="4414f91a-1" type="left" size="10" data-event-opts="{{[['^tap',[['backPage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><view class="content-left" style="width:13%;height:80%;float:left;position:fixed;top:70px;"><block wx:for="{{indexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['clickLeftBtn',[index]]]]]}}" class="{{['left-box',item.parentId?'left-box-hover':'']}}" bindtap="__e"><text class="{{[item.parentId?'red':'']}}" style="width:100%;height:40px;line-height:40px;display:inline-block;overflow:hidden;">{{item.categoryName}}</text></view></block></view><view class="content-right" style="width:87%;background:#fff;margin-left:13%;margin-top:70px;"><view class="table"><view class="table-th"><view style="width:5%;">#</view><view style="width:10%;">商品图</view><view style="width:25%;">货号</view><view style="width:20%;">名称</view><view style="width:20%;">批发价</view><view style="width:20%;">零售价</view></view><block wx:for="{{goodsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="table-tr"><view data-event-opts="{{[['tap',[['checkboxChange',['$0'],[[['goodsList','',index]]]]]]]}}" style="width:5%;background:#fff;" bindtap="__e"><checkbox-group><label><checkbox class="checkbox" checked="{{item.checked}}"></checkbox></label></checkbox-group></view><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['goodsList','',index]]]]]]]}}" style="width:10%;" catchtap="__e"><block wx:if="{{item.productPicture}}"><image style="border-radius:10px;width:30px;height:30px;margin:0 auto;" src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view class="noPic" style="width:100%;">暂无图片</view></block></view><view style="width:25%;">{{''+(item.productSn==null?'':item.productSn)+''}}</view><view style="width:20%;">{{''+(item.productName==null?'暂无':item.productName)+''}}</view><view style="width:20%;">{{''+item.wholesalePrice+''}}</view><view style="width:20%;">{{''+item.price+''}}</view></view></block></view><u-loadmore vue-id="4414f91a-2" status="{{status}}" bind:__l="__l"></u-loadmore></view><view class="bottom-box"><view class="bottom-right"><button data-event-opts="{{[['tap',[['clickPrint',['$event']]]]]}}" class="bottom-btn" bindtap="__e">批量打印</button></view></view><uni-popup class="vue-ref" vue-id="4414f91a-3" background-color="#fff" data-ref="payDialog" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content"><uni-forms-item vue-id="{{('4414f91a-4')+','+('4414f91a-3')}}" label="打印方式" name="type" labelWidth="170px" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4414f91a-5')+','+('4414f91a-4')}}" localdata="{{typeList}}" value="{{printingMethod}}" data-event-opts="{{[['^input',[['__set_model',['','printingMethod','$event',[]]]]]]}}" bind:__l="__l"></uni-data-select></uni-forms-item><view class="popup-pay-title"><text>已选商品</text></view><block wx:for="{{carList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><view class="box-right"><text class="box-right-name">{{item.productName==null?'':item.productName}}</text><text class="box-right-num">{{"("+item.productSn+")"}}</text></view></view></block><view class="popup-pay-title" style="margin-top:10px;"><text>请选择需要打印的字段</text></view><view class="content-fur"><block wx:for="{{list}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view data-event-opts="{{[['tap',[['addMultipleType',['$0'],[[['list','',index1]]]]]]]}}" class="{{['content-low',item1.checked?'checked':'']}}" catchtap="__e">{{item1.type}}</view></block></view><block wx:if="{{list[0].checked&&purchase!=''}}"><view style="display:flex;height:80px;width:100%;line-height:80px;margin-top:20px;"><text style="display:inline-block;width:100px;">供应商:</text><input style="display:flex;height:80px;width:300px;line-height:80px;padding-left:20px;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入供应商名称" data-event-opts="{{[['change',[['changeText',['$event']]]],['input',[['__set_model',['$0','supplierName','$event',[]],['purchase']]]]]}}" value="{{purchase.supplierName}}" bindchange="__e" bindinput="__e"/></view></block><view class="popup-pay-container"><kk-printer class="vue-ref" vue-id="{{('4414f91a-6')+','+('4414f91a-3')}}" bufferData="{{bufferData}}" defaultText="确认打印" data-ref="kkprinter" data-event-opts="{{[['^goPrint',[['goPrint']]]]}}" bind:goPrint="__e" bind:__l="__l"></kk-printer></view></view></uni-popup></view>