Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
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
李苏
lxyl-vue
Commits
8311e188
Commit
8311e188
authored
Dec 22, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段
parent
db660f63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
264 additions
and
260 deletions
+264
-260
edit.vue
src/views/ccgl/ckgl/ckd/top/edit.vue
+249
-247
edit.vue
src/views/ccgl/ckgl/dbckd/top/edit.vue
+15
-13
No files found.
src/views/ccgl/ckgl/ckd/top/edit.vue
View file @
8311e188
...
@@ -5,15 +5,14 @@
...
@@ -5,15 +5,14 @@
<el-row
:gutter=
"20"
:app=
"this"
class=
"editRow"
>
<el-row
:gutter=
"20"
:app=
"this"
class=
"editRow"
>
<EditColItem
:required=
"item.required||false"
:readonly=
"item.readonly?true:false "
<EditColItem
:required=
"item.required||false"
:readonly=
"item.readonly?true:false "
v-for=
"(item,index) in editColItemList "
:value=
"item.value"
:span=
"item.span"
:label=
"item.label"
v-for=
"(item,index) in editColItemList "
:value=
"item.value"
:span=
"item.span"
:label=
"item.label"
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
:rule=
"item.rule"
/>
<!-- 额外数据 -->
<!-- 额外数据 -->
</el-row>
</el-row>
<div
class=
"editTab"
>
<div
class=
"editTab"
>
<editTableForEdit
:indexApp=
'app'
:type=
'type'
@
save=
'save'
ref=
"editTableForEdit"
<editTableForEdit
:indexApp=
'app'
:type=
'type'
@
save=
'save'
ref=
"editTableForEdit"
:editTableTitle=
'editTableTitle'
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
:editTableTitle=
'editTableTitle'
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
:editTableData=
"formDetail"
>
:editTableData=
"formDetail"
>
<!--
<template
v-if=
"type!='view'"
#
toolbar=
"ctx"
>
<!--
<template
v-if=
"type!='view'"
#
toolbar=
"ctx"
>
<AuxButton
:queryParams=
"
{
<AuxButton
:queryParams=
"
{
ckid:form.ckid
ckid:form.ckid
...
@@ -75,8 +74,8 @@
...
@@ -75,8 +74,8 @@
})
})
},
},
/* 选择库存回调 */
/* 选择库存回调 */
savekc
(
list
)
{
savekc
(
list
)
{
list
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
// 转换并且push
// 转换并且push
delete
item
.
id
delete
item
.
id
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
...
@@ -85,8 +84,8 @@
...
@@ -85,8 +84,8 @@
}
}
},
},
mounted
()
{
mounted
()
{
this
.
form
.
llrName
=
this
.
username
this
.
form
.
llrName
=
this
.
username
this
.
form
.
llrid
=
this
.
userid
this
.
form
.
llrid
=
this
.
userid
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -166,12 +165,15 @@
...
@@ -166,12 +165,15 @@
label
:
'货主'
,
label
:
'货主'
,
prop
:
'hzid'
,
prop
:
'hzid'
,
span
:
8
,
span
:
8
,
type
:
'RelSelect'
,
required
:
true
,
"typeConfig"
:
{
type
:
'AuxInput'
,
"src"
:
"jcsj/common/hz/query"
,
typeConfig
:
{
"match"
:
{
isRequest
:
true
,
"value"
:
"id"
,
code
:
'HZID'
,
"label"
:
"name"
label
:
'hzName'
,
transform
:
{
value
:
'id'
,
label
:
'name'
}
}
}
}
},
},
...
...
src/views/ccgl/ckgl/dbckd/top/edit.vue
View file @
8311e188
...
@@ -145,15 +145,17 @@
...
@@ -145,15 +145,17 @@
label
:
'货主'
,
label
:
'货主'
,
prop
:
'hzid'
,
prop
:
'hzid'
,
span
:
8
,
span
:
8
,
type
:
'RelSelect'
,
required
:
true
,
"typeConfig"
:
{
type
:
'AuxInput'
,
"src"
:
"jcsj/common/hz/query"
,
typeConfig
:
{
"match"
:
{
isRequest
:
true
,
"value"
:
"id"
,
code
:
'HZID'
,
"label"
:
"name"
label
:
'hzName'
,
transform
:
{
value
:
'id'
,
label
:
'name'
}
}
}
}
},
},
{
{
label
:
'备注'
,
label
:
'备注'
,
...
...
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