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
cb41f76f
Commit
cb41f76f
authored
Jan 13, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
往来单位
parent
fceb70fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
host.js
src/libs/host.js
+2
-2
index.vue
src/view/tiip/searchOrder/index.vue
+7
-1
No files found.
src/libs/host.js
View file @
cb41f76f
...
...
@@ -13,8 +13,8 @@ function urlFun(name){
* 默认公司
*/
// default:`http://192.168.4.34:5001`,
default
:
`https://weixin.huansi.net/apiproxy/huansi/hszh_HSFabricTradeTest`
,
//
default:`https://weixin.huansi.net/apiproxy/huansi/service/proxy/${userID}`,
//
default:`https://weixin.huansi.net/apiproxy/huansi/hszh_HSFabricTradeTest`,
default
:
`https://weixin.huansi.net/apiproxy/huansi/service/proxy/
${
userID
}
`
,
/**
* 基本地址
...
...
src/view/tiip/searchOrder/index.vue
View file @
cb41f76f
...
...
@@ -139,10 +139,14 @@ export default {
btns
:
true
,
time
:
true
},
upbCustomerGUID
:
''
,
//客户ID
}
},
async
mounted
(){
window
.
d
=
this
;
this
.
upbCustomerGUID
=
this
.
$route
.
query
.
upbCustomerGUID
||
""
await
this
.
getStatus
();
await
this
.
getHdr
();
this
.
$store
.
dispatch
(
'saveUserId'
,
this
.
$route
.
params
.
userId
);
...
...
@@ -191,12 +195,14 @@ export default {
data
.
sStatus
=
status
.
join
(
','
);
}
data
.
searchvalue
==
''
&&
(
delete
data
.
searchvalue
);
this
.
upbCustomerGUID
&&
(
data
.
upbCustomerGUID
=
this
.
upbCustomerGUID
)
data
.
begin_date
=
data
.
dBeginDate
;
data
.
end_date
=
data
.
dEndDate
;
delete
data
.
dBeginDate
;
delete
data
.
dEndDate
;
let
res
=
await
this
.
apiGet
(
`
${
this
.
host
}${
this
.
$route
.
params
.
userId
}
/fabricorder/hdr/`
,
data
,
'加载中'
)
// let res = await this.apiGet(`${this.host}${this.$route.params.userId}/fabricorder/hdr/`,data,'加载中')
let
res
=
await
this
.
apiGet
(
`http://weixin.huansi.net/apiproxy/huansi/hszh_HSFabricTradeTest/fabricorder/hdr/`
,
data
,
'加载中'
)
if
(
res
.
table
.
length
>
0
){
res
.
table
.
map
(
x
=>
{
...
...
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