Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ab4d2f9a
authored
2023-08-01 10:03:55 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
1660ee0f
52fea4d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
17 deletions
src/views/workflow/components/dialog/clxxDetailDialog.vue
src/views/workflow/components/dialog/clxxDetailDialog.vue
View file @
ab4d2f9
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-01
09:43
:19
* @LastEditTime: 2023-08-01
10:01
:19
-->
<
template
>
<div
class=
"clmlmx-box"
>
...
...
@@ -57,30 +57,30 @@
}
},
{
prop
:
"sjmc"
,
label
:
"材料名称"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
this
.
formData
.
ableOperation
?
<
el
-
input
value
=
{
scope
.
row
.
sjmc
}
onInput
=
{(
val
)
=>
{
scope
.
row
.
sjmc
=
val
}}
><
/el-input> : <span>{scope.row.sjmc}</
span
>
)
}
},
{
prop
:
"sjlx"
,
label
:
"材料类型"
,
width
:
"110"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
{
store
.
getters
.
dictData
[
'A40'
].
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
dname
}
value
=
{
option
.
dcode
}
><
/el-option
>
)
})
}
<
/el-select
>
this
.
formData
.
ableOperation
?
<
el
-
select
value
=
{
scope
.
row
.
sjlx
}
onChange
=
{(
val
)
=>
{
scope
.
row
.
sjlx
=
val
}}
>
{
store
.
getters
.
dictData
[
'A40'
].
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
dname
}
value
=
{
option
.
dcode
}
><
/el-option
>
)
})
}
<
/el-select> : <span>{this.dicStatus
(
scope.row.sjlx, "A40"
)
}</
span
>
)
}
},
...
...
@@ -146,7 +146,7 @@
<
div
>
<
el
-
button
type
=
"text"
disabled
=
{
scope
.
$index
==
0
}
disabled
=
{
scope
.
$index
==
0
||
!
this
.
formData
.
ableOperation
}
onClick
=
{()
=>
{
this
.
moveUpward
(
scope
.
$index
,
scope
.
row
);
}}
...
...
@@ -155,14 +155,14 @@
<
/el-button
>
<
el
-
button
type
=
"text"
disabled
=
{
scope
.
$index
+
1
==
this
.
tableData
.
length
}
disabled
=
{
scope
.
$index
+
1
==
this
.
tableData
.
length
||
!
this
.
formData
.
ableOperation
}
onClick
=
{()
=>
{
this
.
moveDown
(
scope
.
$index
,
scope
.
row
);
}}
>
下移
<
/el-button
>
<
i
v
-
show
=
{
scope
.
row
.
isrequired
!=
'1'
&&
formData
.
ableOperation
}
onClick
=
{()
=>
{
<
i
v
-
show
=
{
scope
.
row
.
isrequired
!=
'1'
&&
this
.
formData
.
ableOperation
}
onClick
=
{()
=>
{
this
.
handleDelete
(
scope
.
$index
,
scope
.
row
);
}}
class
=
"el-icon-delete pointer"
style
=
"color:#409EFF;margin-left:5px;position: relative;top: 1px;"
><
/i
>
<
/div
>
...
...
@@ -177,6 +177,7 @@
watch
:
{
'formData.data'
:
{
handler
:
function
(
val
,
oldVal
)
{
console
.
log
(
val
,
'valvalval'
);
this
.
tableData
=
_
.
cloneDeep
(
val
)
},
immediate
:
true
,
...
...
Please
register
or
sign in
to post a comment