Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
Details
Activity
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
godwithdh
WX_h5
Commits
f9d8163f
Commit
f9d8163f
authored
Dec 27, 2019
by
张锡奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload
parent
165bc1cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
host.js
src/libs/host.js
+1
-1
index.js
src/router/index.js
+1
-1
detail.vue
src/view/shopVersion/form/liabilities/detail.vue
+3
-1
index.vue
src/view/shopVersion/form/liabilities/index.vue
+1
-1
No files found.
src/libs/host.js
View file @
f9d8163f
...
@@ -6,7 +6,7 @@ function urlFun(name){
...
@@ -6,7 +6,7 @@ function urlFun(name){
/**
/**
* 门市域名
* 门市域名
*/
*/
// sales:`http://192.168.4.
67
:5000`,
// sales:`http://192.168.4.
2
:5000`,
// sales:`http://122.224.36.54:18005`,//测试服务器
// sales:`http://122.224.36.54:18005`,//测试服务器
sales
:
`https://weixin.huansi.net/apiproxy/huansi/Mall`
,
sales
:
`https://weixin.huansi.net/apiproxy/huansi/Mall`
,
/**
/**
...
...
src/router/index.js
View file @
f9d8163f
...
@@ -380,7 +380,7 @@ let shopVersionRoutes = [
...
@@ -380,7 +380,7 @@ let shopVersionRoutes = [
}
}
},
},
{
{
path
:
'form/liabilitiesDetail/:iCustomerId'
,
path
:
'form/liabilitiesDetail/:iCustomerId
/:mode
'
,
name
:
'LiabilitiesDetail'
,
name
:
'LiabilitiesDetail'
,
component
:()
=>
import
(
'@/view/shopVersion/form/liabilities/detail.vue'
),
component
:()
=>
import
(
'@/view/shopVersion/form/liabilities/detail.vue'
),
meta
:{
meta
:{
...
...
src/view/shopVersion/form/liabilities/detail.vue
View file @
f9d8163f
...
@@ -75,11 +75,13 @@ export default {
...
@@ -75,11 +75,13 @@ export default {
},
},
methods
:{
methods
:{
async
getDetail
(){
async
getDetail
(){
this
.
columns
[
1
].
field
=
this
.
$route
.
params
.
mode
==
0
?
'应收'
:
'应付'
;
let
result
=
await
this
.
request
(
'getCipLiabilities'
,{
let
result
=
await
this
.
request
(
'getCipLiabilities'
,{
data
:{},
data
:{},
params
:{
params
:{
iCustomerId
:
this
.
$route
.
params
.
iCustomerId
,
iCustomerId
:
this
.
$route
.
params
.
iCustomerId
,
sType
:
'Details'
sType
:
'Details'
,
sCustomerType
:
this
.
$route
.
params
.
mode
==
0
?
'客户'
:
'供应商'
}
}
},
'加载中'
,{
iProjectId
:
this
.
iProjectId
});
},
'加载中'
,{
iProjectId
:
this
.
iProjectId
});
this
.
list
=
result
;
this
.
list
=
result
;
...
...
src/view/shopVersion/form/liabilities/index.vue
View file @
f9d8163f
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
this
.
getData
();
this
.
getData
();
},
},
routerToDetail
(
item
){
routerToDetail
(
item
){
this
.
$router
.
push
({
name
:
'LiabilitiesDetail'
,
params
:{
iCustomerId
:
item
.
iIden
}})
this
.
$router
.
push
({
name
:
'LiabilitiesDetail'
,
params
:{
iCustomerId
:
item
.
iIden
,
mode
:
this
.
Liabilities
.
activeTab
}})
}
}
}
}
}
}
...
...
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