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
665e86af
Commit
665e86af
authored
Dec 19, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段变更
parent
d64c90dc
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
73 additions
and
17 deletions
+73
-17
user.js
src/store/modules/user.js
+1
-1
edit.vue
src/views/ccgl/ckgl/ckd/top/edit.vue
+21
-0
index.vue
src/views/ccgl/ckgl/ckd/top/index.vue
+1
-1
edit.vue
src/views/ccgl/ckgl/jhd/top/edit.vue
+4
-0
edit.vue
src/views/ccgl/rkgl/mpzy/top/edit.vue
+22
-7
edit.vue
src/views/ccgl/rkgl/rkd/top/edit.vue
+19
-7
index.vue
src/views/ccgl/rkgl/rkd/top/index.vue
+1
-1
edit.vue
src/views/ccgl/rkgl/sjrw/top/edit.vue
+4
-0
No files found.
src/store/modules/user.js
View file @
665e86af
...
...
@@ -49,7 +49,7 @@ const user = {
login
(
username
,
password
,
code
,
uuid
,
systemid
).
then
(
res
=>
{
sessionStorage
.
setItem
(
'allUserInfo'
,
JSON
.
stringify
(
res
.
data
))
localStorage
.
setItem
(
'username'
,
res
.
data
.
username
)
localStorage
.
setItem
(
'userid'
,
res
.
data
.
user
id
)
localStorage
.
setItem
(
'userid'
,
res
.
data
.
user
key
)
localStorage
.
setItem
(
'systemid'
,
systemid
)
/* 存储本地一份 */
setToken
(
res
.
data
.
token
)
...
...
src/views/ccgl/ckgl/ckd/top/edit.vue
View file @
665e86af
...
...
@@ -84,6 +84,10 @@
})
}
},
mounted
()
{
this
.
form
.
llrName
=
this
.
username
this
.
form
.
llrid
=
this
.
userid
},
data
()
{
return
{
/* 常规edit数据 */
...
...
@@ -166,6 +170,23 @@
"required"
:
true
},
{
label
:
'领料人'
,
prop
:
'llrid'
,
span
:
12
,
"required"
:
true
,
type
:
'AuxInput'
,
typeConfig
:
{
code
:
'USER'
,
label
:
'llrName'
,
transform
:
{
value
:
'id'
,
label
:
'username'
}
},
},
{
label
:
'备注'
,
prop
:
'bz'
,
...
...
src/views/ccgl/ckgl/ckd/top/index.vue
View file @
665e86af
...
...
@@ -46,7 +46,7 @@
},
{
title
:
"领料人"
,
field
:
"llr"
,
field
:
"llr
Name
"
,
width
:
140
},
{
...
...
src/views/ccgl/ckgl/jhd/top/edit.vue
View file @
665e86af
...
...
@@ -90,6 +90,10 @@
})
}
},
mounted
()
{
this
.
form
.
jhrName
=
this
.
username
this
.
form
.
jhrid
=
this
.
userid
},
data
()
{
return
{
/* dialog*/
...
...
src/views/ccgl/rkgl/mpzy/top/edit.vue
View file @
665e86af
...
...
@@ -85,8 +85,15 @@
},
/* 选择list时的回调 */
},
mounted
()
{
this
.
form
.
zyrName
=
this
.
username
this
.
form
.
zyrid
=
this
.
userid
},
data
()
{
return
{
form
:{
djly
:
'RKTZ'
},
/* dialog*/
showDialog
:
false
,
DialogTitle
:
'码盘'
,
...
...
@@ -153,11 +160,19 @@
}
},
{
"label"
:
"作业人"
,
label
:
'作业人'
,
prop
:
'zyrid'
,
span
:
8
,
type
:
'AuxInput'
,
typeConfig
:
{
code
:
'USER'
,
label
:
'zyrName'
,
transform
:
{
value
:
'id'
,
label
:
'username'
}
},
"required"
:
true
,
"prop"
:
"zyr"
,
"span"
:
8
,
type
:
'input'
},
{
label
:
'开始时间'
,
...
...
@@ -189,14 +204,14 @@
typeConfig
:
{
isRequest
:
false
,
code
:
'WMSRKD'
,
label
:
'djid'
,
label
:
'
show
djid'
,
transform
:
{
value
:
'
dj
id'
,
value
:
'id'
,
label
:
'djid'
},
give
(
row
){
for
(
var
key
in
this
.
form
)
{
key
!=
'id'
&&
key
!=
'djid'
&&
(()
=>
{
key
!=
'id'
&&
key
!=
'djid'
&&
key
!=
'djly'
&&
(()
=>
{
row
[
key
]
&&
(
this
.
form
[
key
]
=
row
[
key
])
})()
}
...
...
src/views/ccgl/rkgl/rkd/top/edit.vue
View file @
665e86af
...
...
@@ -71,6 +71,10 @@
})
}
},
mounted
()
{
this
.
form
.
rkrName
=
this
.
username
this
.
form
.
rkrid
=
this
.
userid
},
data
()
{
return
{
/* 常规edit数据 */
...
...
@@ -133,13 +137,21 @@
}
}
},
{
label
:
'入库人'
,
prop
:
'rkr'
,
span
:
8
,
type
:
'input'
,
"required"
:
true
,
},
{
label
:
'入库人'
,
prop
:
'rkrid'
,
span
:
8
,
type
:
'AuxInput'
,
typeConfig
:
{
code
:
'USER'
,
label
:
'rkrName'
,
transform
:
{
value
:
'id'
,
label
:
'username'
}
},
"required"
:
true
,
},
{
label
:
'备注'
,
prop
:
'bz'
,
...
...
src/views/ccgl/rkgl/rkd/top/index.vue
View file @
665e86af
...
...
@@ -46,7 +46,7 @@
},
{
title
:
"入库人"
,
field
:
"rkr"
,
field
:
"rkr
Name
"
,
width
:
140
},
{
...
...
src/views/ccgl/rkgl/sjrw/top/edit.vue
View file @
665e86af
...
...
@@ -53,6 +53,10 @@
components
:{
Xzrkqd
},
mounted
()
{
this
.
form
.
sjrName
=
this
.
username
this
.
form
.
sjrid
=
this
.
userid
},
methods
:
{
xzrkqdSave
(
obj
){
let
{
list
,
row
}
=
obj
...
...
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