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
bf4c28d6
Commit
bf4c28d6
authored
Jan 22, 2021
by
yucheng.jiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工装对应产品
parent
bd1cc65b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
210 additions
and
199 deletions
+210
-199
associateProduct.vue
Html/src/view/fms/associate/associateProduct.vue
+200
-176
accountInfo.vue
Html/src/view/fms/config/accountInfo.vue
+7
-20
typeMaintenance.vue
Html/src/view/fms/config/typeMaintenance.vue
+1
-1
storagemaintenance.vue
Html/src/view/wms/config/storagemaintenance.vue
+1
-1
storageInfoQuery.vue
Html/src/view/wms/whStatusQuery/storageInfoQuery.vue
+1
-1
No files found.
Html/src/view/fms/associate/associateProduct.vue
View file @
bf4c28d6
...
...
@@ -7,20 +7,31 @@
</div>
<div
class=
"filter"
>
<label>
工装名称:
</label>
<Input
type=
"text"
class=
"searchInput"
v-model=
"frockname"
/>
<Select
v-model=
"frockid"
label-in-value
clearable
filterable
filter-by-label
class=
"searchSelect"
>
<Option
v-for=
"(item,index) in frockList"
:value=
"item.id"
:key=
"index"
:label=
"item.name+'#'+item.code"
>
{{
item
.
name
+
'#'
+
item
.
code
}}
</Option>
</Select>
</div>
<div
class=
"filter"
>
<label>
状态:
</label>
<Select
v-model=
"status"
clearable
class=
"searchSelect"
>
<Option
:value=
"1"
>
可用
</Option>
<Option
:value=
"0"
>
停用
</Option>
<label>
产品名称:
</label>
<Select
v-model=
"productid"
label-in-value
clearable
filterable
filter-by-label
class=
"searchSelect"
>
<Option
v-for=
"(item,index) in productList"
:value=
"item.id"
:key=
"index"
:label=
"item.name+'#'+item.code+'#'+item.drawingcode"
>
{{
item
.
name
+
'#'
+
item
.
code
+
'#'
+
item
.
drawingcode
}}
</Option>
</Select>
</div>
<div
class=
"searchBtn"
>
<Button
type=
"primary"
class=
"twoWord"
icon=
"ios-search"
@
click=
"tosearch()"
>
{{
$t
(
1001
)
}}
</Button>
<Button
type=
"success"
class=
"twoWord"
icon=
"md-add-circle"
@
click=
"add()"
>
{{
$t
(
'1002'
)
}}
</Button>
<Button
type=
"warning"
class=
"twoWord"
icon=
"ios-create-outline"
@
click=
"edit()"
>
{{
$t
(
'1003'
)
}}
</Button>
<Button
type=
"error"
class=
"twoWord intervalRight"
icon=
"md-close-circle"
@
click=
"dele()"
>
{{
$t
(
1004
)
}}
</Button>
<Button
type=
"primary"
class=
"fourWord"
icon=
"md-download"
@
click=
"loadexcel()"
>
{{
$t
(
'1005'
)
}}
</Button>
<Upload
style=
"display:inline-block"
...
...
@@ -32,7 +43,7 @@
:on-format-error=
"handleFormatError"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:format=
"['xlsx']"
:format=
"['xlsx'
,'xls'
]"
>
<Button
type=
"primary"
...
...
@@ -77,42 +88,30 @@
<div>
正在上传...
</div>
</Spin>
<div
class=
"filter"
>
<label>
<i>
*
</i>
工装类型:
</label>
<label>
工装类型:
</label>
<Cascader
class=
"searchSelect"
:data=
"frockTypeTree"
v-model=
"parentType"
change-on-select
@
on-change=
"changeFrockType1"
></Cascader>
</div>
<div
class=
"filter"
>
<label><i>
*
</i>
管理类型:
</label>
<Select
v-model=
"addmtype"
class=
"searchSelect"
>
<Option
:value=
"1"
>
单件
</Option>
<Option
:value=
"2"
>
批次
</Option>
</Select>
</div>
<div
class=
"filter"
>
<label><i>
*
</i>
工装名称:
</label>
<Input
type=
"text"
class=
"searchInput"
v-model=
"addfrockname"
/>
</div>
<div
class=
"filter"
>
<label><i>
*
</i>
工装料号:
</label>
<Input
type=
"text"
class=
"searchInput"
v-model=
"addfrockno"
/>
</div>
<div
class=
"filter"
>
<label><i>
*
</i>
工装编号:
</label>
<Input
type=
"text"
class=
"searchInput"
v-model=
"addfrockcode"
/>
</div>
<div
class=
"filter"
>
<label><i>
*
</i>
规格型号:
</label>
<Input
type=
"text"
class=
"searchInput"
v-model=
"addfrockspec"
/>
</div>
<div
class=
"filter"
>
<label><i>
*
</i>
数量:
</label>
<InputNumber
type=
"text"
class=
"searchInput"
:min=
"1"
:formatter=
"value => `$
{parseInt(value)}`" v-model="addnum" />
<Select
v-model=
"addfrockid"
label-in-value
clearable
filterable
filter-by-label
class=
"searchSelect"
>
<Option
v-for=
"(item,index) in addfrockList"
:value=
"item.id"
:key=
"index"
:label=
"item.name+'#'+item.code"
>
{{
item
.
name
+
'#'
+
item
.
code
}}
</Option>
</Select>
</div>
<div
class=
"filter"
>
<label><i>
*
</i>
状态:
</label>
<RadioGroup
v-model=
"addstatus"
>
<Radio
label=
"1"
><span>
可用
</span></Radio>
<Radio
label=
"0"
><span>
停用
</span></Radio>
</RadioGroup>
<label><i>
*
</i>
产品名称:
</label>
<Select
v-model=
"addproductid"
label-in-value
clearable
filterable
filter-by-label
class=
"searchSelect"
>
<Option
v-for=
"(item,index) in productList"
:value=
"item.id"
:key=
"index"
:label=
"item.name+'#'+item.code+'#'+item.drawingcode"
>
{{
item
.
name
+
'#'
+
item
.
code
+
'#'
+
item
.
drawingcode
}}
</Option>
</Select>
</div>
<div
class=
"filter"
>
<label>
备注:
</label>
...
...
@@ -124,9 +123,9 @@
<Upload
ref=
"upload"
:show-upload-list=
"false"
:on-success=
"handleSuccess"
:on-success=
"handleSuccess
1
"
:before-upload=
"handleBeforeUpload"
:on-error=
"handleError"
:on-error=
"handleError
1
"
type=
"drag"
:headers=
"headers"
:action=
"UploadAction"
>
...
...
@@ -162,9 +161,10 @@ export default {
frockTypeTree
:[],
//树形结构
frockType
:[],
//工装类型
frockTypeid
:
''
,
frockcode
:
''
,
//工装编号
frockname
:
''
,
//工装名称
status
:
''
,
//状态
frockList
:[],
//工装列表
frockid
:
''
,
//工装id
productList
:[],
//产品列表
productid
:
''
,
//产品id
//列表
total
:
0
,
...
...
@@ -185,20 +185,7 @@ export default {
},
{
title
:
'工装类型'
,
key
:
'category'
},
{
title
:
'管理类型'
,
key
:
'managetype'
,
render
:(
h
,
params
)
=>
{
let
str
=
''
;
if
(
params
.
row
.
managetype
===
1
){
str
=
'单件'
;
}
else
if
(
params
.
row
.
managetype
===
2
){
str
=
'批次'
;
}
return
h
(
'span'
,
str
);
}
key
:
'categoryname'
},
{
title
:
'工装料号'
,
...
...
@@ -206,32 +193,19 @@ export default {
},
{
title
:
'工装名称'
,
key
:
'name'
},
{
title
:
'工装编号'
,
key
:
'code'
key
:
'fixturetool'
},
{
title
:
'规格型号'
,
key
:
'spec
i
fication'
key
:
'specfication'
},
{
title
:
'
数量
'
,
key
:
'
number
'
title
:
'
产品编号
'
,
key
:
'
productcode
'
},
{
title
:
'状态'
,
key
:
'status'
,
render
:(
h
,
params
)
=>
{
let
str
=
''
;
if
(
params
.
row
.
status
===
1
){
str
=
'可用'
;
}
else
{
str
=
'停用'
;
}
return
h
(
'span'
,
str
);
}
title
:
'产品名称'
,
key
:
'productname'
},
{
title
:
'备注'
,
...
...
@@ -272,16 +246,11 @@ export default {
detailobj
:{},
addmodal
:
false
,
type
:
0
,
//1添加 2编辑
parentType
:[],
//
父级
类型
parentType
:[],
//
工装
类型
parentTypeid
:
''
,
frockTypename
:
''
,
//工装类型名称
addmtype
:
1
,
//管理类型
addfrockname
:
''
,
//工装名称
addfrockno
:
''
,
//工装料号
addfrockcode
:
''
,
//工装编号
addnum
:
0
,
addstatus
:
'1'
,
//状态 1可用 0停用
addfrockspec
:
''
,
//规格型号
addfrockList
:[],
addfrockid
:
''
,
//工装id
addproductid
:
''
,
//产品
addremark
:
''
,
//备注
filename
:
''
,
//文件名称
fileurl
:
''
,
//文件路径
...
...
@@ -297,6 +266,8 @@ export default {
},
created
(){
this
.
initFrockType
();
//工装类型
this
.
getFrocks
();
//工装
this
.
iniproducts
();
//产品
this
.
tosearch
();
this
.
tableColumns1
=
this
.
$time
.
initTableTitle
(
this
.
tableColumns1
);
},
...
...
@@ -333,6 +304,7 @@ export default {
this
.
frockTypeid
=
""
;
if
(
value
!=
undefined
&&
value
.
length
){
this
.
frockTypeid
=
value
[
value
.
length
-
1
];
this
.
getFrocksChange
(
1
);
}
},
changeFrockType1
(
value
){
...
...
@@ -341,21 +313,85 @@ export default {
if
(
value
!=
undefined
&&
value
.
length
){
this
.
parentTypeid
=
value
[
value
.
length
-
1
];
this
.
parentType
=
value
;
this
.
getFrocksChange
(
2
);
}
},
//获取工装
列表
//获取工装
下拉框
getFrocks
(){
// this.axios.request({
// url: "/fms/accountInfo/frockList",
// method: "get",
// })
// .then((res) => {
// this.frockList = [];
// let data = res.data.data;
// if (res.data.ret == 1&&Array.isArray(data)&&data.length) {
// this.frockList = data;
// }
// });
let
params
=
{
category
:
''
,
//工装类型id
code
:
''
,
name
:
''
,
state
:
1
,
//0停用 1可用
page
:
1
,
pagesize
:
1000000
,
toexcel
:
0
//0查询 1导出
}
this
.
axios
.
request
({
url
:
"/acc/FixtureTools/GetPageList"
,
params
,
method
:
"get"
,
})
.
then
((
res
)
=>
{
this
.
frockList
=
[];
this
.
addfrockList
=
[];
let
data
=
res
.
data
.
data
;
if
(
res
.
data
.
ret
==
1
&&
Array
.
isArray
(
data
)
&&
data
.
length
)
{
this
.
frockList
=
res
.
data
.
data
;
this
.
addfrockList
=
res
.
data
.
data
;
}
});
},
getFrocksChange
(
num
){
this
.
addfrockid
=
''
;
let
params
=
{
category
:
num
==
1
?
this
.
frockTypeid
:
this
.
parentTypeid
,
//工装类型id
code
:
''
,
name
:
''
,
state
:
1
,
//0停用 1可用
page
:
1
,
pagesize
:
1000000
,
toexcel
:
0
//0查询 1导出
}
this
.
axios
.
request
({
url
:
"/acc/FixtureTools/GetPageList"
,
params
,
method
:
"get"
,
})
.
then
((
res
)
=>
{
if
(
num
==
1
){
this
.
frockList
=
[];
}
else
{
this
.
addfrockList
=
[];
}
let
data
=
res
.
data
.
data
;
if
(
res
.
data
.
ret
==
1
&&
Array
.
isArray
(
data
)
&&
data
.
length
)
{
if
(
num
==
1
){
this
.
frockList
=
res
.
data
.
data
;
}
else
{
this
.
addfrockList
=
res
.
data
.
data
;
}
}
});
},
//查询产品
iniproducts
()
{
var
params
=
{
name
:
''
,
count
:
1000000
}
this
.
axios
.
request
({
url
:
'/config/ProjectProduct/GetProductsByCode'
,
params
,
method
:
'get'
})
.
then
(
res
=>
{
this
.
productList
=
[];
let
data
=
res
.
data
.
data
;
if
(
res
.
data
.
ret
===
1
&&
Array
.
isArray
(
data
)
&&
data
.
length
){
this
.
productList
=
res
.
data
.
data
}
})
},
tosearch
(){
this
.
page
=
1
;
...
...
@@ -364,17 +400,16 @@ export default {
},
search
(
toexcel
){
let
params
=
{
category
:
this
.
frockType
,
//工装类型id
code
:
this
.
frockcode
,
name
:
this
.
frockname
,
state
:
this
.
status
,
//0停用 1可用
category
:
this
.
frockTypeid
,
//工装类别ID
tool
:
this
.
frockid
,
//工装信息ID
product
:
this
.
productid
,
//产品ID
page
:
this
.
page
,
pagesize
:
this
.
pagesize
,
toexcel
:
toexcel
//0查询 1导出
}
this
.
detailobj
=
{};
this
.
axios
.
request
({
url
:
"/acc/FixtureTools/GetPageList"
,
url
:
"/acc/FixtureTools
Product
/GetPageList"
,
params
,
method
:
"get"
,
})
...
...
@@ -382,7 +417,7 @@ export default {
if
(
toexcel
===
1
){
if
(
res
.
data
.
ret
===
1
)
{
window
.
location
.
href
=
axios
.
publicPath
+
""
+
res
.
data
.
data
;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
...
...
@@ -402,14 +437,8 @@ export default {
this
.
type
=
1
;
this
.
parentType
=
[];
//工装类型 清空
this
.
parentTypeid
=
''
;
this
.
addmtype
=
1
;
//管理类型
this
.
addfrockname
=
''
;
//工装名称
this
.
addfrockno
=
''
;
//工装料号
this
.
addfrockcode
=
''
;
//工装编号
this
.
addnum
=
1
;
this
.
addfrockspec
=
''
;
this
.
addstatus
=
'1'
;
//状态 1可用 0停用
this
.
addfrockid
=
''
;
//工装id
this
.
addproductid
=
''
;
//产品
this
.
addremark
=
''
;
//备注
this
.
filename
=
''
;
//文件名称
this
.
fileurl
=
''
;
//文件路径
...
...
@@ -421,68 +450,41 @@ export default {
return
false
;
}
this
.
type
=
2
;
this
.
parentType
=
[];
//工装类型 清空
this
.
parentTypeid
=
this
.
detailobj
.
categoryid
;
this
.
parentType
=
this
.
detailobj
.
categoryids
;
this
.
addmtype
=
this
.
detailobj
.
managetype
;
//管理类型
this
.
addfrockname
=
this
.
detailobj
.
name
;
//工装名称
this
.
addfrockno
=
this
.
detailobj
.
partnumber
;
//工装料号
this
.
addfrockcode
=
this
.
detailobj
.
code
;
//工装编号
this
.
addnum
=
this
.
detailobj
.
number
;
this
.
addfrockspec
=
this
.
detailobj
.
specification
;
this
.
addstatus
=
this
.
detailobj
.
status
+
''
;
//状态 1可用 0停用
this
.
addfrockid
=
this
.
detailobj
.
fixturetoolid
;
//工装id
this
.
addproductid
=
this
.
detailobj
.
productid
;
//产品
this
.
addremark
=
this
.
detailobj
.
remark
;
//备注
this
.
filename
=
this
.
detailobj
.
filename
;
//文件名称
this
.
fileurl
=
this
.
detailobj
.
fileurl
;
//文件路径
this
.
addmodal
=
true
;
},
addPost
(){
if
(
!
this
.
parentTypeid
){
this
.
$Message
.
error
(
"请选择工装类型"
);
return
false
;
}
if
(
!
this
.
addfrockname
){
if
(
!
this
.
addfrockid
){
this
.
$Message
.
error
(
"请输入工装名称"
);
return
false
;
}
if
(
!
this
.
addfrockno
){
this
.
$Message
.
error
(
"请输入工装料号"
);
return
false
;
}
if
(
!
this
.
addfrockcode
){
this
.
$Message
.
error
(
"请输入工装编号"
);
return
false
;
}
if
(
!
this
.
addfrockspec
){
this
.
$Message
.
error
(
"请输入规格型号"
);
return
false
;
}
if
(
!
this
.
addnum
){
this
.
$Message
.
error
(
"请输入工装数量"
);
if
(
!
this
.
addproductid
){
this
.
$Message
.
error
(
"请输入产品名称"
);
return
false
;
}
let
url
=
''
;
let
id
=
''
;
if
(
this
.
type
===
1
){
url
=
'/acc/FixtureTools/Add'
;
url
=
'/acc/FixtureTools
Product
/Add'
;
id
=
0
;
}
else
{
url
=
'/acc/FixtureTools/Update'
;
url
=
'/acc/FixtureTools
Product
/Update'
;
id
=
this
.
detailobj
.
id
;
}
let
data
=
{
id
:
id
,
categoryid
:
this
.
parentTypeid
,
//工装类型id
managetype
:
this
.
addmtype
,
partnumber
:
this
.
addfrockno
,
//料号
code
:
this
.
addfrockcode
,
//编号
name
:
this
.
addfrockname
,
//名称
specifition
:
this
.
addfrockspec
,
//规格型号
number
:
this
.
addnum
,
//数量
fixturetoolid
:
this
.
addfrockid
,
//工装id
productid
:
this
.
addproductid
,
remark
:
this
.
addremark
,
//备注
status
:
this
.
addstatus
,
//附件
fileurl
:
this
.
fileurl
,
filename
:
this
.
filename
}
...
...
@@ -515,7 +517,7 @@ export default {
return
false
;
}
},
handleSuccess
(
res
,
file
)
{
handleSuccess
1
(
res
,
file
)
{
this
.
spinShow
=
false
;
if
(
res
.
ret
==
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
"100378"
));
...
...
@@ -525,7 +527,8 @@ export default {
this
.
$Message
.
error
(
this
.
$t
(
res
.
msg
+
''
));
}
},
handleError
(){
handleError1
(){
this
.
spinShow
=
false
;
this
.
$Message
.
error
(
this
.
$t
(
"600512"
)
+
"!"
);
},
delfile
(){
...
...
@@ -536,44 +539,65 @@ export default {
//下载文件
downFile
(
url
,
fileName
){
let
params
=
{
file_url
:
url
,
url
:
url
,
name
:
fileName
};
this
.
axios
.
request
({
url
:
"/config/Download/DownloadFile"
,
url
:
"/config/Download/DownloadFile
ByUrl
"
,
params
,
method
:
"get"
,
responseType
:
"blob"
})
.
then
((
res
)
=>
{
if
(
res
.
status
==
200
)
{
let
url
;
let
link
=
document
.
createElement
(
"a"
);
url
=
window
.
URL
.
createObjectURL
(
res
.
data
);
link
.
style
.
display
=
"none"
;
link
.
href
=
url
;
link
.
setAttribute
(
"download"
,
fileName
);
document
.
body
.
appendChild
(
link
);
link
.
click
();
}
}).
catch
(
error
=>
{
this
.
$Message
.
error
(
'请求错误'
)
});
},
//删除
dele
(){
if
(
this
.
detailobj
.
id
===
undefined
||
this
.
detailobj
.
id
===
null
)
{
this
.
$Message
.
error
(
this
.
$t
(
"1017"
));
return
false
;
}
else
{
var
params
=
{
id
:
this
.
detailobj
.
id
,
};
this
.
$Modal
.
confirm
({
title
:
this
.
$t
(
"1018"
),
content
:
""
,
width
:
"290px"
,
closable
:
true
,
okText
:
this
.
$t
(
"1004"
),
onOk
:
()
=>
{
this
.
axios
.
request
({
url
:
"/acc/FixtureToolsProduct/Delete"
,
params
,
method
:
"get"
,
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
===
1
)
{
var
info
=
res
.
data
.
data
;
var
content
=
info
.
content
;
// 创建隐藏的可下载链接
var
eleLink
=
document
.
createElement
(
"a"
);
eleLink
.
download
=
fileName
;
eleLink
.
style
.
display
=
"none"
;
// 字符内容转变成blob地址
var
blob
=
new
Blob
([
content
]);
eleLink
.
href
=
URL
.
createObjectURL
(
blob
);
// 触发点击
document
.
body
.
appendChild
(
eleLink
);
eleLink
.
click
();
// 然后移除
document
.
body
.
removeChild
(
eleLink
);
this
.
$Message
.
success
(
this
.
$t
(
"1058"
));
this
.
search
(
0
);
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
})
// console.log(fileName)
// console.log(data)
// let url = window.URL.createObjectURL(new Blob([data]));
// let link = document.createElement("a");
// link.style.display = "none";
// link.href = url;
// link.setAttribute("download", fileName);
// document.body.appendChild(link);
// link.click();
});
},
});
}
},
//导出模板
loadexcel
()
{
...
...
Html/src/view/fms/config/accountInfo.vue
View file @
bf4c28d6
...
...
@@ -35,7 +35,7 @@
:on-format-error=
"handleFormatError"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:format=
"['xlsx']"
:format=
"['xlsx'
,'xls'
]"
>
<Button
type=
"primary"
...
...
@@ -275,7 +275,7 @@ export default {
detailobj
:{},
addmodal
:
false
,
type
:
0
,
//1添加 2编辑
parentType
:[],
//
父级
类型
parentType
:[],
//
工装
类型
parentTypeid
:
''
,
frockTypename
:
''
,
//工装类型名称
addmtype
:
1
,
//管理类型
...
...
@@ -346,20 +346,6 @@ export default {
this
.
parentType
=
value
;
}
},
//获取工装列表
getFrocks
(){
// this.axios.request({
// url: "/fms/accountInfo/frockList",
// method: "get",
// })
// .then((res) => {
// this.frockList = [];
// let data = res.data.data;
// if (res.data.ret == 1&&Array.isArray(data)&&data.length) {
// this.frockList = data;
// }
// });
},
tosearch
(){
this
.
page
=
1
;
this
.
pagesize
=
10
;
...
...
@@ -367,7 +353,7 @@ export default {
},
search
(
toexcel
){
let
params
=
{
category
:
this
.
frockType
,
//工装类型id
category
:
this
.
frockType
id
,
//工装类型id
code
:
this
.
frockcode
,
name
:
this
.
frockname
,
state
:
this
.
status
,
//0停用 1可用
...
...
@@ -385,7 +371,7 @@ export default {
if
(
toexcel
===
1
){
if
(
res
.
data
.
ret
===
1
)
{
window
.
location
.
href
=
axios
.
publicPath
+
""
+
res
.
data
.
data
;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
...
...
@@ -518,7 +504,7 @@ export default {
return
false
;
}
},
handleSuccess
(
res
,
file
)
{
handleSuccess
1
(
res
,
file
)
{
this
.
spinShow
=
false
;
if
(
res
.
ret
==
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
"100378"
));
...
...
@@ -528,7 +514,8 @@ export default {
this
.
$Message
.
error
(
this
.
$t
(
res
.
msg
+
''
));
}
},
handleError
(){
handleError1
(){
this
.
spinShow
=
false
;
this
.
$Message
.
error
(
this
.
$t
(
"600512"
)
+
"!"
);
},
delfile
(){
...
...
Html/src/view/fms/config/typeMaintenance.vue
View file @
bf4c28d6
...
...
@@ -21,7 +21,7 @@
:on-format-error=
"handleFormatError"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:format=
"['xlsx']"
:format=
"['xlsx'
,'xls'
]"
>
<Button
type=
"primary"
...
...
Html/src/view/wms/config/storagemaintenance.vue
View file @
bf4c28d6
...
...
@@ -28,7 +28,7 @@
:on-format-error=
"handleFormatError"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:format=
"['xlsx']"
:format=
"['xlsx'
,'xls'
]"
>
<Button
type=
"primary"
...
...
Html/src/view/wms/whStatusQuery/storageInfoQuery.vue
View file @
bf4c28d6
...
...
@@ -33,7 +33,7 @@
:on-format-error=
"handleFormatError"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:format=
"['xlsx']"
:format=
"['xlsx'
,'xls'
]"
>
<Button
type=
"primary"
...
...
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