Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
97d2fd66
Commit
97d2fd66
authored
Jul 08, 2022
by
zhangyichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug // 对话框取消按钮
cancel() { this.upload2.uploadData = false // this.reset() },
parent
afe3a9d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
21 deletions
+5
-21
MaterialFile.vue
src/views/productionInfo/MaterialFile.vue
+5
-21
No files found.
src/views/productionInfo/MaterialFile.vue
View file @
97d2fd66
...
...
@@ -274,7 +274,7 @@
</el-link>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"canleBtn"
@
click=
"cancel"
>
取 消 Cancel
</el-button>
<el-button
class=
"canleBtn"
@
click=
"cancel
1
"
>
取 消 Cancel
</el-button>
<el-button
type=
"danger"
class=
"redBtn"
@
click=
"submitForm"
>
确 定 Confirm
</el-button>
</div>
</el-dialog>
...
...
@@ -637,6 +637,10 @@ export default {
this
.
upload2
.
uploadData
=
false
// this.reset()
},
// 对话框取消按钮
cancel1
()
{
this
.
reset
()
},
// 对话框确定按钮
compare
(
prop
)
{
return
function
(
obj1
,
obj2
)
{
...
...
@@ -690,26 +694,6 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
rules
)
{
// const fileList = []
// this.fileList.forEach(item => {
// fileList.push({
// ossId: parseInt(item.id),
// materId: parseInt(this.materId),
// fileName: item.name
// })
// })
// const params = {
// ...this.form,
// nltMaterOssList: fileList
// }
// switch (params.softwareType) {
// case '1':
// params.nltMaterOssList = []
// break
// case '2':
// params.softwareVer = ''
// break
// }
updateMaterial
(
this
.
form
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$message
({
...
...
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