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
091ef9cc
Commit
091ef9cc
authored
Mar 22, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘完善 财务-账户国际化’
parent
5fb5e11e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
258 additions
and
170 deletions
+258
-170
zh.js
src/assets/common/lang/zh.js
+116
-27
FProcessManagement.vue
src/components/FinancialModule/FProcessManagement.vue
+29
-29
addFinancialProcess.vue
src/components/FinancialModule/addFinancialProcess.vue
+107
-108
RemittanceRecord.vue
src/components/systemManagement/RemittanceRecord.vue
+6
-6
No files found.
src/assets/common/lang/zh.js
View file @
091ef9cc
...
...
@@ -705,33 +705,7 @@ export const active = {
cl_zanwu
:
'暂无'
,
cl_qita
:
'其他'
,
}
export
const
rule
=
{
company
:
'请选择公司'
,
ldNmae
:
'请输入抽奖名称'
,
ldNum
:
'请输入抽奖次数'
,
startDate
:
'请选择开始日期'
,
endDate
:
'请选择结束日期'
,
qsrzhbieming
:
'请输入账户别名'
,
qxzzhleixing
:
'请选择账户类型'
,
qxzyhjigou
:
'请选择银行机构'
,
qsrkhuren
:
'请输入开户人'
,
qsrkhuhang
:
'请输入开户行'
,
qsrptzhanghao
:
'请输入平台账号'
,
qsrptsxufei
:
'请输入平台手续费'
,
qsrzqxufei
:
'请输入正确的平台手续费'
,
qszssgongsi
:
'请选择所属公司'
,
qxzzhbizhong
:
'请选择账户币种'
,
qsrcsyue
:
'请输入初始余额'
,
qsrzqdyue
:
'请输入正确的余额'
,
szfzeren
:
'支款负责人'
,
fkfzeren
:
'付款负责人'
,
qxzfyleixing
:
'请选择费用类型'
,
qtxptsyongfei
:
'请填写平台使用费'
,
qtxptbzhengjin
:
'请填写平台保证金'
,
qxzbdyinhang
:
'请选择绑定银行'
,
qssrzhhaoma
:
'请输入账户号码'
,
qsrzqdzhhaoma
:
'请输入正确的账户号码'
,
}
export
const
fnc
=
{
acc
:
'账户'
,
accBming
:
'账户别名:'
,
...
...
@@ -791,6 +765,74 @@ export const fnc = {
yhkahao
:
'银行卡号:'
,
bweibi
:
'本位币'
,
waibi
:
'外币'
,
dhsunyi
:
'汇兑损益'
,
ljshouji
:
'累计收益'
,
shouyi
:
'收益'
,
kuisun
:
'亏损'
,
yingli
:
'盈利'
,
lcliebiao
:
'流程列表'
,
addliucheng
:
'新增流程'
,
syfeiyong
:
'适用费用'
,
gfyleixing
:
'个费用类型'
,
sygongsi
:
'适用公司'
,
jttongyong
:
'集团通用'
,
lcrizhi
:
'流程日志'
,
zwxgrizhi
:
'暂无修改日志'
,
zwkqliucheng
:
'暂未开启流程'
,
zlchengshu
:
'子流程数量'
,
no
:
'无'
,
rizhi
:
'日志'
,
liucheng
:
'流程'
,
skliucheng
:
'收款流程'
,
qiyong
:
'启用'
,
tingyong
:
'停用'
,
huiqian
:
'(会签)'
,
huoqian
:
'(或签)'
,
sprshezhi
:
'审批人设置'
,
sprleibie
:
'审批人类别'
,
jdmiaoshu
:
'节点描述'
,
jddongzuo
:
'节点动作'
,
zhuguan
:
'主管'
,
zdchengyuan
:
'指定成员'
,
tsjiedian
:
'特殊节点'
,
fqrende
:
'发起人的'
,
tjchengyuan
:
'添加成员'
,
huiquandetail
:
'会签(须所有审批人同意)'
,
huoqiandetail
:
'或签(一名审批人同意或拒绝即可)'
,
xzgangwei
:
'选择岗位'
,
addgangweo
:
'添加岗位'
,
xgjiedian
:
'修改节点'
,
jcxinxi
:
'基础信息'
,
lcmingcheng
:
'流程名称'
,
lcleixing
:
'流程类型'
,
scfujian
:
'上传附件'
,
buqiyong
:
'不启用'
,
qiyong
:
'启用'
,
syzhanghu
:
'适用账户'
,
yinhang
:
'银行'
,
xianjin
:
'现金'
,
pingtai
:
'平台'
,
zjinchi
:
'资金池'
,
mbmiaoshu
:
'模板描述'
,
lcshezhi
:
'流程设置'
,
mrspliucheng
:
'默认审批流程'
,
mrspiren
:
'默认审批人'
,
huiqian
:
'会签'
,
huoqian
:
'或签'
,
tianjia
:
'添加'
,
mrcsongren
:
'默认抄送人'
,
xuanze
:
'选择'
,
yixuan
:
'已选'
,
yixuangangwei
:
'已选岗位'
,
xzcsongren
:
'选择抄送人'
,
kjiedian
:
'空节点'
,
cnchuangkou
:
'出纳窗口'
,
kjchuangkou
:
'会计窗口'
,
xiankong
:
'线控'
,
jzchuna
:
'记账出纳'
,
skchuna
:
'收款出纳'
,
xzrenyuan
:
'选择人员'
,
meiyousunyi
:
'该账户当前还没有损益记录'
,
}
export
const
tips
=
{
tips
:
'提示'
,
...
...
@@ -799,4 +841,51 @@ export const tips = {
cancleDelete
:
'已取消删除'
,
saveYes
:
'保存成功!'
,
sxhuilv
:
'以下汇率系统将每隔30分钟实时更新一次'
,
yssdliucheng
:
'注:以上费用类型将会被执行你设定的流程'
,
zwsyfeiyong
:
'暂无适用费用!'
,
qrsc
:
'确定删除'
,
lcmscbkhf
:
'流程吗?删除后不可恢复!'
,
qsrmiaoshu
:
'请输入6个字的描述'
,
srgjzjxguolv
:
'输入关键字进行过滤'
,
qxzsygongsi
:
'请选择适用公司!'
,
qxzsyfeiyong
:
'请选择适用费用!'
,
qxzspiren
:
'请选择审批人!'
,
qxzliucehng
:
'请选择流程类型!'
,
czchenggong
:
'操作成功!'
,
rsbncgtr
:
'人数不能超过10人'
,
qtxjdmiaoshu
:
'请填写节点描述!'
,
qxzbmzgjibie
:
'请选择部门主管级别!'
,
cybnweikong
:
'成员不能为空'
,
qxzgangwei
:
'请选择岗位'
,
qxzbumen
:
'请选择部门!'
,
di
:
'第'
,
jizhuguan
:
'级主管'
,
}
export
const
rule
=
{
company
:
'请选择公司'
,
ldNmae
:
'请输入抽奖名称'
,
ldNum
:
'请输入抽奖次数'
,
startDate
:
'请选择开始日期'
,
endDate
:
'请选择结束日期'
,
qsrzhbieming
:
'请输入账户别名'
,
qxzzhleixing
:
'请选择账户类型'
,
qxzyhjigou
:
'请选择银行机构'
,
qsrkhuren
:
'请输入开户人'
,
qsrkhuhang
:
'请输入开户行'
,
qsrptzhanghao
:
'请输入平台账号'
,
qsrptsxufei
:
'请输入平台手续费'
,
qsrzqxufei
:
'请输入正确的平台手续费'
,
qszssgongsi
:
'请选择所属公司'
,
qxzzhbizhong
:
'请选择账户币种'
,
qsrcsyue
:
'请输入初始余额'
,
qsrzqdyue
:
'请输入正确的余额'
,
szfzeren
:
'支款负责人'
,
fkfzeren
:
'付款负责人'
,
qxzfyleixing
:
'请选择费用类型'
,
qtxptsyongfei
:
'请填写平台使用费'
,
qtxptbzhengjin
:
'请填写平台保证金'
,
qxzbdyinhang
:
'请选择绑定银行'
,
qssrzhhaoma
:
'请输入账户号码'
,
qsrzqdzhhaoma
:
'请输入正确的账户号码'
,
qsrlcmingcheng
:
'请输入流程名称'
,
}
\ No newline at end of file
src/components/FinancialModule/FProcessManagement.vue
View file @
091ef9cc
...
...
@@ -101,11 +101,11 @@
<!--
<li>
<span>
注:财务基本流程包括(收款流程,付款流程,发票流程),如果需要其他的流程,比如退款流程等请在自定义流程下新增流程设置
</span>
</li>
-->
<li><input
type=
"button"
class=
"normalBtn"
value=
"新增流程
"
@
click=
"goUrl('addFinancialProcess',0,8)"
/></li>
<li><input
type=
"button"
class=
"normalBtn"
:value=
"$t('fnc.addliucheng')
"
@
click=
"goUrl('addFinancialProcess',0,8)"
/></li>
</ul>
</div>
<ul
class=
"_nav clearfix"
>
<li
class=
"_active"
@
click=
"getTemplateList()"
>
流程列表
</li>
<li
class=
"_active"
@
click=
"getTemplateList()"
>
{{
$t
(
'fnc.lcliebiao'
)
}}
</li>
<!--
<li
:class=
"active==1?'_active':''"
@
click=
"active=1,msg.TempLateWay=8,getTemplateList()"
>
自定义流程
</li>
-->
</ul>
<ul
class=
"_content"
v-loading=
"loading"
>
...
...
@@ -128,21 +128,21 @@
trigger=
"click"
>
<div
class=
"InfoChangeLog"
v-if=
"item.CoseTypeList"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
适用费用
</p>
<p
class=
"_log_t"
>
{{
$t
(
'fnc.syfeiyong'
)
}}
</p>
<div
class=
"_feiyong"
>
<span
class=
"_bg_gre"
v-for=
"Cose in item.CoseTypeList"
>
{{
Cose
}}
</span>
</div>
<p
class=
"_log_t _log_t_s"
>
注:以上费用类型将会被执行你设定的流程
</p>
<p
class=
"_log_t _log_t_s"
>
{{
$t
(
'tips.yssdliucheng'
)
}}
</p>
</div>
</div>
<div
v-else
>
<p
class=
"_no_liucheng"
>
暂无适用费用!
</p>
<p
class=
"_no_liucheng"
>
{{
$t
(
'tips.zwsyfeiyong'
)
}}
</p>
</div>
<span
slot=
"reference"
class=
"_dt _cu"
type=
"success"
icon=
"iconfont icon-rizhi1"
>
{{
item
.
CoseTypeListLength
}}
个费用类型
</span>
<span
slot=
"reference"
class=
"_dt _cu"
type=
"success"
icon=
"iconfont icon-rizhi1"
>
{{
item
.
CoseTypeListLength
}}
{{
$t
(
'fnc.gfyleixing'
)
}}
</span>
</el-popover>
</p>
<p
class=
"_s"
>
适用费用
</p>
<p
class=
"_s"
>
{{
$t
(
'fnc.syfeiyong'
)
}}
</p>
</div>
<div>
<p
class=
"_t _cu"
v-if=
"item.FinanceFlowConnectType!=3"
>
...
...
@@ -152,37 +152,37 @@
<el-popover
popper-class=
"detailsIT_Journal"
width=
"420"
trigger=
"click"
>
<div
class=
"InfoChangeLog"
v-if=
"item.SuitableObjectNameList"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
适用公司
</p>
<p
class=
"_log_t"
>
{{$t('fnc.sygongsi')}}
</p>
<div
class=
"_feiyong"
>
<span
class=
"_bg_gre"
v-for=
"Cose in item.SuitableObjectNameList"
>
{{Cose}}
</span>
</div>
<p
class=
"_log_t _log_t_s"
>
注:以上公司将会被执行你设定的流程
</p>
<p
class=
"_log_t _log_t_s"
>
{{$t('tips.yssdliucheng')}}
</p>
</div>
</div>
<div
v-else
>
<p
class=
"_no_liucheng"
>
暂无适用公司!
</p>
<p
class=
"_no_liucheng"
>
{{$t('tips.zwsyfeiyong')}}
</p>
</div>
<span
slot=
"reference"
class=
"_dt _cu"
type=
"success"
icon=
"iconfont icon-rizhi1"
v-if=
"item.FinanceFlowConnectType!=3"
>
{{item.SuitableObjectNameListlength}}
个适用公司
</span>
<span
slot=
"reference"
class=
"_dt _cu"
type=
"success"
icon=
"iconfont icon-rizhi1"
v-if=
"item.FinanceFlowConnectType!=3"
>
{{item.SuitableObjectNameListlength}}
{{$t('fnc.gfyleixing')}}
</span>
</el-popover>
</p>
<P
v-if=
"item.FinanceFlowConnectType==3"
>
<span
slot=
"reference"
class=
"_t"
type=
"success"
icon=
"iconfont icon-rizhi1"
>
集团通用
</span></P>
<p
class=
"_s"
>
适用公司
</p>
<P
v-if=
"item.FinanceFlowConnectType==3"
>
<span
slot=
"reference"
class=
"_t"
type=
"success"
icon=
"iconfont icon-rizhi1"
>
{{$t('fnc.meiyousunyi')}}
</span></P>
<p
class=
"_s"
>
{{$t('fnc.sygongsi')}}
</p>
</div>
<div>
<p
class=
"_t"
v-if=
"item.Status==1"
>
{{item.FlowNum==null?
'无'
:item.FlowNum}}
</p>
<p
class=
"_t"
v-else
>
暂未开启流程
</p>
<p
class=
"_s"
>
子流程数量
</p>
<p
class=
"_t"
v-if=
"item.Status==1"
>
{{item.FlowNum==null?
$t('fnc.no')
:item.FlowNum}}
</p>
<p
class=
"_t"
v-else
>
{{$t('fnc.zwkqliucheng')}}
</p>
<p
class=
"_s"
>
{{$t('fnc.zlchengshu')}}
</p>
</div>
</div>
<div
class=
"_right"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"日志
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.rizhi')
"
placement=
"top"
>
<el-popover
popper-class=
"detailsIT_Journal"
width=
"250"
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=
"FinanceInfoChangeLog"
>
<li
class=
"changLogList_l"
v-for=
"(log,li) in FinanceInfoChangeLog"
>
<span
style=
"background-color: #47BF8C"
class=
"_radius_green"
></span>
...
...
@@ -191,34 +191,34 @@
</li>
</ul>
<ul
v-else
>
<li>
暂无修改日志
</li>
<li>
{{$t('fnc.zwxgrizhi')}}
</li>
</ul>
</div>
</div>
<i
slot=
"reference"
v-show=
"item.Status==1"
class=
"iconfont icon-rizhi1"
@
click=
"FinanceInfoChangeLog = item.FinanceInfoChangeLog"
></i>
</el-popover>
</el-tooltip>
<el-tooltip
popper-class=
"item _process"
effect=
"dark"
content=
"流程
"
placement=
"top"
>
<el-tooltip
popper-class=
"item _process"
effect=
"dark"
:content=
"$t('fnc.liucheng')
"
placement=
"top"
>
<el-popover
popper-class=
"detailsIT_Journal"
width=
"600"
trigger=
"click"
>
<div
class=
"InfoChangeLog"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
收款流程
</p>
<p
class=
"_log_t"
>
{{$t('fnc.skliucheng')}}
</p>
<my-FlowChartModule
:data=
"item.Workflow_Condition"
></my-FlowChartModule>
</div>
</div>
<i
slot=
"reference"
v-show=
"item.Status==1"
class=
"iconfont icon-liucheng1"
></i>
</el-popover>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"启用
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.qiyong')
"
placement=
"top"
>
<i
class=
"iconfont icon-bofang"
v-show=
"item.Status==2"
@
click=
"UpdateStatus(item.Id,item.TemplateType)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"停用
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.tingyong')
"
placement=
"top"
>
<i
class=
"iconfont icon-zanting1"
v-show=
"item.Status==1"
@
click=
"UpdateStatus(item.Id,item.TemplateType)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')
"
placement=
"top"
>
<i
class=
"iconfont icon-liuchengsheji"
v-show=
"item.Status==1"
@
click=
"goUrl('addFinancialProcess',item.Id,8)"
></i>
</el-tooltip>
<!-- <el-tooltip class="item" effect="dark" content="删除" placement="top">
...
...
@@ -294,9 +294,9 @@ export default {
},
err
=>
{})
},
deletTemplate
(
id
,
text
){
//删除
this
.
$confirm
(
'确定删除'
+
'“'
+
text
+
'”'
+
'流程吗?删除后不可恢复!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
this
.
$confirm
(
this
.
$t
(
'tips.qrsc'
)
+
'“'
+
text
+
'”'
+
this
.
$t
(
'tips.lcmscbkhf'
),
this
.
$t
(
'tips.tips'
)
,
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
)
,
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
)
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
'FinancialFlowTemplate_post_Remove'
,{
ID
:
id
},
res
=>
{
...
...
@@ -310,7 +310,7 @@ export default {
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
message
:
this
.
$t
(
'tips.cancleDelete'
)
});
});
},
...
...
@@ -351,7 +351,7 @@ export default {
if
(
y
.
AuditWay
==
1
){
y
.
contentTips
=
y
.
AuditDescription
}
else
{
y
.
contentTips
=
y
.
AuditWay
==
2
?
y
.
AuditDescription
+
'(会签)'
:
y
.
AuditDescription
+
'(或签)'
y
.
contentTips
=
y
.
AuditWay
==
2
?
y
.
AuditDescription
+
this
.
$t
(
'fnc.huiqian'
):
y
.
AuditDescription
+
this
.
$t
(
'fnc.huoqian'
)
}
})
}
...
...
src/components/FinancialModule/addFinancialProcess.vue
View file @
091ef9cc
...
...
@@ -163,15 +163,15 @@
<div
class=
"page_addfp"
>
<div
class=
"approval_page_layer_none"
:class=
"
{approval_page_layer:showlayer}" @click="closeLayer">
<div
:class=
"
{approval_person_set:true,approval_person_set_right:isTransition}" @click.stop>
<p
class=
"setTitle"
>
审批人设置
</p>
<p
class=
"setTitle"
>
{{
$t
(
'fnc.sprshezhi'
)
}}
</p>
<div
class=
"approval_person_layerContent"
>
<div
class=
"approval_page_title"
>
审批人类别
</div>
<div
class=
"approval_page_title"
>
{{
$t
(
'fnc.sprleibie'
)
}}
</div>
<div
class=
"_info_box _info_box_top"
>
<label>
节点描述
</label>
<el-input
v-model=
"AuditDescription"
class=
"w200"
size=
"mini"
placeholder=
"
请输入6个字的描述
"
maxlength=
"6"
></el-input>
<label>
{{
$t
(
'fnc.jdmiaoshu'
)
}}
</label>
<el-input
v-model=
"AuditDescription"
class=
"w200"
size=
"mini"
placeholder=
"
$t('tips.qsrmiaoshu')
"
maxlength=
"6"
></el-input>
</div>
<div
class=
"_info_box _info_box_top"
>
<label>
节点动作
</label>
<label>
{{
$t
(
'fnc.jddongzuo'
)
}}
</label>
<el-select
filterable
v-model=
'GetNodeValue'
class=
"w200"
size=
"mini"
>
<el-option
v-for=
'item in GetNodeList'
:label=
'item.Name'
...
...
@@ -184,16 +184,16 @@
<el-row>
<el-col
:span=
"10"
style=
"padding-left: 20px;"
>
<el-radio-group
v-model=
"approvalType"
@
change=
'clearValue'
>
<el-radio
:label=
"1"
>
主管
</el-radio>
<el-radio
:label=
"2"
>
指定成员
</el-radio>
<el-radio
:label=
"3"
>
岗位
</el-radio>
<el-radio
:label=
"1"
>
{{
$t
(
'fnc.zhuguan'
)
}}
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'fnc.zdchengyuan'
)
}}
</el-radio>
<el-radio
:label=
"3"
>
{{
$t
(
'admin.admin_Post'
)
}}
</el-radio>
<!--
<el-radio
:label=
"4"
>
空节点
</el-radio>
<el-radio
:label=
"5"
>
出纳窗口
</el-radio>
<el-radio
:label=
"6"
>
会计窗口
</el-radio>
-->
</el-radio-group>
</el-col>
<el-col
:span=
"14"
style=
"font-size:14px;"
>
<label
class=
"SpecialNodeSelectType"
>
特殊节点
</label>
<label
class=
"SpecialNodeSelectType"
>
{{
$t
(
'fnc.tsjiedian'
)
}}
</label>
<el-select
filterable
v-model=
'SpecialNodeSelectType'
@
change=
'changeSpecialNodeSelectType'
class=
"w200"
size=
"mini"
>
<el-option
v-for=
'item in SpecialNodeSelect'
:label=
'item.name'
...
...
@@ -206,7 +206,7 @@
<div
class=
"approval_layer_info"
v-if=
"approvalType==1"
>
<div
class=
"_info_box"
>
<label>
发起人的
</label>
<label>
{{
$t
(
'fnc.fqrende'
)
}}
</label>
<el-select
filterable
v-model=
'directors'
class=
"w200"
size=
"mini"
>
<el-option
v-for=
'item in levelList'
:label=
'item.name'
...
...
@@ -223,11 +223,11 @@
<li
v-for=
"item in showMember"
>
{{
item
.
DepartmentName
}}
</li>
</ul>
</div>
<input
type=
"button"
class=
"normalBtn"
@
click=
"getMember(),mySetCheckedKeys(-1)"
value=
"添加成员
"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"getMember(),mySetCheckedKeys(-1)"
:value=
"$t('fnc.tjchengyuan')
"
/>
<div
style=
"margin: 10px 0;"
v-if=
"showMember.length>1"
>
<el-radio-group
v-model=
"AuditWay"
>
<el-radio
:label=
"2"
>
会签(须所有审批人同意)
</el-radio>
<el-radio
:label=
"3"
>
或签(一名审批人同意或拒绝即可)
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'fnc.huiquandetail'
)
}}
</el-radio>
<el-radio
:label=
"3"
>
{{
$t
(
'fnc.huoqiandetail'
)
}}
</el-radio>
</el-radio-group>
</div>
</div>
...
...
@@ -237,11 +237,11 @@
<li
v-for=
"item in showRole"
>
{{
item
.
DepartmentName
}}
</li>
</ul>
</div>
<input
type=
"button"
class=
"normalBtn"
@
click=
"outerVisible1 = true,dialogTitle =
'选择岗位'"
value=
"添加岗位
"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"outerVisible1 = true,dialogTitle =
$t('fnc.xzgangwei')"
:value=
"$t('fnc.addgangweo')
"
/>
<div
style=
"margin: 10px 0;"
>
<el-radio-group
v-model=
"AuditWay"
>
<el-radio
:label=
"2"
>
会签(须所有审批人同意)
</el-radio>
<el-radio
:label=
"3"
>
或签(一名审批人同意或拒绝即可)
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'fnc.huiquandetail'
)
}}
</el-radio>
<el-radio
:label=
"3"
>
{{
$t
(
'fnc.huoqiandetail'
)
}}
</el-radio>
</el-radio-group>
</div>
</div>
...
...
@@ -253,8 +253,8 @@
</div>
<div
style=
"margin: 10px 0;"
>
<el-radio-group
v-model=
"AuditWay"
>
<el-radio
:label=
"2"
>
会签(须所有审批人同意)
</el-radio>
<el-radio
:label=
"3"
>
或签(一名审批人同意或拒绝即可)
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'fnc.huiquandetail'
)
}}
</el-radio>
<el-radio
:label=
"3"
>
{{
$t
(
'fnc.huoqiandetail'
)
}}
</el-radio>
</el-radio-group>
</div>
</div>
...
...
@@ -281,30 +281,30 @@
<div
class=
"approval_layer_info"
v-if=
"approvalType==5||approvalType==6||approvalType==7||approvalType==8 || approvalType==9"
>
<div
style=
"margin: 10px 0;"
>
<el-radio-group
v-model=
"AuditWay"
>
<el-radio
:label=
"2"
>
会签(须所有审批人同意)
</el-radio>
<el-radio
:label=
"3"
>
或签(一名审批人同意或拒绝即可)
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'fnc.huiquandetail'
)
}}
</el-radio>
<el-radio
:label=
"3"
>
{{
$t
(
'fnc.huoqiandetail'
)
}}
</el-radio>
</el-radio-group>
</div>
</div>
</div>
<div
class=
"approval_page_layer_bottom"
>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"取消
"
@
click=
"closeLayer"
/>
<input
type=
"button"
class=
"normalBtn"
v-if=
'addBtn'
value=
"确定
"
@
click=
"addNode"
/>
<input
type=
"button"
class=
"normalBtn"
v-if=
'!addBtn'
value=
"修改节点
"
@
click=
"saveUpdateNode"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.cancelBtn')
"
@
click=
"closeLayer"
/>
<input
type=
"button"
class=
"normalBtn"
v-if=
'addBtn'
:value=
"$t('pub.sureBtn')
"
@
click=
"addNode"
/>
<input
type=
"button"
class=
"normalBtn"
v-if=
'!addBtn'
:value=
"$t('fnc.xgjiedian')
"
@
click=
"saveUpdateNode"
/>
</div>
</div>
</div>
<div
v-loading=
"loading"
>
<input
type=
"button"
class=
"hollowFixedBtn approval_back_btn"
value=
"返回
"
@
click=
"goUrl('FProcessManagement')"
/>
<input
type=
"button"
class=
"hollowFixedBtn approval_back_btn"
:value=
"$t('pub.returnBack')
"
@
click=
"goUrl('FProcessManagement')"
/>
<el-form
class=
"_add_box clearfix"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
label-width=
"100px"
>
<div
class=
"approval_page_title"
>
基础信息
</div>
<el-form-item
label=
"流程名称
"
prop=
"Name"
>
<div
class=
"approval_page_title"
>
{{
$t
(
'fnc.jcxinxi'
)
}}
</div>
<el-form-item
:label=
"$t('fnc.lcmingcheng')
"
prop=
"Name"
>
<el-input
v-model=
"addMsg.Name"
class=
"w200"
maxlength=
"10"
></el-input>
</el-form-item>
<el-form-item
label=
"适用公司
"
>
<el-form-item
:label=
"$t('fnc.sygongsi')
"
>
<el-select
filterable
multiple
v-model=
'BranchIdS'
class=
"w200"
@
change=
"disabledOption"
>
<el-option
label=
'集团通用
'
:value=
'-1'
:key=
'-1'
>
<el-option
:label=
'$t("fnc.jttongyong")
'
:value=
'-1'
:key=
'-1'
>
</el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.BName'
...
...
@@ -314,17 +314,17 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"流程类型
"
>
<el-radio
v-model=
"radio"
v-if=
"addMsg.TemplateType!=8"
disabled=
"disabled"
:label=
"1"
>
收入
</el-radio>
<el-radio
v-model=
"radio"
v-else
@
change=
"getCostTypeList(1),CostIdS=[],accListShow=true"
:label=
"1"
>
收入
</el-radio>
<el-radio
v-model=
"radio"
v-if=
"addMsg.TemplateType!=8"
disabled=
"disabled"
:label=
"2"
>
支出
</el-radio>
<el-radio
v-model=
"radio"
v-else
@
change=
"getCostTypeList(2),CostIdS=[],accListMsg=[],accListShow=false"
:label=
"2"
>
支出
</el-radio>
<el-form-item
:label=
"$t('fnc.lcleixing')
"
>
<el-radio
v-model=
"radio"
v-if=
"addMsg.TemplateType!=8"
disabled=
"disabled"
:label=
"1"
>
{{
$t
(
'restaurant.res_income'
)
}}
</el-radio>
<el-radio
v-model=
"radio"
v-else
@
change=
"getCostTypeList(1),CostIdS=[],accListShow=true"
:label=
"1"
>
{{
$t
(
'restaurant.res_income'
)
}}
</el-radio>
<el-radio
v-model=
"radio"
v-if=
"addMsg.TemplateType!=8"
disabled=
"disabled"
:label=
"2"
>
{{
$t
(
'restaurant.res_outcome'
)
}}
</el-radio>
<el-radio
v-model=
"radio"
v-else
@
change=
"getCostTypeList(2),CostIdS=[],accListMsg=[],accListShow=false"
:label=
"2"
>
{{
$t
(
'restaurant.res_outcome'
)
}}
</el-radio>
</el-form-item>
<el-form-item
label=
"上传附件
"
>
<el-radio
v-model=
"addMsg.IsUploadPic"
:label=
"0"
>
不启用
</el-radio>
<el-radio
v-model=
"addMsg.IsUploadPic"
:label=
"1"
>
启用
</el-radio>
<el-form-item
:label=
"$t('fnc.scfujian')
"
>
<el-radio
v-model=
"addMsg.IsUploadPic"
:label=
"0"
>
{{
$t
(
'fnc.buqiyong'
)
}}
</el-radio>
<el-radio
v-model=
"addMsg.IsUploadPic"
:label=
"1"
>
{{
$t
(
'fnc.qiyong'
)
}}
</el-radio>
</el-form-item>
<el-form-item
label=
"适用费用
"
v-if=
"addMsg.TemplateType==8"
class=
"_treeselect"
>
<el-form-item
:label=
"$t('fnc.syfeiyong')
"
v-if=
"addMsg.TemplateType==8"
class=
"_treeselect"
>
<!--
<el-select
filterable
multiple
v-model=
'CostIdS'
class=
"w200"
@
change=
"disabledOption2"
>
<el-option
label=
'通用'
value=
'0'
key=
'0'
></el-option>
<el-option
v-for=
'item in CostTypeList'
...
...
@@ -339,46 +339,46 @@
class=
"w230"
v-model=
"CostIdS"
value-consists-of=
"LEAF_PRIORITY"
placeholder=
"请选择
"
:placeholder=
"$t('pub.pleaseSel')
"
:multiple=
"true"
:options=
"CostTypeList"
noChildrenText=
''
:normalizer=
"normalizer"
/>
</el-form-item>
<el-form-item
label=
"适用账户
"
v-if=
"accListShow"
>
<el-checkbox
:indeterminate=
"isIndeterminate"
v-model=
"AccCheckAll"
@
change=
"handleCheckAllChangeAcc"
>
全选
</el-checkbox>
<el-form-item
:label=
"$t('fnc.syzhanghu')
"
v-if=
"accListShow"
>
<el-checkbox
:indeterminate=
"isIndeterminate"
v-model=
"AccCheckAll"
@
change=
"handleCheckAllChangeAcc"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<div
style=
"margin: 15px 0;"
></div>
<el-checkbox-group
v-model=
"accListMsg"
@
change=
"handleCheckedCitiesChangeAcc"
text-color=
"#409EFF"
fill=
"#409EFF"
>
<el-checkbox
:value=
"1"
:label=
"1"
:key=
"1"
>
银行
</el-checkbox>
<el-checkbox
:value=
"2"
:label=
"2"
:key=
"2"
>
现金
</el-checkbox>
<el-checkbox
:value=
"3"
:label=
"3"
:key=
"3"
>
平台
</el-checkbox>
<el-checkbox
:value=
"4"
:label=
"4"
:key=
"4"
>
资金池
</el-checkbox>
<el-checkbox
:value=
"1"
:label=
"1"
:key=
"1"
>
{{
$t
(
'fnc.yinhang'
)
}}
</el-checkbox>
<el-checkbox
:value=
"2"
:label=
"2"
:key=
"2"
>
{{
$t
(
'fnc.xianjin'
)
}}
</el-checkbox>
<el-checkbox
:value=
"3"
:label=
"3"
:key=
"3"
>
{{
$t
(
'fnc.pingtai'
)
}}
</el-checkbox>
<el-checkbox
:value=
"4"
:label=
"4"
:key=
"4"
>
{{
$t
(
'fnc.zjinchi'
)
}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-form-item
label=
"模板描述
"
>
<el-form-item
:label=
"$t('fnc.mbmiaoshu')
"
>
<el-input
v-model=
"addMsg.DescribeInfo"
class=
"w450"
maxlength=
"100"
></el-input>
</el-form-item>
<div
class=
"approval_page_title"
>
流程设置
</div>
<div
class=
"approval_page_title"
>
{{
$t
(
'fnc.lcshezhi'
)
}}
</div>
<div
class=
"approval_page_content"
>
<div
class=
"approval_person_content"
>
<span
class=
"approval_span_type"
>
默认审批流程
</span>
<span
class=
"approval_span_type"
>
{{
$t
(
'fnc.mrspliucheng'
)
}}
</span>
<div
class=
"approval_person_list fl"
>
<span
class=
"approval_person_list_tit"
>
默认审批人
</span>
<span
class=
"approval_person_list_tit"
>
{{
$t
(
'fnc.mrspiren'
)
}}
</span>
<div
class=
"padding_l88"
>
<div
class=
"approval_process_item"
draggable=
"true"
v-for=
"(item,index) in myAuditList"
@
click=
"getItemValue(item,index),AuditDescription = item.AuditDescription"
>
<span
style=
"position: relative;"
@
mouseenter=
"itemIndex=index"
@
mouseleave=
"itemIndex='-1'"
>
<i
class=
"iconfont icon-user11"
></i>
{{
item
.
AuditDescription
}}
<b
class=
"bnotice"
v-if=
"item.AuditWay!=1"
>
(
{{
item
.
AuditWay
==
"2"
?
'会签'
:
'或签'
}}
)
</b>
<b
class=
"bnotice"
v-if=
"item.AuditWay!=1"
>
(
{{
item
.
AuditWay
==
"2"
?
$t
(
'fnc.huiqian'
):
$t
(
'fnc.huoqian'
)
}}
)
</b>
<em
v-if=
'index==itemIndex'
class=
"iconfont icon-guanbi approval_process_item_delete"
@
click
.
stop=
'deleteItem(item.Sort)'
></em>
</span>
<i
class=
"iconfont icon-jiantouyou"
></i>
</div>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"addAppPerson"
value=
"添加
"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"addAppPerson"
:value=
"$t('fnc.tianjia')
"
/>
</div>
</div>
<div
class=
"approval_person_list fl"
>
<span
class=
"approval_person_list_tit"
>
默认抄送人
</span>
<span
class=
"approval_person_list_tit"
>
{{
$t
(
'fnc.mrcsongren'
)
}}
</span>
<div
class=
"padding_l88"
>
<div
class=
"approval_process_item"
draggable=
"true"
v-for=
"(item,index) in myAuditUserList"
>
<span
style=
"position: relative;"
@
mouseenter=
"itemIndex1=index"
@
mouseleave=
"itemIndex1='-1'"
>
...
...
@@ -388,7 +388,7 @@
</span>
<i
class=
"iconfont icon-jiantouyou"
></i>
</div>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"addAuditUser"
value=
"添加
"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"addAuditUser"
:value=
"$t('fnc.tianjia')
"
/>
</div>
</div>
...
...
@@ -396,13 +396,13 @@
</div>
</el-form>
<div
style=
"margin: 30px 0;"
>
<input
type=
"button"
value=
"取消
"
class=
"hollowFixedBtn"
@
click=
"goUrl('FProcessManagement')"
/>
<input
type=
"button"
value=
"保存
"
class=
"normalBtn"
@
click=
"saveApproval"
/>
<input
type=
"button"
:value=
"$t('pub.cancelBtn')
"
class=
"hollowFixedBtn"
@
click=
"goUrl('FProcessManagement')"
/>
<input
type=
"button"
:value=
"$t('pub.saveBtn')
"
class=
"normalBtn"
@
click=
"saveApproval"
/>
</div>
</div>
<el-dialog
custom-class=
'w700'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
>
<div
class=
"fl"
style=
"width: 300px; margin: 0 20px;"
>
<p
style=
"margin: 0 0 10px 0;"
>
选择:
<el-input
class=
'w200'
placeholder=
"输入关键字进行过滤
"
v-model=
"filterText"
>
<p
style=
"margin: 0 0 10px 0;"
>
{{
$t
(
'fnc.xuanze'
)
}}
:
<el-input
class=
'w200'
:placeholder=
"$t('fnc.srgjzjxguolv')
"
v-model=
"filterText"
>
</el-input>
</p>
<el-tree
class=
'ApprovalProcessBg'
...
...
@@ -416,7 +416,7 @@
</el-tree>
</div>
<div
class=
"fl"
>
<p
style=
"margin: 0 0 20px 0;"
>
已选
:
</p>
<p
style=
"margin: 0 0 20px 0;"
>
{{
$t
(
'fnc.yixuan'
)
}}
:
</p>
<div
class=
"Approval_yxList"
>
<li
v-for=
"item in showMember"
>
{{
item
.
DepartmentName
}}
<i
@
click=
"mySetCheckedKeys(item.DepartmentId)"
class=
"el-icon-circle-close showMemberIcon"
></i>
...
...
@@ -424,13 +424,13 @@
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
取 消
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"outerVisible = false"
>
确定
</button>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"outerVisible = false"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'w700'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible1"
center
>
<div
class=
"fl"
style=
"width: 300px; margin: 0 20px;"
>
<p
style=
"margin: 0 0 10px 0;"
>
选择岗位:
<el-input
class=
'w200'
placeholder=
"输入关键字进行过滤"
v-model=
"filterText1"
>
<p
style=
"margin: 0 0 10px 0;"
>
{{
$t
(
'fnc.xzgangwei'
)
}}
:
<el-input
class=
'w200'
:placeholder=
"$t('fnc.srgjzjxguolv')"
v-model=
"filterText1"
>
</el-input>
</p>
<el-tree
class=
'ApprovalProcessBg'
...
...
@@ -446,7 +446,7 @@
</el-tree>
</div>
<div
class=
"fl"
>
<p
style=
"margin: 0 0 20px 0;"
>
已选岗位
:
</p>
<p
style=
"margin: 0 0 20px 0;"
>
{{
$t
(
'fnc.yixuangangwei'
)
}}
:
</p>
<div
class=
"Approval_yxList"
>
<li
v-for=
"item in showRole"
>
{{
item
.
DepartmentName
}}
<i
@
click=
"deleteRole()"
class=
"el-icon-circle-close showMemberIcon"
></i>
...
...
@@ -454,14 +454,14 @@
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible1= false"
>
取 消
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"outerVisible1 = false"
>
确定
</button>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible1= false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"outerVisible1 = false"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'w700'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible2"
center
>
<div
class=
"fl"
style=
"width: 300px; margin: 0 20px;"
>
<p
style=
"margin: 0 0 10px 0;"
>
选择抄送人:
<el-input
class=
'w200'
placeholder=
"输入关键字进行过滤"
v-model=
"filterText2"
>
<p
style=
"margin: 0 0 10px 0;"
>
{{
$t
(
'fnc.xzcsongren'
)
}}
:
<el-input
class=
'w200'
:placeholder=
"$t('fnc.srgjzjxguolv')"
v-model=
"filterText2"
>
</el-input>
</p>
<el-tree
class=
'ApprovalProcessBg'
...
...
@@ -476,7 +476,7 @@
</el-tree>
</div>
<div
class=
"fl"
>
<p
style=
"margin: 0 0 20px 0;"
>
已选
:
</p>
<p
style=
"margin: 0 0 20px 0;"
>
{{
$t
(
'fnc.yixuan'
)
}}
:
</p>
<div
class=
"Approval_yxList"
>
<li
v-for=
"item in myAuditUserList1"
>
{{
item
.
emName
}}
<i
@
click=
"deleteUser(item.EmployeeId)"
class=
"el-icon-circle-close showMemberIcon"
></i>
...
...
@@ -484,8 +484,8 @@
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible2 = false"
>
取 消
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"saveAuditUser"
>
确定
</button>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible2 = false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"saveAuditUser"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</el-dialog>
</div>
...
...
@@ -494,19 +494,6 @@
<
script
>
import
Treeselect
from
'@riophae/vue-treeselect'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
const
accOptions
=
[{
id
:
1
,
lab
:
'银行'
},
{
id
:
2
,
lab
:
'现金'
},
{
id
:
3
,
lab
:
'平台'
},
{
id
:
4
,
lab
:
'资金池'
}];
export
default
{
components
:
{
Treeselect
},
data
(){
...
...
@@ -545,27 +532,27 @@ export default {
SpecialNodeSelect
:[
{
id
:
4
,
name
:
'空节点'
name
:
this
.
$t
(
'fnc.kjiedian'
)
},
{
id
:
5
,
name
:
'出纳窗口'
name
:
this
.
$t
(
'fnc.kjiedian'
)
},
{
id
:
6
,
name
:
'会计窗口'
name
:
this
.
$t
(
'fnc.kjchuangkou'
)
},
{
id
:
7
,
name
:
'线控'
name
:
this
.
$t
(
'fnc.xiankong'
)
},
{
id
:
8
,
name
:
'记账出纳'
name
:
this
.
$t
(
'fnc.jzchuna'
)
},
{
id
:
9
,
name
:
'收款出纳'
name
:
this
.
$t
(
'fnc.skchuna'
)
},
],
accListMsg
:[],
...
...
@@ -626,10 +613,10 @@ export default {
},
rules
:{
Name
:
[
{
required
:
true
,
message
:
'请输入流程名称'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
this
.
$t
(
'rule.qsrlcmingcheng'
)
,
trigger
:
'blur'
}
],
TypeId
:
[
{
required
:
true
,
message
:
'请选择账户类型'
,
trigger
:
'change'
}
{
required
:
true
,
message
:
this
.
$t
(
'rule.qxzzhleixing'
)
,
trigger
:
'change'
}
],
},
tongyong
:
false
,
...
...
@@ -643,7 +630,19 @@ export default {
WindowList
:[],
WindowID
:
''
,
AccCheckAll
:
false
,
AccList
:
accOptions
,
AccList
:
[{
id
:
1
,
lab
:
this
.
$t
(
'fnc.yinhang'
)
},
{
id
:
2
,
lab
:
this
.
$t
(
'fnc.xianjin'
)
},
{
id
:
3
,
lab
:
this
.
$t
(
'fnc.pingtai'
)
},
{
id
:
4
,
lab
:
this
.
$t
(
'fnc.zjinchi'
)
}],
isIndeterminate
:
true
,
}
},
watch
:
{
...
...
@@ -826,7 +825,7 @@ export default {
}
})
}
else
{
this
.
$message
.
error
(
'请选择适用公司!'
)
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzsygongsi'
)
)
return
}
if
(
this
.
CostIdS
.
length
!=
0
){
//适用费用
...
...
@@ -839,13 +838,13 @@ export default {
this
.
addMsg
.
FinancialInstitutions
.
push
(
FinancialInstitutions
)
})
}
else
{
this
.
$message
.
error
(
'请选择适用费用!'
)
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzsyfeiyong'
)
)
return
}
if
(
this
.
myAuditList
.
length
!=
0
){
this
.
addMsg
.
Workflow_Condition
.
AuditList
=
this
.
myAuditList
}
else
{
this
.
$message
.
error
(
'请选择审批人!'
)
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzspiren'
)
)
return
}
if
(
this
.
myAuditUserList
.
length
!=
0
){
...
...
@@ -857,14 +856,14 @@ export default {
if
(
this
.
radio
!=
''
){
this
.
addMsg
.
TempLateClass
=
parseInt
(
this
.
radio
)
}
else
{
this
.
$message
.
error
(
'请选择流程类型!'
)
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzliucehng'
)
)
return
}
this
.
loading
=
true
;
this
.
apipost
(
'FinancialFlowTemplate_post_Set'
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
loading
=
false
;
this
.
$message
.
success
(
"操作成功!"
)
this
.
$message
.
success
(
this
.
$t
(
'tips.czchenggong'
)
)
this
.
$router
.
push
({
name
:
'FProcessManagement'
,
query
:{
"type"
:
this
.
addMsg
.
TemplateType
,
'Branch_Id'
:
this
.
$route
.
query
.
Branch_Id
}
})
}
else
{
this
.
loading
=
false
;
...
...
@@ -905,7 +904,7 @@ export default {
this
.
myAuditUserList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
myAuditUserList1
))
this
.
outerVisible2
=
false
}
else
{
this
.
$message
.
error
(
'人数不能超过10人'
)
this
.
$message
.
error
(
this
.
$t
(
'tips.rsbncgtr'
)
)
return
false
;
}
...
...
@@ -955,7 +954,7 @@ export default {
},
addAuditUser
(){
// 抄送人
let
_arr
=
this
.
sysUserKeys
.
concat
(
this
.
memberSetCheckedUserKeys
)
this
.
dialogTitle
=
'选择人员'
;
this
.
dialogTitle
=
this
.
$t
(
'fnc.xzrenyuan'
)
;
this
.
outerVisible2
=
true
;
let
_this
=
this
;
this
.
apipost
(
'WorkFlow_get_GetTempLateDepartMentEmployee'
,
{},
res
=>
{
...
...
@@ -1002,7 +1001,7 @@ export default {
let
AuditList
=
{};
let
type
=
this
.
approvalType
if
(
this
.
AuditDescription
==
''
){
return
this
.
$message
.
error
(
"请填写节点描述!"
)
return
this
.
$message
.
error
(
this
.
$t
(
'tips.qtxjdmiaoshu'
)
)
}
if
(
type
==
1
)
{
...
...
@@ -1013,7 +1012,7 @@ export default {
AuditList
.
RoleOrInitiator
=
this
.
directors
;
AuditList
.
SpecialNode
=
this
.
GetNodeValue
;
if
(
this
.
directors
==
''
){
return
this
.
$message
.
error
(
"请选择部门主管级别!"
)
return
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzbmzgjibie'
)
)
}
this
.
levelList
.
forEach
(
x
=>
{
if
(
x
.
level
==
this
.
directors
)
...
...
@@ -1045,10 +1044,10 @@ export default {
AuditList
.
SpecialNode
=
this
.
GetNodeValue
;
if
(
Auu
.
length
==
0
)
{
this
.
$message
.
error
(
"成员不能为空"
)
this
.
$message
.
error
(
this
.
$t
(
'tips.cybnweikong'
)
)
return
}
else
if
(
Auu
.
length
>
10
){
this
.
$message
.
error
(
"人数不能超过10人!"
)
this
.
$message
.
error
(
this
.
$t
(
'tips.rsbncgtr'
)
)
return
}
this
.
myAuditList
[
this
.
updateItemIndex
]
=
AuditList
;
...
...
@@ -1061,7 +1060,7 @@ export default {
AuditList
.
SpecialNode
=
this
.
GetNodeValue
;
if
(
this
.
showRole
.
length
==
0
)
{
this
.
$message
.
error
(
"请选择岗位"
)
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzgangwei'
)
)
return
}
else
{
AuditList
.
RoleOrInitiator
=
this
.
showRole
[
0
].
PostId
?
this
.
showRole
[
0
].
PostId
:
this
.
showRole
[
0
].
Id
;
...
...
@@ -1246,7 +1245,7 @@ export default {
},
getMember
()
{
// 获取指定成员列表
this
.
outerVisible
=
true
;
this
.
dialogTitle
=
'选择人员'
;
this
.
dialogTitle
=
this
.
$t
(
'fnc.xzrenyuan'
)
;
this
.
apipost
(
'WorkFlow_get_GetTempLateDepartMentEmployee'
,
{},
res
=>
{
this
.
memberList
=
res
.
data
.
data
},
err
=>
{})
...
...
@@ -1258,7 +1257,7 @@ export default {
let
AuditList
=
{};
let
type
=
this
.
approvalType
if
(
this
.
AuditDescription
==
''
){
return
this
.
$message
.
error
(
"请填写节点描述!"
)
return
this
.
$message
.
error
(
this
.
$t
(
'tips.qtxjdmiaoshu'
)
)
}
if
(
type
==
1
){
AuditList
.
AuditType
=
type
;
...
...
@@ -1269,7 +1268,7 @@ export default {
AuditList
.
AuditDescription
=
''
;
AuditList
.
SpecialNode
=
this
.
GetNodeValue
;
if
(
this
.
directors
==
''
){
return
this
.
$message
.
error
(
"请选择部门主管级别!"
)
return
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzbmzgjibie'
)
)
}
this
.
levelList
.
forEach
(
x
=>
{
if
(
x
.
level
==
this
.
directors
)
...
...
@@ -1301,10 +1300,10 @@ export default {
AuditList
.
SpecialNode
=
this
.
GetNodeValue
;
if
(
Auu
.
length
==
0
)
{
this
.
$message
.
error
(
"成员不能为空"
)
this
.
$message
.
error
(
this
.
$t
(
'tips.cybnweikong'
)
)
return
}
else
if
(
Auu
.
length
>
10
){
this
.
$message
.
error
(
"人数不能超过10人!"
)
this
.
$message
.
error
(
this
.
$t
(
'tips.rsbncgtr'
)
)
return
}
this
.
myAuditList
.
push
(
AuditList
);
...
...
@@ -1317,7 +1316,7 @@ export default {
AuditList
.
SpecialNode
=
this
.
GetNodeValue
;
if
(
this
.
showRole
.
length
==
0
)
{
this
.
$message
.
error
(
"请选择部门!"
)
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzbumen'
)
)
return
}
else
{
AuditList
.
RoleOrInitiator
=
this
.
showRole
[
0
].
Id
;
...
...
@@ -1436,7 +1435,7 @@ export default {
data
.
forEach
(
x
=>
{
let
newObj
=
{
level
:
x
,
name
:
"第"
+
x
+
"级主管"
,
name
:
this
.
$t
(
'tips.di'
)
+
x
+
this
.
$t
(
'tips.jizhuguan'
)
,
}
newList
.
push
(
newObj
)
});
...
...
@@ -1451,7 +1450,7 @@ export default {
this
.
CostTypeList
.
unshift
({
ChildList
:[],
ID
:
'0'
,
Name
:
'通用'
Name
:
this
.
$t
(
'active.cl_tongyong'
)
})
}
else
{}
},
err
=>
{})
...
...
src/components/systemManagement/RemittanceRecord.vue
View file @
091ef9cc
...
...
@@ -27,11 +27,11 @@
<
template
>
<div
class=
"page_RemittanceRecord"
>
<div
class=
"_return_btn flearfix"
>
<span>
{{
name
}}
汇兑损益
</span>
<button
class=
"hollowFixedBtn fr"
type=
"button"
@
click=
"goUrl()"
>
返回
</button>
<span>
{{
name
}}
{{
$t
(
'fnc.dhsunyi'
)
}}
</span>
<button
class=
"hollowFixedBtn fr"
type=
"button"
@
click=
"goUrl()"
>
{{
$t
(
'pub.returnBack'
)
}}
</button>
</div>
<div
class=
"_rr_content"
v-if=
"dataList.length>0"
>
<p>
累计收益(
{{
num
>
0
?
'收益'
:
'亏损'
}}
):
<span
:class=
"num>0?'fc_green':'fc_red'"
>
{{
nums
}}
</span></p>
<p>
{{
$t
(
'fnc.ljshouji'
)
}}
(
{{
num
>
0
?
$t
(
'fnc.shouyi'
):
$t
(
'fnc.kuisun'
)
}}
):
<span
:class=
"num>0?'fc_green':'fc_red'"
>
{{
nums
}}
</span></p>
<ul
class=
"_rrc_list"
>
<li
v-for=
"(item,index) in dataList"
>
<div
class=
"_rrcl_left clearfix"
>
...
...
@@ -43,8 +43,8 @@
</div>
</div>
<div
class=
"_rrcl_cen"
>
<p
v-if=
"item.Money>0"
><span>
盈利
</span><span
class=
"fc_green font-16"
>
{{
item
.
MoneyTo
}}
</span></p>
<p
v-else
><span>
亏损
</span><span
class=
"fc_red font-16"
>
{{
item
.
MoneyTo
}}
</span></p>
<p
v-if=
"item.Money>0"
><span>
{{
$t
(
'fnc.yingli'
)
}}
</span><span
class=
"fc_green font-16"
>
{{
item
.
MoneyTo
}}
</span></p>
<p
v-else
><span>
{{
$t
(
'fnc.kuisun'
)
}}
</span><span
class=
"fc_red font-16"
>
{{
item
.
MoneyTo
}}
</span></p>
<!--
<p>
盈利
<span
class=
"fc_green"
>
3500.00
</span></p>
-->
</div>
<div
class=
"_rrcl_right"
>
...
...
@@ -87,7 +87,7 @@ export default {
total
:
0
,
currentPage
:
1
,
loading
:
true
,
tipsMsg
:
'该账户当前还没有损益记录'
,
tipsMsg
:
this
.
$t
(
'fnc.meiyousunyi'
)
,
msg
:{
pageIndex
:
1
,
pageSize
:
7
,
...
...
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