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
1 year ago
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 @@
...
@@ -374,29 +374,27 @@
<div
class=
"divActive"
v-show=
"type==2"
></div>
<div
class=
"divActive"
v-show=
"type==2"
></div>
</li>
</li>
</div>
</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>
<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>
审核理由
</th>
<th
v-if=
"type==0"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item,index) in czList"
:key=
"index"
>
<tr
v-for=
"(item,index) in czList"
:key=
"index"
>
<td>
{{
item
.
FrID
}}
</td>
<td>
{{
item
.
createBy
}}
</td>
<td>
{{
item
.
BranchName
}}
</td>
<td>
{{
item
.
createDate
}}
</td>
<td>
{{
item
.
TypeName
}}
</td>
<td>
{{
item
.
statusName
}}
</td>
<td>
{{
item
.
Money
}}
</td>
<td>
{{
item
.
totalPrice
}}
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
{{
item
.
examineEmpName
}}
</td>
<td>
<td>
{{
item
.
examineTime
}}
</td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.ClientTypeName+':'+item.RemitterName+'('+item.AccountNumber+')'"
placement=
"top-start"
>
<td>
{{
item
.
examineReason
}}
</td>
<div
style=
"width:250px;overflow:hidden"
>
{{
item
.
RemitterName
}}
</div>
<td
v-if=
"type==0"
><el-button
type=
"primary"
size=
"mini"
@
click=
"financeCheck(item)"
>
审核
</el-button>
</el-tooltip>
</td>
</td>
<td>
</td>
</tr>
</tr>
<tr
v-if=
"czList.length==0"
>
<tr
v-if=
"czList.length==0"
>
<td
colspan=
"13"
>
暂无数据
</td>
<td
colspan=
"13"
>
暂无数据
</td>
...
@@ -405,10 +403,16 @@
...
@@ -405,10 +403,16 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
</el-pagination>
</el-pagination>
<el-dialog
custom-class=
'addCompany'
title=
"结算"
width=
"400px"
:visible
.
sync=
"showCheck"
center
>
<el-dialog
<el-form
label-width=
"100px"
>
custom-class=
"addCompany page_MyCustomer"
<el-form-item
label=
"凭证"
prop=
"SigningFile"
>
title=
"结算"
<!--
<el-upload
v-if=
"!saveMsg || !saveMsg.length"
class=
"upload-demo"
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"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadFileBtn"
:show-file-list=
"false"
action=
""
>
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"primary"
>
凭证
</el-button>
<el-button
size=
"small"
type=
"primary"
>
凭证
</el-button>
...
@@ -422,21 +426,44 @@
...
@@ -422,21 +426,44 @@
@
click=
"DeleteFile(subIndex)"
>
删除
</a>
@
click=
"DeleteFile(subIndex)"
>
删除
</a>
</
template
>
</
template
>
</template>
-->
</template>
-->
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg"
<el-upload
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
class=
"avatar-uploader"
<img
v-if=
"BusinessCardPhotos"
:src=
"BusinessCardPhotos"
class=
"avatar"
>
action=
""
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
:http-request=
"uploadImg"
</el-upload>
accept=
"image/jpeg,image/gif,image/png,image/bmp"
</el-form-item>
:show-file-list=
"false"
<el-form-item
:label=
"$t('hotel.hotel_remark')"
>
>
<el-input
type=
"textarea"
v-model=
"addMsg.Notes"
class=
"w216"
></el-input>
<img
</el-form-item>
v-if=
"BusinessCardPhotos"
</el-form>
:src=
"BusinessCardPhotos"
<div
slot=
"footer"
class=
"dialog-footer"
>
class=
"avatar"
<button
class=
"normalBtn"
type=
"primary"
@
click=
"checkSubmit"
>
{{$t('pub.saveBtn')}}
</button>
/>
<button
class=
"hollowFixedBtn"
@
click=
"showCheck=false"
>
{{$t('pub.cancelBtn')}}
</button>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</div>
</el-upload>
</el-dialog>
</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>
</div>
</div>
...
@@ -516,20 +543,31 @@
...
@@ -516,20 +543,31 @@
.
map
((
item
)
=>
item
.
FrID
)
.
map
((
item
)
=>
item
.
FrID
)
.
join
(
","
);
.
join
(
","
);
},
},
checkSubmit
()
{
financeCheck
(
item
)
{
if
(
!
this
.
BusinessCardPhotos
)
{
this
.
checkObj
=
item
;
this
.
$message
.
error
(
'请上传凭证'
)
this
.
showCheck
=
true
return
},
}
checkSubmit
()
{
this
.
addMsg
.
Voucher
=
this
.
BusinessCardPhotos
;
if
(
!
this
.
BusinessCardPhotos
)
{
this
.
apipost
(
'customer_post_GetSigningFinance'
,
this
.
addMsg
,
res
=>
{
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
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showCheck
=
false
this
.
showCheck
=
false
;
this
.
$message
.
success
(
res
.
data
.
message
||
"操作成功"
);
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
||
'发生异常,请重试'
)
this
.
$message
.
error
(
res
.
data
.
message
||
"发生异常,请重试"
);
}
}
},
err
=>
{})
},
},
(
err
)
=>
{}
);
},
uploadImg
(
file
)
{
uploadImg
(
file
)
{
//上传
//上传
let
newArr
=
[];
let
newArr
=
[];
...
@@ -584,6 +622,7 @@
...
@@ -584,6 +622,7 @@
this
.
getList
()
this
.
getList
()
},
},
getList
()
{
// 获取列表数据
getList
()
{
// 获取列表数据
this
.
loading
=
true
this
.
czList
=
[]
this
.
czList
=
[]
this
.
apipost
(
'customer_post_GetSettlementCustomerPage'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'customer_post_GetSettlementCustomerPage'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
0
)
{
if
(
res
.
data
.
resultCode
==
0
)
{
...
...
This diff is collapsed.
Click to expand it.
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