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
Show 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 @@
...
@@ -139,7 +139,7 @@
border
:
1px
solid
#e95252
;
border
:
1px
solid
#e95252
;
cursor
:
pointer
;
cursor
:
pointer
;
border-radius
:
15px
;
border-radius
:
15px
;
outline
:
none
;
outline
:
none
;
}
}
.cursorpointer
{
.cursorpointer
{
...
@@ -349,9 +349,11 @@
...
@@ -349,9 +349,11 @@
._bank_type2
{
._bank_type2
{
background-color
:
#FF9C01
background-color
:
#FF9C01
}
}
.cdForm
.el-form-item
{
.cdForm
.el-form-item
{
display
:
inline-block
;
display
:
inline-block
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -424,7 +426,7 @@
...
@@ -424,7 +426,7 @@
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 12"
>
网订
</span>
<span
v-else-if=
"subItem.PayStyle === 12"
>
网订
</span>
<span
v-else
></span>
<span
v-else
></span>
<br/>
<br
/>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</td>
</td>
...
@@ -526,7 +528,7 @@
...
@@ -526,7 +528,7 @@
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 11"
>
刷卡
</span>
<span
v-else-if=
"subItem.PayStyle === 11"
>
刷卡
</span>
<span
v-else
></span>
<span
v-else
></span>
<br/>
<br
/>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
</td>
</td>
...
@@ -845,12 +847,14 @@
...
@@ -845,12 +847,14 @@
</p>
</p>
</td>
</td>
<td
width=
"80"
class=
"_zhidan"
>
<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"
<input
v-else-if=
"dataList.LeaderApply && dataList.LeaderApply.Status && dataList.LeaderApply.Status==2"
type=
"button"
value=
"制单"
style=
""
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
type=
"button"
value=
"
地接费结算
制单"
style=
""
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<span
v-else
style=
"color:red"
>
请在APP中提交实际用款详情信息
</span>
<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)"
>
<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>
</td>
</tr>
</tr>
<tr
v-if=
"!TotalNav && !TotalNav.length"
>
<tr
v-if=
"!TotalNav && !TotalNav.length"
>
...
@@ -891,7 +895,8 @@
...
@@ -891,7 +895,8 @@
<td>
{{item.Time}}
</td>
<td>
{{item.Time}}
</td>
<td>
{{item.FinanceId}}
</td>
<td>
{{item.FinanceId}}
</td>
<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>
</td>
</tr>
</tr>
<tr
v-if=
"dataDocList.length==0"
>
<tr
v-if=
"dataDocList.length==0"
>
...
@@ -920,7 +925,7 @@
...
@@ -920,7 +925,7 @@
@
click=
"goFncUrl('FinancialDocumentsDetail', i)"
>
{{i}} {{d == item.FrId.length-1 ? '' : '、'}}
</span></p>
@
click=
"goFncUrl('FinancialDocumentsDetail', i)"
>
{{i}} {{d == item.FrId.length-1 ? '' : '、'}}
</span></p>
</td>
</td>
<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>
</td>
</tr>
</tr>
<tr
v-if=
"!listCost.length"
>
<tr
v-if=
"!listCost.length"
>
...
@@ -1001,9 +1006,7 @@
...
@@ -1001,9 +1006,7 @@
</tr>
</tr>
<tr
v-for=
"(item, index) in TotalNav"
>
<tr
v-for=
"(item, index) in TotalNav"
>
<td
colspan=
"4"
>
{{item.TCNUMS}}
</td>
<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"
>
<td
colspan=
"4"
>
<input
type=
"button"
value=
"制单"
class=
"leader2Btn"
@
click=
"ZhiDanChongDi(item)"
>
<input
type=
"button"
value=
"制单"
class=
"leader2Btn"
@
click=
"ZhiDanChongDi(item)"
>
</td>
</td>
...
@@ -1028,7 +1031,8 @@
...
@@ -1028,7 +1031,8 @@
<td>
{{item.Money}}
</td>
<td>
{{item.Money}}
</td>
<td>
{{item.StatusStr}}
</td>
<td>
{{item.StatusStr}}
</td>
<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>
<div
style=
"width:250px;overflow:hidden"
>
{{item.ClientTypeName}}:{{item.RemitterName}}
</div>
</el-tooltip>
</el-tooltip>
</td>
</td>
...
@@ -1071,7 +1075,8 @@
...
@@ -1071,7 +1075,8 @@
<input
type=
"button"
class=
"leader2Btn"
@
click=
"AuditOrder(1)"
value=
"审核不通过"
<input
type=
"button"
class=
"leader2Btn"
@
click=
"AuditOrder(1)"
value=
"审核不通过"
v-show=
"dataList.LeaderApply.Status==1"
>
v-show=
"dataList.LeaderApply.Status==1"
>
<input
type=
"button"
class=
"leader2Btn"
value=
"打印"
@
click=
"printTable()"
>
<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>
</div>
</div>
<a
:href=
"blankUrl"
id=
"blankLink"
target=
"_blank"
style=
"display:none"
>
1
</a>
<a
:href=
"blankUrl"
id=
"blankLink"
target=
"_blank"
style=
"display:none"
>
1
</a>
...
@@ -1133,11 +1138,7 @@
...
@@ -1133,11 +1138,7 @@
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"czgetList"
>
<input
type=
"button"
value=
"查询"
class=
"leader2Btn"
@
click=
"czgetList"
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"交易日期"
>
<el-form-item
label=
"交易日期"
>
<el-date-picker
<el-date-picker
v-model=
"czdateList"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
v-model=
"czdateList"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
...
@@ -1167,7 +1168,8 @@
...
@@ -1167,7 +1168,8 @@
<td>
{{item.MatchMoney}}
</td>
<td>
{{item.MatchMoney}}
</td>
<td>
{{item.StatusStr}}
</td>
<td>
{{item.StatusStr}}
</td>
<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>
<div
style=
"width:250px;overflow:hidden"
>
{{item.ClientTypeName}}:{{item.RemitterName}}
</div>
</el-tooltip>
</el-tooltip>
</td>
</td>
...
@@ -1176,8 +1178,8 @@
...
@@ -1176,8 +1178,8 @@
<td
colspan=
"12"
>
暂无数据
</td>
<td
colspan=
"12"
>
暂无数据
</td>
</tr>
</tr>
</table>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange2"
<el-pagination
background
@
current-change=
"handleCurrentChange2"
layout=
"total,prev, pager, next, jumper"
layout=
"total,prev, pager, next, jumper"
:page-size=
"czMsg.pageSize"
:total=
'total2'
>
:page-size=
"czMsg.pageSize"
:total=
'total2'
>
</el-pagination>
</el-pagination>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"cdState=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"cdState=false"
>
{{$t('pub.cancelBtn')}}
</button>
...
@@ -1266,18 +1268,18 @@
...
@@ -1266,18 +1268,18 @@
data
()
{
data
()
{
return
{
return
{
czdateList
:[],
czdateList
:
[],
czMsg
:{
czMsg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
8
,
pageSize
:
8
,
FrID
:
''
,
FrID
:
''
,
CostTypeID
:
''
,
CostTypeID
:
''
,
sTradeDate
:
''
,
sTradeDate
:
''
,
eTradeDate
:
''
,
eTradeDate
:
''
,
IsAdvanceFinance
:
1
,
IsAdvanceFinance
:
1
,
},
},
checkList
:[],
checkList
:
[],
cdState
:
false
,
cdState
:
false
,
LineId
:
0
,
LineId
:
0
,
planPriceList
:
[],
planPriceList
:
[],
zhuijiaList
:
[],
zhuijiaList
:
[],
...
@@ -1335,76 +1337,76 @@
...
@@ -1335,76 +1337,76 @@
AllBZPrice
:
0
,
AllBZPrice
:
0
,
ClientAccountListS
:
[],
ClientAccountListS
:
[],
currencyList
:
[],
currencyList
:
[],
Handmsg
:{
Handmsg
:
{
OtherType
:
7
,
OtherType
:
7
,
ReFinanceId
:
0
,
ReFinanceId
:
0
,
Rate
:
0
,
Rate
:
0
,
TCNUM
:
''
,
TCNUM
:
''
,
czState
:
true
,
czState
:
true
,
},
},
costList
:[],
costList
:
[],
czList
:[],
czList
:
[],
total2
:
0
,
total2
:
0
,
czTableList
:[],
czTableList
:
[],
UserId
:
0
,
UserId
:
0
,
OutBranchId
:
''
,
OutBranchId
:
''
,
EditBtn
:
false
,
EditBtn
:
false
,
fkZDmsg
:{
fkZDmsg
:
{
OtherType
:
8
,
OtherType
:
8
,
ReFinanceId
:
0
,
ReFinanceId
:
0
,
Rate
:
0
,
Rate
:
0
,
TCNUM
:
''
,
TCNUM
:
''
,
noEditRate
:
true
noEditRate
:
true
},
},
checkList1
:[],
checkList1
:
[],
cdState1
:
false
,
cdState1
:
false
,
fzMsg
:{
fzMsg
:
{
FinanceId
:
''
,
FinanceId
:
''
,
},
},
fzList
:[],
fzList
:
[],
fzObj
:{},
fzObj
:
{},
dataDocList
:[],
dataDocList
:
[],
fzObj2
:{},
fzObj2
:
{},
fkZDmsg2
:{
fkZDmsg2
:
{
OtherType
:
10
,
OtherType
:
10
,
ReFinanceId
:
0
,
ReFinanceId
:
0
,
Rate
:
0
,
Rate
:
0
,
TCNUM
:
''
,
TCNUM
:
''
,
noEditRate
:
true
,
noEditRate
:
true
,
ReFinanceId2
:
0
,
ReFinanceId2
:
0
,
},
},
checkList2
:[],
checkList2
:
[],
cdState2
:
false
,
cdState2
:
false
,
};
};
},
},
methods
:
{
methods
:
{
goUrlfk2
(){
goUrlfk2
()
{
let
obj
=
this
.
fzObj2
;
let
obj
=
this
.
fzObj2
;
let
that
=
this
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList2
))
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList2
))
if
(
this
.
checkList2
.
length
>
1
)
{
if
(
this
.
checkList2
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
this
.
Error
(
"只能选择一项!"
);
return
;
return
;
}
}
if
(
this
.
checkList2
.
length
==
0
)
{
if
(
this
.
checkList2
.
length
==
0
)
{
this
.
Error
(
"至少选择一项"
);
this
.
Error
(
"至少选择一项"
);
return
;
return
;
}
}
let
arr
=
[];
let
arr
=
[];
that
.
fkZDmsg2
.
ReFinanceId2
=
this
.
checkList2
[
0
].
FinanceId
;
that
.
fkZDmsg2
.
ReFinanceId2
=
this
.
checkList2
[
0
].
FinanceId
;
that
.
fkZDmsg2
.
Rate
=
this
.
checkList2
[
0
].
Rate
;
that
.
fkZDmsg2
.
Rate
=
this
.
checkList2
[
0
].
Rate
;
var
msg
=
{}
var
msg
=
{}
// msg=JSON.stringify(that.fkZDmsg2);
// msg=JSON.stringify(that.fkZDmsg2);
msg
=
{
msg
=
{
OtherType
:
that
.
fkZDmsg2
.
OtherType
,
OtherType
:
that
.
fkZDmsg2
.
OtherType
,
ReFinanceId
:
that
.
fkZDmsg2
.
ReFinanceId
,
ReFinanceId
:
that
.
fkZDmsg2
.
ReFinanceId
,
TCNUM
:
that
.
fkZDmsg2
.
TCNUM
,
TCNUM
:
that
.
fkZDmsg2
.
TCNUM
,
noEditRate
:
that
.
fkZDmsg2
.
noEditRate
,
noEditRate
:
that
.
fkZDmsg2
.
noEditRate
,
ReFinanceId2
:
that
.
fkZDmsg2
.
ReFinanceId2
,
ReFinanceId2
:
that
.
fkZDmsg2
.
ReFinanceId2
,
}
}
let
id
=
[];
let
id
=
[];
if
(
obj
.
LineId
==
this
.
LineId
)
{
if
(
obj
.
LineId
==
this
.
LineId
)
{
...
@@ -1429,41 +1431,41 @@
...
@@ -1429,41 +1431,41 @@
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
dom
.
click
();
},
},
ckeckOne2
(){
ckeckOne2
()
{
if
(
this
.
checkList2
.
length
==
2
)
{
if
(
this
.
checkList2
.
length
==
2
)
{
this
.
checkList2
.
splice
(
0
,
1
);
this
.
checkList2
.
splice
(
0
,
1
);
}
}
if
(
this
.
checkList2
.
length
>
1
)
{
if
(
this
.
checkList2
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
this
.
Error
(
"只能选择一项!"
);
}
}
},
},
gofzZd2
(
item
){
gofzZd2
(
item
)
{
this
.
cdState2
=
true
;
this
.
cdState2
=
true
;
this
.
fkZDmsg2
.
TCNUM
=
item
.
TCID
;
this
.
fkZDmsg2
.
TCNUM
=
item
.
TCID
;
this
.
fkZDmsg2
.
ReFinanceId
=
item
.
Id
;
this
.
fkZDmsg2
.
ReFinanceId
=
item
.
Id
;
this
.
checkList2
=
[];
this
.
checkList2
=
[];
this
.
fzObj2
=
item
;
this
.
fzObj2
=
item
;
},
},
goUrlfk
(){
goUrlfk
()
{
let
obj
=
this
.
fzObj
;
let
obj
=
this
.
fzObj
;
let
that
=
this
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList1
))
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList1
))
if
(
this
.
checkList1
.
length
>
1
)
{
if
(
this
.
checkList1
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
this
.
Error
(
"只能选择一项!"
);
return
;
return
;
}
}
if
(
this
.
checkList1
.
length
==
0
)
{
if
(
this
.
checkList1
.
length
==
0
)
{
this
.
Error
(
"至少选择一项"
);
this
.
Error
(
"至少选择一项"
);
return
;
return
;
}
}
let
arr
=
[];
let
arr
=
[];
that
.
fkZDmsg
.
ReFinanceId
=
this
.
checkList1
[
0
].
FinanceId
;
that
.
fkZDmsg
.
ReFinanceId
=
this
.
checkList1
[
0
].
FinanceId
;
that
.
fkZDmsg
.
Rate
=
this
.
checkList1
[
0
].
Rate
;
that
.
fkZDmsg
.
Rate
=
this
.
checkList1
[
0
].
Rate
;
var
msg
=
JSON
.
stringify
(
that
.
fkZDmsg
);
var
msg
=
JSON
.
stringify
(
that
.
fkZDmsg
);
let
id
=
[];
let
id
=
[];
if
(
obj
.
LineId
==
this
.
LineId
)
{
if
(
obj
.
LineId
==
this
.
LineId
)
{
...
@@ -1488,21 +1490,21 @@
...
@@ -1488,21 +1490,21 @@
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
dom
.
click
();
},
},
ckeckOne1
(){
ckeckOne1
()
{
if
(
this
.
checkList1
.
length
==
2
)
{
if
(
this
.
checkList1
.
length
==
2
)
{
this
.
checkList1
.
splice
(
0
,
1
);
this
.
checkList1
.
splice
(
0
,
1
);
}
}
if
(
this
.
checkList1
.
length
>
1
)
{
if
(
this
.
checkList1
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
this
.
Error
(
"只能选择一项!"
);
}
}
},
},
gofzZd
(
item
){
gofzZd
(
item
)
{
this
.
cdState1
=
true
;
this
.
cdState1
=
true
;
this
.
fkZDmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
fkZDmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
checkList1
=
[];
this
.
checkList1
=
[];
this
.
fzObj
=
item
;
this
.
fzObj
=
item
;
},
},
fzgetList
(){
fzgetList
()
{
this
.
apipost
(
"Financial_get_GetFinanceRate"
,
this
.
fzMsg
,
res
=>
{
this
.
apipost
(
"Financial_get_GetFinanceRate"
,
this
.
fzMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
fzList
=
res
.
data
.
data
;
this
.
fzList
=
res
.
data
.
data
;
...
@@ -1518,16 +1520,16 @@
...
@@ -1518,16 +1520,16 @@
});
});
},
},
getczTableList
(
TCIDs
){
getczTableList
(
TCIDs
)
{
let
msg
=
{
let
msg
=
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
1000
,
pageSize
:
1000
,
TCIDs
:
TCIDs
,
TCIDs
:
TCIDs
,
ReFinanceId
:
''
ReFinanceId
:
''
};
};
this
.
apipost
(
'Financial_get_GetAdvanceMatchFinancePageList'
,
msg
,
res
=>
{
this
.
apipost
(
'Financial_get_GetAdvanceMatchFinancePageList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
czTableList
=
res
.
data
.
data
.
pageData
;
this
.
czTableList
=
res
.
data
.
data
.
pageData
;
}
}
},
err
=>
{})
},
err
=>
{})
},
},
...
@@ -1535,20 +1537,20 @@
...
@@ -1535,20 +1537,20 @@
this
.
czMsg
.
pageIndex
=
val
;
this
.
czMsg
.
pageIndex
=
val
;
this
.
czgetList
();
this
.
czgetList
();
},
},
goUrlZD
(){
goUrlZD
()
{
let
that
=
this
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList
))
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList
))
if
(
this
.
checkList
.
length
>
1
)
{
if
(
this
.
checkList
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
this
.
Error
(
"只能选择一项!"
);
return
;
return
;
}
}
if
(
this
.
checkList
.
length
==
0
)
{
if
(
this
.
checkList
.
length
==
0
)
{
this
.
Error
(
"至少选择一项"
);
this
.
Error
(
"至少选择一项"
);
return
;
return
;
}
}
let
arr
=
[];
let
arr
=
[];
var
TCArr
=
[
this
.
Handmsg
.
TCNUM
];
var
TCArr
=
[
this
.
Handmsg
.
TCNUM
];
let
orderObj
=
{
let
orderObj
=
{
OrderID
:
0
,
OrderID
:
0
,
...
@@ -1556,9 +1558,9 @@
...
@@ -1556,9 +1558,9 @@
Obj
:
{},
Obj
:
{},
TCIDList
:
TCArr
TCIDList
:
TCArr
}
}
that
.
Handmsg
.
ReFinanceId
=
this
.
checkList
[
0
].
FrID
;
that
.
Handmsg
.
ReFinanceId
=
this
.
checkList
[
0
].
FrID
;
// that.Handmsg.Rate=this.checkList[0].Rate;
// that.Handmsg.Rate=this.checkList[0].Rate;
var
msg
=
JSON
.
stringify
(
that
.
Handmsg
);
var
msg
=
JSON
.
stringify
(
that
.
Handmsg
);
let
routeData
=
this
.
$router
.
resolve
({
let
routeData
=
this
.
$router
.
resolve
({
name
:
'ChoiceAddFinancialDocuments'
,
name
:
'ChoiceAddFinancialDocuments'
,
query
:
{
query
:
{
...
@@ -1566,43 +1568,43 @@
...
@@ -1566,43 +1568,43 @@
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'orderObj'
:
JSON
.
stringify
(
orderObj
),
companyID
:
this
.
OutBranchId
,
companyID
:
this
.
OutBranchId
,
Type
:
2
,
Type
:
2
,
searchTitle
:
'分摊'
searchTitle
:
'分摊'
}
}
})
})
window
.
open
(
routeData
.
href
,
'_blank'
)
window
.
open
(
routeData
.
href
,
'_blank'
)
},
},
ckeckOne
(){
ckeckOne
()
{
if
(
this
.
checkList
.
length
==
2
)
{
if
(
this
.
checkList
.
length
==
2
)
{
this
.
checkList
.
splice
(
0
,
1
);
this
.
checkList
.
splice
(
0
,
1
);
}
}
if
(
this
.
checkList
.
length
>
1
)
{
if
(
this
.
checkList
.
length
>
1
)
{
this
.
Error
(
"只能选择一项!"
);
this
.
Error
(
"只能选择一项!"
);
}
}
},
},
ZhiDanChongDi
(
item
){
ZhiDanChongDi
(
item
)
{
this
.
cdState
=
true
;
this
.
cdState
=
true
;
this
.
Handmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
Handmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
OutBranchId
=
item
.
OutBranchId
;
this
.
OutBranchId
=
item
.
OutBranchId
;
this
.
checkList
=
[];
this
.
checkList
=
[];
},
},
czgetList
(){
czgetList
()
{
if
(
this
.
czdateList
&&
this
.
czdateList
.
length
>
0
)
{
if
(
this
.
czdateList
&&
this
.
czdateList
.
length
>
0
)
{
this
.
czMsg
.
sTradeDate
=
this
.
czdateList
[
0
];
this
.
czMsg
.
sTradeDate
=
this
.
czdateList
[
0
];
this
.
czMsg
.
eTradeDate
=
this
.
czdateList
[
1
];
this
.
czMsg
.
eTradeDate
=
this
.
czdateList
[
1
];
}
else
{
}
else
{
this
.
czMsg
.
sTradeDate
=
''
;
this
.
czMsg
.
sTradeDate
=
''
;
this
.
czMsg
.
eTradeDate
=
''
;
this
.
czMsg
.
eTradeDate
=
''
;
}
}
let
msg
=
Object
.
assign
({},
this
.
czMsg
);
let
msg
=
Object
.
assign
({},
this
.
czMsg
);
if
(
msg
.
FrID
==
''
)
{
if
(
msg
.
FrID
==
''
)
{
msg
.
FrID
=
0
;
msg
.
FrID
=
0
;
}
}
this
.
apipost
(
"Financial_get_GetAdvanceFinancePageList"
,
msg
,
res
=>
{
this
.
apipost
(
"Financial_get_GetAdvanceFinancePageList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
czList
=
res
.
data
.
data
.
pageData
;
this
.
czList
=
res
.
data
.
data
.
pageData
;
this
.
total2
=
res
.
data
.
data
.
count
;
this
.
total2
=
res
.
data
.
data
.
count
;
}
}
},
null
)
},
null
)
},
},
...
@@ -1610,7 +1612,7 @@
...
@@ -1610,7 +1612,7 @@
this
.
apipost
(
"Financial_get_GetAdvanceCostTypeList"
,
{},
res
=>
{
this
.
apipost
(
"Financial_get_GetAdvanceCostTypeList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
costList
=
res
.
data
.
data
this
.
costList
=
res
.
data
.
data
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
}
}
},
null
)
},
null
)
...
@@ -1625,9 +1627,7 @@
...
@@ -1625,9 +1627,7 @@
if
(
subItem
.
DiningID
==
DiningID
&&
subItem
.
UseDinnerType
==
UseDinnerType
&&
subItem
.
UseTimeStr
==
if
(
subItem
.
DiningID
==
DiningID
&&
subItem
.
UseDinnerType
==
UseDinnerType
&&
subItem
.
UseTimeStr
==
UseTimeStr
)
{
UseTimeStr
)
{
totalPrice
+=
0
totalPrice
+=
0
}
}
else
{
else
{
totalPrice
+=
subItem
.
TradingTotalPrice
totalPrice
+=
subItem
.
TradingTotalPrice
}
}
DiningID
=
subItem
.
DiningID
;
DiningID
=
subItem
.
DiningID
;
...
@@ -1978,25 +1978,25 @@
...
@@ -1978,25 +1978,25 @@
listCost
.
forEach
(
x
=>
{
listCost
.
forEach
(
x
=>
{
x
.
price
=
0
x
.
price
=
0
})
})
let
Tcnums
=
''
;
let
Tcnums
=
''
;
TotalNav
.
forEach
((
x
,
index
)
=>
{
TotalNav
.
forEach
((
x
,
index
)
=>
{
TotalNav
.
LeaderGetPriceT
=
0
;
TotalNav
.
LeaderGetPriceT
=
0
;
let
str
=
","
;
let
str
=
","
;
if
(
index
==
0
)
{
if
(
index
==
0
)
{
str
=
''
;
str
=
''
;
}
}
Tcnums
+=
str
+
x
.
TCIDS
;
Tcnums
+=
str
+
x
.
TCIDS
;
});
});
this
.
TotalNav
=
TotalNav
;
this
.
TotalNav
=
TotalNav
;
this
.
dataDocList
=
[];
this
.
dataDocList
=
[];
this
.
TotalNav
.
forEach
(
item
=>
{
this
.
TotalNav
.
forEach
(
item
=>
{
this
.
getDataDoc
(
item
.
TCNUMS
,
item
.
OutBranchId
);
this
.
getDataDoc
(
item
.
TCNUMS
,
item
.
OutBranchId
);
})
})
this
.
listCost
=
listCost
;
this
.
listCost
=
listCost
;
if
(
Tcnums
!=
''
)
{
if
(
Tcnums
!=
''
)
{
this
.
getczTableList
(
Tcnums
);
this
.
getczTableList
(
Tcnums
);
}
}
}
else
{
}
else
{
...
@@ -2008,29 +2008,29 @@
...
@@ -2008,29 +2008,29 @@
err
=>
{}
err
=>
{}
);
);
},
},
getDataDoc
(
Tcnums
,
OutBranchId
)
{
getDataDoc
(
Tcnums
,
OutBranchId
)
{
let
obj
=
{
let
obj
=
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
999
,
pageSize
:
999
,
TCNUM
:
Tcnums
,
TCNUM
:
Tcnums
,
FinanceId
:
0
,
FinanceId
:
0
,
AccountId
:
-
1
,
AccountId
:
-
1
,
Type
:
3
,
Type
:
3
,
StartTime
:
''
,
StartTime
:
''
,
EndTime
:
''
,
EndTime
:
''
,
};
};
this
.
apipost
(
'Financial_get_GetFinanceReceiptPageList'
,
obj
,
res
=>
{
this
.
apipost
(
'Financial_get_GetFinanceReceiptPageList'
,
obj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
;
let
data
=
res
.
data
.
data
.
pageData
;
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
item
.
OutBranchId
=
OutBranchId
;
item
.
OutBranchId
=
OutBranchId
;
this
.
dataDocList
.
push
(
item
)
this
.
dataDocList
.
push
(
item
)
})
})
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
err
=>
{})
},
err
=>
{})
},
},
//获取数据
//获取数据
getList
()
{
getList
()
{
...
@@ -2231,8 +2231,7 @@
...
@@ -2231,8 +2231,7 @@
if
(
dj
.
id
==
(
ai
.
NewDiningID
+
ai
.
UseTimeStr
+
ai
.
UseDinnerTypeStr
))
{
if
(
dj
.
id
==
(
ai
.
NewDiningID
+
ai
.
UseTimeStr
+
ai
.
UseDinnerTypeStr
))
{
dj
.
data
.
push
(
ai
);
dj
.
data
.
push
(
ai
);
break
;
break
;
}
}
else
{
else
{
list
.
push
(
ai
)
list
.
push
(
ai
)
}
}
}
}
...
@@ -2399,7 +2398,7 @@
...
@@ -2399,7 +2398,7 @@
}
}
})
})
// 新版,直接使用后端返回的价格
// 新版,直接使用后端返回的价格
if
(
obj
.
length
===
1
&&
obj
[
0
].
TotalPrice
)
{
if
(
obj
.
length
===
1
&&
obj
[
0
].
TotalPrice
)
{
totalPrice
=
obj
[
0
].
TotalPrice
totalPrice
=
obj
[
0
].
TotalPrice
}
}
return
this
.
moneyFormat
(
totalPrice
)
return
this
.
moneyFormat
(
totalPrice
)
...
@@ -2420,22 +2419,21 @@
...
@@ -2420,22 +2419,21 @@
},
err
=>
{})
},
err
=>
{})
},
},
//取消审核
//取消审核
CancelLeaderApply
()
CancelLeaderApply
()
{
{
var
that
=
this
;
var
that
=
this
;
this
.
Confirm
(
"是否要取消审核?"
,
function
()
{
this
.
Confirm
(
"是否要取消审核?"
,
function
()
{
var
msg
=
{
var
msg
=
{
TCIDs
:
that
.
msg
.
TCIDs
TCIDs
:
that
.
msg
.
TCIDs
};
};
that
.
apipost
(
"miniProgram_price_CancelLeaderApplyService"
,
msg
,
that
.
apipost
(
"miniProgram_price_CancelLeaderApplyService"
,
msg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'取消审核成功!'
);
that
.
Success
(
'取消审核成功!'
);
that
.
getList
();
that
.
getList
();
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
data
);
that
.
Error
(
res
.
data
.
data
);
}
}
},
null
);
},
null
);
});
});
}
}
},
},
...
...
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