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
ab16030e
Commit
ab16030e
authored
Mar 26, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
guojihua
parent
9d6500b2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
166 additions
and
128 deletions
+166
-128
zh.js
src/assets/common/lang/zh.js
+31
-1
CapitalAllocation.vue
src/components/FinancialModule/CapitalAllocation.vue
+23
-21
CapitalAllocationDetail.vue
src/components/FinancialModule/CapitalAllocationDetail.vue
+66
-66
addCapitalAllocation.vue
src/components/FinancialModule/addCapitalAllocation.vue
+43
-40
busStatistics.vue
src/components/busManagement/busStatistics.vue
+3
-0
No files found.
src/assets/common/lang/zh.js
View file @
ab16030e
...
...
@@ -1088,6 +1088,35 @@ export const fnc = {
yjyriqi
:
'原交易日期'
,
cwbaobiao
:
'财务报表'
,
shuoming
:
'说明'
,
djbianhao
:
'单据编号'
,
cjshijian
:
'创建时间'
,
xiangqing
:
'详情'
,
zjdbbiao
:
'资金调拨报表'
,
zongbu
:
'总部'
,
fgongsi
:
'分公司'
,
zjdbodan
:
'资金调拨单'
,
skduixiang
:
'收款对象'
,
skfangshi
:
'收款方式'
,
dkzhanghu
:
'到款账户'
,
bwyue
:
'本位金额'
,
dbriqi
:
'调拨日期'
,
qingkong
:
'清空'
,
bnshanchu
:
'不能删除了!'
,
zhibiao
:
'制表'
,
bwbjine
:
'本位币金额'
,
shliucheng
:
'审核流程'
,
shouqi
:
'收起'
,
zhankai
:
'展开'
,
faqi
:
'发起'
,
daishen
:
'待审'
,
bohui
:
'驳回'
,
you
:
'由'
,
gei
:
'给'
,
zjbeizhu
:
'转交备注'
,
jieshu
:
'结束'
,
ljhaoshi
:
'累计耗时'
,
xsfujian
:
'显示附件'
,
ycfujian
:
'隐藏附件'
,
}
export
const
tips
=
{
tips
:
'提示'
,
...
...
@@ -1256,7 +1285,8 @@ export const rule = {
qtxzjbeizhu
:
'请填写转交备注'
,
qxztzhdjyriqi
:
'请选择调整后的交易日期'
,
qtxshuoming
:
'请填写说明'
,
qxzygxytjddanju
:
'请选择一个需要提交的单据!'
qxzygxytjddanju
:
'请选择一个需要提交的单据!'
,
qxzbmen
:
'请选择部门'
,
}
export
const
adm
=
{
...
...
src/components/FinancialModule/CapitalAllocation.vue
View file @
ab16030e
...
...
@@ -60,13 +60,13 @@
<el-form
label-width=
"100px"
class=
"form"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单据编号
"
>
<el-form-item
:label=
"$t('fnc.djbianhao')
"
>
<el-input
v-model=
"msg.FrID"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"公司
"
>
<el-select
v-model=
"msg.RB_Branch_Id"
placeholder=
"请选择公司
"
@
change=
"getDepartmentMsg.RB_Branch_Id = msg.RB_Branch_Id, getDepartment(),msg.RB_Depart_Id = -2"
>
<el-form-item
:label=
"$t('system.table_company')
"
>
<el-select
v-model=
"msg.RB_Branch_Id"
:placeholder=
"$t('rule.company')
"
@
change=
"getDepartmentMsg.RB_Branch_Id = msg.RB_Branch_Id, getDepartment(),msg.RB_Depart_Id = -2"
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.BName'
...
...
@@ -77,8 +77,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"部门
"
>
<el-select
v-model=
"msg.RB_Depart_Id"
placeholder=
"请选择部门
"
@
change=
"employeeMsg.DepartmentId = msg.RB_Depart_Id, getEmployee(), msg.UpdateBy='-1'"
>
<el-form-item
:label=
"$t('admin.admin_Department')
"
>
<el-select
v-model=
"msg.RB_Depart_Id"
:placeholder=
"$t('rule.qxzbmen')
"
@
change=
"employeeMsg.DepartmentId = msg.RB_Depart_Id, getEmployee(), msg.UpdateBy='-1'"
>
<el-option
:value=
"-2"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in DepartmentList'
:label=
'item.DepartmentName'
...
...
@@ -89,7 +89,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"制单人
"
>
<el-form-item
:label=
"$t('fnc.zhidanren')
"
>
<el-select
filterable
v-model=
'msg.UpdateBy'
>
<el-option
value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in EmployeeList'
...
...
@@ -101,13 +101,13 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"制单日期
"
>
<el-form-item
:label=
"$t('fnc.zdriqi')
"
>
<el-date-picker
@
change=
"timeAdd(1)"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至
"
>
:range-separator=
"$t('restaurant.res_To')
"
>
</el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -126,13 +126,13 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"交易日期
"
>
<el-form-item
:label=
"$t('fnc.jiaoyiriqi')
"
>
<el-date-picker
@
change=
"timeAdd(2)"
v-model=
"productionDate2"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至
"
>
:range-separator=
"$t('restaurant.res_To')
"
>
</el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -141,13 +141,13 @@
<div
class=
"page_CapitalAllocation_list"
>
<table
class=
"singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
单号
</th>
<th>
金额
</th>
<th>
{{
$t
(
'fnc.danhao'
)
}}
</th>
<th>
{{
$t
(
'fnc.jine'
)
}}
</th>
<!--
<th>
实付
</th>
-->
<!--
<th>
原币金额
</th>
-->
<!--
<th>
交易日期
</th>
-->
<th>
创建时间
</th>
<th>
创建人
</th>
<th>
{{
$t
(
'fnc.cjshijian'
)
}}
</th>
<th>
{{
$t
(
'active.cl_addPp'
)
}}
</th>
<!--
<th>
备注
</th>
-->
<th>
{{
$t
(
'admin.admin_status'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
...
...
@@ -173,7 +173,7 @@
trigger=
"click"
>
<div
class=
"InfoChangeLog"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
流程日志
</p>
<p
class=
"_log_t"
>
{{
$t
(
'fnc.lcrizhi'
)
}}
</p>
<ul
class=
"changLogList"
v-if=
"GetFinancLogList"
v-loading=
'LogLoading'
>
<li
class=
"changLogList_l"
v-for=
"(log,li) in GetFinancLogList"
>
<span
style=
"background-color: #47BF8C"
class=
"_radius_green"
></span>
...
...
@@ -182,7 +182,7 @@
</li>
</ul>
<ul
v-else
>
<li>
暂无修改日志
</li>
<li>
{{
$t
(
'hotel.hotel_zanwu'
)
}}
</li>
</ul>
</div>
</div>
...
...
@@ -190,16 +190,16 @@
</el-popover>
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top"
v-if=
"item.Status===1 && item.CreateBy===EmId && item.InOrNotProcess===-1"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top"
v-if=
"item.Status===1 && item.CreateBy===EmId && item.InOrNotProcess===-1"
>
<i
class=
"edit el-icon-edit"
@
click=
"goURL('addCapitalAllocation', 1, item.FrID)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.xiangqing')
"
placement=
"top"
>
<i
class=
"iconfont icon-sousuo"
@
click=
"goDetail('CapitalAllocationDetail', item.FrID)"
></i>
</el-tooltip>
</td>
</tr>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
'active.ld_noData'
)
}}
</p></div>
<div>
<el-pagination
background
...
...
@@ -259,7 +259,9 @@ export default {
GetFinancLogList
:
[],
loading
:
true
,
LogLoading
:
true
,
EmId
:
0
EmId
:
0
,
total
:
0
,
currentPage
:
0
,
}
},
created
(){
...
...
@@ -304,7 +306,7 @@ export default {
if
(
!
this
.
msg
.
Status
)
this
.
msg
.
Status
=
0
;
if
(
!
this
.
msg
.
FrID
)
this
.
msg
.
FrID
=
0
;
this
.
msg
.
EmployeeId
=
this
.
EmId
;
this
.
GetLocalFile
(
"Financial_get_OutToFundTransfer"
,
this
.
msg
,
"资金调拨报表.xls"
);}
,
this
.
GetLocalFile
(
"Financial_get_OutToFundTransfer"
,
this
.
msg
,
this
.
$t
(
'fnc.zjdbbiao'
)
+
".xls"
);}
,
getCompanyList
:
function
()
{
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
...
...
src/components/FinancialModule/CapitalAllocationDetail.vue
View file @
ab16030e
...
...
@@ -276,7 +276,7 @@
</
style
>
<
template
>
<div
class=
"CapitalDetail"
>
<span
class=
"Ca_Span"
>
资金调拨单
</span>
<span
class=
"Ca_Span"
>
{{
$t
(
'fnc.zjdbodan'
)
}}
</span>
<div
class=
"clearfix"
>
<div
class=
"Co_oderleft"
>
<div
class=
"Ca_leftOrder"
>
...
...
@@ -285,26 +285,26 @@
<div
class=
"Ca_line"
></div>
<div
class=
"clearfix collection_Order"
>
<div
class=
"Co_oderleft"
>
<span>
编号
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
FrID
}}
</span>
<span>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
FrID
}}
</span>
</div>
<div
class=
"Co_oderRight"
>
<span>
制表
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
CreateDate
}}
</span>
<span>
{{
$t
(
'fnc.zhibiao'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
CreateDate
}}
</span>
</div>
</div>
<div
v-for=
"item in dataList.SBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comColor"
>
调拨日期
:
</span><span
class=
"Ca_comSize"
>
{{
item
.
AllotDate
}}
</span>
<span
class=
"Ca_comColor"
>
{{
$t
(
'fnc.dbriqi'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
item
.
AllotDate
}}
</span>
</div>
</div>
<table
class=
"collection_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
收款方式
</th>
<th
width=
"300"
>
账户
</th>
<th
width=
"110"
>
金额
</th>
<th
width=
"90"
>
币种
</th>
<th
width=
"85"
>
汇率
</th>
<th>
本位币金额
</th>
<th
width=
"100"
>
{{
$t
(
'fnc.skfangshi'
)
}}
</th>
<th
width=
"300"
>
{{
$t
(
'fnc.acc'
)
}}
</th>
<th
width=
"110"
>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th
width=
"90"
>
{{
$t
(
'hotel.hotel_Currency'
)
}}
</th>
<th
width=
"85"
>
{{
$t
(
'hotel.hotel_CurrentRate'
)
}}
</th>
<th>
{{
$t
(
'fnc.bwbjine'
)
}}
</th>
</tr>
<tr>
<td>
{{
item
.
TypeName
}}
</td>
...
...
@@ -318,7 +318,7 @@
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
>
<span
class=
"Ca_remarkSpan"
>
备注
:
</span>
<span
class=
"Ca_remarkSpan"
>
{{
$t
(
'hotel.hotel_remark'
)
}}
:
</span>
<div
class=
"Ca_description"
>
{{
item
.
Description
}}
</div>
<!--
<input
type=
"button"
class=
"hollowFixedBtn Co_oderRight"
style=
"margin-top:25px;"
value=
"上传凭证"
/>
-->
<input
type=
"button"
class=
"hollowFixedBtn Co_oderRight"
style=
"margin-top:25px;"
@
click=
"showFileList(item)"
:value=
"item.comText"
/>
...
...
@@ -350,17 +350,17 @@
<div
v-for=
"item in dataList.FBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comBlueColor"
>
调拨日期
:
</span><span
class=
"Ca_comSize"
>
{{item.AllotDate}}
</span>
<span
class=
"Ca_comBlueColor"
>
{{$t('fnc.dbriqi')}}
:
</span><span
class=
"Ca_comSize"
>
{{item.AllotDate}}
</span>
</div>
</div>
<table
class=
"pay_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
付款方式
</th>
<th
width=
"300"
>
账户
</th>
<th
width=
"110"
>
金额
</th>
<th
width=
"90"
>
币种
</th>
<th
width=
"85"
>
汇率
</th>
<th>
本位币金额
</th>
<th
width=
"100"
>
{{$t('fnc.fkfangshi')}}
</th>
<th
width=
"300"
>
{{$t('fnc.acc')}}
</th>
<th
width=
"110"
>
{{$t('fnc.jine')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_Currency')}}
</th>
<th
width=
"85"
>
{{$t('hotel.hotel_CurrentRate')}}
</th>
<th>
{{$t('fnc.bwbjine')}}
</th>
</tr>
<tr>
<td>
{{item.TypeName}}
</td>
...
...
@@ -374,7 +374,7 @@
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
style=
"width:100%;padding:0 20px;"
>
<span
class=
"Ca_remarkSpan"
>
备注
:
</span>
<span
class=
"Ca_remarkSpan"
>
{{$t('hotel.hotel_remark')}}
:
</span>
<div
class=
"Ca_description"
>
{{item.Description}}
</div>
<!-- <input type="button" class="hollowFixedBtn Co_oderRight Ca_payBtn" style="margin-top:25px;" @click="upSbankfile(item)" value="上传凭证"/> -->
<input
type=
"button"
class=
"hollowFixedBtn Co_oderRight Ca_payBtn"
style=
"margin-top:25px;"
@
click=
"showFuFileList(item)"
:value=
"item.comText"
/>
...
...
@@ -430,9 +430,9 @@
</viewer>
<div
class=
"_tit _tit2 w830px"
>
<p>
<span
class=
"_text"
>
审核流程
</span>
<span
class=
"_btn"
v-if=
"tableShow"
@
click=
"tableShow=false"
>
收起
<i
class=
"iconfont icon-gengduo _rotate"
></i>
</span>
<span
class=
"_btn"
v-else
@
click=
"tableShow=true"
>
展开
<i
class=
"iconfont icon-gengduo"
></i>
</span>
<span
class=
"_text"
>
{{$t('fnc.shliucheng')}}
</span>
<span
class=
"_btn"
v-if=
"tableShow"
@
click=
"tableShow=false"
>
{{$t('fnc.shouqi')}}
<i
class=
"iconfont icon-gengduo _rotate"
></i>
</span>
<span
class=
"_btn"
v-else
@
click=
"tableShow=true"
>
{{$t('fnc.zhankai')}}
<i
class=
"iconfont icon-gengduo"
></i>
</span>
</p>
<div
v-show=
"tableShow"
>
<div
class=
"w600px"
>
...
...
@@ -458,29 +458,29 @@
<div
class=
"_process_box"
>
<
template
v-for=
"(item,index) in GetDetail.AuditSteps"
>
<div
class=
"_pb_son"
:class=
"
{_none_after:(item.NextStep==1||item.Status==4),_bohui_after:(GetDetail.Status==3
&&
!IsBoHui
&&
index===GetDetail.AuditSteps.length-1)}" v-if="item.Sort==0 || (item.Status==1
&&
item.NextStep==1) || (item.Status==2
&&
item.Sort!=0) || (item.Status==4)">
<div
class=
"_left_radius"
v-if=
"item.Sort==0"
>
发起
</div>
<div
class=
"_left_radius _left_radius_sus"
v-if=
"item.NextStep==1"
>
待审
</div>
<div
class=
"_left_radius"
v-if=
"item.Sort!=0 && item.Status==2"
>
通过
</div>
<div
class=
"_left_radius _left_radius_err"
v-else-if=
"item.Status==4"
>
驳回
</div>
<div
class=
"_left_radius"
v-if=
"item.Sort==0"
>
{{
$t
(
'fnc.faqi'
)
}}
</div>
<div
class=
"_left_radius _left_radius_sus"
v-if=
"item.NextStep==1"
>
{{
$t
(
'fnc.daishen'
)
}}
</div>
<div
class=
"_left_radius"
v-if=
"item.Sort!=0 && item.Status==2"
>
{{
$t
(
'visa.v_tongguo'
)
}}
</div>
<div
class=
"_left_radius _left_radius_err"
v-else-if=
"item.Status==4"
>
{{
$t
(
'fnc.bohui'
)
}}
</div>
<div
class=
"_right_content"
v-if=
"item.AuditWay==2 || item.AuditWay==3"
>
<p
class=
"_name"
>
<span
class=
"_n"
>
{{
item
.
AuditDescription
}}
<span
class=
"_sm"
>
(
{{
item
.
AuditWay
==
2
?
'会签'
:
'或签'
}}
)
</span></span>
<span
class=
"_n"
>
{{
item
.
AuditDescription
}}
<span
class=
"_sm"
>
(
{{
item
.
AuditWay
==
2
?
$t
(
'fnc.huiqian'
)
:
$t
(
'fnc.huoqian'
)
}}
)
</span></span>
</p>
<div
class=
"_more _mgt_15"
v-for=
"(son,sindex) in item.AuditRecordList"
v-if=
"son.AuditStatus==2"
>
<div
class=
"_right_content"
>
<p
class=
"_name"
>
<span
class=
"_n PingFangSC"
>
{{
son
.
AuditName
}}
</span>
<span
class=
"_sn"
v-if=
"son.AuditStatus==2"
>
通过
</span>
<span
class=
"_sn"
v-if=
"son.AuditStatus==2"
>
{{
$t
(
'visa.v_tongguo'
)
}}
</span>
<span
class=
"_time _time_n"
>
{{
son
.
AduitDate
}}
</span>
</p>
<template
v-if=
"son.CareOfRemarks"
>
<div
class=
"_zhuan_msg"
v-for=
"(z,zIndex) in JSON.parse(son.CareOfRemarks)"
>
<p><span>
由
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
转交
</i>
给
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
转交备注:
{{
z
.
Remarks
?
z
.
Remarks
:
'无'
}}
</p>
<p><span>
{{
$t
(
'fnc.you'
)
}}
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
{{
$t
(
'fnc.zhuanjiao'
)
}}
</i>
{{
$t
(
'fnc.gei'
)
}}
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
{{
$t
(
'fnc.zjbeizhu'
)
}}
:
{{
z
.
Remarks
?
z
.
Remarks
:
$t
(
'fnc.no'
)
}}
</p>
</div>
</
template
>
<div
class=
"_pp_info"
v-if=
"son.AuditStatus!=1"
>
<p>
{{son.Remark!=''?son.Remark
:'无'
}}
</p>
<p>
{{son.Remark!=''?son.Remark
: $t('fnc.no')
}}
</p>
<div
class=
"_info_img"
v-if=
"son.Image!=null&&son.AuditStatus==2"
>
<ul
class=
"clearfix"
v-if=
"son.Image.length&&son.Image.length>=1"
>
<li
v-for=
"(img,imgI) in son.Image"
>
...
...
@@ -499,19 +499,19 @@
<div
class=
"_right_content"
v-if=
"item.AuditWay==2&&son.AuditStatus!=2"
>
<p
class=
"_name"
>
<span
class=
"_n PingFangSC"
>
{{son.AuditName}}
</span>
<span
class=
"_sn"
v-if=
"son.AuditStatus==2"
>
通过
</span>
<span
class=
"_m"
v-else-if=
"son.AuditStatus==4"
>
驳回
</span>
<span
class=
"_sm"
v-else-if=
"son.AuditStatus==1"
>
待审
</span>
<span
class=
"_sn"
v-if=
"son.AuditStatus==2"
>
{{$t('visa.v_tongguo')}}
</span>
<span
class=
"_m"
v-else-if=
"son.AuditStatus==4"
>
{{$t('fnc.bohui')}}
</span>
<span
class=
"_sm"
v-else-if=
"son.AuditStatus==1"
>
{{$t('fnc.daishen')}}
</span>
<span
class=
"_time _time_n"
v-if=
"item.Status!=1"
>
{{son.AduitDate}}
</span>
</p>
<
template
v-if=
"son.CareOfRemarks"
>
<div
class=
"_zhuan_msg"
v-for=
"(z,zIndex) in JSON.parse(son.CareOfRemarks)"
>
<p><span>
由
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
转交
</i>
给
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
转交备注:
{{
z
.
Remarks
?
z
.
Remarks
:
'无'
}}
</p>
<p><span>
{{
$t
(
'fnc.you'
)
}}
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
{{
$t
(
'fnc.zhuanjiao'
)
}}
</i>
{{
$t
(
'fnc.gei'
)
}}
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
{{
$t
(
'fnc.zjbeizhu'
)
}}
:
{{
z
.
Remarks
?
z
.
Remarks
:
$t
(
'fnc.no'
)
}}
</p>
</div>
</
template
>
<div
class=
"_pp_info"
v-if=
"item.Status!=1"
>
<p>
{{son.Remark!=''?son.Remark:
'无'
}}
</p>
<p>
{{son.Remark!=''?son.Remark:
$t('fnc.no')
}}
</p>
<div
class=
"_info_img"
v-if=
"son.Image!=null&&item.Status!=1"
>
<ul
class=
"clearfix"
v-if=
"son.Image.length&&son.Image.length>=1"
>
<li
v-for=
"(img,imgI) in son.Image"
>
...
...
@@ -528,19 +528,19 @@
<div
class=
"_right_content"
v-else-if=
"item.AuditWay==3 && son.AuditStatus==1"
>
<p
class=
"_name"
>
<span
class=
"_n PingFangSC"
>
{{son.AuditName}}
</span>
<span
class=
"_sm"
v-if=
"item.Status==2 && item.Sort!=0"
>
通过
</span>
<span
class=
"_m"
v-else-if=
"item.Status==4"
>
驳回
</span>
<span
class=
"_sm _left_radius_sus"
v-else-if=
"son.AuditStatus==1"
>
待审
</span>
<span
class=
"_sm"
v-if=
"item.Status==2 && item.Sort!=0"
>
{{$t('visa.v_tongguo')}}
</span>
<span
class=
"_m"
v-else-if=
"item.Status==4"
>
{{$t('fnc.bohui')}}
</span>
<span
class=
"_sm _left_radius_sus"
v-else-if=
"son.AuditStatus==1"
>
{{$t('fnc.daishen')}}
</span>
<span
class=
"_time _time_n"
v-if=
"item.Status!=1"
>
{{son.AduitDate}}
</span>
</p>
<
template
v-if=
"son.CareOfRemarks"
>
<div
class=
"_zhuan_msg"
v-for=
"(z,zIndex) in JSON.parse(son.CareOfRemarks)"
>
<p><span>
由
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
转交
</i>
给
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
转交备注:
{{
z
.
Remarks
?
z
.
Remarks
:
'无'
}}
</p>
<p><span>
{{
$t
(
'fnc.you'
)
}}
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
{{
$t
(
'fnc.zhuanjiao'
)
}}
</i>
{{
$t
(
'fnc.gei'
)
}}
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
{{
$t
(
'fnc.zjbeizhu'
)
}}
:
{{
z
.
Remarks
?
z
.
Remarks
:
$t
(
'fnc.no'
)
}}
</p>
</div>
</
template
>
<div
class=
"_pp_info"
v-if=
"item.Status!=1"
>
<p>
{{son.Remark!=''?son.Remark:
'无'
}}
</p>
<p>
{{son.Remark!=''?son.Remark:
$t('fnc.no')
}}
</p>
<div
class=
"_info_img"
v-if=
"son.Image!=null&&item.Status!=1"
>
<ul
class=
"clearfix"
v-if=
"son.Image.length&&son.Image.length>=1"
>
<li
v-for=
"(img,imgI) in son.Image"
>
...
...
@@ -557,19 +557,19 @@
<div
class=
"_right_content"
v-else-if=
"item.AuditWay==3 && son.AuditStatus==4"
>
<p
class=
"_name"
>
<span
class=
"_n PingFangSC"
>
{{son.AuditName}}
</span>
<span
class=
"_sm"
v-if=
"item.Status==2 && item.Sort!=0"
>
通过
</span>
<span
class=
"_m"
v-else-if=
"item.Status==4"
>
驳回
</span>
<span
class=
"_sm _left_radius_sus"
v-else-if=
"son.AuditStatus==1"
>
待审
</span>
<span
class=
"_sm"
v-if=
"item.Status==2 && item.Sort!=0"
>
{{$t('visa.v_tongguo')}}
</span>
<span
class=
"_m"
v-else-if=
"item.Status==4"
>
{{$t('fnc.bohui')}}
</span>
<span
class=
"_sm _left_radius_sus"
v-else-if=
"son.AuditStatus==1"
>
{{$t('fnc.daishen')}}
</span>
<span
class=
"_time _time_n"
v-if=
"item.Status!=1"
>
{{son.AduitDate}}
</span>
</p>
<
template
v-if=
"son.CareOfRemarks"
>
<div
class=
"_zhuan_msg"
v-for=
"(z,zIndex) in JSON.parse(son.CareOfRemarks)"
>
<p><span>
由
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
转交
</i>
给
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
转交备注:
{{
z
.
Remarks
?
z
.
Remarks
:
'无'
}}
</p>
<p><span>
{{
$t
(
'fnc.you'
)
}}
</span>
{{
z
.
BeFrom
}}
<span><i
class=
"_color_green"
>
{{
$t
(
'fnc.zhuanjiao'
)
}}
</i>
{{
$t
(
'fnc.gei'
)
}}
</span>
{{
z
.
Target
}}
</p>
<p
class=
"_pp_info"
>
{{
$t
(
'fnc.zjbeizhu'
)
}}
:
{{
z
.
Remarks
?
z
.
Remarks
:
$t
(
'fnc.no'
)
}}
</p>
</div>
</
template
>
<div
class=
"_pp_info"
v-if=
"item.Status!=1"
>
<p>
{{son.Remark!=''?son.Remark:
'无'
}}
</p>
<p>
{{son.Remark!=''?son.Remark:
$t('fnc.no')
}}
</p>
<div
class=
"_info_img"
v-if=
"son.Image!=null&&item.Status!=1"
>
<ul
class=
"clearfix"
v-if=
"son.Image.length&&son.Image.length>=1"
>
<li
v-for=
"(img,imgI) in son.Image"
>
...
...
@@ -593,7 +593,7 @@
</p>
<div
class=
"_right_content"
>
<div
class=
"_pp_info"
v-if=
"item.NextStep!=1"
>
<p>
{{son.Remark==''?
'无'
:son.Remark}}
</p>
<p>
{{son.Remark==''?
$t('fnc.no')
:son.Remark}}
</p>
<div
class=
"_info_img"
v-if=
"son.Image!=null"
>
<ul
class=
"clearfix"
v-if=
"son.Image.length&&son.Image.length>=1"
>
<li
v-for=
"(img,imgI) in son.Image"
>
...
...
@@ -612,17 +612,17 @@
</div>
</template>
<div
class=
"_pb_son _none_after"
v-if=
"GetDetail.Status==3 && !IsBoHui"
>
<div
class=
"_left_radius _left_radius_err"
>
驳回
</div>
<div
class=
"_left_radius _left_radius_err"
>
{{$t('fnc.bohui')}}
</div>
</div>
<div
class=
"_pb_son"
:class=
"GetDetail.Status==2?'_none_after':''"
v-if=
"GetDetail.Status==2"
>
<div
class=
"_left_radius"
>
结束
</div>
<div
class=
"_left_radius"
>
{{$t('fnc.jieshu')}}
</div>
<div
class=
"_right_content"
>
<p
class=
"_time"
>
累计耗时
:{{endDate}}
</p>
<p
class=
"_time"
>
{{$t('fnc.ljhaoshi')}}
:{{endDate}}
</p>
</div>
</div>
<div
style=
"padding-left: 75px;"
>
<button
class=
"hollowFixedBtn"
v-if=
"(bossID===1 || bossID===5) && (GetDetail.Status===2 || GetDetail.Status===5 || GetDetail.Status===1)"
@
click=
"bohui()"
>
驳回
</button>
<button
class=
"hollowFixedBtn"
@
click=
"AuditOrRefund()"
>
返回
</button>
<button
class=
"hollowFixedBtn"
v-if=
"(bossID===1 || bossID===5) && (GetDetail.Status===2 || GetDetail.Status===5 || GetDetail.Status===1)"
@
click=
"bohui()"
>
{{$t('fnc.bohui')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"AuditOrRefund()"
>
{{$t('pub.returnBack')}}
</button>
</div>
</div>
</div>
...
...
@@ -670,7 +670,7 @@ export default {
this
.
dataList
=
res
.
data
.
data
;
this
.
dataList
.
AuditSteps
.
forEach
(
y
=>
{
if
(
y
.
Sort
>
0
){
y
.
contentTips
=
y
.
AuditDescription
+
(
y
.
AuditWay
==
'2'
?
'(会签)'
:
'(或签)'
);
y
.
contentTips
=
y
.
AuditDescription
+
(
y
.
AuditWay
==
'2'
?
this
.
$t
(
'fnc.huiqian'
)
:
this
.
$t
(
'fnc.huoqian'
)
);
this
.
AuditListData
.
AuditList
.
push
(
y
);
}
this
.
GetDetail
.
AuditSteps
.
push
(
y
);
...
...
@@ -682,11 +682,11 @@ export default {
this
.
dataList
.
AuditSteps
=
AuditSteps
;
this
.
dataList
.
SBankList
.
forEach
(
x
=>
{
x
.
comText
=
'显示附件'
;
x
.
comText
=
this
.
$t
(
'fnc.xsfujian'
)
;
x
.
isShow
=
false
;
});
this
.
dataList
.
FBankList
.
forEach
(
x
=>
{
x
.
comText
=
'显示附件'
;
x
.
comText
=
this
.
$t
(
'fnc.xsfujian'
)
;
x
.
isShow
=
false
;
});
console
.
log
(
this
.
GetDetail
)
...
...
@@ -701,10 +701,10 @@ export default {
},
//点击显示附件
showFileList
(
item
){
if
(
item
.
comText
==
'隐藏附件'
){
item
.
comText
=
'显示附件'
if
(
item
.
comText
==
this
.
$t
(
'fnc.ycfujian'
)
){
item
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
}
else
{
item
.
comText
=
'隐藏附件'
item
.
comText
=
this
.
$t
(
'fnc.ycfujian'
)
}
if
(
item
.
isShow
){
item
.
isShow
=
false
;
...
...
@@ -714,10 +714,10 @@ export default {
this
.
$forceUpdate
();
},
showFuFileList
(
item
){
if
(
item
.
comText
==
'隐藏附件'
){
item
.
comText
=
'显示附件'
if
(
item
.
comText
==
this
.
$t
(
'fnc.ycfujian'
)
){
item
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
}
else
{
item
.
comText
=
'隐藏附件'
item
.
comText
=
this
.
$t
(
'fnc.ycfujian'
)
}
if
(
item
.
isShow
){
item
.
isShow
=
false
;
...
...
src/components/FinancialModule/addCapitalAllocation.vue
View file @
ab16030e
...
...
@@ -155,15 +155,15 @@
<
template
>
<div
class=
"page_addCapitalAllocation"
v-loading=
"loading"
>
<div
class=
"_top"
>
<p>
四川和平国际旅行社有限公司
</p>
<p><span>
{{
msg
.
TemplateId
==
34
?
'总部'
:
'分公司'
}}
资金调拨单
</span></p>
<p>
{{
GroupName
}}
</p>
<p><span>
{{
msg
.
TemplateId
==
34
?
$t
(
'fnc.zongbu'
):
$t
(
'fnc.fgongsi'
)
}}{{
$t
(
'fnc.zjdbodan'
)
}}
</span></p>
</div>
<div
class=
"_conten"
>
<ul
v-if=
"inList.length"
>
<li
v-for=
"(item, index) in inList"
class=
"_inList"
>
<p>
收款对象
</p>
<p>
{{
$t
(
'fnc.skduixiang'
)
}}
</p>
<div>
<span
class=
"_lable"
>
收款方式
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'fnc.skfangshi'
)
}}
:
</span>
<el-select
filterable
v-model=
'item.Type'
@
change=
"FinancialInstitutions_post_GetAccountList(1, index, item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in AccList'
:label=
'item.Name'
...
...
@@ -171,7 +171,7 @@
:key=
'item.ID'
>
</el-option>
</el-select>
<span
class=
"_lable"
>
账户类型
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'fnc.zhanghuleixing'
)
}}
:
</span>
<el-select
filterable
v-model=
'item.mode'
@
change=
"FinancialInstitutions_post_GetAccountList(1, index, item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in shouAccList'
:label=
'item.Name'
...
...
@@ -179,7 +179,7 @@
:key=
'item.ID'
>
</el-option>
</el-select>
<span
class=
"_lable"
>
到款账户
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'fnc.dkzhanghu'
)
}}
:
</span>
<el-select
filterable
v-model=
'item.AccountId'
@
change=
"getAccInfo(1, index, item.AccountId)"
class=
"w250 _border_b_1"
>
<el-option
v-for=
'sItem in item.shouAccNumList'
:label=
'sItem.allName'
...
...
@@ -189,17 +189,17 @@
</el-select>
</div>
<div>
<span
class=
"_lable"
>
收款金额
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'fnc.skjine'
)
}}
:
</span>
<el-input
v-model=
'item.OriginalMoney'
@
input=
"Calculation(1, index)"
class=
"w100 _border_b_1"
></el-input>
<span
class=
"_lable"
>
币种
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'hotel.hotel_Currency'
)
}}
:
</span>
<el-input
disabled=
"disabled"
v-model=
'item.CurrencyName'
class=
"w80 _border_b_1"
></el-input>
<span
class=
"_lable"
>
汇率
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'hotel.hotel_CurrentRate'
)
}}
:
</span>
<el-input
v-model=
'item.Rate'
class=
"w60 _border_b_1"
></el-input>
<span
class=
"_lable"
>
本位金额
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'fnc.bwyue'
)
}}
:
</span>
<el-input
v-model=
'item.Money'
class=
"w100 _border_b_1"
></el-input>
</div>
<div>
<span
class=
"_lable"
>
调拨日期
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'fnc.dbriqi'
)
}}
:
</span>
<el-date-picker
clearable
class=
"w100 _border_b_1"
v-model=
"item.AllotDate"
prefix-icon=
'1'
...
...
@@ -207,16 +207,16 @@
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
<span
class=
"_lable"
>
备注
:
</span>
<span
class=
"_lable"
>
{{
$t
(
'hotel.hotel_remark'
)
}}
:
</span>
<el-input
v-model=
"item.Description"
type=
"textarea"
class=
"w300 _border_b_1"
></el-input>
<div
class=
"_add_btn"
>
<span
@
click=
"initMsg(1)"
>
添加
</span>
<span
@
click=
"deleteItem(1, index)"
>
删除
</span>
<span
@
click=
"clearItem(1, index)"
>
清空
</span>
<span
@
click=
"initMsg(1)"
>
{{
$t
(
'fnc.tianjia'
)
}}
</span>
<span
@
click=
"deleteItem(1, index)"
>
{{
$t
(
'system.table_delete'
)
}}
</span>
<span
@
click=
"clearItem(1, index)"
>
{{
$t
(
'fnc.qingkong'
)
}}
</span>
</div>
</div>
<div
class=
"_uoload"
>
<p>
上传附件
<span
class=
"_addUpload_tips"
>
(单个附件大小不得超过10M)
</span></p>
<p>
{{
$t
(
'fnc.scfujian'
)
}}
<span
class=
"_addUpload_tips"
>
{{
$t
(
'tips.wjdxbncgsz'
)
}}
</span></p>
<div
class=
"_addUpload_box clearfix"
>
<template
v-for=
"(file,fIndex) in item.vorcherInos"
>
<div
v-if=
"file.Type==3"
>
...
...
@@ -244,7 +244,7 @@
:http-request=
"uploadFileBtn"
:multiple=
"true"
:show-file-list=
"false"
action=
""
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
<div
class=
"el-upload__text"
>
点击/拖拽上传
</div>
<div
class=
"el-upload__text"
>
{{$t('active.ld_djscwj')}}
</div>
</el-upload>
</div>
</div>
...
...
@@ -253,9 +253,9 @@
</ul>
<ul
v-if=
"outList.length"
>
<li
v-for=
"(item, index) in outList"
class=
"_outList"
>
<p>
付款方式
</p>
<p>
{{$t('fnc.fkfangshi')}}
</p>
<div>
<span
class=
"_lable"
>
付款方式
:
</span>
<span
class=
"_lable"
>
{{$t('fnc.fkfangshi')}}
:
</span>
<el-select
filterable
v-model=
'item.Type'
@
change=
"FinancialInstitutions_post_GetAccountList(2, index, item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in AccList'
:label=
'item.Name'
...
...
@@ -263,7 +263,7 @@
:key=
'item.ID'
>
</el-option>
</el-select>
<span
class=
"_lable"
>
账户类型
:
</span>
<span
class=
"_lable"
>
{{$t('fnc.zhleixing')}}
:
</span>
<el-select
filterable
v-model=
'item.mode'
@
change=
"FinancialInstitutions_post_GetAccountList(2, index, item.Type, item.mode),item.AccountId=''"
class=
"w100 _border_b_1"
>
<el-option
v-for=
'item in shouAccList'
:label=
'item.Name'
...
...
@@ -271,7 +271,7 @@
:key=
'item.ID'
>
</el-option>
</el-select>
<span
class=
"_lable"
>
付款账户
:
</span>
<span
class=
"_lable"
>
{{$t('fnc.fkzhanghu')}}
:
</span>
<el-select
filterable
v-model=
'item.AccountId'
@
change=
"getAccInfo(2, index, item.AccountId)"
class=
"w250 _border_b_1"
>
<el-option
v-for=
'sItem in item.shouAccNumList'
:label=
'sItem.allName'
...
...
@@ -281,17 +281,17 @@
</el-select>
</div>
<div>
<span
class=
"_lable"
>
付款金额
:
</span>
<span
class=
"_lable"
>
{{$t('fnc.fkjine')}}
:
</span>
<el-input
v-model=
'item.OriginalMoney'
@
input=
"Calculation(2, index)"
class=
"w100 _border_b_1"
></el-input>
<span
class=
"_lable"
>
币种
:
</span>
<span
class=
"_lable"
>
{{$t('hotel.hotel_Currency')}}
:
</span>
<el-input
disabled=
"disabled"
v-model=
'item.CurrencyName'
class=
"w80 _border_b_1"
></el-input>
<span
class=
"_lable"
>
汇率
:
</span>
<span
class=
"_lable"
>
>{{$t('hotel.hotel_CurrentRate')}}
:
</span>
<el-input
v-model=
'item.Rate'
class=
"w60 _border_b_1"
></el-input>
<span
class=
"_lable"
>
本位金额
:
</span>
<span
class=
"_lable"
>
{{$t('fnc.bwyue')}}
:
</span>
<el-input
v-model=
'item.Money'
class=
"w100 _border_b_1"
></el-input>
</div>
<div>
<span
class=
"_lable"
>
调拨日期
:
</span>
<span
class=
"_lable"
>
{{$t('fnc.dbriqi')}}
:
</span>
<el-date-picker
clearable
class=
"w100 _border_b_1"
v-model=
"item.AllotDate"
prefix-icon=
'1'
...
...
@@ -299,16 +299,16 @@
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
<span
class=
"_lable"
>
备注
:
</span>
<span
class=
"_lable"
>
{{$t('hotel.hotel_remark')}}
:
</span>
<el-input
v-model=
"item.Description"
type=
"textarea"
class=
"w300 _border_b_1"
></el-input>
<div
class=
"_add_btn"
>
<span
@
click=
"initMsg(2)"
>
添加
</span>
<span
@
click=
"deleteItem(2, index)"
>
删除
</span>
<span
@
click=
"clearItem(2, index)"
>
清空
</span>
<span
@
click=
"initMsg(2)"
>
{{$t('fnc.tianjia')}}
</span>
<span
@
click=
"deleteItem(2, index)"
>
{{$t('system.table_delete')}}
</span>
<span
@
click=
"clearItem(2, index)"
>
{{$t('fnc.qingkong')}}
</span>
</div>
</div>
<div
class=
"_uoload"
>
<p>
上传附件
<span
class=
"_addUpload_tips"
>
(单个附件大小不得超过10M)
</span></p>
<p>
{{$t('fnc.scfujian')}}
<span
class=
"_addUpload_tips"
>
{{$t('tips.wjdxbncgsz')}}
</span></p>
<div
class=
"_addUpload_box clearfix"
>
<
template
v-for=
"(file,fIndex) in item.vorcherInos"
>
<div
v-if=
"file.Type==3"
>
...
...
@@ -336,7 +336,7 @@
:http-request=
"uploadFileBtn"
:multiple=
"true"
:show-file-list=
"false"
action=
""
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
<div
class=
"el-upload__text"
>
点击/拖拽上传
</div>
<div
class=
"el-upload__text"
>
{{$t('active.ld_djscwj')}}
</div>
</el-upload>
</div>
</div>
...
...
@@ -345,7 +345,7 @@
</ul>
</div>
<div
class=
"_submit"
>
<button
class=
"normalBtn"
@
click=
"AddFinancial()"
>
提交
</button>
<button
class=
"normalBtn"
@
click=
"AddFinancial()"
>
{{$t('fnc.tijiao')}}
</button>
</div>
<viewer
:images=
"images"
:options=
'imageOptions'
@
inited=
"inited"
class=
"viewer"
ref=
"viewer"
>
<img
v-for=
"src in images"
:src=
"src"
:key=
"src"
>
...
...
@@ -393,15 +393,18 @@ export default {
title
:
false
},
images
:
[],
GroupName
:
''
,
}
},
created
(){
let
userInfo
=
this
.
getLocalStorage
();
this
.
GroupName
=
userInfo
.
GroupName
if
(
this
.
$route
.
query
.
edit
)
{
let
id
=
this
.
$route
.
query
.
id
this
.
getData
(
id
)
}
else
{
this
.
initMsg
()
let
userInfo
=
this
.
getLocalStorage
();
this
.
msg
.
RB_Depart_Id
=
userInfo
.
RB_Department_Id
;
this
.
msg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
if
(
this
.
msg
.
RB_Branch_Id
===
0
||
this
.
msg
.
RB_Branch_Id
===
45
||
this
.
msg
.
RB_Branch_Id
===
49
){
...
...
@@ -513,13 +516,13 @@ export default {
deleteItem
:
function
(
type
,
index
)
{
if
(
type
===
1
)
{
if
(
this
.
inList
.
length
===
1
)
{
return
this
.
$message
.
error
(
'不能删除了!'
);
return
this
.
$message
.
error
(
this
.
$t
(
'fnc.bnshanchu'
)
);
}
else
{
this
.
inList
.
splice
(
index
,
1
)
}
}
else
if
(
type
===
2
){
if
(
this
.
outList
.
length
===
1
)
{
return
this
.
$message
.
error
(
'不能删除了!'
);
return
this
.
$message
.
error
(
this
.
$t
(
'fnc.bnshanchu'
)
);
}
else
{
this
.
outList
.
splice
(
index
,
1
)
}
...
...
@@ -637,7 +640,7 @@ export default {
},
uploadFileBtn
:
function
(
file
)
{
//上传
if
(
file
.
file
.
size
>
1024
*
1024
*
10
)
{
this
.
$message
.
warning
(
'文件大小不能超过10M!'
)
this
.
$message
.
warning
(
this
.
$t
(
'tips.wjdxbncgsz'
)
)
return
}
// 1 文档 2 数据 3 图片
...
...
@@ -655,11 +658,11 @@ export default {
typeOk
=
true
;
}
})
if
(
!
typeOk
)
return
this
.
$message
.
error
(
'请上传图片、word、excel类型的文件!'
);
if
(
!
typeOk
)
return
this
.
$message
.
error
(
this
.
$t
(
'tips.qscWEfile'
)
);
let
newArr
=
[];
newArr
.
push
(
file
.
file
)
let
path
=
"/Upload/Temporary/"
this
.
$message
.
info
(
'上传中...'
)
this
.
$message
.
info
(
this
.
$t
(
'tips.shangchuanzhong'
)
)
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
fileSize
=
file
.
file
.
size
<
1024
?
file
.
file
.
size
:(
file
.
file
.
size
/
1024
).
toFixed
(
0
);
if
(
this
.
inUploadTrue
)
{
...
...
@@ -677,7 +680,7 @@ export default {
Url
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
})
}
this
.
$message
.
success
(
'上传成功'
);
this
.
$message
.
success
(
this
.
$t
(
'tips.scchenggong'
)
);
});
},
deleteUploadFile
:
function
(
type
,
i
,
ind
)
{
// 删除上传文件
...
...
src/components/busManagement/busStatistics.vue
View file @
ab16030e
...
...
@@ -165,6 +165,9 @@
<div
v-show=
"item.DMCRemark!=''"
class=
"colorE95252"
>
地接备注:
{{
item
.
DMCRemark
}}
</div>
<div
v-show=
"item.OPRemark!=''"
class=
"colorE95252"
>
OP备注(对外):
{{
item
.
OPRemark
}}
</div>
<div
v-show=
"item.OPInnerRemark!=''"
class=
"colorE95252"
>
OP备注(对内):
{{
item
.
OPInnerRemark
}}
</div>
</div>
</td>
</tr>
...
...
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