Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a189f224
authored
Dec 05, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化图片过多的时候滚动
快速移位--旧标签,扫描旧标签后,此时还继续输入没输完的内容,使得识别库位错误
parent
471f3d5a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
71 deletions
pages/picking/sort.vue
pages/stockRecheck/sort.vue
pages/transfer/quick.vue
pages/picking/sort.vue
View file @
a189f224
...
...
@@ -315,25 +315,29 @@
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{ detail.customer_name }}
</text>
</view>
</view>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
拣货图片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
<!-- 图片过多的时候滚动 -->
<scroll-view
style=
"max-height:168px"
scroll-y=
"true"
>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
拣货图片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
</view>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
<!-- 拣货图片列表 -->
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</view>
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</scroll-view>
<!-- 拆货打印标签-->
<view
class=
"print row verCenter"
v-if=
"warehouse_id == 9"
>
<checkbox-group
@
change=
"onCheckboxChange"
>
...
...
@@ -386,25 +390,28 @@
<view
class=
"input-title"
><text
class=
"input-title-t1"
>
拣货备注:
</text></view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入拣货备注"
v-model=
"formParams.pick_remark"
/></view>
</view>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
拣货图片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
<!-- 图片过多的时候滚动 -->
<scroll-view
style=
"max-height:168px"
scroll-y=
"true"
>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
拣货图片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
</view>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</view>
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</scroll-view>
<view
class=
"item-tit"
>
货品明细
</view>
<view
class=
"list-drawer"
>
<scroll-view
style=
"max-height: 755rpx"
scroll-y=
"true"
>
...
...
pages/stockRecheck/sort.vue
View file @
a189f224
...
...
@@ -325,26 +325,30 @@
<text
class=
"tt"
>
{{ detail.sale_name }}
</text>
</view>
</view>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
复核照片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
<!-- 图片过多的时候滚动 -->
<scroll-view
style=
"max-height:168px"
scroll-y=
"true"
>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
复核照片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
</view>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</view>
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
<view
class=
"bor"
></view>
</scroll-view>
<!-- 非自营货品无需展示border -->
<view
class=
"bor"
v-if=
"warehouse_id == 9"
></view>
<!-- 打印货品标签-->
<view
class=
"print row verCenter"
v-if=
"warehouse_id == 9"
>
<text
class=
"t1"
@
click=
"rePrintTag(1)"
>
打印货品标签
</text>
...
...
@@ -412,25 +416,28 @@
</view>
</view>
<view
class=
"bor"
></view>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
复核照片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
<!-- 图片过多的时候滚动 -->
<scroll-view
style=
"max-height:168px"
scroll-y=
"true"
>
<view
class=
"h2 row bothSide verCenter"
style=
"margin-top: 25rpx;"
>
<view>
<text>
复核照片:
</text>
<text
class=
"tt"
>
最多只支持{{ maxNum }}张图
</text>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
</view>
</view>
<view
class=
"num"
>
<text
class=
"t1"
>
{{ image_list.length }}
</text>
<text
class=
"t2"
>
/10
</text>
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</view>
<view
class=
"pic-list row"
>
<
template
v-if=
"image_list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in image_list"
:key=
"index"
>
<image
:src=
"item.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(image_list, index)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index)"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</scroll-view>
<view
class=
"item-tit"
>
货品明细
</view>
<view
class=
"list-drawer"
>
<scroll-view
style=
"max-height: 755rpx"
scroll-y=
"true"
>
...
...
pages/transfer/quick.vue
View file @
a189f224
...
...
@@ -12,9 +12,9 @@
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<!-- 入库批次号 -->
<!--
新标签-
入库批次号 -->
<template
v-if=
"index == 0"
>
<input
class=
"uni-input"
placeholder=
"请扫描入库批次号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput($event)"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库批次号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput($event)"
maxlength=
"15"
/>
</
template
>
<!-- 旧标签-->
<
template
v-else-if=
"index == 1"
>
...
...
@@ -24,6 +24,7 @@
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
</view>
<!-- 一条数据展示 -->
<
template
v-if=
"single_style"
>
<view
class=
"single-style"
v-if=
"list.length > 0"
>
<view
class=
"field-item row"
>
...
...
@@ -137,6 +138,7 @@
<text
class=
"text"
>
查不到当前数据
</text>
</view>
</
template
>
<!-- 多条数据展示 -->
<
template
v-else
>
<view
class=
"total"
v-if=
"list.length > 0"
>
<text
class=
"t1"
>
{{
searchParams
.
stock_in_batch_sn
}}
</text>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment