Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
897a540f
Commit
897a540f
authored
Jul 11, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9733873d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
customerOrder.vue
src/components/customerManage/customerOrder.vue
+8
-0
myCustomerOrder.vue
src/components/customerManage/myCustomerOrder.vue
+6
-0
orderList.vue
src/components/customerManage/orderList.vue
+22
-0
No files found.
src/components/customerManage/customerOrder.vue
View file @
897a540f
...
...
@@ -380,9 +380,11 @@ export default {
{
Name
:
"未收齐"
,
Id
:
"2"
},
],
EmployeeList
:
[],
userInfo
:{}
};
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
// erp自动登陆传过来的参数
if
(
this
.
$route
.
query
.
erpOrderObj
)
{
let
data
=
JSON
.
parse
(
this
.
$route
.
query
.
erpOrderObj
);
...
...
@@ -501,6 +503,7 @@ export default {
this
.
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
_this
=
this
let
data
=
res
.
data
.
data
.
Data
.
pageData
;
let
addList
=
function
(
arr
)
{
arr
.
forEach
((
item
)
=>
{
...
...
@@ -583,6 +586,11 @@ export default {
show
:
item
.
OrderStatus
==
1
&&
item
.
DueinMoney
==
0
?
true
:
false
},
{
Name
:
'申请发票'
,
Id
:
'11'
,
show
:
_this
.
userInfo
&&
_this
.
userInfo
.
EmployeeId
==
item
.
EnterID
?
true
:
false
},
{
Name
:
"操作日志"
,
Id
:
"7"
,
...
...
src/components/customerManage/myCustomerOrder.vue
View file @
897a540f
...
...
@@ -467,6 +467,7 @@ export default {
this
.
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
_this
=
this
let
data
=
res
.
data
.
data
.
Data
.
pageData
;
let
addList
=
function
(
arr
)
{
arr
.
forEach
((
item
)
=>
{
...
...
@@ -549,6 +550,11 @@ export default {
show
:
item
.
OrderStatus
==
1
&&
item
.
DueinMoney
==
0
?
true
:
false
},
{
Name
:
'申请发票'
,
Id
:
'11'
,
show
:
_this
.
userInfo
&&
_this
.
userInfo
.
EmployeeId
==
item
.
EnterID
?
true
:
false
},
{
Name
:
"操作日志"
,
Id
:
"7"
,
...
...
src/components/customerManage/orderList.vue
View file @
897a540f
...
...
@@ -497,6 +497,28 @@ export default {
if
(
row
.
More
==
"10"
)
{
this
.
modifiedDate
(
row
);
}
// 申请发票
if
(
row
.
More
==
"11"
){
let
href
;
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
let
data
=
[
{
crmPath
:
window
.
location
.
hash
.
split
(
'/'
)[
1
],
path
:
"invoicesManagerAdd"
,
OrderId
:
row
.
OrderId
,
TCID
:
0
,
customerId
:
row
.
GuestId
,
blank
:
"y"
,
},
];
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
window
.
open
(
href
);
}
},
// 修改日期
modifiedDate
(
row
){
...
...
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