Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
2ccdeaf7
Commit
2ccdeaf7
authored
Dec 20, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
76b80150
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
132 additions
and
63 deletions
+132
-63
index.vue
src/components/FinancialModule/HelpBranch/index.vue
+27
-33
customerTransfer.vue
src/components/SalesModule/customerTransfer.vue
+105
-30
No files found.
src/components/FinancialModule/HelpBranch/index.vue
View file @
2ccdeaf7
...
...
@@ -61,18 +61,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"费用部门:"
>
<el-select
filterable
v-model=
'msg.RB_Depart_Id'
@
change=
"employeeMsg.DepartmentId=msg.RB_Depart_Id,getEmployee(),msg.UpdateBy=''"
class=
""
>
<el-option
:value=
"0"
label=
"不限"
></el-option>
<el-option
v-for=
'item in DepartmentList'
:label=
'item.DepartmentName'
:value=
'item.DepartmentID'
:key=
'item.DepartmentID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"制单人员:"
>
<el-select
filterable
v-model=
'msg.UpdateBy'
class=
""
>
...
...
@@ -126,17 +115,33 @@
<
/div
>
<
/el-option
>
<
/el-select
>
<!--
<
el
-
select
filterable
v
-
model
=
'msg.ClientID'
>
<
el
-
option
value
=
""
label
=
"不限"
><
/el-option
>
<
el
-
option
v
-
for
=
'item in ClientAccountList'
:
label
=
'`${item.AccountAlias
}
(${item.AccountHolder
}
/${item.CardNum
}
)`'
:
value
=
'item.ID'
:
key
=
'item.ID'
>
<
/el-option
>
<
/el-select> --
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
<
el
-
form
-
item
label
=
"制单日期:"
>
<
el
-
date
-
picker
class
=
"h34"
@
change
=
"timeAdd(1)"
v
-
model
=
"productionDate"
type
=
"daterange"
value
-
format
=
"yyyy-MM-dd"
>
<
/el-date-picker
>
<
/el-form-item
>
<
/el-col
>
<
template
v
-
if
=
"heightQueryBox"
>
<
el
-
col
:
span
=
"4"
>
<
el
-
form
-
item
label
=
"费用部门:"
>
<
el
-
select
filterable
v
-
model
=
'msg.RB_Depart_Id'
@
change
=
"employeeMsg.DepartmentId=msg.RB_Depart_Id,getEmployee(),msg.UpdateBy=''"
class
=
""
>
<
el
-
option
:
value
=
"0"
label
=
"不限"
><
/el-option
>
<
el
-
option
v
-
for
=
'item in DepartmentList'
:
label
=
'item.DepartmentName'
:
value
=
'item.DepartmentID'
:
key
=
'item.DepartmentID'
>
<
/el-option
>
<
/el-select
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
<
el
-
form
-
item
label
=
"金额:"
>
<
div
style
=
"display: flex;flex-direction: row;flex-wrap: nowrap;"
>
<
div
>
...
...
@@ -150,17 +155,6 @@
<
/div
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
<
el
-
form
-
item
label
=
"制单日期:"
>
<
el
-
date
-
picker
class
=
"h34"
@
change
=
"timeAdd(1)"
v
-
model
=
"productionDate"
type
=
"daterange"
value
-
format
=
"yyyy-MM-dd"
>
<
/el-date-picker
>
<
/el-form-item
>
<
/el-col
>
<
template
v
-
if
=
"heightQueryBox"
>
<
el
-
col
:
span
=
"6"
>
<
el
-
form
-
item
label
=
"发团日期:"
>
<
el
-
date
-
picker
class
=
"h34"
...
...
@@ -811,8 +805,8 @@ export default {
if
(
!
this
.
msg
.
KJCostTypeId
)
this
.
msg
.
KJCostTypeId
=
0
;
if
(
!
this
.
msg
.
IsSelectKJSetCostType
)
this
.
msg
.
IsSelectKJSetCostType
=
0
;
let
time
=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
var
fileName
=
`
成本月结
表${time
}
.xls`
;
this
.
GetLocalFile
(
"Financial_get_Get
CostMont
hALLExport"
,
this
.
msg
,
fileName
);
var
fileName
=
`
往来结算
表${time
}
.xls`
;
this
.
GetLocalFile
(
"Financial_get_Get
HelpBranc
hALLExport"
,
this
.
msg
,
fileName
);
}
,
financeRemove
(
id
){
//作废
this
.
$confirm
(
'是否对申请单进行作废操作?作废后不可恢复!'
,
'提示'
,
{
...
...
src/components/SalesModule/customerTransfer.vue
View file @
2ccdeaf7
...
...
@@ -6,14 +6,28 @@
<span>
<em>
{{
$t
(
'visaT.sale'
)
}}
</em>
</span>
<el-select
filterable
v-model=
"msg.CreateBy"
>
<!--
<el-select
filterable
v-model=
"msg.CreateBy"
>
-->
<el-select
v-model=
"msg.CreateBy"
class=
"w150"
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"GetClientAccountListByKeyWord"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
"-1"
></el-option>
<el-option
v-for=
"item in employeeList"
:label=
"item.name"
:value=
"item.empId"
:key=
"item.empId"
></el-option>
>
<div>
<span>
{{
`${item.name
}
`
}}
<
/span>
<
span
style
=
"margin-left: 15px;"
>
<
el
-
tag
size
=
"mini"
v
-
if
=
"item.isLeave==1"
>
离职
<
/el-tag>
<
/span
>
<
/div
>
<
/el-option
>
<
/el-select
>
<
/li
>
...
...
@@ -103,17 +117,24 @@
<
p
class
=
"fz12 mt30 color666"
>
<
span
>
{{
$t
(
'salesModule.Recipient'
)
}}
<
/span> 
;
<
el
-
select
filterable
class=
"w180"
v-model=
"RecipientMsg.NewEmployeeId"
:placeholder=
"$t('pub.pleaseSel')"
>
v
-
model
=
"RecipientMsg.NewEmployeeId"
class
=
"w180"
filterable
remote
reserve
-
keyword
placeholder
=
"请输入关键词"
:
remote
-
method
=
"GetClientAccountListByKeyWord1"
>
<
el
-
option
v
-
for
=
"item in employeeList1"
:
label
=
"item.name"
:
value
=
"item.empId"
:
key
=
"item.empId"
></el-option>
><
div
>
<
span
>
{{
`${item.name
}
`
}}
<
/span>
<
span
style
=
"margin-left: 15px;"
>
<
el
-
tag
size
=
"mini"
v
-
if
=
"item.isLeave==1"
>
离职
<
/el-tag>
<
/span
>
<
/div></
el
-
option
>
<
/el-select
>
<
/p
>
<
p
class
=
"fz12 mt30 color666"
>
...
...
@@ -241,18 +262,31 @@
<
p
class
=
"fz12 fbold mt10 color333"
>
{{
$t
(
'fnc.zhuanjiao'
)
}}
<
/p
>
<
p
class
=
"fz12 mt30 color666"
>
<
span
>
{{
$t
(
'salesModule.Recipient'
)
}}
<
/span> 
;
<el-select
<
!--
<
el
-
select
filterable
class
=
"w180"
v
-
model
=
"RecipientMsg.NewEmployeeId"
:
placeholder
=
"$t('pub.pleaseSel')"
>
>
-->
<
el
-
select
v
-
model
=
"RecipientMsg.NewEmployeeId"
class
=
"w150"
filterable
remote
reserve
-
keyword
placeholder
=
"请输入关键词"
:
remote
-
method
=
"GetClientAccountListByKeyWord1"
>
<
el
-
option
v
-
for
=
"item in employeeList1"
:
label
=
"item.name"
:
value
=
"item.empId"
:
key
=
"item.empId"
></el-option>
><
div
>
<
span
>
{{
`${item.name
}
`
}}
<
/span>
<
span
style
=
"margin-left: 15px;"
>
<
el
-
tag
size
=
"mini"
v
-
if
=
"item.isLeave==1"
>
离职
<
/el-tag>
<
/span
>
<
/div></
el
-
option
>
<
/el-select
>
<
/p
>
<
p
class
=
"fz12 mt30 color666"
>
...
...
@@ -590,7 +624,8 @@ export default {
RB_Group_id
:
"0"
,
RB_Branch_id
:
"-1"
,
departmentId
:
"0"
,
IsLeave
:
"0"
IsLeave
:
"0"
,
KeyWord
:
''
,
}
,
isCkedAll
:
false
,
addShow
:
false
,
...
...
@@ -678,6 +713,7 @@ export default {
Address
:
[{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
}
]
}
,
employeeList1
:
[],
employeeList2
:
[],
HightUnitPrice
:
'2'
,
departState
:
false
,
}
;
...
...
@@ -1057,6 +1093,7 @@ export default {
}
else
{
this
.
isSelLayer
=
false
;
this
.
employeeList1
=
[];
this
.
employeeList2
=
[];
this
.
list
.
forEach
(
item
=>
{
item
.
disabled
=
false
;
}
);
...
...
@@ -1163,6 +1200,9 @@ export default {
this
.
employeeMsg
.
departmentId
=
0
;
this
.
employeeMsg
.
RB_Group_id
=
this
.
getLocalStorage
().
RB_Group_id
;
this
.
employeeMsg
.
RB_Branch_id
=
-
1
;
this
.
employeeList2
=
[];
this
.
employeeMsg
.
IsLeave
=-
1
;
this
.
apipost
(
"app_get_company_employee"
,
this
.
employeeMsg
,
...
...
@@ -1170,14 +1210,66 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
!
this
.
isSelLayer
)
{
this
.
employeeList
=
res
.
data
.
data
;
this
.
employeeList
.
forEach
(
item
=>
{
if
(
item
.
isLeave
==
0
){
this
.
employeeList2
.
push
(
item
);
}
}
);
}
else
{
this
.
employeeList1
=
res
.
data
.
data
;
this
.
employeeList1
.
forEach
(
item
=>
{
if
(
item
.
isLeave
==
0
){
this
.
employeeList2
.
push
(
item
);
}
}
);
}
}
}
,
err
=>
{
}
);
}
,
GetClientAccountListByKeyWord
(
query
)
{
console
.
log
(
"query"
,
query
)
if
(
query
!==
''
)
{
this
.
employeeMsg
.
departmentId
=
0
;
this
.
employeeMsg
.
RB_Group_id
=
this
.
getLocalStorage
().
RB_Group_id
;
this
.
employeeMsg
.
RB_Branch_id
=
-
1
;
this
.
employeeList2
=
[];
this
.
employeeMsg
.
IsLeave
=-
1
;
this
.
employeeMsg
.
KeyWord
=
query
;
this
.
apipost
(
"app_get_company_employee"
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
employeeList
=
res
.
data
.
data
;
}
}
,
err
=>
{
}
);
}
}
,
GetClientAccountListByKeyWord1
(
query
)
{
console
.
log
(
"query"
,
query
)
if
(
query
!==
''
)
{
this
.
employeeMsg
.
departmentId
=
0
;
this
.
employeeMsg
.
RB_Group_id
=
this
.
getLocalStorage
().
RB_Group_id
;
this
.
employeeMsg
.
RB_Branch_id
=
-
1
;
this
.
employeeMsg
.
IsLeave
=
0
;
this
.
employeeMsg
.
KeyWord
=
query
;
this
.
apipost
(
"app_get_company_employee"
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
employeeList1
=
res
.
data
.
data
;
}
}
,
err
=>
{
}
);
}
}
,
getCreateByInfoList
()
{
this
.
apipost
(
"app_customer_GetDepartmentEmployee"
,
...
...
@@ -1272,23 +1364,6 @@ export default {
this
.
$message
.
info
(
"已取消移除!"
);
}
);
}
// this.apipost(
// "app_customer_DisabledCustomer",
// {CustomerId:CustomerId,DisabledType:DisabledType},
// res => {
// if (res.data.resultCode == 1) {
// this.$message.success(res.data.message)
// this.getList()
// } else {
// this.$message.error(res.data.message);
// }
// },
// err => {}
// );
}
}
,
...
...
@@ -1301,7 +1376,7 @@ export default {
this
.
bossID
=
userInfo
.
EmployeeId
;
this
.
departmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
getDepartment
();
this
.
getEmployee
();
//
this.getEmployee();
this
.
getList
();
this
.
getCreateByInfoList
();
this
.
getProvince
();
...
...
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