Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
wms
Commits
3448eaa4
Commit
3448eaa4
authored
Jul 31, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check
parent
963ec1c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
index.jsx
src/components/Footer/index.jsx
+1
-1
index.jsx
src/pages/insertstore/Instore/index.jsx
+2
-2
printHandle.js
src/utils/printHandle.js
+6
-3
No files found.
src/components/Footer/index.jsx
View file @
3448eaa4
...
...
@@ -13,7 +13,7 @@ const Footer = () => {
key
:
"download"
,
title
:
"插件下载"
,
blankTarget
:
true
,
href
:
'/staticfile/
group1/M00/00/00
/CLodop_Setup_for_Win32NT.exe'
,
href
:
'/staticfile/
download
/CLodop_Setup_for_Win32NT.exe'
,
},
//
{
// key: "github",
...
...
src/pages/insertstore/Instore/index.jsx
View file @
3448eaa4
...
...
@@ -127,7 +127,7 @@ function Outstore(props) {
title
:
`查看详情`
,
...
detail
,
totalPath
:
"/ngic-workmanship/wmsMaterie
Outstore/getOut
StoreInfoById"
,
"/ngic-workmanship/wmsMaterie
Instore/getIn
StoreInfoById"
,
totalParams
:
{
id
:
record
.
id
},
extra
:
(
<
Button
...
...
@@ -245,7 +245,7 @@ function Outstore(props) {
title
:
`查看详情`
,
...
detail
,
totalPath
:
"/ngic-workmanship/wmsMaterie
Outstore/getOut
StoreInfoById"
,
"/ngic-workmanship/wmsMaterie
InstoreHis/getIn
StoreInfoById"
,
totalParams
:
{
id
:
record
.
id
},
extra
:
(
<
Button
...
...
src/utils/printHandle.js
View file @
3448eaa4
import
{
str
}
from
"@/utils/mymodelhtml.js"
;
import
{
doFetch
}
from
"./doFetch"
;
export
async
function
start
(
url
,
params
)
{
if
(
!
getLodop
)
{
try
{
if
(
!
getLodop
)
{
return
;
}
}
catch
(
error
)
{
alert
(
"系统检测当前环境未安装相关插件,请先安装C-Lodop插件!"
);
return
;
}
const
res
=
await
doFetch
({
url
,
params
});
const
data
=
JSON
.
parse
(
JSON
.
stringify
(
res
?.
data
?.
dataList
));
console
.
log
(
data
);
...
...
@@ -17,7 +22,5 @@ export async function start(url, params) {
LODOP
.
SET_PRINT_PAGESIZE
(
0
,
800
,
600
,
""
);
// LODOP.PREVIEW();
LODOP
.
PRINT
();
}
}
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