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
2579f01f
authored
Oct 31, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
移动端标签补打调整
parent
1a9a1b1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletions
pages/repairPrint/index.vue
pages/repairPrint/index.vue
View file @
2579f01f
...
...
@@ -49,7 +49,8 @@
<text
class=
"iconfont icon-a-juxing11"
v-if=
"false"
></text>
</view>
</view>
<view
class=
"search-box row bothSide verCenter"
style=
"margin-bottom: 22rpx;"
>
<!-- 标签版本 -->
<view
class=
"search-box row bothSide verCenter"
style=
"margin-bottom: 22rpx;"
v-if=
"warehouse_index == 0"
>
<view
class=
"sn row rowCenter verCenter"
>
<view>
<view
class=
"row verCenter"
>
...
...
@@ -66,6 +67,24 @@
</picker>
</view>
</view>
<!-- 打印货品标签 -->
<view
class=
"search-box row bothSide verCenter"
style=
"margin-bottom: 22rpx;"
v-if=
"warehouse_index == 1"
>
<view
class=
"sn row rowCenter verCenter"
>
<view>
<view
class=
"row verCenter"
>
<view
class=
"uni-input"
>
打印货品标签
</view>
</view>
</view>
</view>
<view
class=
"row bothSide verCenter select-wrap"
>
<picker
@
change=
"bindPickerChange($event, 3)"
:value=
"print_type_index"
:range=
"print_type"
style=
"width: 100%;"
>
<view
class=
"row verCenter bothSide"
>
<view
class=
"uni-input"
>
{{
print_type_index
==
-
1
?
'请选择货品标签'
:
print_type
[
print_type_index
]
}}
</view>
<view
class=
"uni-arrow"
></view>
</view>
</picker>
</view>
</view>
<view
class=
"search-box row bothSide verCenter"
style=
"margin-bottom: 22rpx;"
>
<view
class=
"sn row rowCenter verCenter"
>
<view>
...
...
@@ -100,6 +119,8 @@
index
:
0
,
print_language_index
:
0
,
print_language
:
[
'中文'
,
'英文'
],
print_type
:
[
'基本样式'
,
'不带D/C'
],
print_type_index
:
0
,
labelStyles
:
[{
id
:
5
,
name
:
'入库标签'
...
...
@@ -184,8 +205,13 @@
this
.
print_language_index
=
e
.
detail
.
value
;
this
.
formParams
.
print_language
=
Number
(
e
.
detail
.
value
)
+
1
;
}
else
if
(
type
==
2
)
{
//仓库
this
.
warehouse_index
=
e
.
detail
.
value
;
this
.
formParams
.
warehouse_id
=
this
.
warehouse_arr
[
e
.
detail
.
value
].
value
;
}
else
if
(
type
==
3
)
{
//打印货品标签
this
.
print_type_index
=
e
.
detail
.
value
;
this
.
formParams
.
print_type
=
Number
(
e
.
detail
.
value
)
+
1
;
}
else
{
this
.
index
=
e
.
detail
.
value
;
this
.
formParams
.
type
=
this
.
labelStyles
[
e
.
detail
.
value
].
id
;
...
...
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