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 @@
<el-row
:gutter=
"20"
:app=
"this"
class=
"editRow"
>
<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"
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
<!-- 额外数据 -->
</el-row>
<div
class=
"editTab"
>
<editTableForEdit
:indexApp=
'app'
:type=
'type'
@
save=
'save'
ref=
"editTableForEdit"
:editTableTitle=
'editTableTitle'
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
:editTableData=
"formDetail"
>
:editTableData=
"formDetail"
>
<!--
<template
v-if=
"type!='view'"
#
toolbar=
"ctx"
>
<AuxButton
:queryParams=
"
{
ckid:form.ckid
...
...
@@ -75,8 +74,8 @@
})
},
/* 选择库存回调 */
savekc
(
list
)
{
list
.
forEach
(
item
=>
{
savekc
(
list
)
{
list
.
forEach
(
item
=>
{
// 转换并且push
delete
item
.
id
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
...
...
@@ -85,8 +84,8 @@
}
},
mounted
()
{
this
.
form
.
llrName
=
this
.
username
this
.
form
.
llrid
=
this
.
userid
this
.
form
.
llrName
=
this
.
username
this
.
form
.
llrid
=
this
.
userid
},
data
()
{
return
{
...
...
@@ -166,12 +165,15 @@
label
:
'货主'
,
prop
:
'hzid'
,
span
:
8
,
type
:
'RelSelect'
,
"typeConfig"
:
{
"src"
:
"jcsj/common/hz/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
required
:
true
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
true
,
code
:
'HZID'
,
label
:
'hzName'
,
transform
:
{
value
:
'id'
,
label
:
'name'
}
}
},
...
...
src/views/ccgl/ckgl/dbckd/top/edit.vue
View file @
8311e188
...
...
@@ -145,15 +145,17 @@
label
:
'货主'
,
prop
:
'hzid'
,
span
:
8
,
type
:
'RelSelect'
,
"typeConfig"
:
{
"src"
:
"jcsj/common/hz/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
required
:
true
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
true
,
code
:
'HZID'
,
label
:
'hzName'
,
transform
:
{
value
:
'id'
,
label
:
'name'
}
}
},
{
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