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
1dc32838
authored
2023-08-01 10:01:43 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:材料明细
1 parent
ed5dfa74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
src/views/workflow/components/dialog/clxxDetailDialog.vue
src/views/workflow/components/dialog/clxxDetailDialog.vue
View file @
1dc3283
<!--
* @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,7 +155,7 @@
<
/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
);
}}
...
...
Please
register
or
sign in
to post a comment