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
83bac40f
authored
Oct 31, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
2579f01f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
pages/repairPrint/index.vue
pages/repairPrint/index.vue
View file @
83bac40f
...
...
@@ -146,7 +146,6 @@
warehouse_index
:
0
,
formParams
:
{
user_email
:
''
,
// 登录账号邮箱
warehouse_id
:
''
,
// 登录仓库
sn
:
''
,
target_printer_ip
:
''
,
//模板打印机
tally_qty
:
''
,
//打印数量
...
...
@@ -160,7 +159,7 @@
onShow
()
{
let
company_id
=
uni
.
getStorageSync
(
'company_id'
)
||
1
;
if
(
company_id
==
1
)
{
this
.
warehouse_arr
=
[{
name
:
'深圳现货仓'
,
value
:
'7'
},
{
name
:
'深圳自营仓'
,
value
:
9
}];
this
.
warehouse_arr
=
[{
name
:
'深圳现货仓'
,
value
:
7
},
{
name
:
'深圳自营仓'
,
value
:
9
}];
this
.
formParams
.
warehouse_id
=
7
;
}
else
if
(
company_id
==
2
)
{
this
.
warehouse_arr
=
[{
name
:
'香港仓'
,
value
:
'10'
}];
...
...
@@ -245,13 +244,6 @@
// company_id == 1 ? '深圳市猎芯科技有限公司' : '深贸电子有限公司'
this
.
company_id
=
uni
.
getStorageSync
(
'company_id'
)
||
1
;
// 7 深圳仓, 10 香港仓
if
(
this
.
company_id
==
1
)
{
this
.
formParams
.
warehouse_id
=
7
;
}
else
{
this
.
formParams
.
warehouse_id
=
10
;
}
this
.
request
(
API
.
latePrint
,
'POST'
,
this
.
formParams
,
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
uni
.
showLoading
({
...
...
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