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
eac9675a
authored
Jul 26, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加英文版入库标签
parent
cebaee74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
3 deletions
assets/css/repairPrint/index.scss
pages/repairPrint/index.vue
assets/css/repairPrint/index.scss
View file @
eac9675a
...
...
@@ -22,6 +22,22 @@
margin-left
:
12rpx
;
}
}
.select-wrap
{
padding-left
:
17rpx
;
padding-right
:
18rpx
;
width
:
calc
(
100%
-
164rpx
);
.uni-input
{
font-size
:
18rpx
;
color
:
#484b59
;
}
.uni-arrow
{
width
:
14rpx
;
height
:
9rpx
;
background
:
url('https://img.ichunt.com/images/ichunt/202304/10/e4c72319ad41ce1425f71cc6ec35f111.png')
no-repeat
center
;
background-size
:
contain
;
margin-left
:
12rpx
;
}
}
.search-bar
{
width
:
calc
(
100%
-
164rpx
);
.icon-juxing1
{
...
...
pages/repairPrint/index.vue
View file @
eac9675a
...
...
@@ -45,6 +45,21 @@
<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=
"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, 1)"
:value=
"print_language_index"
:range=
"print_language"
style=
"width: 100%;"
>
<view
class=
"row verCenter bothSide"
>
<view
class=
"uni-input"
>
{{
print_language_index
==
-
1
?
'请选择标签版本'
:
print_language
[
print_language_index
]
}}
</view>
<view
class=
"uni-arrow"
></view>
</view>
</picker>
</view>
</view>
<view
class=
"fix-btn row rowCenter verCenter"
@
click=
"latePrint()"
>
打印
</view>
</view>
</
template
>
...
...
@@ -60,6 +75,8 @@ export default {
input_flag
:
false
,
input_flag_num
:
false
,
index
:
0
,
print_language_index
:
0
,
print_language
:
[
'中文'
,
'英文'
],
labelStyles
:
[
{
id
:
5
,
...
...
@@ -88,6 +105,7 @@ export default {
sn
:
''
,
target_printer_ip
:
''
,
//模板打印机
tally_qty
:
''
,
//打印数量
print_language
:
1
,
//标签版本
type
:
5
//库位 1;库区 2;区域 3; 容器 4;入库 5 默认5
}
};
...
...
@@ -124,9 +142,15 @@ export default {
}
}
},
500
),
bindPickerChange
:
function
(
e
)
{
this
.
index
=
e
.
detail
.
value
;
this
.
formParams
.
type
=
this
.
labelStyles
[
e
.
detail
.
value
].
id
;
bindPickerChange
:
function
(
e
,
type
)
{
if
(
type
==
1
)
{
//标签版本切换
this
.
print_language_index
=
e
.
detail
.
value
;
this
.
formParams
.
print_language
=
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