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
63c298db
Commit
63c298db
authored
Jul 10, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
25fa8f9b
be4d839d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
110 additions
and
14 deletions
+110
-14
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+2
-2
addFinancialProcess.vue
src/components/FinancialModule/addFinancialProcess.vue
+34
-0
VisaProductEditOrder.vue
src/components/SalesVisa/VisaProductEditOrder.vue
+0
-1
TicketAmiba.vue
src/components/Ticketing/TicketAmiba.vue
+74
-11
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
63c298db
...
...
@@ -546,10 +546,10 @@
<i
class=
"iconfont icon-sousuo"
v-if=
'item.Type===4'
@
click=
"goUrl('CapitalAllocationDetail',item.FrID,active,msg.pageIndex)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.shenhe')"
placement=
"top"
>
<i
v-if=
"msg.Conditon==
3
&& item.Is_Self!=1"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"goUrl('BasicDocuments',item.FrID,active,msg.pageIndex)"
></i>
<i
v-if=
"msg.Conditon==
1
&& item.Is_Self!=1"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"goUrl('BasicDocuments',item.FrID,active,msg.pageIndex)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"催审"
placement=
"top"
>
<i
v-if=
"msg.Conditon==3 &&
item.Is_Self!
=1"
class=
"iconfont icon-cuishou"
@
click=
"cuishen('Financial_post_SetFinancePushOn', item.FrID)"
></i>
<i
v-if=
"msg.Conditon==3 &&
IsFinancePushOn=
=1"
class=
"iconfont icon-cuishou"
@
click=
"cuishen('Financial_post_SetFinancePushOn', item.FrID)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.zhuanjiao')"
placement=
"top"
>
<i
v-if=
"msg.Conditon==3 && !BOSSBtn2"
class=
"iconfont icon-zhuanjiao1"
@
click=
"zhuanBox = true,zhuanMsg.WorkFlowId = item.FrID"
></i>
...
...
src/components/FinancialModule/addFinancialProcess.vue
View file @
63c298db
...
...
@@ -330,6 +330,15 @@
<el-radio
@
change=
"RadioShow"
v-model=
"addMsg.IsShow"
:label=
"1"
>
{{
$t
(
'pub.yes'
)
}}
</el-radio>
<el-radio
@
change=
"RadioShow"
v-model=
"addMsg.IsShow"
:label=
"2"
>
{{
$t
(
'pub.no'
)
}}
</el-radio>
</el-form-item>
<el-form-item
v-show=
"addMsg.IsShow==2"
label=
"可显示部门"
>
<el-select
filterable
multiple
v-model=
'addMsg.ShowDepartmentList'
class=
"w200"
style=
"max-height:100px;overflow:hidden"
size=
"small"
>
<el-option
v-for=
'item in DepartmentList'
:label=
'item.DepartmentName'
:value=
'item.DepartmentID'
:key=
'item.DepartmentID'
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
v-show=
"addMsg.IsShow==2"
label=
"可显示人"
>
<el-select
filterable
multiple
v-model=
'addMsg.ShowEmployeeList'
class=
"w200"
style=
"max-height:100px;overflow:hidden"
size=
"small"
>
<el-option
v-for=
'item in EmployeeList'
...
...
@@ -534,6 +543,7 @@ export default {
components
:
{
Treeselect
},
data
(){
return
{
DepartmentList
:[],
EmployeeList
:[],
Auditshow
:
false
,
accListShow
:
true
,
...
...
@@ -555,6 +565,7 @@ export default {
},
IsShow
:
1
,
ShowEmployeeList
:[],
ShowDepartmentList
:[],
},
AuditUserList
:{
EmName
:
''
,
...
...
@@ -726,12 +737,33 @@ export default {
this
.
getFinancialFlowTemplate_post_GetNodeList
();
this
.
getRole
()
this
.
getEmployeeList
();
this
.
getDepartment
();
},
methods
:{
//根据多公司获取部门
getDepartment
()
{
let
msg
=
{
RB_Group_Id
:
'0'
,
RB_Branch_Id
:
'-1'
,
Status
:
'0'
,
};
this
.
apipost
(
"department_get_GetListByBranchIds"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DepartmentList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
RadioShow
(
val
){
console
.
log
(
val
);
if
(
val
==
1
){
this
.
addMsg
.
ShowEmployeeList
=
[];
this
.
addMsg
.
ShowDepartmentList
=
[];
}
},
getEmployeeList
()
{
...
...
@@ -802,6 +834,8 @@ export default {
this
.
addMsg
.
IsUploadPic
=
data
.
IsUploadPic
;
this
.
addMsg
.
IsShow
=
data
.
IsShow
;
this
.
addMsg
.
ShowEmployeeList
=
data
.
ShowEmployeeList
;
this
.
addMsg
.
ShowDepartmentList
=
data
.
ShowDepartmentList
;
if
(
data
.
list
&&
data
.
list
[
0
]
!==
-
1
)
{
this
.
accListMsg
=
data
.
list
;
...
...
src/components/SalesVisa/VisaProductEditOrder.vue
View file @
63c298db
...
...
@@ -501,7 +501,6 @@ export default {
{
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
'Type'
:
1
,
'path'
:
'SaleOrderModule'
,
'companyID'
:
obj
.
rB_Branch_Id
,
'blank'
:
'y'
,
...
...
src/components/Ticketing/TicketAmiba.vue
View file @
63c298db
...
...
@@ -98,26 +98,57 @@
</td>
</tr>
</table>
<!-- -->
<el-dialog
custom-class=
"w400
"
width=
"1000px
"
title=
"设置团队散客机票利润"
:visible
.
sync=
"AmibaDialog"
center
:before-close=
"closeChangeMachie"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"130px"
>
<el-form-item
label=
"散客机票数量"
prop=
"IndividualTicketNum"
>
<el-form-item
style=
"display:inline-block"
label=
"散客机票数量"
prop=
"IndividualTicketNum"
>
<el-input
v-model=
"addMsg.IndividualTicketNum"
@
keyup
.
native=
"checkInteger(addMsg,'IndividualTicketNum')"
class=
"w180"
/>
</el-form-item>
<el-form-item
label=
"散客机票利润"
prop=
"IndividualTicketMoney"
>
<el-form-item
style=
"display:inline-block"
label=
"散客机票利润"
prop=
"IndividualTicketMoney"
>
<el-input
v-model=
"addMsg.IndividualTicketMoney"
@
keyup
.
native=
"checkPrice(addMsg,'IndividualTicketMoney')"
class=
"w180"
/>
</el-form-item>
<el-form-item
label=
"绑定财务单据"
>
<el-select
multiple
:placeholder=
"$t('pub.pleaseSel')"
class=
'multiple_input w180'
v-model=
"addMsg.FrIdList"
>
<el-option
v-for=
"item in FrList"
:key=
"item"
:label=
"item"
:value=
"item"
>
</el-option>
</el-select>
</el-form-item>
<div>
绑定财务单据
</div>
<table
v-loading=
"checkLoad"
class=
"singeRowTable myDocumentsTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th><input
v-model=
"isCkedAll"
type=
"checkbox"
@
click=
'checkedAll()'
/></th>
<th>
单号
</th>
<th>
所属公司
</th>
<th>
单据类型
</th>
<th>
费用类型
</th>
<th>
交易方式
</th>
<th>
金额
</th>
<th>
付款对象
</th>
<th>
制单人员
</th>
</tr>
<tr
v-for=
"(item,index) in FrIdList"
:key=
"index+5000"
>
<td>
<input
type=
"checkbox"
:value=
"item.FrID"
v-model=
"checkList"
@
change=
"ckeckedOne"
>
</td>
<td>
{{
item
.
FrID
}}
</td>
<td>
{{
item
.
BranchName
}}
</td>
<td>
{{
item
.
TypeName
}}
</td>
<td>
<p
v-for=
"(i,index) in item.CostTypeList"
:key=
"index+1000"
>
{{
i
}}
</p>
</td>
<td>
<span
v-for=
"(i,index) in item.TradeWayList"
:key=
"index+2000"
>
{{
i
.
Alias
}}
<span
v-if=
"item.TradeWayList[0]"
>
{{
item
.
TradeWayList
[
0
].
TypeName
}}
</span></span>
</td>
<td>
<p>
{{
item
.
Type
==
1
?
'应收'
:
'应付'
}}
:
<span>
{{
item
.
Money
}}
</span></p>
<p>
{{
item
.
Type
==
1
?
'实收'
:
'实付'
}}
:
<span>
{{
item
.
PayMoney
}}
</span></p>
</td>
<td>
{{
item
.
RemitterName
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
</tr>
</table>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
...
...
@@ -133,6 +164,10 @@
export
default
{
data
()
{
return
{
checkLoad
:
false
,
checkAllList
:[],
checkList
:[],
isCkedAll
:
false
,
dataList
:
[],
loading
:
false
,
//总成本
...
...
@@ -158,6 +193,7 @@
IndividualTicketMoney
:
''
,
FrIdList
:[]
},
FrIdList
:[],
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
queryMsg
.
EndTime
==
null
)
{
...
...
@@ -197,6 +233,22 @@
this
.
getList
()
},
methods
:
{
ckeckedOne
()
{
//单选
if
(
this
.
checkList
.
length
<
this
.
checkAllList
.
length
)
{
this
.
isCkedAll
=
false
}
else
{
this
.
isCkedAll
=
true
}
},
checkedAll
()
{
//全选
if
(
this
.
isCkedAll
==
true
)
{
this
.
checkList
=
[];
}
else
{
this
.
checkAllList
.
forEach
(
item
=>
{
this
.
checkList
.
push
(
item
)
})
}
},
getList
()
{
//获取列表数据
this
.
loading
=
true
;
this
.
apipost
(
"sellorder_post_GetAirTicketSettlement"
,
this
.
queryMsg
,
res
=>
{
...
...
@@ -247,13 +299,17 @@
this
.
addMsg
.
IndividualTicketNum
=
item
.
IndividualTicketNum
;
this
.
addMsg
.
IndividualTicketMoney
=
item
.
IndividualTicketMoney
;
this
.
addMsg
.
FrIdList
=
item
.
FrIdList
;
this
.
FrList
=
[];
this
.
checkAllList
=
[];
this
.
checkLoad
=
true
;
this
.
apipost
(
"Financial_post_GetFinanceALLList"
,
msg
,
res
=>
{
this
.
checkLoad
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
let
dataList
=
res
.
data
.
data
;
dataList
.
forEach
(
x
=>
{
this
.
Fr
List
.
push
(
x
.
FrID
);
this
.
checkAll
List
.
push
(
x
.
FrID
);
})
this
.
FrIdList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -264,6 +320,13 @@
//提交创建、修改表单
this
.
$refs
[
addMsg
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
addMsg
.
FrIdList
=
this
.
checkList
;
if
(
this
.
addMsg
.
IndividualTicketNum
+
this
.
addMsg
.
IndividualTicketMoney
>
0
){
if
(
this
.
addMsg
.
FrIdList
.
length
==
0
){
this
.
Error
(
"至少选择一条单据"
);
return
;
}
}
this
.
addAmibaInfo
();
}
else
{
return
false
;
...
...
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