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
7316f2b3
Commit
7316f2b3
authored
May 30, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
8d08f4f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
87 additions
and
48 deletions
+87
-48
signedFinanceForAll.vue
src/components/SalesModule/signedFinanceForAll.vue
+87
-48
No files found.
src/components/SalesModule/signedFinanceForAll.vue
View file @
7316f2b3
...
...
@@ -374,29 +374,27 @@
<div
class=
"divActive"
v-show=
"type==2"
></div>
</li>
</div>
<div
class=
"_mc_list _scrollbar"
:class=
"addShow==true?'_edHeight':''"
><table
class=
"leaderPayTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<div
class=
"_mc_list _scrollbar"
:class=
"addShow==true?'_edHeight':''"
><table
v-loading=
"loading"
class=
"leaderPayTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
<th>
单号
</th>
<th>
公司
</th>
<th>
费用类型
</th>
<th>
创建者
</th>
<th>
创建时间
</th>
<th>
审核状态
</th>
<th>
金额
</th>
<th>
状态
</th>
<th>
付款对象
</th>
<th>
操作
</th>
<th>
审核人
</th>
<th>
审核时间
</th>
<th>
审核理由
</th>
<th
v-if=
"type==0"
>
操作
</th>
</tr>
<tr
v-for=
"(item,index) in czList"
:key=
"index"
>
<td>
{{
item
.
FrID
}}
</td>
<td>
{{
item
.
BranchName
}}
</td>
<td>
{{
item
.
TypeName
}}
</td>
<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"
>
<div
style=
"width:250px;overflow:hidden"
>
{{
item
.
RemitterName
}}
</div>
</el-tooltip>
<td>
{{
item
.
createBy
}}
</td>
<td>
{{
item
.
createDate
}}
</td>
<td>
{{
item
.
statusName
}}
</td>
<td>
{{
item
.
totalPrice
}}
</td>
<td>
{{
item
.
examineEmpName
}}
</td>
<td>
{{
item
.
examineTime
}}
</td>
<td>
{{
item
.
examineReason
}}
</td>
<td
v-if=
"type==0"
><el-button
type=
"primary"
size=
"mini"
@
click=
"financeCheck(item)"
>
审核
</el-button>
</td>
<td>
</td>
</tr>
<tr
v-if=
"czList.length==0"
>
<td
colspan=
"13"
>
暂无数据
</td>
...
...
@@ -405,10 +403,16 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
</el-pagination>
<el-dialog
custom-class=
'addCompany'
title=
"结算"
width=
"400px"
:visible
.
sync=
"showCheck"
center
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"凭证"
prop=
"SigningFile"
>
<!--
<el-upload
v-if=
"!saveMsg || !saveMsg.length"
class=
"upload-demo"
<el-dialog
custom-class=
"addCompany page_MyCustomer"
title=
"结算"
width=
"400px"
:visible
.
sync=
"showCheck"
center
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"凭证"
prop=
"SigningFile"
>
<!--
<el-upload
v-if=
"!saveMsg || !saveMsg.length"
class=
"upload-demo"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadFileBtn"
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"primary"
>
凭证
</el-button>
...
...
@@ -422,21 +426,44 @@
@
click=
"DeleteFile(subIndex)"
>
删除
</a>
</
template
>
</template>
-->
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<img
v-if=
"BusinessCardPhotos"
:src=
"BusinessCardPhotos"
class=
"avatar"
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_remark')"
>
<el-input
type=
"textarea"
v-model=
"addMsg.Notes"
class=
"w216"
></el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"checkSubmit"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"showCheck=false"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<img
v-if=
"BusinessCardPhotos"
:src=
"BusinessCardPhotos"
class=
"avatar"
/>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_remark')"
>
<el-input
type=
"textarea"
v-model=
"addMsg.ExamineReason"
class=
"w216"
></el-input>
</el-form-item>
<el-form-item
label=
"审核意见"
>
<el-radio-group
v-model=
"addMsg.Status"
>
<el-radio
:label=
"1"
>
已审批
</el-radio>
<el-radio
:label=
"2"
>
已拒绝
</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"checkSubmit"
>
{{ $t("pub.saveBtn") }}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"showCheck = false"
>
{{ $t("pub.cancelBtn") }}
</button>
</div>
</el-dialog>
</div>
</div>
...
...
@@ -516,20 +543,31 @@
.
map
((
item
)
=>
item
.
FrID
)
.
join
(
","
);
},
checkSubmit
()
{
if
(
!
this
.
BusinessCardPhotos
)
{
this
.
$message
.
error
(
'请上传凭证'
)
return
}
this
.
addMsg
.
Voucher
=
this
.
BusinessCardPhotos
;
this
.
apipost
(
'customer_post_GetSigningFinance'
,
this
.
addMsg
,
res
=>
{
financeCheck
(
item
)
{
this
.
checkObj
=
item
;
this
.
showCheck
=
true
},
checkSubmit
()
{
if
(
!
this
.
BusinessCardPhotos
)
{
this
.
$message
.
error
(
"请上传凭证"
);
return
;
}
this
.
addMsg
.
ExamineVoucher
=
this
.
BusinessCardPhotos
;
this
.
addMsg
.
Id
=
this
.
checkObj
.
customerAccountId
;
this
.
apipost
(
"customer_post_UpdateSigningSettlement"
,
this
.
addMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showCheck
=
false
this
.
showCheck
=
false
;
this
.
$message
.
success
(
res
.
data
.
message
||
"操作成功"
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
||
'发生异常,请重试'
)
this
.
$message
.
error
(
res
.
data
.
message
||
"发生异常,请重试"
);
}
},
err
=>
{})
},
},
(
err
)
=>
{}
);
},
uploadImg
(
file
)
{
//上传
let
newArr
=
[];
...
...
@@ -584,6 +622,7 @@
this
.
getList
()
},
getList
()
{
// 获取列表数据
this
.
loading
=
true
this
.
czList
=
[]
this
.
apipost
(
'customer_post_GetSettlementCustomerPage'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
0
)
{
...
...
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