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
ed2c46c3
authored
Jan 14, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
移动端--标签补打--增加D/C信息
parent
b4e321c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
9 deletions
pages/repairPrint/index.vue
util/api.js
pages/repairPrint/index.vue
View file @
ed2c46c3
...
...
@@ -52,6 +52,23 @@
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_flag_num"
></text>
</view>
</view>
<!-- D/C -->
<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"
>
D/C
</view>
</view>
</view>
</view>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<input
class=
"uni-input"
type=
"number"
v-model=
"formParams.dc"
placeholder=
"请输入D/C"
placeholder-style=
"color:#919399"
@
input=
"handleInput(4, formParams.dc)"
:focus=
"is_focus4"
maxlength=
"10"
/>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(4)"
v-if=
"input_flag_dc"
></text>
</view>
</view>
<!-- 目标打印机 -->
<view
class=
"search-box row bothSide verCenter"
style=
"margin-bottom: 22rpx;"
>
<view
class=
"sn row rowCenter verCenter"
>
...
...
@@ -138,10 +155,12 @@
is_focus1
:
false
,
//获取焦点动态化
is_focus2
:
false
,
is_focus3
:
false
,
is_focus4
:
false
,
company_id
:
1
,
input_flag
:
false
,
//入库标签叉叉
input_flag_num
:
false
,
//数量叉叉
input_flag_target_printer_ip
:
false
,
//目标打印机
input_flag_dc
:
false
,
//D/C
index
:
0
,
print_language_index
:
0
,
print_language
:
[
'中文'
,
'英文'
],
...
...
@@ -153,6 +172,7 @@
formParams
:
{
user_email
:
''
,
// 登录账号邮箱
sn
:
''
,
dc
:
''
,
target_printer_ip
:
''
,
//模板打印机
tally_qty
:
''
,
//打印数量
print_language
:
1
,
//标签版本
...
...
@@ -217,14 +237,19 @@
}
else
if
(
type
==
3
)
{
//目标打印机
this
.
input_flag_target_printer_ip
=
true
;
}
else
if
(
type
==
4
)
{
//D/C
this
.
input_flag_dc
=
true
;
}
}
else
{
if
(
type
==
1
)
{
this
.
input_flag
=
false
;
}
else
if
(
type
==
2
)
{
this
.
input_flag_num
=
false
;
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
3
)
{
this
.
input_flag_target_printer_ip
=
false
;
}
else
if
(
type
==
4
)
{
this
.
input_flag_dc
=
false
;
}
}
},
500
),
...
...
@@ -247,6 +272,11 @@
this
.
formParams
.
target_printer_ip
=
''
;
this
.
input_flag_target_printer_ip
=
false
;
this
.
clearInputAndFocus
(
3
);
}
else
if
(
type
==
4
)
{
//D/C
this
.
formParams
.
dc
=
''
;
this
.
input_flag_dc
=
false
;
this
.
clearInputAndFocus
(
4
);
}
},
/**
...
...
@@ -319,6 +349,13 @@
setTimeout
(()
=>
{
this
.
is_focus3
=
true
;
},
200
);
}
else
if
(
type
==
4
)
{
//D/C
this
.
input_flag_dc
=
false
;
this
.
is_focus4
=
false
;
setTimeout
(()
=>
{
this
.
is_focus4
=
true
;
},
200
);
}
}
}
...
...
util/api.js
View file @
ed2c46c3
//
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
//
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
//
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
//
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
const
API_BASE_USER
=
'http://user.liexindev.net'
;
//用户系统
const
API_BASE_PUR
=
'http://pur.liexindev.net'
;
//采购系统
const
API_BASE
=
'http://wms.liexindev.net'
;
//WMS系统
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
//oss系统
const
API_BASE_USER
=
'https://user.ichunt.net'
;
//用户系统
const
API_BASE_PUR
=
'https://purchase.ichunt.net'
;
//采购系统
const
API_BASE
=
'https://wms.ichunt.net'
;
//WMS系统
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
//
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
//
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
//
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const
API
=
{
...
...
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