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

<view class="page1"><view class="content-box"><view class="right-box"><view class="box-left"><block wx:if="{{dataList.productPicture}}"><image class="img-radius _img" src="{{dataList.productPicture}}" alt></image></block><block wx:else><view class="noPic">暂无图片</view></block></view><view class="box-right"><view class="box-right-name">{{(dataList.productName==null?'暂无':dataList.productName)+" ("+(dataList.productSn==null?'暂无':dataList.productSn)+")"}}</view><view class="box-right-num">{{"供应商:"+(dataList.supplierName==null?'暂无':dataList.supplierName)}}</view><block wx:if="{{shopId=='1960543009070256129'&&(shopOwnerPhone==username||username==dataList.createBy)||shopId!='1960543009070256129'}}"><view data-event-opts="{{[['tap',[['goToAddGoods',['$event']]]]]}}" class="edit-btn" bindtap="__e">编辑</view></block><block wx:if="{{!isPrint}}"><view data-event-opts="{{[['tap',[['printBtn',['$event']]]]]}}" class="print-btn" bindtap="__e"> 打印 </view></block><block wx:if="{{isPrint}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="print-btn" bindtap="__e"> 取消 </view></block><view class="box-right-num" style="color:#ffa200;"><text style="padding-right:20rpx;">{{dataList.delFlag==1?'已上架':'已下架'}}</text></view></view></view><block wx:if="{{shopId!='1960543009070256129'}}"><view class="box-right-price"><block wx:if="{{type==0}}"><view class="price-box"><text>{{dataList.purchasePrice==null?'暂无':dataList.purchasePrice}}</text><text>平均采购价</text></view></block><view class="price-box"><text>{{dataList.wholesalePrice==null?'暂无':dataList.wholesalePrice}}</text><text>批发价</text></view><view class="price-box"><text>{{dataList.price==null?'暂无':dataList.price}}</text><text>零售价</text></view><view class="price-box"><text>{{dataList.stockCount==null?'暂无':dataList.stockCount}}</text><text>库存</text></view></view></block><block wx:else><view class="box-right-price"><block wx:if="{{shopOwnerPhone==username||username==dataList.createBy}}"><view class="price-box"><text>{{dataList.purchasePrice==null?'暂无':dataList.purchasePrice+"%"}}</text><text>团长佣金</text></view></block><view class="price-box"><text>{{dataList.wholesalePrice==null?'暂无':dataList.wholesalePrice}}</text><text>直播价</text></view><view class="price-box"><text>{{dataList.price==null?'暂无':dataList.price}}</text><text>日常价</text></view><view class="price-box"><text>{{dataList.stockCount==null?'暂无':dataList.stockCount}}</text><text>库存</text></view></view></block></view><view style="background:#fff;border:1px solid #eee;"><uni-segmented-control vue-id="4e127e7c-1" current="{{current}}" values="{{items}}" styleType="text" activeColor="#007aff" data-event-opts="{{[['^clickItem',[['onClickItem']]]]}}" bind:clickItem="__e" bind:__l="__l"></uni-segmented-control></view><view class="content" style="background:#fff;"><view hidden="{{!(current===0)}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="container-box"><view class="prec-list"><view class="prec-list-box" style="{{'width:'+(isPrint?'40%':'64%')+';'}}">{{''+item.f0+''}}</view><view class="prec-list-box" style="font-size:26rpx;width:26%;">{{'数量:'+item.$orig.stockCount+''}}</view><view><block wx:if="{{isPrint}}"><uni-number-box style="margin-top:10rpx;display:block;" vue-id="{{'4e127e7c-2-'+index}}" max="10000" value="{{item.$orig.productCount}}" data-event-opts="{{[['^change',[['changeNumBtn',['$0'],[[['pecsList','',index]]]]]],['^input',[['__set_model',['$0','productCount','$event',[]],[[['pecsList','',index]]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-number-box></block><block wx:if="{{isPrint==false}}"><uni-icons vue-id="{{'4e127e7c-3-'+index}}" type="close" size="30" color="#777" data-event-opts="{{[['^tap',[['delSpec',['$0'],[[['pecsList','',index]]]]]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></block></view></view></view></block></view><view hidden="{{!(current===1)}}"><block wx:for="{{detailList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><view style="width:100%;height:80rpx;line-height:80rpx;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;font-size:30rpx;">{{''+item.createTime+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;">{{'操作:'+item.createByName+''}}</text></view><block wx:if="{{shopId!='1960543009070256129'}}"><uni-table vue-id="{{'4e127e7c-4-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-5-'+index)+','+('4e127e7c-4-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-6-'+index)+','+('4e127e7c-5-'+index)}}" align="center" width="85" bind:__l="__l" vue-slots="{{['default']}}">客户</uni-th><uni-th vue-id="{{('4e127e7c-7-'+index)+','+('4e127e7c-5-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('4e127e7c-8-'+index)+','+('4e127e7c-5-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">拿货价</uni-th><uni-th vue-id="{{('4e127e7c-9-'+index)+','+('4e127e7c-5-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">采购价</uni-th><uni-th vue-id="{{('4e127e7c-10-'+index)+','+('4e127e7c-5-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">总利润</uni-th></uni-tr><uni-tr bind:tap="__e" vue-id="{{('4e127e7c-11-'+index)+','+('4e127e7c-4-'+index)}}" data-event-opts="{{[['^tap',[['xiaoshouDetail',['$0'],[[['detailList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-12-'+index)+','+('4e127e7c-11-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.userName}}</uni-td><uni-td vue-id="{{('4e127e7c-13-'+index)+','+('4e127e7c-11-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.productCount}}</uni-td><uni-td vue-id="{{('4e127e7c-14-'+index)+','+('4e127e7c-11-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.saleDetailDTOList[0].discountAmount}}</uni-td><uni-td vue-id="{{('4e127e7c-15-'+index)+','+('4e127e7c-11-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.saleDetailDTOList[0].purchasePrice!=null?item.saleDetailDTOList[0].purchasePrice:0:0}}</uni-td><uni-td vue-id="{{('4e127e7c-16-'+index)+','+('4e127e7c-11-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.lirun:0}}</uni-td></uni-tr></uni-table></block><block wx:else><uni-table vue-id="{{'4e127e7c-17-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-18-'+index)+','+('4e127e7c-17-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-19-'+index)+','+('4e127e7c-18-'+index)}}" align="center" width="85" bind:__l="__l" vue-slots="{{['default']}}">客户</uni-th><uni-th vue-id="{{('4e127e7c-20-'+index)+','+('4e127e7c-18-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('4e127e7c-21-'+index)+','+('4e127e7c-18-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">拿货价</uni-th></uni-tr><uni-tr bind:tap="__e" vue-id="{{('4e127e7c-22-'+index)+','+('4e127e7c-17-'+index)}}" data-event-opts="{{[['^tap',[['xiaoshouDetail',['$0'],[[['detailList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-23-'+index)+','+('4e127e7c-22-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.userName}}</uni-td><uni-td vue-id="{{('4e127e7c-24-'+index)+','+('4e127e7c-22-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.productCount}}</uni-td><uni-td vue-id="{{('4e127e7c-25-'+index)+','+('4e127e7c-22-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.saleDetailDTOList[0].discountAmount}}</uni-td></uni-tr></uni-table></block></view></block></view><view hidden="{{!(current===2)}}"><block wx:for="{{detailList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><view style="width:100%;height:80rpx;line-height:80rpx;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;font-size:30rpx;">{{''+item.createTime+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;">{{'操作:'+(item.createByName?item.createByName:'')+''}}</text></view><uni-table vue-id="{{'4e127e7c-26-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-27-'+index)+','+('4e127e7c-26-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-28-'+index)+','+('4e127e7c-27-'+index)}}" align="center" width="85" bind:__l="__l" vue-slots="{{['default']}}">客户</uni-th><uni-th vue-id="{{('4e127e7c-29-'+index)+','+('4e127e7c-27-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('4e127e7c-30-'+index)+','+('4e127e7c-27-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">退货价</uni-th><block wx:if="{{shopId!='1960543009070256129'}}"><uni-th vue-id="{{('4e127e7c-31-'+index)+','+('4e127e7c-27-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">采购价</uni-th></block></uni-tr><uni-tr bind:tap="__e" vue-id="{{('4e127e7c-32-'+index)+','+('4e127e7c-26-'+index)}}" data-event-opts="{{[['^tap',[['tuihuoDetail',['$0'],[[['detailList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-33-'+index)+','+('4e127e7c-32-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.userName?item.userName:''}}</uni-td><uni-td vue-id="{{('4e127e7c-34-'+index)+','+('4e127e7c-32-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.returnSaleDetailList[0].productCount?item.returnSaleDetailList[0].productCount:'0'}}</uni-td><uni-td vue-id="{{('4e127e7c-35-'+index)+','+('4e127e7c-32-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.returnSaleDetailList[0].discountAmount?item.returnSaleDetailList[0].discountAmount:'0'}}</uni-td><block wx:if="{{shopId!='1960543009070256129'}}"><uni-td vue-id="{{('4e127e7c-36-'+index)+','+('4e127e7c-32-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.returnSaleDetailList[0].purchasePrice?item.returnSaleDetailList[0].purchasePrice:'0':0}}</uni-td></block></uni-tr></uni-table></view></block></view><view hidden="{{!(current===3)}}"><block wx:for="{{detailList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['detailList','',index]]]]]]]}}" bindtap="__e"><view style="width:100%;height:80rpx;line-height:80rpx;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;font-size:30rpx;">{{''+item.purchase.createTime+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;">{{'操作:'+item.purchase.createByName+''}}</text></view><block wx:if="{{shopId!='1960543009070256129'}}"><uni-table vue-id="{{'4e127e7c-37-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-38-'+index)+','+('4e127e7c-37-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-39-'+index)+','+('4e127e7c-38-'+index)}}" align="center" width="85" bind:__l="__l" vue-slots="{{['default']}}">供应商</uni-th><uni-th vue-id="{{('4e127e7c-40-'+index)+','+('4e127e7c-38-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('4e127e7c-41-'+index)+','+('4e127e7c-38-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">进货价</uni-th><uni-th vue-id="{{('4e127e7c-42-'+index)+','+('4e127e7c-38-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th></uni-tr><uni-tr vue-id="{{('4e127e7c-43-'+index)+','+('4e127e7c-37-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-44-'+index)+','+('4e127e7c-43-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.purchase.supplierName==null?'':item.purchase.supplierName}}</uni-td><uni-td vue-id="{{('4e127e7c-45-'+index)+','+('4e127e7c-43-'+index)}}" align="center" data-event-opts="{{[['^tap',[['rukuDetail',['$0'],[[['detailList','',index,'purchaseDetails.__$n0']]]]]]]}}" catch:tap="__e" bind:__l="__l" vue-slots="{{['default']}}"><text style="color:blue;text-decoration:underline;">{{item.purchase.totalAmount}}</text></uni-td><uni-td vue-id="{{('4e127e7c-46-'+index)+','+('4e127e7c-43-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.purchaseDetails[0].purchasePrice==null?0:item.purchaseDetails[0].purchasePrice:0}}</uni-td><uni-td vue-id="{{('4e127e7c-47-'+index)+','+('4e127e7c-43-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.purchaseDetails[0].zPrice:0}}</uni-td></uni-tr></uni-table></block></view></block></view><view hidden="{{!(current===4)}}"><block wx:for="{{detailList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['detailList','',index]]]]]]]}}" bindtap="__e"><view style="width:100%;height:80rpx;line-height:80rpx;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;font-size:30rpx;">{{''+item.purchase.createTime+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;">{{'操作:'+item.purchase.createByName+''}}</text></view><block wx:if="{{shopId!='1960543009070256129'}}"><uni-table vue-id="{{'4e127e7c-48-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-49-'+index)+','+('4e127e7c-48-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-50-'+index)+','+('4e127e7c-49-'+index)}}" align="center" width="85" bind:__l="__l" vue-slots="{{['default']}}">供应商</uni-th><uni-th vue-id="{{('4e127e7c-51-'+index)+','+('4e127e7c-49-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('4e127e7c-52-'+index)+','+('4e127e7c-49-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">进货价</uni-th><uni-th vue-id="{{('4e127e7c-53-'+index)+','+('4e127e7c-49-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th></uni-tr><uni-tr vue-id="{{('4e127e7c-54-'+index)+','+('4e127e7c-48-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-55-'+index)+','+('4e127e7c-54-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.purchase.supplierName==null?'':item.purchase.supplierName}}</uni-td><uni-td vue-id="{{('4e127e7c-56-'+index)+','+('4e127e7c-54-'+index)}}" align="center" data-event-opts="{{[['^tap',[['rukuDetail',['$0'],[[['detailList','',index,'purchaseDetails.__$n0']]]]]]]}}" catch:tap="__e" bind:__l="__l" vue-slots="{{['default']}}"><text style="color:blue;text-decoration:underline;">{{item.purchase.totalAmount}}</text></uni-td><uni-td vue-id="{{('4e127e7c-57-'+index)+','+('4e127e7c-54-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.purchaseDetails[0].purchasePrice==null?0:item.purchaseDetails[0].purchasePrice:0}}</uni-td><uni-td vue-id="{{('4e127e7c-58-'+index)+','+('4e127e7c-54-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.purchaseDetails[0].zPrice:0}}</uni-td></uni-tr></uni-table></block></view></block></view></view><uni-popup class="vue-ref" vue-id="4e127e7c-59" background-color="#fff" data-ref="payDialog" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content"><uni-forms-item vue-id="{{('4e127e7c-60')+','+('4e127e7c-59')}}" label="打印方式" name="type" labelWidth="170rpx" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-61')+','+('4e127e7c-60')}}" localdata="{{typeList}}" value="{{printingMethod}}" data-event-opts="{{[['^input',[['__set_model',['','printingMethod','$event',[]]]]]]}}" bind:__l="__l"></uni-data-select></uni-forms-item><block wx:if="{{$root.g0>0}}"><uni-forms-item vue-id="{{('4e127e7c-62')+','+('4e127e7c-59')}}" label="打印模板" name="shipType" labelWidth="170rpx" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-63')+','+('4e127e7c-62')}}" localdata="{{shopprintList}}" value="{{shopprintContent}}" data-event-opts="{{[['^input',[['__set_model',['','shopprintContent','$event',[]]]]]]}}" bind:__l="__l"></uni-data-select></uni-forms-item></block><view class="popup-pay-title" style="margin-top:50rpx;"><text>请选择需要打印的字段</text></view><block wx:if="{{shopId!='1960543009070256129'}}"><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><block wx:if="{{shopId=='1960543009070256129'}}"><view class="content-fur"><block wx:for="{{list1}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view data-event-opts="{{[['tap',[['addMultipleType',['$0'],[[['list1','',index1]]]]]]]}}" class="{{['content-low',item1.checked?'checked':'']}}" catchtap="__e">{{item1.type}}</view></block></view></block><block wx:if="{{list[0].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 供应商: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="text" placeholder="请输入供应商名称" data-event-opts="{{[['input',[['__set_model',['$0','supplierName','$event',[]],['dataList']]]]]}}" value="{{dataList.supplierName}}" bindinput="__e"/></view></block><block wx:if="{{list[1].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 货号: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="text" placeholder="请输入货号" data-event-opts="{{[['input',[['__set_model',['$0','productSn','$event',[]],['dataList']]]]]}}" value="{{dataList.productSn}}" bindinput="__e"/></view></block><block wx:if="{{list[2].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 品名: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="text" placeholder="请输入品名" data-event-opts="{{[['input',[['__set_model',['$0','productName','$event',[]],['dataList']]]]]}}" value="{{dataList.productName}}" bindinput="__e"/></view></block><block wx:if="{{list[3].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 零售价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['dataList']]]]]}}" value="{{dataList.price}}" bindinput="__e"/></view></block><block wx:if="{{list[4].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 批发价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="digit" placeholder="请输入批发价" data-event-opts="{{[['input',[['__set_model',['$0','wholesalePrice','$event',[]],['dataList']]]]]}}" value="{{dataList.wholesalePrice}}" bindinput="__e"/></view></block><block wx:if="{{list1[0].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 供应商: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="text" placeholder="请输入供应商名称" data-event-opts="{{[['input',[['__set_model',['$0','supplierName','$event',[]],['dataList']]]]]}}" value="{{dataList.supplierName}}" bindinput="__e"/></view></block><block wx:if="{{list1[1].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 货号: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="text" placeholder="请输入货号" data-event-opts="{{[['input',[['__set_model',['$0','productSn','$event',[]],['dataList']]]]]}}" value="{{dataList.productSn}}" bindinput="__e"/></view></block><block wx:if="{{list1[2].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 品名: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="text" placeholder="请输入品名" data-event-opts="{{[['input',[['__set_model',['$0','productName','$event',[]],['dataList']]]]]}}" value="{{dataList.productName}}" bindinput="__e"/></view></block><block wx:if="{{list1[3].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 日常价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="digit" placeholder="请输入日常价" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['dataList']]]]]}}" value="{{dataList.price}}" bindinput="__e"/></view></block><block wx:if="{{list1[4].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 直播价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="digit" placeholder="请输入直播价" data-event-opts="{{[['input',[['__set_model',['$0','wholesalePrice','$event',[]],['dataList']]]]]}}" value="{{dataList.wholesalePrice}}" bindinput="__e"/></view></block><view data-event-opts="{{[['tap',[['clickPrint',['$event']]]]]}}" class="popup-pay-container" bindtap="__e"> 确认 </view></view></uni-popup><uni-popup class="vue-ref" vue-id="4e127e7c-64" background-color="#fff" data-ref="zidingyiDialog" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content"><view class="popup-pay-title" style="border-bottom:0;"><text>打印方式</text></view><block wx:if="{{zidingyi}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-65')+','+('4e127e7c-64')}}" localdata="{{typeList1}}" value="{{printingMethod}}" data-event-opts="{{[['^input',[['__set_model',['','printingMethod','$event',[]]]]]]}}" bind:__l="__l"></uni-data-select></block><block wx:else><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-66')+','+('4e127e7c-64')}}" localdata="{{typeList}}" value="{{printingMethod}}" data-event-opts="{{[['^input',[['__set_model',['','printingMethod','$event',[]]]]]]}}" bind:__l="__l"></uni-data-select></block><block wx:if="{{printingMethod=='0'||printingMethod=='1'}}"><view class="popup-pay-title" style="border-bottom:0;padding-top:20rpx;"><text>打印二维码</text></view></block><block wx:if="{{printingMethod=='0'||printingMethod=='1'}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-67')+','+('4e127e7c-64')}}" localdata="{{printQR}}" value="{{isQRCode}}" data-event-opts="{{[['^input',[['__set_model',['','isQRCode','$event',[]]]]]]}}" bind:__l="__l"></uni-data-select></block><block wx:if="{{$root.g1}}"><view class="popup-pay-title" style="border-bottom:0;padding-top:20rpx;"><text>打印模板</text></view></block><block wx:if="{{$root.g2}}"><uni-data-select style="width:100%;" vue-id="{{('4e127e7c-68')+','+('4e127e7c-64')}}" localdata="{{shopprintList}}" value="{{shopprintContent}}" data-event-opts="{{[['^change',[['changeList']]],['^input',[['__set_model',['','shopprintContent','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select></block><view class="popup-pay-title" style="margin-top:50rpx;text-align:center;"><text>请选择需要打印的字段</text></view><block wx:if="{{printingMethod!='6'}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 颜色: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入颜色名" data-event-opts="{{[['input',[['__set_model',['','color','$event',[]]]]]]}}" value="{{color}}" bindinput="__e"/></view></block><block wx:if="{{printingMethod!='6'}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 尺码: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入尺码值" data-event-opts="{{[['input',[['__set_model',['','size','$event',[]]]]]]}}" value="{{size}}" bindinput="__e"/></view></block><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 数量: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="digit" placeholder="请输入数量" data-event-opts="{{[['input',[['__set_model',['','number','$event',[]]]]]]}}" value="{{number}}" bindinput="__e"/></view><block wx:if="{{printingMethod=='6'}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 自定义: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" type="text" placeholder="建议字符不超过两个" data-event-opts="{{[['change',[['changeCustomize',['$event']]]],['input',[['__set_model',['','customizeText','$event',[]]]]]]}}" value="{{customizeText}}" bindchange="__e" bindinput="__e"/></view></block><block wx:if="{{shopId!='1960543009070256129'&&printingMethod!='2'&&printingMethod!='4'&&printingMethod!='5'&&printingMethod!='6'}}"><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><block wx:if="{{shopId=='1960543009070256129'&&printingMethod!='2'&&printingMethod!='4'&&printingMethod!='5'&&printingMethod!='6'}}"><view class="content-fur"><block wx:for="{{list1}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view data-event-opts="{{[['tap',[['addMultipleType',['$0'],[[['list1','',index1]]]]]]]}}" class="{{['content-low',item1.checked?'checked':'']}}" catchtap="__e">{{item1.type}}</view></block></view></block><block wx:if="{{printingMethod=='2'||printingMethod=='4'}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 货号: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入货号" data-event-opts="{{[['input',[['__set_model',['$0','productSn','$event',[]],['dataList']]]]]}}" value="{{dataList.productSn}}" bindinput="__e"/></view></block><block wx:if="{{list[0].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 供应商: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入供应商名称" data-event-opts="{{[['input',[['__set_model',['$0','supplierName','$event',[]],['dataList']]]]]}}" value="{{dataList.supplierName}}" bindinput="__e"/></view></block><block wx:if="{{list[1].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 货号: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入货号" data-event-opts="{{[['input',[['__set_model',['$0','productSn','$event',[]],['dataList']]]]]}}" value="{{dataList.productSn}}" bindinput="__e"/></view></block><block wx:if="{{list[2].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 品名: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入品名" data-event-opts="{{[['input',[['__set_model',['$0','productName','$event',[]],['dataList']]]]]}}" value="{{dataList.productName}}" bindinput="__e"/></view></block><block wx:if="{{list[3].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 零售价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['dataList']]]]]}}" value="{{dataList.price}}" bindinput="__e"/></view></block><block wx:if="{{list[4].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 批发价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="digit" placeholder="请输入批发价" data-event-opts="{{[['input',[['__set_model',['$0','wholesalePrice','$event',[]],['dataList']]]]]}}" value="{{dataList.wholesalePrice}}" bindinput="__e"/></view></block><block wx:if="{{list1[0].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 供应商: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入供应商名称" data-event-opts="{{[['input',[['__set_model',['$0','supplierName','$event',[]],['dataList']]]]]}}" value="{{dataList.supplierName}}" bindinput="__e"/></view></block><block wx:if="{{list1[1].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 货号: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入货号" data-event-opts="{{[['input',[['__set_model',['$0','productSn','$event',[]],['dataList']]]]]}}" value="{{dataList.productSn}}" bindinput="__e"/></view></block><block wx:if="{{list1[2].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 品名: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="text" placeholder="请输入品名" data-event-opts="{{[['input',[['__set_model',['$0','productName','$event',[]],['dataList']]]]]}}" value="{{dataList.productName}}" bindinput="__e"/></view></block><block wx:if="{{list1[3].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 日常价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="digit" placeholder="请输入日常价" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['dataList']]]]]}}" value="{{dataList.price}}" bindinput="__e"/></view></block><block wx:if="{{list1[4].checked}}"><view style="display:flex;height:80rpx;width:100%;line-height:80rpx;margin-top:20rpx;"><text style="display:inline-block;width:100rpx;font-size:22rpx;"> 直播价: </text><input style="display:flex;height:80rpx;width:300rpx;line-height:80rpx;padding-left:20rpx;border:1px solid #eee;" disabled="{{closetanPopup}}" type="digit" placeholder="请输入直播价" data-event-opts="{{[['input',[['__set_model',['$0','wholesalePrice','$event',[]],['dataList']]]]]}}" value="{{dataList.wholesalePrice}}" bindinput="__e"/></view></block><view class="popup-pay-container"><kk-printer class="vue-ref" vue-id="{{('4e127e7c-69')+','+('4e127e7c-64')}}" bufferData="{{bufferData}}" printNum="{{printNum}}" defaultText="打印" data-ref="kkprinter" data-event-opts="{{[['^onPrint',[['onPrint1']]]]}}" bind:onPrint="__e" bind:__l="__l"></kk-printer></view></view></uni-popup><uni-popup class="vue-ref" vue-id="4e127e7c-70" background-color="#fff" data-ref="detailPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="detail-popup"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="width:50rpx;height:50rpx;position:absolute;right:20rpx;top:25rpx;" bindtap="__e"><uni-icons vue-id="{{('4e127e7c-71')+','+('4e127e7c-70')}}" 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="{{('4e127e7c-72')+','+('4e127e7c-70')}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-73')+','+('4e127e7c-72')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-74')+','+('4e127e7c-73')}}" align="center" width="80" bind:__l="__l" vue-slots="{{['default']}}">规格</uni-th><uni-th vue-id="{{('4e127e7c-75')+','+('4e127e7c-73')}}" align="center" width="55" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th></uni-tr><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-tr vue-id="{{('4e127e7c-76-'+index)+','+('4e127e7c-72')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-77-'+index)+','+('4e127e7c-76-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.f1}}</uni-td><uni-td vue-id="{{('4e127e7c-78-'+index)+','+('4e127e7c-76-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.$orig.productCount}}</uni-td></uni-tr></block></uni-table></view></uni-popup><uni-popup class="vue-ref" vue-id="4e127e7c-79" type="dialog" data-ref="inputDialog" bind:__l="__l" vue-slots="{{['default']}}"><uni-popup-dialog class="vue-ref" vue-id="{{('4e127e7c-80')+','+('4e127e7c-79')}}" mode="input" inputType="digit" title="采购价" placeholder="请输入采购价" data-ref="inputClose" data-event-opts="{{[['^confirm',[['changePrice']]]]}}" bind:confirm="__e" bind:__l="__l"></uni-popup-dialog></uni-popup><block wx:if="{{isPrint}}"><view class="bottom-btn"><kk-printer class="vue-ref" vue-id="4e127e7c-81" bufferData="{{bufferData}}" printNum="{{printNum}}" defaultText="打印" data-ref="kkprinter" data-event-opts="{{[['^onPrint',[['onPrint']]]]}}" bind:onPrint="__e" bind:__l="__l"></kk-printer></view></block><block wx:if="{{!isPrint}}"><uni-fab class="vue-ref" vue-id="4e127e7c-82" content="{{content}}" horizontal="{{horizontal}}" data-ref="fab" data-event-opts="{{[['^trigger',[['trigger']]]]}}" bind:trigger="__e" bind:__l="__l"></uni-fab></block></view>