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
9de05491
Commit
9de05491
authored
Jul 20, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
5939a3b5
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
61 additions
and
63 deletions
+61
-63
proxy.js
config/proxy.js
+2
-2
1.png
public/1.png
+0
-0
mtable.jsx
src/components/Tableform/mtable.jsx
+2
-2
Welcome.jsx
src/pages/Welcome.jsx
+1
-0
fields.js
src/pages/platform/Reservoir/fields.js
+7
-7
index.jsx
src/pages/platform/Sendset/index.jsx
+2
-2
Fieldmanage.jsx
src/pages/platform/Specialproperties/Fieldmanage.jsx
+2
-2
system.js
src/services/system.js
+1
-1
mymodelhtml.js
src/utils/mymodelhtml.js
+44
-47
No files found.
config/proxy.js
View file @
9de05491
...
@@ -12,8 +12,8 @@ export default {
...
@@ -12,8 +12,8 @@ export default {
"/srwms/"
:
{
"/srwms/"
:
{
// 要代理的地址
// 要代理的地址
// target: "http://192.168.40.18/wms/", //39:28040 18/wms/
// target: "http://192.168.40.18/wms/", //39:28040 18/wms/
target
:
"http://192.168.40.203:28040"
,
//39:28040 18/wms/ dj
//
target: "http://192.168.40.203:28040", //39:28040 18/wms/ dj
//
target: "http://192.168.40.117:28040", //39:28040 18/wms/ jf
target
:
"http://192.168.40.117:28040"
,
//39:28040 18/wms/ jf
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
"^/srwms"
:
""
,
"^/srwms"
:
""
,
...
...
public/1.png
deleted
100644 → 0
View file @
5939a3b5
15.9 KB
src/components/Tableform/mtable.jsx
View file @
9de05491
...
@@ -118,7 +118,7 @@ class Mtable extends PureComponent {
...
@@ -118,7 +118,7 @@ class Mtable extends PureComponent {
delete
newparams
.
pageSize
;
delete
newparams
.
pageSize
;
}
}
let
res
=
await
request
(
"/wms"
+
path
,
{
let
res
=
await
request
(
"/
sr
wms"
+
path
,
{
body
:
JSON
.
stringify
(
newparams
?
newparams
:
{}),
body
:
JSON
.
stringify
(
newparams
?
newparams
:
{}),
headers
,
headers
,
method
:
"POST"
,
method
:
"POST"
,
...
@@ -251,7 +251,7 @@ class Mtable extends PureComponent {
...
@@ -251,7 +251,7 @@ class Mtable extends PureComponent {
pagination
==
"false"
pagination
==
"false"
?
data
.
dataList
?
data
.
dataList
:
data
.
page
:
data
.
page
?
data
.
page
.
list
?
data
.
page
.
records
:
[];
//分页或不分页的接口返回数据
:
[];
//分页或不分页的接口返回数据
return
defaultval
;
return
defaultval
;
}
}
}
}
...
...
src/pages/Welcome.jsx
View file @
9de05491
...
@@ -7,6 +7,7 @@ function Table({ route }) {
...
@@ -7,6 +7,7 @@ function Table({ route }) {
const
[
vs
,
setvs
]
=
useState
();
const
[
vs
,
setvs
]
=
useState
();
return
(
return
(
<
div
style=
{
{
height
:
"200vh"
}
}
>
<
div
style=
{
{
height
:
"200vh"
}
}
>
首页
{
/* <AutoTable
{
/* <AutoTable
pagetitle={route.name}
pagetitle={route.name}
pageextra={() => <Button onClick={() => {
pageextra={() => <Button onClick={() => {
...
...
src/pages/platform/Reservoir/fields.js
View file @
9de05491
...
@@ -2,7 +2,7 @@ export default {
...
@@ -2,7 +2,7 @@ export default {
"customerNo"
:
{
"customerNo"
:
{
"value"
:
null
,
"value"
:
null
,
"type"
:
"input"
,
"type"
:
"input"
,
"title"
:
"
编号
"
,
"title"
:
"
仓位编码
"
,
"name"
:
[
"name"
:
[
"customerNo"
"customerNo"
],
],
...
@@ -11,7 +11,7 @@ export default {
...
@@ -11,7 +11,7 @@ export default {
"customerName"
:
{
"customerName"
:
{
"value"
:
null
,
"value"
:
null
,
"type"
:
"input"
,
"type"
:
"input"
,
"title"
:
"名称"
,
"title"
:
"
仓位
名称"
,
"name"
:
[
"name"
:
[
"customerName"
"customerName"
],
],
...
@@ -20,7 +20,7 @@ export default {
...
@@ -20,7 +20,7 @@ export default {
"officialWebsite"
:
{
"officialWebsite"
:
{
"value"
:
null
,
"value"
:
null
,
"type"
:
"input"
,
"type"
:
"input"
,
"title"
:
"
公司官网
"
,
"title"
:
"
所属仓库
"
,
"name"
:
[
"name"
:
[
"officialWebsite"
"officialWebsite"
],
],
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
"telephone"
:
{
"telephone"
:
{
"value"
:
null
,
"value"
:
null
,
"type"
:
"input"
,
"type"
:
"input"
,
"title"
:
"
联系电话
"
,
"title"
:
"
所属库区
"
,
"name"
:
[
"name"
:
[
"telephone"
"telephone"
],
],
...
@@ -38,7 +38,7 @@ export default {
...
@@ -38,7 +38,7 @@ export default {
"email"
:
{
"email"
:
{
"value"
:
null
,
"value"
:
null
,
"type"
:
"input"
,
"type"
:
"input"
,
"title"
:
"
公司邮箱
"
,
"title"
:
"
排
"
,
"name"
:
[
"name"
:
[
"email"
"email"
],
],
...
@@ -47,7 +47,7 @@ export default {
...
@@ -47,7 +47,7 @@ export default {
"address"
:
{
"address"
:
{
"value"
:
null
,
"value"
:
null
,
"type"
:
"input"
,
"type"
:
"input"
,
"title"
:
"
地址
"
,
"title"
:
"
列
"
,
"name"
:
[
"name"
:
[
"address"
"address"
],
],
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
"score"
:
{
"score"
:
{
"value"
:
null
,
"value"
:
null
,
"type"
:
"rate"
,
"type"
:
"rate"
,
"title"
:
"
评分
"
,
"title"
:
"
层
"
,
"name"
:
[
"name"
:
[
"score"
"score"
],
],
...
...
src/pages/platform/Sendset/index.jsx
View file @
9de05491
...
@@ -250,7 +250,7 @@ const Pushdeploy = (props) => {
...
@@ -250,7 +250,7 @@ const Pushdeploy = (props) => {
search
:
false
,
search
:
false
,
},
},
{
{
title
:
"适用
类型
"
,
title
:
"适用
范围
"
,
dataIndex
:
"fitFieldName"
,
dataIndex
:
"fitFieldName"
,
key
:
"fitField"
,
key
:
"fitField"
,
valueType
:
"select"
,
valueType
:
"select"
,
...
@@ -274,7 +274,7 @@ const Pushdeploy = (props) => {
...
@@ -274,7 +274,7 @@ const Pushdeploy = (props) => {
],
],
},
},
{
{
title
:
"
类型
名称"
,
title
:
"
范围
名称"
,
dataIndex
:
"fieldName"
,
dataIndex
:
"fieldName"
,
key
:
"fieldName"
,
key
:
"fieldName"
,
},
},
...
...
src/pages/platform/Specialproperties/Fieldmanage.jsx
View file @
9de05491
...
@@ -165,13 +165,13 @@ const Fieldmanage = (props) => {
...
@@ -165,13 +165,13 @@ const Fieldmanage = (props) => {
{
checkedNode
}
=
props
,
{
checkedNode
}
=
props
,
columns
=
[
columns
=
[
{
{
title
:
"
自定义
字段名称"
,
title
:
"字段名称"
,
dataIndex
:
"fieldName"
,
dataIndex
:
"fieldName"
,
key
:
"fieldName"
,
key
:
"fieldName"
,
search
:
false
,
search
:
false
,
},
},
{
{
title
:
"
自定义字段属性
"
,
title
:
"
字段类型
"
,
dataIndex
:
"fieldCharName"
,
dataIndex
:
"fieldCharName"
,
key
:
"fieldCharName"
,
key
:
"fieldCharName"
,
search
:
false
,
search
:
false
,
...
...
src/services/system.js
View file @
9de05491
...
@@ -116,7 +116,7 @@ export async function allUserSelect(params) {
...
@@ -116,7 +116,7 @@ export async function allUserSelect(params) {
}
}
//根据工厂id查询树结构
//根据工厂id查询树结构
export
async
function
departmentTree
(
params
)
{
export
async
function
departmentTree
(
params
)
{
return
request
(
`/srwms/ngic-auth/sysDepartment/query/tree`
,
{
return
request
(
`/srwms/ngic-auth/sysDepartment/query/
all/
tree`
,
{
method
:
"POST"
,
method
:
"POST"
,
data
:
params
,
data
:
params
,
});
});
...
...
src/utils/mymodelhtml.js
View file @
9de05491
import
src
from
"../../public/ewm.png"
;
import
src
from
"../../public/ewm.png"
;
import
srcc
from
"../../public/1.png"
;
export
const
str
=
`<table
// export const str = `<table
border="1"
// border="1"
width="100%"
// width="100%"
height="100%"
// height="100%"
style="border-collapse: collapse; border: solid 1px"
// style="border-collapse: collapse; border: solid 1px"
bordercolor="#000000"
// bordercolor="#000000"
cellpadding="0"
// cellpadding="0"
>
// >
<tr>
// <tr>
<td colspan="8">卷料名称:剪切后硅钢片</td>
// <td colspan="8">卷料名称:剪切后硅钢片</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="8">卷料编码:PDC010100093</td>
// <td colspan="8">卷料编码:PDC010100093</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="4">牌号:070片</td>
// <td colspan="4">牌号:070片</td>
<td colspan="4">母卷编号:20SQC</td>
// <td colspan="4">母卷编号:20SQC</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="4">厂家:江苏南高</td>
// <td colspan="4">厂家:江苏南高</td>
<td colspan="4">母卷重量:100KG</td>
// <td colspan="4">母卷重量:100KG</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="8">单边卷料厚度:200mm</td>
// <td colspan="8">单边卷料厚度:200mm</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="2" rowspan="3">
// <td colspan="2" rowspan="3">
<img src=
${
src
}
style="width:50px"/>
// <img src=${src} style="width:50px"/>
</td>
// </td>
<td colspan="3">铁损:0.68w/kg</td>
// <td colspan="3">铁损:0.68w/kg</td>
<td colspan="3">批次:20230412</td>
// <td colspan="3">批次:20230412</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="3">宽度:188mm</td>
// <td colspan="3">宽度:188mm</td>
<td colspan="3">片厚:0.2mm</td>
// <td colspan="3">片厚:0.2mm</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="3">重量:631KG</td>
// <td colspan="3">重量:631KG</td>
<td colspan="3">米数:2292M</td>
// <td colspan="3">米数:2292M</td>
</tr>
// </tr>
<tr>
// <tr>
<td colspan="8">条码:1BR157846039401296</td>
// <td colspan="8">条码:1BR157846039401296</td>
</tr>
// </tr>
</table>`
;
// </table>`;
export
const
str
=
`<img src=
${
srcc
}
/>`
\ No newline at end of file
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