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
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
100 additions
and
76 deletions
+100
-76
assemblyInfo.vue
Html/src/view/fms/associate/assemblyInfo.vue
+40
-16
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
+0
-0
No files found.
Html/src/view/fms/associate/assemblyInfo.vue
View file @
f0c7288d
...
...
@@ -41,7 +41,7 @@
type=
"primary"
class=
"twoWord"
icon=
"ios-search"
@
click=
"
search(1, 10
)"
@
click=
"
tosearch(
)"
>
{{
$t
(
"1001"
)
}}
</Button
>
<Button
...
...
@@ -95,7 +95,7 @@
type=
"primary"
class=
"fourWord"
icon=
"ios-cloud-download"
@
click=
"
exportEecel(
)"
@
click=
"
search(1
)"
>
{{
$t
(
"1007"
)
}}
</Button
>
</div>
...
...
@@ -443,35 +443,46 @@ export default {
this
.
columns2
=
this
.
$time
.
initTableTitle
(
this
.
columns2
);
this
.
initFrockType
();
this
.
search
(
1
,
10
);
this
.
tosearch
(
);
},
methods
:
{
search
(
page
,
pagesize
)
{
tosearch
(){
this
.
page
=
1
;
this
.
pagesize
=
10
;
this
.
search
(
0
);
},
search
(
toexcel
)
{
let
data
=
{
category
:
this
.
categoryId
,
//工装类型id
code
:
this
.
number
,
name
:
this
.
name
,
//
state: this.state, //0停用 1可用
state
:
this
.
state
,
//0停用 1可用
page
:
this
.
page
,
pagesize
:
this
.
pagesize
,
// toexcel: 0,
//0查询 1导出
toexcel
:
toexcel
//0查询 1导出
};
this
.
request
(
"/acc/FixtureToolsAssembly/GetPageList"
,
data
,
"get"
).
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
if
(
toexcel
===
1
){
if
(
res
.
data
.
ret
===
1
)
{
window
.
location
.
href
=
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
}
else
{
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
;
// let arr = [];
// arr = res.data.data;
// arr.forEach(ele=>{
// ele.parentcate_guid = '';
// })
// this.data1 = arr;
console
.
log
(
this
.
data1
);
this
.
data1
=
res
.
data
.
data
;
}
}
});
},
add
()
{
...
...
@@ -519,7 +530,7 @@ export default {
this
.
modal
=
false
;
this
.
detailobj
=
{};
this
.
childObj
=
{};
this
.
search
(
this
.
page
,
this
.
pagesize
);
this
.
search
(
0
);
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
...
...
@@ -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
()
{},
//工装类型
initFrockType
()
{
...
...
Html/src/view/fms/associate/associateProduct.vue
View file @
f0c7288d
...
...
@@ -150,7 +150,7 @@ export default {
data
(){
return
{
//导入方法
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=FixtureToolsProductTemplate
"
,
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
...
...
@@ -595,18 +595,18 @@ export default {
},
//导出模板
loadexcel
()
{
//
this.axios.request({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
//
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));
//
}
//
});
this
.
axios
.
request
({
url
:
"/config/Download/GetTemplate?name=FixtureToolsProductTemplate
"
,
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
));
}
});
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
...
...
Html/src/view/fms/config/accountInfo.vue
View file @
f0c7288d
...
...
@@ -154,7 +154,7 @@ export default {
data
(){
return
{
//导入方法
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=FixtureToolsTemplate
"
,
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
...
...
@@ -546,18 +546,18 @@ export default {
},
//导出模板
loadexcel
()
{
//
this.axios.request({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
//
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));
//
}
//
});
this
.
axios
.
request
({
url
:
"/config/Download/GetTemplate?name=FixtureToolsTemplate
"
,
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
));
}
});
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
...
...
Html/src/view/fms/config/typeMaintenance.vue
View file @
f0c7288d
...
...
@@ -86,7 +86,7 @@ export default {
data
(){
return
{
//导入方法
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=FixtureToolsCategoryTemplate
"
,
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
...
...
@@ -313,18 +313,18 @@ export default {
},
//导出模板
loadexcel
()
{
//
this.axios.request({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
//
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));
//
}
//
});
this
.
axios
.
request
({
url
:
"/config/Download/GetTemplate?name=FixtureToolsCategoryTemplate
"
,
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
));
}
});
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
...
...
Html/src/view/wms/whStatusQuery/storageInfoQuery.vue
View file @
f0c7288d
...
...
@@ -275,7 +275,7 @@ export default {
addremark
:
''
,
//备注
filename
:
''
,
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"
,
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
...
...
@@ -665,18 +665,18 @@ export default {
},
//导出模板
loadexcel
()
{
//
this.axios.request({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
//
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));
//
}
//
});
this
.
axios
.
request
({
url
:
"/config/Download/GetTemplate?name=AutomationLocationTemplate
"
,
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
));
}
});
},
/*********文件上传 start******** */
//下载文件
...
...
Server/Apis/Siger.ApiACC/Controllers/FixtureToolsAssemblyController.cs
View file @
f0c7288d
...
...
@@ -97,14 +97,14 @@ namespace Siger.ApiACC.Controllers
{
dataList
.
Add
(
new
FixtureToolsAssmeblyList
{
ParentCategory
=
item
.
parent
category
,
ParentPartNumber
=
item
.
par
entpar
tnumber
,
ParentFixtureTool
=
item
.
parent
name
,
ParentSpecfication
=
item
.
parent
specfication
,
Category
=
item
.
category
,
FixtureTool
=
item
.
name
,
PartNumber
=
item
.
partnumber
,
Specfication
=
item
.
specfication
,
ParentCategory
=
item
.
category
,
ParentPartNumber
=
item
.
partnumber
,
ParentFixtureTool
=
item
.
name
,
ParentSpecfication
=
item
.
specfication
,
Category
=
""
,
FixtureTool
=
""
,
PartNumber
=
""
,
Specfication
=
""
,
Status
=
item
.
status
==
(
int
)
RowState
.
Valid
?
"可用"
:
"停用"
,
Remark
=
item
.
remark
,
Updator
=
item
.
updator
,
...
...
Server/Apis/Siger.ApiConfig/Controller/DownloadController.cs
View file @
f0c7288d
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