Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
6aba675d
Commit
6aba675d
authored
Sep 23, 2022
by
季圣华
Browse files
完善商品的导入界面的展示逻辑
parent
4830d690
Changes
3
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/tools/ImportFileModal.vue
View file @
6aba675d
...
...
@@ -4,6 +4,7 @@
:width=
"400"
:visible=
"visible"
:confirm-loading=
"confirmLoading"
:maskClosable=
"false"
@
cancel=
"handleCancel"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:25%;height: 45%;overflow-y: hidden"
>
...
...
jshERP-web/src/mixins/JeecgListMixin.js
View file @
6aba675d
...
...
@@ -311,7 +311,7 @@ export const JeecgListMixin = {
},
/* 导入 */
handleImportExcel
(
info
){
this
.
l
oading
=
true
this
.
confirmL
oading
=
true
if
(
info
.
file
.
status
!==
'
uploading
'
)
{
console
.
log
(
info
.
file
,
info
.
fileList
);
}
...
...
@@ -323,16 +323,16 @@ export const JeecgListMixin = {
}
else
{
this
.
$message
.
warning
(
info
.
file
.
response
.
data
)
}
this
.
l
oading
=
false
this
.
confirmL
oading
=
false
this
.
visible
=
false
this
.
$emit
(
'
ok
'
)
}
else
{
this
.
$message
.
error
(
`
${
info
.
file
.
name
}
${
info
.
file
.
response
.
data
}
.`
);
this
.
l
oading
=
false
this
.
confirmL
oading
=
false
}
}
else
if
(
info
.
file
.
status
===
'
error
'
)
{
this
.
$message
.
error
(
`文件上传失败:
${
info
.
file
.
msg
}
`
)
this
.
l
oading
=
false
this
.
confirmL
oading
=
false
}
},
/* 图片预览 */
...
...
jshERP-web/src/views/material/modules/MaterialModal.vue
View file @
6aba675d
...
...
@@ -391,8 +391,6 @@
},
created
()
{
this
.
maxBarCodeAction
();
this
.
loadTreeData
();
this
.
loadUnitListData
();
this
.
loadParseMaterialProperty
();
},
methods
:
{
...
...
@@ -436,6 +434,8 @@
autoJumpNextInput
(
'
materialDetailModal
'
)
});
this
.
initMaterialAttribute
()
this
.
loadTreeData
()
this
.
loadUnitListData
()
// 加载子表数据
if
(
this
.
model
.
id
)
{
//禁用多属性开关
...
...
Write
Preview
Supports
Markdown
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