Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
Overview
Overview
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
jiawei.su
Laisi_AutoMES2
Commits
f0c7288d
Commit
f0c7288d
authored
Jan 25, 2021
by
jiawei.su
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://test.siger-data.com:9000/jiawei.su/Laisi_AutoMES2
parents
77b1cfff
0932ae55
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
103 additions
and
79 deletions
+103
-79
assemblyInfo.vue
Html/src/view/fms/associate/assemblyInfo.vue
+42
-18
associateProduct.vue
Html/src/view/fms/associate/associateProduct.vue
+13
-13
accountInfo.vue
Html/src/view/fms/config/accountInfo.vue
+13
-13
typeMaintenance.vue
Html/src/view/fms/config/typeMaintenance.vue
+13
-13
storageInfoQuery.vue
Html/src/view/wms/whStatusQuery/storageInfoQuery.vue
+13
-13
FixtureToolsAssemblyController.cs
...iger.ApiACC/Controllers/FixtureToolsAssemblyController.cs
+8
-8
DownloadController.cs
Server/Apis/Siger.ApiConfig/Controller/DownloadController.cs
+1
-1
No files found.
Html/src/view/fms/associate/assemblyInfo.vue
View file @
f0c7288d
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
type=
"primary"
type=
"primary"
class=
"twoWord"
class=
"twoWord"
icon=
"ios-search"
icon=
"ios-search"
@
click=
"
search(1, 10
)"
@
click=
"
tosearch(
)"
>
{{
$t
(
"1001"
)
}}
</Button
>
{{
$t
(
"1001"
)
}}
</Button
>
>
<Button
<Button
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
type=
"primary"
type=
"primary"
class=
"fourWord"
class=
"fourWord"
icon=
"ios-cloud-download"
icon=
"ios-cloud-download"
@
click=
"
exportEecel(
)"
@
click=
"
search(1
)"
>
{{
$t
(
"1007"
)
}}
</Button
>
{{
$t
(
"1007"
)
}}
</Button
>
>
</div>
</div>
...
@@ -443,34 +443,45 @@ export default {
...
@@ -443,34 +443,45 @@ export default {
this
.
columns2
=
this
.
$time
.
initTableTitle
(
this
.
columns2
);
this
.
columns2
=
this
.
$time
.
initTableTitle
(
this
.
columns2
);
this
.
initFrockType
();
this
.
initFrockType
();
this
.
search
(
1
,
10
);
this
.
tosearch
(
);
},
},
methods
:
{
methods
:
{
search
(
page
,
pagesize
)
{
tosearch
(){
this
.
page
=
1
;
this
.
pagesize
=
10
;
this
.
search
(
0
);
},
search
(
toexcel
)
{
let
data
=
{
let
data
=
{
category
:
this
.
categoryId
,
//工装类型id
category
:
this
.
categoryId
,
//工装类型id
code
:
this
.
number
,
code
:
this
.
number
,
name
:
this
.
name
,
name
:
this
.
name
,
//
state: this.state, //0停用 1可用
state
:
this
.
state
,
//0停用 1可用
page
:
this
.
page
,
page
:
this
.
page
,
pagesize
:
this
.
pagesize
,
pagesize
:
this
.
pagesize
,
// toexcel: 0,
//0查询 1导出
toexcel
:
toexcel
//0查询 1导出
};
};
this
.
request
(
this
.
request
(
"/acc/FixtureToolsAssembly/GetPageList"
,
"/acc/FixtureToolsAssembly/GetPageList"
,
data
,
data
,
"get"
"get"
).
then
((
res
)
=>
{
).
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
if
(
toexcel
===
1
){
this
.
total
=
res
.
data
.
total
;
if
(
res
.
data
.
ret
===
1
)
{
// let arr = [];
window
.
location
.
href
=
// arr = res.data.data;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
// arr.forEach(ele=>{
}
else
{
// ele.parentcate_guid = '';
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
// })
}
// this.data1 = arr;
}
console
.
log
(
this
.
data1
);
else
{
this
.
data1
=
res
.
data
.
data
;
this
.
total
=
0
;
this
.
data1
=
[];
let
data
=
res
.
data
.
data
;
if
(
res
.
data
.
ret
==
1
&&
Array
.
isArray
(
data
)
&&
data
.
length
)
{
this
.
total
=
res
.
data
.
total
;
this
.
data1
=
res
.
data
.
data
;
}
}
}
});
});
},
},
...
@@ -519,7 +530,7 @@ export default {
...
@@ -519,7 +530,7 @@ export default {
this
.
modal
=
false
;
this
.
modal
=
false
;
this
.
detailobj
=
{};
this
.
detailobj
=
{};
this
.
childObj
=
{};
this
.
childObj
=
{};
this
.
search
(
this
.
page
,
this
.
pagesize
);
this
.
search
(
0
);
}
else
{
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
}
...
@@ -587,7 +598,20 @@ export default {
...
@@ -587,7 +598,20 @@ export default {
});
});
}
}
},
},
loadExcel
()
{},
loadExcel
()
{
this
.
axios
.
request
({
url
:
"/config/Download/GetTemplate?name=FixtureToolsAssmeblyTemplate"
,
method
:
"get"
,
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
===
1
)
{
window
.
location
.
href
=
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
});
},
exportEecel
()
{},
exportEecel
()
{},
//工装类型
//工装类型
initFrockType
()
{
initFrockType
()
{
...
...
Html/src/view/fms/associate/associateProduct.vue
View file @
f0c7288d
...
@@ -150,7 +150,7 @@ export default {
...
@@ -150,7 +150,7 @@ export default {
data
(){
data
(){
return
{
return
{
//导入方法
//导入方法
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=FixtureToolsProductTemplate
"
,
headers
:
{
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
token
:
localStorage
.
getItem
(
"token"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
...
@@ -595,18 +595,18 @@ export default {
...
@@ -595,18 +595,18 @@ export default {
},
},
//导出模板
//导出模板
loadexcel
()
{
loadexcel
()
{
//
this.axios.request({
this
.
axios
.
request
({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
url
:
"/config/Download/GetTemplate?name=FixtureToolsProductTemplate
"
,
//
method: "get",
method
:
"get"
,
//
})
})
//
.then((res) => {
.
then
((
res
)
=>
{
//
if (res.data.ret === 1) {
if
(
res
.
data
.
ret
===
1
)
{
//
window.location.href =
window
.
location
.
href
=
//
this.axios.publicPath + "" + res.data.data;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
//
} else {
}
else
{
//
this.$Message.error(this.$t(res.data.msg));
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
//
}
}
//
});
});
},
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
this
.
detailobj
=
currentRow
;
...
...
Html/src/view/fms/config/accountInfo.vue
View file @
f0c7288d
...
@@ -154,7 +154,7 @@ export default {
...
@@ -154,7 +154,7 @@ export default {
data
(){
data
(){
return
{
return
{
//导入方法
//导入方法
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=FixtureToolsTemplate
"
,
headers
:
{
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
token
:
localStorage
.
getItem
(
"token"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
...
@@ -546,18 +546,18 @@ export default {
...
@@ -546,18 +546,18 @@ export default {
},
},
//导出模板
//导出模板
loadexcel
()
{
loadexcel
()
{
//
this.axios.request({
this
.
axios
.
request
({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
url
:
"/config/Download/GetTemplate?name=FixtureToolsTemplate
"
,
//
method: "get",
method
:
"get"
,
//
})
})
//
.then((res) => {
.
then
((
res
)
=>
{
//
if (res.data.ret === 1) {
if
(
res
.
data
.
ret
===
1
)
{
//
window.location.href =
window
.
location
.
href
=
//
this.axios.publicPath + "" + res.data.data;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
//
} else {
}
else
{
//
this.$Message.error(this.$t(res.data.msg));
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
//
}
}
//
});
});
},
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
this
.
detailobj
=
currentRow
;
...
...
Html/src/view/fms/config/typeMaintenance.vue
View file @
f0c7288d
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
data
(){
data
(){
return
{
return
{
//导入方法
//导入方法
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=FixtureToolsCategoryTemplate
"
,
headers
:
{
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
token
:
localStorage
.
getItem
(
"token"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
...
@@ -313,18 +313,18 @@ export default {
...
@@ -313,18 +313,18 @@ export default {
},
},
//导出模板
//导出模板
loadexcel
()
{
loadexcel
()
{
//
this.axios.request({
this
.
axios
.
request
({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
url
:
"/config/Download/GetTemplate?name=FixtureToolsCategoryTemplate
"
,
//
method: "get",
method
:
"get"
,
//
})
})
//
.then((res) => {
.
then
((
res
)
=>
{
//
if (res.data.ret === 1) {
if
(
res
.
data
.
ret
===
1
)
{
//
window.location.href =
window
.
location
.
href
=
//
this.axios.publicPath + "" + res.data.data;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
//
} else {
}
else
{
//
this.$Message.error(this.$t(res.data.msg));
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
//
}
}
//
});
});
},
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
this
.
detailobj
=
currentRow
;
...
...
Html/src/view/wms/whStatusQuery/storageInfoQuery.vue
View file @
f0c7288d
...
@@ -275,7 +275,7 @@ export default {
...
@@ -275,7 +275,7 @@ export default {
addremark
:
''
,
//备注
addremark
:
''
,
//备注
filename
:
''
,
filename
:
''
,
fileurl
:
''
,
fileurl
:
''
,
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=AutomationLocationTemplate
"
,
UploadAction
:
this
.
axios
.
publicPath
+
"config/upload/UploadImage"
,
UploadAction
:
this
.
axios
.
publicPath
+
"config/upload/UploadImage"
,
headers
:
{
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
token
:
localStorage
.
getItem
(
"token"
),
...
@@ -665,18 +665,18 @@ export default {
...
@@ -665,18 +665,18 @@ export default {
},
},
//导出模板
//导出模板
loadexcel
()
{
loadexcel
()
{
//
this.axios.request({
this
.
axios
.
request
({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
url
:
"/config/Download/GetTemplate?name=AutomationLocationTemplate
"
,
//
method: "get",
method
:
"get"
,
//
})
})
//
.then((res) => {
.
then
((
res
)
=>
{
//
if (res.data.ret === 1) {
if
(
res
.
data
.
ret
===
1
)
{
//
window.location.href =
window
.
location
.
href
=
//
this.axios.publicPath + "" + res.data.data;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
//
} else {
}
else
{
//
this.$Message.error(this.$t(res.data.msg));
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
//
}
}
//
});
});
},
},
/*********文件上传 start******** */
/*********文件上传 start******** */
//下载文件
//下载文件
...
...
Server/Apis/Siger.ApiACC/Controllers/FixtureToolsAssemblyController.cs
View file @
f0c7288d
...
@@ -97,14 +97,14 @@ namespace Siger.ApiACC.Controllers
...
@@ -97,14 +97,14 @@ namespace Siger.ApiACC.Controllers
{
{
dataList
.
Add
(
new
FixtureToolsAssmeblyList
dataList
.
Add
(
new
FixtureToolsAssmeblyList
{
{
ParentCategory
=
item
.
parent
category
,
ParentCategory
=
item
.
category
,
ParentPartNumber
=
item
.
par
entpar
tnumber
,
ParentPartNumber
=
item
.
partnumber
,
ParentFixtureTool
=
item
.
parent
name
,
ParentFixtureTool
=
item
.
name
,
ParentSpecfication
=
item
.
parent
specfication
,
ParentSpecfication
=
item
.
specfication
,
Category
=
item
.
category
,
Category
=
""
,
FixtureTool
=
item
.
name
,
FixtureTool
=
""
,
PartNumber
=
item
.
partnumber
,
PartNumber
=
""
,
Specfication
=
item
.
specfication
,
Specfication
=
""
,
Status
=
item
.
status
==
(
int
)
RowState
.
Valid
?
"可用"
:
"停用"
,
Status
=
item
.
status
==
(
int
)
RowState
.
Valid
?
"可用"
:
"停用"
,
Remark
=
item
.
remark
,
Remark
=
item
.
remark
,
Updator
=
item
.
updator
,
Updator
=
item
.
updator
,
...
...
Server/Apis/Siger.ApiConfig/Controller/DownloadController.cs
View file @
f0c7288d
...
@@ -72,7 +72,7 @@ namespace Siger.ApiConfig.Controller
...
@@ -72,7 +72,7 @@ namespace Siger.ApiConfig.Controller
}
}
private
Type
GetType
(
TemplateNameEnums
template
)
private
Type
GetType
(
TemplateNameEnums
template
)
{
{
Type
type
=
null
;
Type
type
=
null
;
switch
(
template
)
switch
(
template
)
{
{
...
...
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