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 line
48 KiB
1 line
48 KiB
|
2 months ago
|
<view class="page1"><view style="width:100%;background:#fff;position:fixed;top:0;z-index:97;height:70px;display:flex;line-height:30px;padding-top:30px;"><view style="padding:0 20px;"><uni-icons vue-id="284e05d5-1" type="left" size="10" data-event-opts="{{[['^tap',[['closePage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><block wx:if="{{isFocused!=false}}"><view data-event-opts="{{[['tap',[['closeMask',['$event']]]]]}}" style="{{'z-index:99;position:fixed;top:0;left:0;width:100%;'+('height:'+(screenHeight-160+'px')+';')}}" bindtap="__e"></view></block><view><radio checked="{{voiceGetOneData}}" data-event-opts="{{[['tap',[['voiceGetOne',['$event']]]]]}}" bindtap="__e"></radio><text>根据货号模糊搜索</text></view><view data-event-opts="{{[['tap',[['scanCodeAdd',['$event']]]]]}}" class="bottom-btn" bindtap="__e"><text>扫一扫</text></view><view data-event-opts="{{[['tap',[['clearAll',['$event']]]]]}}" class="bottom-btn" bindtap="__e">清空</view><view data-event-opts="{{[['tap',[['isSnList',['']]]]]}}" class="bottom-btn" bindtap="__e"><text>新增商品</text></view><view data-event-opts="{{[['tap',[['toggle',['center','$0'],['item']]]]]}}" class="bottom-btn" bindtap="__e">AI入库</view><view data-event-opts="{{[['tap',[['inventorySubmit',['$event']]]]]}}" class="bottom-btn" bindtap="__e">确认入库</view></view><view class="scroll-content" style="overflow:scroll;margin-top:70px;"><view class="content-box"><view style="width:100%;background:#088FEB;height:30px;line-height:30px;color:#fff;text-align:center;display:flex;"><view style="width:5%;border-right:1px solid #fff;">图</view><view style="width:5%;border-right:1px solid #fff;">操作</view><view style="width:23%;border-right:1px solid #fff;position:relative;display:flex;"><text style="flex:1;">货号/名称</text><view style="flex:1;display:flex;border-left:1px solid #fff;"><uni-icons vue-id="284e05d5-2" type="search" size="5" color="#fff" bind:__l="__l"></uni-icons><input style="line-height:30px;height:30px;color:#fff;" type="text" placeholder="搜索货号" placeholder-style="color:#fff;" data-event-opts="{{[['input',[['sreachName',['$event']]]],['focus',[['inputFocus',['$event']]]]]}}" bindinput="__e" bindfocus="__e"/></view><block wx:if="{{faBookShow}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="{{'z-index:98;position:fixed;top:0;left:0;width:100%;opacity:1;'+('height:'+(screenHeight+'px')+';')}}" bindtap="__e"><view style="{{'z-index:98;position:absolute;top:110px;left:5%;overflow:scroll;background:#eee;padding:10rpx;border-radius:5px;border:1px solid #e5e5e5;color:#000;'+('width:'+(screenWidth*0.9+'px')+';')+('height:'+(screenHeight*0.6+'px')+';')}}"><block wx:if="{{$root.g0==0}}"><view style="color:#777;width:100%;height:30px;line-height:30px;text-align:center;">暂无匹配项</view></block><block wx:else><block wx:for="{{sreachList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkName',['$0'],[[['sreachList','',index]]]]]]]}}" style="height:40px;line-height:40px;border-bottom:1px solid #fff;display:flex;" bindtap="__e"><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['sreachList','',index]]]]]]]}}" style="width:40px;height:40px;" catchtap="__e"><block wx:if="{{item.productPicture}}"><image style="width:30px;height:30px;margin:5px auto;" src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view style="width:30px;height:30px;color:#777;background:#eee;border-radius:5px;margin:5px auto;border:1px solid #777;line-height:30px;">暂无</view></block></view><view style="flex:1;">{{''+(item.productName==null?'':item.productName)+"\n\t\t\t\t\t\t\t\t\t("+item.productSn+')'}}</view><view style="flex:1;">{{'供应商:'+(item.supplierName==null?'':item.supplierName)+''}}</view><block wx:if="{{storageType==0}}"><view style="flex:1;">{{'采购价'+(item.inStorageStatus==0?'待入库':item.purchasePrice==null?'新商品':item.purchasePrice)+''}}</view></block><view style="flex:1;">{{'批发价'+item.wholesalePrice+''}}</view><view style="flex:1
|