Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
newShopFront
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
newshop
newShopFront
Commits
88dce06c
Commit
88dce06c
authored
Dec 20, 2019
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
1c2c19d2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
Manage_editor.vue
src/views/authority/details/Manage_editor.vue
+11
-8
distributionManage.vue
src/views/delivery/distributionManage.vue
+1
-0
No files found.
src/views/authority/details/Manage_editor.vue
View file @
88dce06c
...
...
@@ -10,17 +10,18 @@
<a-row>
<a-col
:span=
"24"
>
<a-input-group>
<a-input
style=
"width:50%"
v-model=
"NAME"
placeholder=
"请输入姓名"
/>
<a-button
@
click=
'searchUser'
type=
"primary"
>
查找用户信息
</a-button>
</a-input-group>
</a-col>
</a-row>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"
省级公司
"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"
姓名
"
>
<a-input
v-decorator=
"['NAME',
{ rules: [{ required: true, message: '请输入
省级公司
' }] }]"
v-decorator=
"['NAME',
{ rules: [{ required: true, message: '请输入
姓名
' }] }]"
name="NAME"
placeholder="请输入
省级公司
"
placeholder="请输入
姓名
"
/>
</a-form-item>
...
...
@@ -116,6 +117,7 @@ export default {
// checkboxGroup处理
checkRadio
(
value
)
{
if
(
value
)
{
// return value.toString()
return
Number
(
value
)
}
},
...
...
@@ -152,16 +154,17 @@ export default {
},
updateSubmit
()
{
let
guid
=
this
.
GUID
let
user_id
=
this
.
res
.
USER_ID
;
const
{
form
:
{
validateFields
}
}
=
this
validateFields
({
force
:
true
},
(
err
,
values
)
=>
{
if
(
!
err
)
{
const
ManageInfoModify
=
Object
.
assign
({
...
values
},
{
USER_ID
:
guid
})
// if (ManageInfoModify.CONTACTBIRTH_DATE) {
// ManageInfoModify.CONTACTBIRTH_DATE = ManageInfoModify.CONTACTBIRTH_DATE.format('YYYY-MM-DD')
// }
const
ManageInfoModify
=
Object
.
assign
({
...
values
},
{
USER_ID
:
user_id
})
if
(
ManageInfoModify
.
ROLE_ID
)
{
ManageInfoModify
.
ROLE_ID
=
ManageInfoModify
.
ROLE_ID
.
toString
()
//ManageInfoModify.CONTACTBIRTH_DATE = ManageInfoModify.CONTACTBIRTH_DATE.format('YYYY-MM-DD')
}
console
.
log
(
ManageInfoModify
)
modifyManageInfoDetails
(
ManageInfoModify
)
this
.
$router
.
push
({
path
:
'/authority/manageList'
})
...
...
src/views/delivery/distributionManage.vue
View file @
88dce06c
...
...
@@ -63,6 +63,7 @@ export default {
wrapperCol
:
{
xs
:
{
span
:
17
}
},
description
:
'注:第一个开关代表在积分商城是否启用,第二个开关代表在商城是否启用'
,
form
:
this
.
$form
.
createForm
(
this
),
columns
:
[
{
...
...
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