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

<view class="page1"><view class="content-box"><view class="right-box"><view class="box-left"><block wx:if="{{dataList.productPicture}}"><image src="{{dataList.productPicture}}" alt class="_img"></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><view data-event-opts="{{[['tap',[['goToAddGoods',['$event']]]]]}}" class="edit-btn" bindtap="__e">编辑</view><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:20px;">{{dataList.delFlag==1?'已上架':'已下架'}}</text></view></view></view><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></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="width:26%;">{{'数量:'+item.$orig.stockCount+''}}</view><view><block wx:if="{{isPrint}}"><uni-number-box style="margin-top:5px;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="7" 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:40px;line-height:40px;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;">{{''+item.createTime+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;">{{'操作:'+item.createByName+''}}</text></view><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></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:40px;line-height:40px;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;">{{''+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-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-th vue-id="{{('4e127e7c-22-'+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-23-'+index)+','+('4e127e7c-17-'+index)}}" data-event-opts="{{[['^tap',[['tuihuoDetail',['$0'],[[['detailList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-24-'+index)+','+('4e127e7c-23-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.userName?item.userName:''}}</uni-td><uni-td vue-id="{{('4e127e7c-25-'+index)+','+('4e127e7c-23-'+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-26-'+index)+','+('4e127e7c-23-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.returnSaleDetailList[0].discountAmount?item.returnSaleDetailList[0].discountAmount:'0'}}</uni-td><uni-td vue-id="{{('4e127e7c-27-'+index)+','+('4e127e7c-23-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.returnSaleDetailList[0].purchasePrice?item.returnSaleDetailList[0].purchasePrice:'0':0}}</uni-td></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:40px;line-height:40px;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;">{{''+item.purchase.createTime+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;">{{'操作:'+item.purchase.createByName+''}}</text></view><uni-table vue-id="{{'4e127e7c-28-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-29-'+index)+','+('4e127e7c-28-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-30-'+index)+','+('4e127e7c-29-'+index)}}" align="center" width="85" bind:__l="__l" vue-slots="{{['default']}}">供应商</uni-th><uni-th vue-id="{{('4e127e7c-31-'+index)+','+('4e127e7c-29-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('4e127e7c-32-'+index)+','+('4e127e7c-29-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">进货价</uni-th><uni-th vue-id="{{('4e127e7c-33-'+index)+','+('4e127e7c-29-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th></uni-tr><uni-tr vue-id="{{('4e127e7c-34-'+index)+','+('4e127e7c-28-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-35-'+index)+','+('4e127e7c-34-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.purchase.supplierName==null?'':item.purchase.supplierName}}</uni-td><uni-td vue-id="{{('4e127e7c-36-'+index)+','+('4e127e7c-34-'+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-37-'+index)+','+('4e127e7c-34-'+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-38-'+index)+','+('4e127e7c-34-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.purchaseDetails[0].zPrice:0}}</uni-td></uni-tr></uni-table></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:40px;line-height:40px;"><text style="display:inline-block;width:55%;text-align:center;font-weight:bold;">{{''+item.purchase.createTime+''}}</text><text style="display:inline-block;width:45%;text-align:center;border-left:1px solid #eee;">{{'操作:'+item.purchase.createByName+''}}</text></view><uni-table vue-id="{{'4e127e7c-39-'+index}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-40-'+index)+','+('4e127e7c-39-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-41-'+index)+','+('4e127e7c-40-'+index)}}" align="center" width="85" bind:__l="__l" vue-slots="{{['default']}}">供应商</uni-th><uni-th vue-id="{{('4e127e7c-42-'+index)+','+('4e127e7c-40-'+index)}}" align="center" width="50" bind:__l="__l" vue-slots="{{['default']}}">数量</uni-th><uni-th vue-id="{{('4e127e7c-43-'+index)+','+('4e127e7c-40-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">进货价</uni-th><uni-th vue-id="{{('4e127e7c-44-'+index)+','+('4e127e7c-40-'+index)}}" align="center" width="70" bind:__l="__l" vue-slots="{{['default']}}">总价</uni-th></uni-tr><uni-tr vue-id="{{('4e127e7c-45-'+index)+','+('4e127e7c-39-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-46-'+index)+','+('4e127e7c-45-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.purchase.supplierName==null?'':item.purchase.supplierName}}</uni-td><uni-td vue-id="{{('4e127e7c-47-'+index)+','+('4e127e7c-45-'+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-48-'+index)+','+('4e127e7c-45-'+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-49-'+index)+','+('4e127e7c-45-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{type==0?item.purchaseDetails[0].zPrice:0}}</uni-td></uni-tr></uni-table></view></block></view></view><uni-popup class="vue-ref" vue-id="4e127e7c-50" background-color="#fff" data-ref="payDialog" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content"><uni-forms-item vue-id="{{('4e127e7c-51')+','+('4e127e7c-50')}}" label="打印方式" name="type" labelWidth="170px" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-52')+','+('4e127e7c-51')}}" 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-53')+','+('4e127e7c-50')}}" label="打印模板" name="shipType" labelWidth="170px" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-54')+','+('4e127e7c-53')}}" 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: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}}"><view style="display:flex;height:40px;width:100%;line-height:40px;margin-top:20px;"><text style="display:inline-block;width:100px;">供应商:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:20px;"><text style="display:inline-block;width:100px;">货号:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:20px;"><text style="display:inline-block;width:100px;">品名:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:20px;"><text style="display:inline-block;width:100px;">零售价:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:20px;"><text style="display:inline-block;width:100px;">批发价:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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-55" 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-56')+','+('4e127e7c-55')}}" 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-57')+','+('4e127e7c-55')}}" 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:10px;"><text>打印二维码</text></view></block><block wx:if="{{printingMethod=='0'||printingMethod=='1'}}"><uni-data-select bind:input="__e" style="width:100%;" vue-id="{{('4e127e7c-58')+','+('4e127e7c-55')}}" 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:10px;"><text>打印模板</text></view></block><block wx:if="{{$root.g2}}"><uni-data-select style="width:100%;" vue-id="{{('4e127e7c-59')+','+('4e127e7c-55')}}" 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:10px;text-align:center;"><text>请选择需要打印的字段</text></view><block wx:if="{{printingMethod!='6'}}"><view style="display:flex;height:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">颜色:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">尺码:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">数量:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">自定义:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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="{{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="{{printingMethod=='2'||printingMethod=='4'}}"><view style="display:flex;height:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">货号:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">供应商:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">货号:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">品名:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">零售价:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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:40px;width:100%;line-height:40px;margin-top:10px;"><text style="display:inline-block;width:100px;">批发价:</text><input style="display:flex;height:40px;width:300px;line-height:40px;padding-left:20px;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-60')+','+('4e127e7c-55')}}" 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-61" 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:50px;height:50px;position:absolute;right:20px;top:25px;" bindtap="__e"><uni-icons vue-id="{{('4e127e7c-62')+','+('4e127e7c-61')}}" type="closeempty" color="red" size="7" bind:__l="__l"></uni-icons></view><view style="height:100px;line-height:100px;font-weight:bold;text-align:center;"></view><uni-table style="margin-bottom:20px;border-radius:10px;" vue-id="{{('4e127e7c-63')+','+('4e127e7c-61')}}" border="{{true}}" stripe="{{true}}" emptyText="暂无更多数据" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr style="background:#eee;" vue-id="{{('4e127e7c-64')+','+('4e127e7c-63')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('4e127e7c-65')+','+('4e127e7c-64')}}" align="center" width="80" bind:__l="__l" vue-slots="{{['default']}}">规格</uni-th><uni-th vue-id="{{('4e127e7c-66')+','+('4e127e7c-64')}}" 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-67-'+index)+','+('4e127e7c-63')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('4e127e7c-68-'+index)+','+('4e127e7c-67-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.f1}}</uni-td><uni-td vue-id="{{('4e127e7c-69-'+index)+','+('4e127e7c-67-'+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-70" type="dialog" data-ref="inputDialog" bind:__l="__l" vue-slots="{{['default']}}"><uni-popup-dialog class="vue-ref" vue-id="{{('4e127e7c-71')+','+('4e127e7c-70')}}" 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-72" 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-73" content="{{content}}" horizontal="{{horizontal}}" data-ref="fab" data-event-opts="{{[['^trigger',[['trigger']]]]}}" bind:trigger="__e" bind:__l="__l"></uni-fab></block></view>