Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
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
shenshaokai
jinfa-platform
Commits
1ec40826
Commit
1ec40826
authored
Nov 27, 2020
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 加工能力列表页
parent
2f8d8b09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
26 deletions
+23
-26
config.ts
config/config.ts
+23
-23
index.tsx
src/pages/handling/assign/processStock/index.tsx
+0
-3
No files found.
config/config.ts
View file @
1ec40826
...
...
@@ -50,29 +50,29 @@ const config: any = {
defaultSizes
:
'parsed'
,
// stat // gzip
},
inlineLimit
:
10000
,
//
chunks: isProduction && ['vendors', 'umi'],
//
chainWebpack: function (config, { webpack }) {
//
isProduction && config.merge({
//
optimization: {
//
minimize: true,
//
splitChunks: {
//
chunks: 'all',
//
minSize: 30000,
//
minChunks: 3,
//
automaticNameDelimiter: '.',
//
cacheGroups: {
//
vendor: {
//
name: 'vendors',
//
test({ resource }) {
//
return /[\\/]node_modules[\\/]/.test(resource);
//
},
//
priority: 10,
//
},
//
},
//
},
//
}
//
});
//
},
chunks
:
isProduction
&&
[
'vendors'
,
'umi'
],
chainWebpack
:
function
(
config
,
{
webpack
})
{
isProduction
&&
config
.
merge
({
optimization
:
{
minimize
:
true
,
splitChunks
:
{
chunks
:
'all'
,
minSize
:
30000
,
minChunks
:
3
,
automaticNameDelimiter
:
'.'
,
cacheGroups
:
{
vendor
:
{
name
:
'vendors'
,
test
({
resource
})
{
return
/
[\\/]
node_modules
[\\/]
/
.
test
(
resource
);
},
priority
:
10
,
},
},
},
}
});
},
cssLoader
:
{
localsConvention
:
'camelCase'
,
// 将style中的class由 .foo-body 转化为fooBody调用
},
...
...
src/pages/handling/assign/processStock/index.tsx
View file @
1ec40826
...
...
@@ -152,11 +152,8 @@ const processStock: React.FC<{}> = () => {
<
a
onClick=
{
()
=>
handleVisible
(
record
.
id
)
}
>
审核
</
a
>
</
Popconfirm
>
),
'待新增物流单'
:
<
Link
to
=
{
`
${
ADD_LOGISTICS_PATH
}
`
}
>
新增
<
/Link>
,
'待确认物流单'
:
<
a
>
查看
<
/a>
,
// outerStatus = 8, innerStatus = 22
'待确认回单'
:
<
Link
to
=
{
`
${
PENDING_RECEIPT_PATH
}
/detail?id=
${
record
.
id
}
`
}
>
确认回单
<
/Link
>
}
...
...
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