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
478c8916
Commit
478c8916
authored
Aug 01, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
df2fc80c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
239 additions
and
241 deletions
+239
-241
leaderPay2.vue
src/components/leaderPay2.vue
+239
-241
No files found.
src/components/leaderPay2.vue
View file @
478c8916
...
...
@@ -139,7 +139,7 @@
border
:
1px
solid
#e95252
;
cursor
:
pointer
;
border-radius
:
15px
;
outline
:
none
;
outline
:
none
;
}
.cursorpointer
{
...
...
@@ -349,9 +349,11 @@
._bank_type2
{
background-color
:
#FF9C01
}
.cdForm
.el-form-item
{
display
:
inline-block
;
}
.cdForm
.el-form-item
{
display
:
inline-block
;
}
</
style
>
<
template
>
...
...
@@ -424,7 +426,7 @@
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 12"
>
网订
</span>
<span
v-else
></span>
<br/>
<br
/>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</td>
...
...
@@ -526,7 +528,7 @@
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 11"
>
刷卡
</span>
<span
v-else
></span>
<br/>
<br
/>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
</td>
...
...
@@ -576,7 +578,7 @@
<td
v-if=
"subIndex==0 && childIndex == 0"
:rowspan=
"item.row"
>
{{
subItem
.
HotelName
}}
</td>
<td
v-if=
"subIndex==0 && childIndex == 0"
:rowspan=
"item.row"
>
<td
v-if=
"subIndex==0 && childIndex == 0"
:rowspan=
"item.row"
>
{{
subItem
.
NewHotelName
}}
</td>
<td>
...
...
@@ -845,12 +847,14 @@
</p>
</td>
<td
width=
"80"
class=
"_zhidan"
>
<input
v-if=
"TimeXiao"
type=
"button"
value=
"制单"
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<input
v-if=
"TimeXiao"
type=
"button"
value=
"
地接费结算
制单"
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<input
v-else-if=
"dataList.LeaderApply && dataList.LeaderApply.Status && dataList.LeaderApply.Status==2"
type=
"button"
value=
"制单"
style=
""
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<span
v-else
style=
"color:red"
>
请在APP中提交实际用款详情信息
</span>
<input
style=
"margin-top:15px"
v-if=
"item.FinanceIds && item.FinanceIds.length>0"
type=
"button"
value=
"退款制单"
class=
"leader2Btn"
@
click=
"gofzZd(item)"
>
type=
"button"
value=
"地接费结算制单"
style=
""
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<span
v-else
style=
"color:red"
>
请在APP中提交实际用款详情信息
</span>
<input
style=
"display:none;"
type=
"button"
value=
"地接费结算制单"
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<input
style=
"margin-top:15px"
v-if=
"item.FinanceIds && item.FinanceIds.length>0"
type=
"button"
value=
"退款制单"
class=
"leader2Btn"
@
click=
"gofzZd(item)"
>
</td>
</tr>
<tr
v-if=
"!TotalNav && !TotalNav.length"
>
...
...
@@ -879,10 +883,10 @@
<td>
{{item.Id}}
</td>
<td>
{{item.TCNUM}}({{item.TCID}})
</td>
<td>
<span
v-if=
"item.Type==1"
>
银行
</span>
<span
v-if=
"item.Type==2"
>
平台
</span>
<span
v-if=
"item.Type==3"
>
现金
</span>
<span
v-if=
"item.Type==4"
>
资金池
</span>
<span
v-if=
"item.Type==1"
>
银行
</span>
<span
v-if=
"item.Type==2"
>
平台
</span>
<span
v-if=
"item.Type==3"
>
现金
</span>
<span
v-if=
"item.Type==4"
>
资金池
</span>
</td>
<td>
{{item.AccountName}}
</td>
<td>
{{item.WBMoney}}
</td>
...
...
@@ -891,7 +895,8 @@
<td>
{{item.Time}}
</td>
<td>
{{item.FinanceId}}
</td>
<td>
<input
style=
"margin-top:15px"
v-if=
"item.FinanceId==0"
type=
"button"
value=
"收据退款制单"
class=
"leader2Btn"
@
click=
"gofzZd2(item)"
>
<input
style=
"margin-top:15px"
v-if=
"item.FinanceId==0"
type=
"button"
value=
"收据退款制单"
class=
"leader2Btn"
@
click=
"gofzZd2(item)"
>
</td>
</tr>
<tr
v-if=
"dataDocList.length==0"
>
...
...
@@ -920,7 +925,7 @@
@
click=
"goFncUrl('FinancialDocumentsDetail', i)"
>
{{i}} {{d == item.FrId.length-1 ? '' : '、'}}
</span></p>
</td>
<td>
<input
type=
"button"
value=
"制单"
class=
"leader2Btn"
@
click=
"opendialog(item, index, item.price)"
>
<input
type=
"button"
value=
"
人头费
制单"
class=
"leader2Btn"
@
click=
"opendialog(item, index, item.price)"
>
</td>
</tr>
<tr
v-if=
"!listCost.length"
>
...
...
@@ -1001,9 +1006,7 @@
</tr>
<tr
v-for=
"(item, index) in TotalNav"
>
<td
colspan=
"4"
>
{{item.TCNUMS}}
</td>
<!-- <td colspan="3">
<el-input size="mini" class="w150" type="number" v-model="item.price"></el-input>
</td> -->
<td
colspan=
"4"
>
<input
type=
"button"
value=
"制单"
class=
"leader2Btn"
@
click=
"ZhiDanChongDi(item)"
>
</td>
...
...
@@ -1020,7 +1023,7 @@
<tr
v-for=
"(item,index) in czTableList"
:key=
"index"
>
<td>
<span
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('FinancialDocumentsDetail', item.FrID)"
>
{{item.FrID}}
</span>
@
click=
"goFncUrl('FinancialDocumentsDetail', item.FrID)"
>
{{item.FrID}}
</span>
</td>
<td>
{{item.BranchName}}
</td>
<td>
{{item.CostTypeName}}
</td>
...
...
@@ -1028,10 +1031,11 @@
<td>
{{item.Money}}
</td>
<td>
{{item.StatusStr}}
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.ClientTypeName+':'+item.RemitterName+'('+item.AccountNumber+')'"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.ClientTypeName+':'+item.RemitterName+'('+item.AccountNumber+')'"
placement=
"top-start"
>
<div
style=
"width:250px;overflow:hidden"
>
{{item.ClientTypeName}}:{{item.RemitterName}}
</div>
</el-tooltip>
</td>
</td>
</tr>
<tr
v-if=
"czTableList.length==0"
>
<td
colspan=
"12"
>
暂无数据
</td>
...
...
@@ -1071,7 +1075,8 @@
<input
type=
"button"
class=
"leader2Btn"
@
click=
"AuditOrder(1)"
value=
"审核不通过"
v-show=
"dataList.LeaderApply.Status==1"
>
<input
type=
"button"
class=
"leader2Btn"
value=
"打印"
@
click=
"printTable()"
>
<input
v-if=
"EditBtn && dataList.LeaderApply.Status==2"
type=
"button"
class=
"leader2Btn"
value=
"取消审核"
@
click=
"CancelLeaderApply()"
>
<input
v-if=
"EditBtn && dataList.LeaderApply.Status==2"
type=
"button"
class=
"leader2Btn"
value=
"取消审核"
@
click=
"CancelLeaderApply()"
>
</div>
</div>
<a
:href=
"blankUrl"
id=
"blankLink"
target=
"_blank"
style=
"display:none"
>
1
</a>
...
...
@@ -1130,18 +1135,14 @@
</el-select>
</el-form-item>
<el-form-item>
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"czgetList"
>
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"czgetList"
>
</el-form-item>
<el-form-item
label=
"交易日期"
>
<el-date-picker
v-model=
"czdateList"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
<el-date-picker
v-model=
"czdateList"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-form-item>
</el-form>
<table
class=
"leaderPayTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
...
...
@@ -1167,18 +1168,19 @@
<td>
{{item.MatchMoney}}
</td>
<td>
{{item.StatusStr}}
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.ClientTypeName+':'+item.RemitterName+'('+item.AccountNumber+')'"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.ClientTypeName+':'+item.RemitterName+'('+item.AccountNumber+')'"
placement=
"top-start"
>
<div
style=
"width:250px;overflow:hidden"
>
{{item.ClientTypeName}}:{{item.RemitterName}}
</div>
</el-tooltip>
</td>
</td>
</tr>
<tr
v-if=
"czList.length==0"
>
<td
colspan=
"12"
>
暂无数据
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange2"
layout=
"total,prev, pager, next, jumper"
:page-size=
"czMsg.pageSize"
:total=
'total2'
>
</el-pagination>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange2"
layout=
"total,prev, pager, next, jumper"
:page-size=
"czMsg.pageSize"
:total=
'total2'
>
</el-pagination>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"cdState=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"goUrlZD"
>
{{$t('pub.sureBtn')}}
</button>
...
...
@@ -1190,10 +1192,10 @@
<el-input
class=
"w220"
@
keyup
.
native=
"checkInteger(fzMsg,'FinanceId')"
v-model=
"fzMsg.FinanceId"
></el-input>
</el-form-item>
<el-form-item>
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"fzgetList"
>
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"fzgetList"
>
</el-form-item>
</el-form>
<table
class=
"leaderPayTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
...
...
@@ -1215,7 +1217,7 @@
<tr
v-if=
"fzList.length==0"
>
<td
colspan=
"12"
>
暂无数据
</td>
</tr>
</table>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"cdState1=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"goUrlfk"
>
{{$t('pub.sureBtn')}}
</button>
...
...
@@ -1228,10 +1230,10 @@
<el-input
class=
"w220"
@
keyup
.
native=
"checkInteger(fzMsg,'FinanceId')"
v-model=
"fzMsg.FinanceId"
></el-input>
</el-form-item>
<el-form-item>
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"fzgetList"
>
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"fzgetList"
>
</el-form-item>
</el-form>
<table
class=
"leaderPayTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
...
...
@@ -1253,7 +1255,7 @@
<tr
v-if=
"fzList.length==0"
>
<td
colspan=
"12"
>
暂无数据
</td>
</tr>
</table>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"cdState2=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"goUrlfk2"
>
{{$t('pub.sureBtn')}}
</button>
...
...
@@ -1265,19 +1267,19 @@
export
default
{
data
()
{
return
{
czdateList
:[],
czMsg
:{
pageIndex
:
1
,
pageSize
:
8
,
FrID
:
''
,
CostTypeID
:
''
,
sTradeDate
:
''
,
eTradeDate
:
''
,
IsAdvanceFinance
:
1
,
czdateList
:
[],
czMsg
:
{
pageIndex
:
1
,
pageSize
:
8
,
FrID
:
''
,
CostTypeID
:
''
,
sTradeDate
:
''
,
eTradeDate
:
''
,
IsAdvanceFinance
:
1
,
},
checkList
:[],
cdState
:
false
,
checkList
:
[],
cdState
:
false
,
LineId
:
0
,
planPriceList
:
[],
zhuijiaList
:
[],
...
...
@@ -1335,76 +1337,76 @@
AllBZPrice
:
0
,
ClientAccountListS
:
[],
currencyList
:
[],
Handmsg
:{
OtherType
:
7
,
ReFinanceId
:
0
,
Rate
:
0
,
TCNUM
:
''
,
czState
:
true
,
Handmsg
:
{
OtherType
:
7
,
ReFinanceId
:
0
,
Rate
:
0
,
TCNUM
:
''
,
czState
:
true
,
},
costList
:[],
czList
:[],
total2
:
0
,
czTableList
:[],
UserId
:
0
,
OutBranchId
:
''
,
costList
:
[],
czList
:
[],
total2
:
0
,
czTableList
:
[],
UserId
:
0
,
OutBranchId
:
''
,
EditBtn
:
false
,
fkZDmsg
:{
OtherType
:
8
,
ReFinanceId
:
0
,
Rate
:
0
,
TCNUM
:
''
,
noEditRate
:
true
fkZDmsg
:
{
OtherType
:
8
,
ReFinanceId
:
0
,
Rate
:
0
,
TCNUM
:
''
,
noEditRate
:
true
},
checkList1
:[],
cdState1
:
false
,
fzMsg
:{
FinanceId
:
''
,
checkList1
:
[],
cdState1
:
false
,
fzMsg
:
{
FinanceId
:
''
,
},
fzList
:[],
fzObj
:{},
dataDocList
:[],
fzObj2
:{},
fkZDmsg2
:{
OtherType
:
10
,
ReFinanceId
:
0
,
Rate
:
0
,
TCNUM
:
''
,
noEditRate
:
true
,
ReFinanceId2
:
0
,
fzList
:
[],
fzObj
:
{},
dataDocList
:
[],
fzObj2
:
{},
fkZDmsg2
:
{
OtherType
:
10
,
ReFinanceId
:
0
,
Rate
:
0
,
TCNUM
:
''
,
noEditRate
:
true
,
ReFinanceId2
:
0
,
},
checkList2
:[],
cdState2
:
false
,
checkList2
:
[],
cdState2
:
false
,
};
},
methods
:
{
goUrlfk2
(){
let
obj
=
this
.
fzObj2
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList2
))
goUrlfk2
()
{
let
obj
=
this
.
fzObj2
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList2
))
if
(
this
.
checkList2
.
length
>
1
)
{
if
(
this
.
checkList2
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
return
;
}
if
(
this
.
checkList2
.
length
==
0
)
{
if
(
this
.
checkList2
.
length
==
0
)
{
this
.
Error
(
"至少选择一项"
);
return
;
}
let
arr
=
[];
that
.
fkZDmsg2
.
ReFinanceId2
=
this
.
checkList2
[
0
].
FinanceId
;
that
.
fkZDmsg2
.
Rate
=
this
.
checkList2
[
0
].
Rate
;
let
arr
=
[];
that
.
fkZDmsg2
.
ReFinanceId2
=
this
.
checkList2
[
0
].
FinanceId
;
that
.
fkZDmsg2
.
Rate
=
this
.
checkList2
[
0
].
Rate
;
var
msg
=
{}
// msg=JSON.stringify(that.fkZDmsg2);
msg
=
{
OtherType
:
that
.
fkZDmsg2
.
OtherType
,
ReFinanceId
:
that
.
fkZDmsg2
.
ReFinanceId
,
TCNUM
:
that
.
fkZDmsg2
.
TCNUM
,
noEditRate
:
that
.
fkZDmsg2
.
noEditRate
,
ReFinanceId2
:
that
.
fkZDmsg2
.
ReFinanceId2
,
OtherType
:
that
.
fkZDmsg2
.
OtherType
,
ReFinanceId
:
that
.
fkZDmsg2
.
ReFinanceId
,
TCNUM
:
that
.
fkZDmsg2
.
TCNUM
,
noEditRate
:
that
.
fkZDmsg2
.
noEditRate
,
ReFinanceId2
:
that
.
fkZDmsg2
.
ReFinanceId2
,
}
let
id
=
[];
if
(
obj
.
LineId
==
this
.
LineId
)
{
...
...
@@ -1429,41 +1431,41 @@
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
},
ckeckOne2
(){
if
(
this
.
checkList2
.
length
==
2
)
{
this
.
checkList2
.
splice
(
0
,
1
);
ckeckOne2
()
{
if
(
this
.
checkList2
.
length
==
2
)
{
this
.
checkList2
.
splice
(
0
,
1
);
}
if
(
this
.
checkList2
.
length
>
1
)
{
if
(
this
.
checkList2
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
}
},
gofzZd2
(
item
){
this
.
cdState2
=
true
;
this
.
fkZDmsg2
.
TCNUM
=
item
.
TCID
;
this
.
fkZDmsg2
.
ReFinanceId
=
item
.
Id
;
this
.
checkList2
=
[];
this
.
fzObj2
=
item
;
gofzZd2
(
item
)
{
this
.
cdState2
=
true
;
this
.
fkZDmsg2
.
TCNUM
=
item
.
TCID
;
this
.
fkZDmsg2
.
ReFinanceId
=
item
.
Id
;
this
.
checkList2
=
[];
this
.
fzObj2
=
item
;
},
goUrlfk
(){
let
obj
=
this
.
fzObj
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList1
))
goUrlfk
()
{
let
obj
=
this
.
fzObj
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList1
))
if
(
this
.
checkList1
.
length
>
1
)
{
if
(
this
.
checkList1
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
return
;
}
if
(
this
.
checkList1
.
length
==
0
)
{
if
(
this
.
checkList1
.
length
==
0
)
{
this
.
Error
(
"至少选择一项"
);
return
;
}
let
arr
=
[];
that
.
fkZDmsg
.
ReFinanceId
=
this
.
checkList1
[
0
].
FinanceId
;
that
.
fkZDmsg
.
Rate
=
this
.
checkList1
[
0
].
Rate
;
var
msg
=
JSON
.
stringify
(
that
.
fkZDmsg
);
let
arr
=
[];
that
.
fkZDmsg
.
ReFinanceId
=
this
.
checkList1
[
0
].
FinanceId
;
that
.
fkZDmsg
.
Rate
=
this
.
checkList1
[
0
].
Rate
;
var
msg
=
JSON
.
stringify
(
that
.
fkZDmsg
);
let
id
=
[];
if
(
obj
.
LineId
==
this
.
LineId
)
{
...
...
@@ -1488,21 +1490,21 @@
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
},
ckeckOne1
(){
if
(
this
.
checkList1
.
length
==
2
)
{
this
.
checkList1
.
splice
(
0
,
1
);
ckeckOne1
()
{
if
(
this
.
checkList1
.
length
==
2
)
{
this
.
checkList1
.
splice
(
0
,
1
);
}
if
(
this
.
checkList1
.
length
>
1
)
{
if
(
this
.
checkList1
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
}
},
gofzZd
(
item
){
this
.
cdState1
=
true
;
this
.
fkZDmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
checkList1
=
[];
this
.
fzObj
=
item
;
gofzZd
(
item
)
{
this
.
cdState1
=
true
;
this
.
fkZDmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
checkList1
=
[];
this
.
fzObj
=
item
;
},
fzgetList
(){
fzgetList
()
{
this
.
apipost
(
"Financial_get_GetFinanceRate"
,
this
.
fzMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
fzList
=
res
.
data
.
data
;
...
...
@@ -1518,37 +1520,37 @@
});
},
getczTableList
(
TCIDs
){
let
msg
=
{
pageIndex
:
1
,
pageSize
:
1000
,
TCIDs
:
TCIDs
,
ReFinanceId
:
''
getczTableList
(
TCIDs
)
{
let
msg
=
{
pageIndex
:
1
,
pageSize
:
1000
,
TCIDs
:
TCIDs
,
ReFinanceId
:
''
};
this
.
apipost
(
'Financial_get_GetAdvanceMatchFinancePageList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
czTableList
=
res
.
data
.
data
.
pageData
;
this
.
czTableList
=
res
.
data
.
data
.
pageData
;
}
},
err
=>
{})
},
handleCurrentChange2
(
val
)
{
this
.
czMsg
.
pageIndex
=
val
;
this
.
czgetList
();
this
.
czMsg
.
pageIndex
=
val
;
this
.
czgetList
();
},
goUrlZD
(){
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList
))
goUrlZD
()
{
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList
))
if
(
this
.
checkList
.
length
>
1
)
{
if
(
this
.
checkList
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
return
;
}
if
(
this
.
checkList
.
length
==
0
)
{
if
(
this
.
checkList
.
length
==
0
)
{
this
.
Error
(
"至少选择一项"
);
return
;
}
let
arr
=
[];
let
arr
=
[];
var
TCArr
=
[
this
.
Handmsg
.
TCNUM
];
let
orderObj
=
{
OrderID
:
0
,
...
...
@@ -1556,9 +1558,9 @@
Obj
:
{},
TCIDList
:
TCArr
}
that
.
Handmsg
.
ReFinanceId
=
this
.
checkList
[
0
].
FrID
;
that
.
Handmsg
.
ReFinanceId
=
this
.
checkList
[
0
].
FrID
;
// that.Handmsg.Rate=this.checkList[0].Rate;
var
msg
=
JSON
.
stringify
(
that
.
Handmsg
);
var
msg
=
JSON
.
stringify
(
that
.
Handmsg
);
let
routeData
=
this
.
$router
.
resolve
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:
{
...
...
@@ -1566,43 +1568,43 @@
'orderObj'
:
JSON
.
stringify
(
orderObj
),
companyID
:
this
.
OutBranchId
,
Type
:
2
,
searchTitle
:
'分摊'
searchTitle
:
'分摊'
}
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
ckeckOne
(){
if
(
this
.
checkList
.
length
==
2
)
{
this
.
checkList
.
splice
(
0
,
1
);
ckeckOne
()
{
if
(
this
.
checkList
.
length
==
2
)
{
this
.
checkList
.
splice
(
0
,
1
);
}
if
(
this
.
checkList
.
length
>
1
)
{
if
(
this
.
checkList
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
}
},
ZhiDanChongDi
(
item
){
this
.
cdState
=
true
;
this
.
Handmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
OutBranchId
=
item
.
OutBranchId
;
this
.
checkList
=
[];
ZhiDanChongDi
(
item
)
{
this
.
cdState
=
true
;
this
.
Handmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
OutBranchId
=
item
.
OutBranchId
;
this
.
checkList
=
[];
},
czgetList
(){
if
(
this
.
czdateList
&&
this
.
czdateList
.
length
>
0
)
{
this
.
czMsg
.
sTradeDate
=
this
.
czdateList
[
0
];
this
.
czMsg
.
eTradeDate
=
this
.
czdateList
[
1
];
}
else
{
this
.
czMsg
.
sTradeDate
=
''
;
this
.
czMsg
.
eTradeDate
=
''
;
czgetList
()
{
if
(
this
.
czdateList
&&
this
.
czdateList
.
length
>
0
)
{
this
.
czMsg
.
sTradeDate
=
this
.
czdateList
[
0
];
this
.
czMsg
.
eTradeDate
=
this
.
czdateList
[
1
];
}
else
{
this
.
czMsg
.
sTradeDate
=
''
;
this
.
czMsg
.
eTradeDate
=
''
;
}
let
msg
=
Object
.
assign
({},
this
.
czMsg
);
if
(
msg
.
FrID
==
''
)
{
msg
.
FrID
=
0
;
let
msg
=
Object
.
assign
({},
this
.
czMsg
);
if
(
msg
.
FrID
==
''
)
{
msg
.
FrID
=
0
;
}
this
.
apipost
(
"Financial_get_GetAdvanceFinancePageList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
czList
=
res
.
data
.
data
.
pageData
;
this
.
total2
=
res
.
data
.
data
.
count
;
this
.
total2
=
res
.
data
.
data
.
count
;
}
},
null
)
},
...
...
@@ -1610,7 +1612,7 @@
this
.
apipost
(
"Financial_get_GetAdvanceCostTypeList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
costList
=
res
.
data
.
data
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
},
null
)
...
...
@@ -1625,9 +1627,7 @@
if
(
subItem
.
DiningID
==
DiningID
&&
subItem
.
UseDinnerType
==
UseDinnerType
&&
subItem
.
UseTimeStr
==
UseTimeStr
)
{
totalPrice
+=
0
}
else
{
}
else
{
totalPrice
+=
subItem
.
TradingTotalPrice
}
DiningID
=
subItem
.
DiningID
;
...
...
@@ -1929,7 +1929,7 @@
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
null
)
},
goZhiDan
:
function
(
obj
)
{
...
...
@@ -1962,7 +1962,7 @@
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
},
getNavT
()
{
let
_this
=
this
this
.
apipost
(
...
...
@@ -1978,25 +1978,25 @@
listCost
.
forEach
(
x
=>
{
x
.
price
=
0
})
let
Tcnums
=
''
;
TotalNav
.
forEach
((
x
,
index
)
=>
{
let
Tcnums
=
''
;
TotalNav
.
forEach
((
x
,
index
)
=>
{
TotalNav
.
LeaderGetPriceT
=
0
;
let
str
=
","
;
if
(
index
==
0
)
{
str
=
''
;
let
str
=
","
;
if
(
index
==
0
)
{
str
=
''
;
}
Tcnums
+=
str
+
x
.
TCIDS
;
Tcnums
+=
str
+
x
.
TCIDS
;
});
this
.
TotalNav
=
TotalNav
;
this
.
dataDocList
=
[];
this
.
TotalNav
.
forEach
(
item
=>
{
this
.
getDataDoc
(
item
.
TCNUMS
,
item
.
OutBranchId
);
this
.
dataDocList
=
[];
this
.
TotalNav
.
forEach
(
item
=>
{
this
.
getDataDoc
(
item
.
TCNUMS
,
item
.
OutBranchId
);
})
this
.
listCost
=
listCost
;
if
(
Tcnums
!=
''
)
{
if
(
Tcnums
!=
''
)
{
this
.
getczTableList
(
Tcnums
);
}
}
else
{
...
...
@@ -2008,29 +2008,29 @@
err
=>
{}
);
},
getDataDoc
(
Tcnums
,
OutBranchId
)
{
let
obj
=
{
pageIndex
:
1
,
pageSize
:
999
,
TCNUM
:
Tcnums
,
FinanceId
:
0
,
AccountId
:
-
1
,
Type
:
3
,
StartTime
:
''
,
EndTime
:
''
,
};
this
.
apipost
(
'Financial_get_GetFinanceReceiptPageList'
,
obj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
;
data
.
forEach
(
item
=>
{
item
.
OutBranchId
=
OutBranchId
;
this
.
dataDocList
.
push
(
item
)
})
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
getDataDoc
(
Tcnums
,
OutBranchId
)
{
let
obj
=
{
pageIndex
:
1
,
pageSize
:
999
,
TCNUM
:
Tcnums
,
FinanceId
:
0
,
AccountId
:
-
1
,
Type
:
3
,
StartTime
:
''
,
EndTime
:
''
,
};
this
.
apipost
(
'Financial_get_GetFinanceReceiptPageList'
,
obj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
;
data
.
forEach
(
item
=>
{
item
.
OutBranchId
=
OutBranchId
;
this
.
dataDocList
.
push
(
item
)
})
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
//获取数据
getList
()
{
...
...
@@ -2228,11 +2228,10 @@
let
list
=
[]
for
(
var
j
=
0
;
j
<
Diningdest
.
length
;
j
++
)
{
var
dj
=
Diningdest
[
j
];
if
(
dj
.
id
==
(
ai
.
NewDiningID
+
ai
.
UseTimeStr
+
ai
.
UseDinnerTypeStr
))
{
if
(
dj
.
id
==
(
ai
.
NewDiningID
+
ai
.
UseTimeStr
+
ai
.
UseDinnerTypeStr
))
{
dj
.
data
.
push
(
ai
);
break
;
}
else
{
}
else
{
list
.
push
(
ai
)
}
}
...
...
@@ -2240,7 +2239,7 @@
Diningdest
.
push
({
UseTimeStr
:
ai
.
UseTimeStr
,
DiningID
:
ai
.
NewDiningID
,
id
:
ai
.
NewDiningID
+
ai
.
UseTimeStr
+
ai
.
UseDinnerTypeStr
,
id
:
ai
.
NewDiningID
+
ai
.
UseTimeStr
+
ai
.
UseDinnerTypeStr
,
data
:
[
ai
]
});
}
...
...
@@ -2399,7 +2398,7 @@
}
})
// 新版,直接使用后端返回的价格
if
(
obj
.
length
===
1
&&
obj
[
0
].
TotalPrice
)
{
if
(
obj
.
length
===
1
&&
obj
[
0
].
TotalPrice
)
{
totalPrice
=
obj
[
0
].
TotalPrice
}
return
this
.
moneyFormat
(
totalPrice
)
...
...
@@ -2420,22 +2419,21 @@
},
err
=>
{})
},
//取消审核
CancelLeaderApply
()
{
var
that
=
this
;
this
.
Confirm
(
"是否要取消审核?"
,
function
()
{
var
msg
=
{
TCIDs
:
that
.
msg
.
TCIDs
};
that
.
apipost
(
"miniProgram_price_CancelLeaderApplyService"
,
msg
,
CancelLeaderApply
()
{
var
that
=
this
;
this
.
Confirm
(
"是否要取消审核?"
,
function
()
{
var
msg
=
{
TCIDs
:
that
.
msg
.
TCIDs
};
that
.
apipost
(
"miniProgram_price_CancelLeaderApplyService"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'取消审核成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'取消审核成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
}
},
...
...
@@ -2458,7 +2456,7 @@
this
.
getzhuijiaList
()
this
.
getCostTypeList
();
this
.
czgetList
();
}
};
...
...
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