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
ee972b48
Commit
ee972b48
authored
Jan 09, 2020
by
邓学云
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据结构修改后
parent
a4ba73c8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
37 deletions
+37
-37
deliveryDetails.vue
src/views/delivery/details/deliveryDetails.vue
+14
-14
goodsDetailsTemplate.vue
src/views/goods/goodsDetailsTemplate.vue
+1
-1
dcManage_details.vue
src/views/storedc/details/dcManage_details.vue
+8
-8
storeManage_details.vue
src/views/storedc/details/storeManage_details.vue
+13
-13
storeEvaluateManage.vue
src/views/storedc/storeEvaluateManage.vue
+1
-1
No files found.
src/views/delivery/details/deliveryDetails.vue
View file @
ee972b48
...
@@ -448,19 +448,19 @@ export default {
...
@@ -448,19 +448,19 @@ export default {
getDetails
(
value
){
getDetails
(
value
){
getEditDetails
({
GUID
:
value
}).
then
(
res
=>
{
getEditDetails
({
GUID
:
value
}).
then
(
res
=>
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
if
(
res
.
LIMIT_MEMBER_GROUP_GUID
){
if
(
res
.
data
.
LIMIT_MEMBER_GROUP_GUID
){
res
.
LIMIT_MEMBER_GROUP_GUID
=
res
.
LIMIT_MEMBER_GROUP_GUID
.
split
(
','
)
res
.
data
.
LIMIT_MEMBER_GROUP_GUID
=
res
.
data
.
LIMIT_MEMBER_GROUP_GUID
.
split
(
','
)
}
}
console
.
log
(
res
)
console
.
log
(
res
)
this
.
modalForm
.
setFieldsValue
(
res
)
this
.
modalForm
.
setFieldsValue
(
res
.
data
)
if
(
res
.
SELECT_AREA
.
length
>
0
){
if
(
res
.
data
.
SELECT_AREA
.
length
>
0
){
// setTimeout(() => {
// setTimeout(() => {
// this.expand([res.PROVINCES,res.SELECT_AREA],{})
// this.expand([res.PROVINCES,res.SELECT_AREA],{})
// },1000)
// },1000)
this
.
modalTree
.
checkedKeys
=
res
.
SELECT_AREA
.
split
(
','
);
this
.
modalTree
.
checkedKeys
=
res
.
data
.
SELECT_AREA
.
split
(
','
);
}
}
this
.
tableData
=
res
.
BRANCHES_INFO
;
this
.
tableData
=
res
.
data
.
BRANCHES_INFO
;
res
.
BRANCHES_INFO
.
forEach
(
item
=>
{
res
.
data
.
BRANCHES_INFO
.
forEach
(
item
=>
{
this
.
selectedRowKeys
.
push
(
item
.
CODE
)
this
.
selectedRowKeys
.
push
(
item
.
CODE
)
})
})
})
})
...
@@ -570,17 +570,17 @@ export default {
...
@@ -570,17 +570,17 @@ export default {
isLeaf
:
false
,
isLeaf
:
false
,
children
:[]
children
:[]
}]
}]
for
(
let
item
in
res
){
for
(
let
item
in
res
.
data
){
res
[
item
].
key
=
res
[
item
].
GUID
;
res
.
data
[
item
].
key
=
res
.
data
[
item
].
GUID
;
res
[
item
].
title
=
res
[
item
].
NAME
;
res
.
data
[
item
].
title
=
res
.
data
[
item
].
NAME
;
res
[
item
].
isLeaf
=
false
;
res
.
data
[
item
].
isLeaf
=
false
;
res
[
item
].
CITY
.
map
(
function
(
item
){
res
.
data
[
item
].
CITY
.
map
(
function
(
item
){
item
.
key
=
item
.
GUID
;
item
.
key
=
item
.
GUID
;
item
.
title
=
item
.
NAME
;
item
.
title
=
item
.
NAME
;
item
.
isLeaf
=
true
;
item
.
isLeaf
=
true
;
})
})
res
[
item
].
children
=
res
[
item
].
CITY
;
res
.
data
[
item
].
children
=
res
.
data
[
item
].
CITY
;
this
.
modalTree
.
treeData
[
0
].
children
.
push
(
res
[
item
])
this
.
modalTree
.
treeData
[
0
].
children
.
push
(
res
.
data
[
item
])
}
}
this
.
modalTree
.
treeData
=
[...
this
.
modalTree
.
treeData
]
this
.
modalTree
.
treeData
=
[...
this
.
modalTree
.
treeData
]
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
...
...
src/views/goods/goodsDetailsTemplate.vue
View file @
ee972b48
...
@@ -303,7 +303,7 @@ export default {
...
@@ -303,7 +303,7 @@ export default {
this
.
handOk
=
0
;
this
.
handOk
=
0
;
// 获取编辑详情
// 获取编辑详情
getTemplateDetails
({
GUID
:
value
.
GUID
}).
then
(
res
=>
{
getTemplateDetails
({
GUID
:
value
.
GUID
}).
then
(
res
=>
{
this
.
modalForm
.
setFieldsValue
(
res
)
this
.
modalForm
.
setFieldsValue
(
res
.
data
)
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
})
})
...
...
src/views/storedc/details/dcManage_details.vue
View file @
ee972b48
...
@@ -570,14 +570,14 @@
...
@@ -570,14 +570,14 @@
};
};
getDCDetails
(
id
).
then
(
res
=>
{
getDCDetails
(
id
).
then
(
res
=>
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
addressProvince
=
res
.
data
[
0
]
.
RECIVER_PROVINCE
;
this
.
addressProvince
=
res
.
data
.
RECIVER_PROVINCE
;
this
.
addressCity
=
res
.
data
[
0
]
.
RECIVER_CITY
;
this
.
addressCity
=
res
.
data
.
RECIVER_CITY
;
this
.
addressRegion
=
res
.
data
[
0
]
.
RECIVER_REGION
;
this
.
addressRegion
=
res
.
data
.
RECIVER_REGION
;
res
.
data
[
0
].
WORK_TIME_START
=
this
.
timeGet
(
res
.
data
[
0
]
.
WORK_TIME
)[
0
]
res
.
data
.
WORK_TIME_START
=
this
.
timeGet
(
res
.
data
.
WORK_TIME
)[
0
]
res
.
data
[
0
].
WORK_TIME_END
=
this
.
timeGet
(
res
.
data
[
0
]
.
WORK_TIME
)[
1
]
res
.
data
.
WORK_TIME_END
=
this
.
timeGet
(
res
.
data
.
WORK_TIME
)[
1
]
res
.
data
[
0
].
DELIVERY_TIME_START
=
this
.
timeGet
(
res
.
data
[
0
]
.
DELIVERY_TIME
)[
0
]
res
.
data
.
DELIVERY_TIME_START
=
this
.
timeGet
(
res
.
data
.
DELIVERY_TIME
)[
0
]
res
.
data
[
0
].
DELIVERY_TIME_END
=
this
.
timeGet
(
res
.
data
[
0
]
.
DELIVERY_TIME
)[
1
]
res
.
data
.
DELIVERY_TIME_END
=
this
.
timeGet
(
res
.
data
.
DELIVERY_TIME
)[
1
]
this
.
form
.
setFieldsValue
(
res
.
data
[
0
]
)
this
.
form
.
setFieldsValue
(
res
.
data
)
})
})
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
...
...
src/views/storedc/details/storeManage_details.vue
View file @
ee972b48
...
@@ -794,31 +794,31 @@
...
@@ -794,31 +794,31 @@
var
id
=
this
.
$route
.
query
.
GUID
;
var
id
=
this
.
$route
.
query
.
GUID
;
getStoreDetails
(
id
).
then
(
res
=>
{
getStoreDetails
(
id
).
then
(
res
=>
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
addressProvince
=
res
.
data
[
0
]
.
RECIVER_PROVINCE
;
this
.
addressProvince
=
res
.
data
.
RECIVER_PROVINCE
;
this
.
addressCity
=
res
.
data
[
0
]
.
RECIVER_CITY
;
this
.
addressCity
=
res
.
data
.
RECIVER_CITY
;
this
.
addressRegion
=
res
.
data
[
0
]
.
RECIVER_REGION
;
this
.
addressRegion
=
res
.
data
.
RECIVER_REGION
;
res
.
data
[
0
].
WORK_TIME_START
=
this
.
timeGet
(
res
.
data
[
0
]
.
WORK_TIME
)[
0
]
res
.
data
.
WORK_TIME_START
=
this
.
timeGet
(
res
.
data
.
WORK_TIME
)[
0
]
res
.
data
[
0
].
WORK_TIME_END
=
this
.
timeGet
(
res
.
data
[
0
]
.
WORK_TIME
)[
1
]
res
.
data
.
WORK_TIME_END
=
this
.
timeGet
(
res
.
data
.
WORK_TIME
)[
1
]
res
.
data
[
0
].
DELIVERY_TIME_START
=
this
.
timeGet
(
res
.
data
[
0
]
.
DELIVERY_TIME
)[
0
]
res
.
data
.
DELIVERY_TIME_START
=
this
.
timeGet
(
res
.
data
.
DELIVERY_TIME
)[
0
]
res
.
data
[
0
].
DELIVERY_TIME_END
=
this
.
timeGet
(
res
.
data
[
0
]
.
DELIVERY_TIME
)[
1
]
res
.
data
.
DELIVERY_TIME_END
=
this
.
timeGet
(
res
.
data
.
DELIVERY_TIME
)[
1
]
if
(
res
.
data
[
0
]
.
LICENCE_IMAGE_PATH
){
if
(
res
.
data
.
LICENCE_IMAGE_PATH
){
this
.
fileList
.
push
({
this
.
fileList
.
push
({
uid
:
'-1'
,
uid
:
'-1'
,
name
:
'test.png'
,
name
:
'test.png'
,
status
:
'done'
,
status
:
'done'
,
url
:
res
.
data
[
0
]
.
LICENCE_IMAGE_PATH
,
url
:
res
.
data
.
LICENCE_IMAGE_PATH
,
})
})
}
}
if
(
res
.
data
[
0
]
.
BRANCH_IMAGE_PATH
){
if
(
res
.
data
.
BRANCH_IMAGE_PATH
){
this
.
BranchfileList
.
push
({
this
.
BranchfileList
.
push
({
uid
:
'-1'
,
uid
:
'-1'
,
name
:
'test.png'
,
name
:
'test.png'
,
status
:
'done'
,
status
:
'done'
,
url
:
res
.
data
[
0
]
.
BRANCH_IMAGE_PATH
,
url
:
res
.
data
.
BRANCH_IMAGE_PATH
,
})
})
}
}
console
.
log
(
res
.
data
[
0
]
)
console
.
log
(
res
.
data
)
this
.
form
.
setFieldsValue
(
res
.
data
[
0
]
)
this
.
form
.
setFieldsValue
(
res
.
data
)
})
})
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
...
...
src/views/storedc/storeEvaluateManage.vue
View file @
ee972b48
...
@@ -493,7 +493,7 @@ export default {
...
@@ -493,7 +493,7 @@ export default {
this
.
handOk
=
0
;
this
.
handOk
=
0
;
getEvaluateDetails
(
value
.
GUID
).
then
(
res
=>
{
getEvaluateDetails
(
value
.
GUID
).
then
(
res
=>
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
modalForm
.
setFieldsValue
(
res
)
this
.
modalForm
.
setFieldsValue
(
res
.
data
)
})
})
// this.queryParam1=Object.assign({}, res);
// this.queryParam1=Object.assign({}, res);
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
...
...
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