Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
王衍超
rbc-demo
Commits
8f4171df
Commit
8f4171df
authored
Mar 25, 2022
by
raojiaguan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化后端公式在前端的文件量
parent
da3ca9d3
Show whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
43 additions
and
553 deletions
+43
-553
BillPush.js
develop/@gms/gms-plugin-billexpand/src/formula/BillPush.js
+0
-17
CheckDuplicateSubField.js
...s-plugin-billexpand/src/formula/CheckDuplicateSubField.js
+2
-67
CheckReduceBudgetAmount.js
...-plugin-billexpand/src/formula/CheckReduceBudgetAmount.js
+0
-13
CheckReferenceRelation.js
...s-plugin-billexpand/src/formula/CheckReferenceRelation.js
+0
-12
ClearImageInfoRefState.js
...s-plugin-billexpand/src/formula/ClearImageInfoRefState.js
+0
-12
ClearRealationBillState.js
...-plugin-billexpand/src/formula/ClearRealationBillState.js
+0
-11
ClearSubData.js
...op/@gms/gms-plugin-billexpand/src/formula/ClearSubData.js
+5
-2
EqualsMasterAndSubField.js
...-plugin-billexpand/src/formula/EqualsMasterAndSubField.js
+0
-17
GeneralImportFile.js
...ms/gms-plugin-billexpand/src/formula/GeneralImportFile.js
+32
-0
GetAccessoryCount.js
...ms/gms-plugin-billexpand/src/formula/GetAccessoryCount.js
+0
-9
GetBaseDataWithCodes.js
...gms-plugin-billexpand/src/formula/GetBaseDataWithCodes.js
+0
-8
GetFwssBaseDataWithGroupField.js
...n-billexpand/src/formula/GetFwssBaseDataWithGroupField.js
+0
-8
GetLoginUserInfoBack.js
...gms-plugin-billexpand/src/formula/GetLoginUserInfoBack.js
+0
-10
GetMdOrgParentField.js
.../gms-plugin-billexpand/src/formula/GetMdOrgParentField.js
+0
-11
GetOrgName.js
develop/@gms/gms-plugin-billexpand/src/formula/GetOrgName.js
+0
-11
GetUserDepartment.js
...ms/gms-plugin-billexpand/src/formula/GetUserDepartment.js
+0
-10
GetUserStaff.js
...op/@gms/gms-plugin-billexpand/src/formula/GetUserStaff.js
+0
-11
GetUserStaffInfo.js
...gms/gms-plugin-billexpand/src/formula/GetUserStaffInfo.js
+0
-11
GetYqddBaseDataWithGroupField.js
...n-billexpand/src/formula/GetYqddBaseDataWithGroupField.js
+0
-8
GmsGetNow.js
develop/@gms/gms-plugin-billexpand/src/formula/GmsGetNow.js
+0
-15
LoginUserIsContianRole.js
...s-plugin-billexpand/src/formula/LoginUserIsContianRole.js
+0
-11
MdFilterBaseDataIdToMulti.js
...lugin-billexpand/src/formula/MdFilterBaseDataIdToMulti.js
+0
-10
MdFilterByMultipleFieldValue.js
...in-billexpand/src/formula/MdFilterByMultipleFieldValue.js
+0
-10
MdFilterBySon.js
...p/@gms/gms-plugin-billexpand/src/formula/MdFilterBySon.js
+0
-11
MdFilterBySpecialField.js
...s-plugin-billexpand/src/formula/MdFilterBySpecialField.js
+0
-10
MdFilterByStartsWithFieldValue.js
...-billexpand/src/formula/MdFilterByStartsWithFieldValue.js
+0
-10
MdFilterInfiniteValue.js
...ms-plugin-billexpand/src/formula/MdFilterInfiniteValue.js
+0
-10
MdFilterOneToMulti.js
...s/gms-plugin-billexpand/src/formula/MdFilterOneToMulti.js
+0
-10
MdStringMultiFilter.js
.../gms-plugin-billexpand/src/formula/MdStringMultiFilter.js
+0
-10
MdYWHDDXFilter.js
.../@gms/gms-plugin-billexpand/src/formula/MdYWHDDXFilter.js
+0
-10
SubTableIsContainValue.js
...s-plugin-billexpand/src/formula/SubTableIsContainValue.js
+0
-11
SubTableOneToOneFilter.js
...s-plugin-billexpand/src/formula/SubTableOneToOneFilter.js
+0
-11
TakeOutBaseDataOne.js
...s/gms-plugin-billexpand/src/formula/TakeOutBaseDataOne.js
+0
-11
UpdateAccount.js
...p/@gms/gms-plugin-billexpand/src/formula/UpdateAccount.js
+0
-16
UpdateBillMoneyFunction.js
...-plugin-billexpand/src/formula/UpdateBillMoneyFunction.js
+0
-10
UpdateBillReferenceRelationshipFunction.js
...nd/src/formula/UpdateBillReferenceRelationshipFunction.js
+0
-13
UpdateBorrowMoneyState.js
...s-plugin-billexpand/src/formula/UpdateBorrowMoneyState.js
+0
-11
UpdateImageInfoRefState.js
...-plugin-billexpand/src/formula/UpdateImageInfoRefState.js
+0
-13
UpdatePaymentState.js
...s/gms-plugin-billexpand/src/formula/UpdatePaymentState.js
+0
-13
UpdateRalationBillValueFunction.js
...billexpand/src/formula/UpdateRalationBillValueFunction.js
+0
-11
mcon.js
develop/@gms/gms-plugin-billexpand/src/mcon.js
+4
-68
No files found.
develop/@gms/gms-plugin-billexpand/src/formula/BillPush.js
deleted
100644 → 0
View file @
da3ca9d3
/*
* @Author: shi ZongLiang
* @Date: 2021-07-26 20:19:42
* @LastEditors: shi ZongLiang
* @Description: 单据推送
*/
// ---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入单据推送公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/CheckDuplicateSubField.js
View file @
8f4171df
// 判断子表某个字段值相同则提示不然保存前端公式
export
default
{
execute
:
function
()
{
// console.log("进入: 判断子表某个字段值是否相同前端公式");
// 表名
// 有一个则直接执行判断;三个则判断是否属于要判断的情况 ,属于则判断,否则false
if
(
arguments
[
0
][
0
]
&&
arguments
[
0
][
1
]
&&
arguments
[
0
][
2
])
{
let
subTable
=
arguments
[
0
][
0
].
FieldTableCode
// 字段名
let
subFieldCode
=
arguments
[
0
][
0
].
FieldCode
// 主表
let
targetField
=
arguments
[
0
][
1
]
let
masterTable
=
arguments
[
0
][
1
].
FieldTableCode
// 字段
let
masterFieldCode
=
arguments
[
0
][
1
].
FieldCode
// bill
let
context
=
arguments
[
1
]
// 字段值
let
fieldValue
=
null
if
(
targetField
instanceof
BillDataNode
)
{
let
masterObj
=
context
.
getTableType
(
masterTable
)
if
(
masterObj
.
type
==
'master'
)
{
let
masterData
=
context
.
getMasterData
(
masterObj
.
name
)
fieldValue
=
masterData
.
getValue
(
masterFieldCode
).
code
}
}
let
str
=
arguments
[
0
][
2
].
StaticValue
let
strNum
=
str
.
split
(
","
)
// 要判断是否重复的字段所在的表的所有字段
let
tableObj
=
context
.
getTableType
(
subTable
)
let
dataFun
=
context
.
getSubData
(
tableObj
.
title
)
let
flag
=
1
// 判断是否有相等字段
let
num
=
0
// 判断是否属于要判断的
// 一条以上数据进行判断
if
(
dataFun
.
length
>
1
)
{
for
(
let
i
=
0
;
i
<
strNum
.
length
;
i
++
)
{
if
(
fieldValue
==
strNum
[
i
])
{
for
(
let
j
=
0
;
j
<
dataFun
.
length
;
j
++
)
{
let
_data1
=
dataFun
[
j
].
getData
()
for
(
let
k
=
j
+
1
;
k
<
dataFun
.
length
;
k
++
)
{
let
_data2
=
dataFun
[
k
].
getData
()
if
(
_data1
[
subFieldCode
].
value
===
_data2
[
subFieldCode
].
value
)
{
flag
=
0
return
false
;
}
}
}
num
=
num
+
1
}
}
}
else
if
(
dataFun
.
length
<=
1
)
{
return
true
}
// 不用判断
if
(
num
==
0
)
{
return
true
}
else
{
if
(
flag
==
1
)
{
return
true
}
}
}
else
{
{
let
subTable
=
arguments
[
0
][
0
].
FieldTableCode
// 字段名
let
subFieldCode
=
arguments
[
0
][
0
].
FieldCode
...
...
@@ -82,15 +19,13 @@ export default {
for
(
let
j
=
i
+
1
;
j
<
dataFun
.
length
;
j
++
)
{
let
_data2
=
dataFun
[
j
].
getData
()
if
(
_data1
[
subFieldCode
].
value
===
_data2
[
subFieldCode
].
value
)
{
flag
=
0
return
false
;
}
}
}
}
else
if
(
dataFun
.
length
<=
1
)
{
return
true
}
if
(
flag
===
1
)
{
}
else
{
return
true
;
}
}
...
...
develop/@gms/gms-plugin-billexpand/src/formula/CheckReduceBudgetAmount.js
deleted
100644 → 0
View file @
da3ca9d3
/**
* 扣减预算服务校验公式
* @author fengjiansheng
* @date 2022-03-24
*/
export
default
{
formulaName
:
"CheckReduceBudgetAmount"
,
execute
:
function
()
{
},
getResultType
:
function
()
{
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/CheckReferenceRelation.js
deleted
100644 → 0
View file @
da3ca9d3
/**
* CheckReferenceRelation
* @author fengjiansheng
* @date 2021-12-30
*/
export
default
{
execute
:
function
()
{
},
getResultType
:
function
()
{
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/ClearImageInfoRefState.js
deleted
100644 → 0
View file @
da3ca9d3
/**
* 清空票据引用状态
* @author fengjiansheng
* @date 2021-12-22
*/
export
default
{
execute
:
function
()
{
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/ClearRealationBillState.js
deleted
100644 → 0
View file @
da3ca9d3
export
default
{
execute
:
function
(){
console
.
log
(
"清除引用单据状态"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/ClearSubData.js
View file @
8f4171df
// 清空子表数据
/**
* 清空子表数据
* @author raojiaguan
* @data 2022年3月25日11:47:28
*/
export
default
{
execute
:
function
()
{
console
.
log
(
"进入到补助标准赋值公式"
);
if
(
arguments
&&
arguments
[
0
]
&&
arguments
[
1
])
{
let
context
=
arguments
[
1
]
let
tableName
=
arguments
[
0
][
0
].
StaticValue
...
...
develop/@gms/gms-plugin-billexpand/src/formula/EqualsMasterAndSubField.js
deleted
100644 → 0
View file @
da3ca9d3
import
_
from
'lodash'
import
util
from
'./FormulaConstants'
/**
* 主子表字段比较公式
* 暂时仅实现 主表基础数据子表基础数据的比较
* @author fengjiansheng
* @date 2022-02-16
*/
export
default
{
formulaName
:
"EqualsMasterAndSubField"
,
execute
:
function
()
{
},
getResultType
:
function
()
{
return
util
.
resultType
.
boolean
}
}
develop/@gms/gms-plugin-billexpand/src/formula/GeneralImportFile.js
0 → 100644
View file @
8f4171df
/**
* 后端公式统一导入到mcon.js指定文件
* @author raojiaguan
* @data 2022年3月25日11:47:28
*/
const
gen
=
()
=>
{
return
{
execute
:
function
(){
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
}
const
formulaObject
=
{
}
;
[
'GmsGetNow'
,
'BillPush'
,
'CheckReduceBudgetAmount'
,
'CheckReferenceRelation'
,
'ClearImageInfoRefState'
,
'EqualsMasterAndSubField'
,
'GetAccessoryCount'
,
'GetBaseDataWithCodes'
,
'GetFwssBaseDataWithGroupField'
,
'GetLoginUserInfoBack'
,
'GetMdOrgParentField'
,
'GetOrgName'
,
'GetUserDepartment'
,
'GetUserStaff'
,
'GetUserStaffInfo'
,
'LoginUserIsContianRole'
,
'MdFilterBaseDataIdToMulti'
,
'MdFilterByMultipleFieldValue'
,
'MdFilterBySon'
,
'MdFilterBySpecialField'
,
'MdFilterByStartsWithFieldValue'
,
'MdFilterInfiniteValue'
,
'MdFilterOneToMulti'
,
'MdYWHDDXFilter'
,
'SubTableIsContainValue'
,
'SubTableOneToOneFilter'
,
'TakeOutBaseDataOne'
,
'UpdateAccount'
,
'UpdateBillMoneyFunction'
,
'UpdateBillReferenceRelationshipFunction'
,
'UpdateBorrowMoneyState'
,
'UpdateImageInfoRefState'
,
'UpdatePaymentState'
,
'UpdateRalationBillValueFunction'
,
'MdStringMultiFilter'
,
'GetYqddBaseDataWithGroupField'
].
forEach
((
name
)
=>
{
formulaObject
[
name
]
=
gen
()
})
export
default
formulaObject
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/GetAccessoryCount.js
deleted
100644 → 0
View file @
da3ca9d3
//获取当前单据附件的数量
export
default
{
execute
:
function
(){
console
.
log
(
"进入获取附件数量公式"
)
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/GetBaseDataWithCodes.js
deleted
100644 → 0
View file @
da3ca9d3
export
default
{
execute
:
function
(){
console
.
log
(
"s1 GetBaseDataWithCodes"
)
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/GetFwssBaseDataWithGroupField.js
deleted
100644 → 0
View file @
da3ca9d3
export
default
{
execute
:
function
(){
console
.
log
(
"s1 GetFwssBaseDataWithGroupField"
)
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/GetLoginUserInfoBack.js
deleted
100644 → 0
View file @
da3ca9d3
// 获取用户登录信息---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入“获取用户登录信息”前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/GetMdOrgParentField.js
deleted
100644 → 0
View file @
da3ca9d3
// 根据当前组织机构获取需要的区划级别字段
export
default
{
execute
:
function
(){
console
.
log
(
"根据当前组织机构获取需要的区划级别字段"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/GetOrgName.js
deleted
100644 → 0
View file @
da3ca9d3
// 获取当前登录组织机构名称
export
default
{
execute
:
function
(){
console
.
log
(
"进入获取当前登录组织机构名称"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/GetUserDepartment.js
deleted
100644 → 0
View file @
da3ca9d3
// 获取当前用户关联职员基础数据---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入根据用户获取部门基础数据前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/GetUserStaff.js
deleted
100644 → 0
View file @
da3ca9d3
// 获取当前用户关联职员基础数据---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入获取当前用户关联职员基础数据前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/GetUserStaffInfo.js
deleted
100644 → 0
View file @
da3ca9d3
// 获取当前用户关联职员基础数据的某个字段---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入获取当前用户关联职员基础数据的某个字段前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/GetYqddBaseDataWithGroupField.js
deleted
100644 → 0
View file @
da3ca9d3
export
default
{
execute
:
function
(){
console
.
log
(
"s1 GetYqddBaseDataWithGroupField"
)
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/GmsGetNow.js
deleted
100644 → 0
View file @
da3ca9d3
// 获得当前系统日期
export
default
{
execute
:
function
(){
// if(arguments&&arguments[1]){
// let context = arguments[1];
// }
// let myDate = new Date();
// return myDate.toLocaleDateString();
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/LoginUserIsContianRole.js
deleted
100644 → 0
View file @
da3ca9d3
// 判断当前用户是否包含角色 - 后端公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入获取当前用户关联职员基础数据前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdFilterBaseDataIdToMulti.js
deleted
100644 → 0
View file @
da3ca9d3
// 通过基础数据指定字段的id过滤基础数据---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入基础数据指定字段的id过滤基础数据"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdFilterByMultipleFieldValue.js
deleted
100644 → 0
View file @
da3ca9d3
// 通过基础数据指定字段的值过滤基础数据---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入“通过基础数据指定字段的多个值过滤基础数据”前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdFilterBySon.js
deleted
100644 → 0
View file @
da3ca9d3
// 根据基础数据某项值带出相关的数据
export
default
{
execute
:
function
(){
console
.
log
(
"进入获取当前登录组织机构名称"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdFilterBySpecialField.js
deleted
100644 → 0
View file @
da3ca9d3
// 通过基础数据指定字段的值过滤基础数据---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入通过基础数据指定字段的值过滤基础数据前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdFilterByStartsWithFieldValue.js
deleted
100644 → 0
View file @
da3ca9d3
// 通过基础数据指定字段的前几位多个值过滤基础数据---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入“通过基础数据指定字段的前几位多个值过滤基础数据”前端公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdFilterInfiniteValue.js
deleted
100644 → 0
View file @
da3ca9d3
// 通过基础数据指定字段的值过滤基础数据无限参数版---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"通过基础数据指定字段的值过滤基础数据无限参数版"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdFilterOneToMulti.js
deleted
100644 → 0
View file @
da3ca9d3
// 通过基础数据一对多过滤---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入通过基础数据通过基础数据一对多过滤---后台公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdStringMultiFilter.js
deleted
100644 → 0
View file @
da3ca9d3
// 通过基础数据字符串输入一对多过滤---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入通过基础数据字符串输入一对多过滤---后台公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/MdYWHDDXFilter.js
deleted
100644 → 0
View file @
da3ca9d3
// 业务活动对象专用过滤---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"业务活动对象专用过滤---后台公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/SubTableIsContainValue.js
deleted
100644 → 0
View file @
da3ca9d3
// 子表中的某个字段是否等于某个值
export
default
{
execute
:
function
(){
console
.
log
(
"子表中的某个字段是否等于某个值"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/SubTableOneToOneFilter.js
deleted
100644 → 0
View file @
da3ca9d3
// 根据基础数据某项值带出相关的数据
export
default
{
execute
:
function
(){
console
.
log
(
"根据基础数据某项值带出相关的数据"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/TakeOutBaseDataOne.js
deleted
100644 → 0
View file @
da3ca9d3
// 根据基础数据某项值带出相关的数据
export
default
{
execute
:
function
(){
console
.
log
(
"进入获取当前登录组织机构名称"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/UpdateAccount.js
deleted
100644 → 0
View file @
da3ca9d3
/*
* @Author: shi ZongLiang
* @Date: 2021-08-26 15:13:56
* @LastEditors: shi ZongLiang
* @Description: 更新出纳账户结余数
*/
export
default
{
execute
:
function
(){
console
.
log
(
"进入更新出纳账户结余数的公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/UpdateBillMoneyFunction.js
deleted
100644 → 0
View file @
da3ca9d3
/**
* 修改引用的回写金额公式,例如还款单引用借款单后需要修改借款单的剩余金额
*/
export
default
{
execute
:
function
()
{
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/UpdateBillReferenceRelationshipFunction.js
deleted
100644 → 0
View file @
da3ca9d3
/**
* UpdateBillReferenceRelationshipFunction
* 修改单据引用状态
* @author fengjiansheng
* @date 2022-01-21
*/
export
default
{
execute
:
function
()
{
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/UpdateBorrowMoneyState.js
deleted
100644 → 0
View file @
da3ca9d3
//借款单,报销单引用借款单后,点击保存修改删除的还款单引用的借款单状态
export
default
{
execute
:
function
(){
console
.
log
(
"借款单,报销单引用借款单后,点击保存修改删除的还款单引用的借款单状态"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/formula/UpdateImageInfoRefState.js
deleted
100644 → 0
View file @
da3ca9d3
/**
* UpdateImageInfoRefState
* 更新票据引用状态
* @author fengjiansheng
* @date 2021-12-22
*/
export
default
{
execute
:
function
()
{
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/UpdatePaymentState.js
deleted
100644 → 0
View file @
da3ca9d3
/**
* UpdatePaymentState
* 审批通过修改支付状态
* @author fengjiansheng
* @date 2021-12-28
*/
export
default
{
execute
:
function
()
{
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
develop/@gms/gms-plugin-billexpand/src/formula/UpdateRalationBillValueFunction.js
deleted
100644 → 0
View file @
da3ca9d3
// ---后台公式
export
default
{
execute
:
function
(){
console
.
log
(
"进入更新关联单据数据公式"
);
},
getResultType
:
function
(){
return
FMR
.
ConstDataTypes
.
General
;
}
}
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/mcon.js
View file @
8f4171df
...
...
@@ -76,16 +76,16 @@ import queryDate from './control/query-date.vue'
import
userSelectControl
from
'./control/userSelect.vue'
import
integerControl
from
'./control/integerControl.vue'
//formula
import
GeneralImportFile
from
'./formula/GeneralImportFile.js'
;
import
GetMdByFormerCode
from
'./formula/GetMdByFormerCode'
import
GetBrowserVersion
from
'./formula/GetBrowserVersion'
import
SubColSum
from
'./formula/SubColSum.js'
;
import
GmsGetNow
from
'./formula/GmsGetNow.js'
;
import
GetMDValue
from
'./formula/GetMDValue.js'
;
import
ClearFieldValue
from
'./formula/ClearFieldValue.js'
;
import
StringValue
from
'./formula/StringValue.js'
;
import
GetMDByCode
from
'./formula/GetMDByCode.js'
;
import
SetMDFieldValue
from
'./formula/SetMDFieldValue.js'
import
GetUserDepartment
from
'./formula/GetUserDepartment.js'
import
GetSubsidyStandard
from
'./formula/GetSubsidyStandard.js'
import
CheckSublistSize
from
'./formula/CheckSublistSize.js'
import
GetCurrencyRate
from
'./formula/GetCurrencyRate.js'
...
...
@@ -99,47 +99,34 @@ import MDFilterByCode from './formula/MDFilterByCode.js'
import
GetMdFieldValueByCode
from
'./formula/GetMdFieldValueByCode.js'
import
SetDefaultValue
from
'./formula/SetDefaultValue.js'
import
ConcatSubColValue
from
'./formula/ConcatSubColValue.js'
import
MdFilterBySpecialField
from
'./formula/MdFilterBySpecialField.js'
import
CalculateSubTableRow
from
'./formula/CalculateSubTableRow.js'
import
MdFilterByMultipleFieldValue
from
'./formula/MdFilterByMultipleFieldValue.js'
import
GetCompareResult
from
'./formula/GetCompareResult.js'
import
ConditionalExecute
from
'./formula/ConditionalExecute.js'
import
HideControlNew
from
'./formula/HideControlNew.js'
import
GetOrgName
from
'./formula/GetOrgName'
;
import
SetControlDisable
from
'./formula/SetControlDisable'
import
ConcatMasterTableValue
from
'./formula/ConcatMasterTableValue'
;
import
UpdateRalationBillValueFunction
from
'./formula/UpdateRalationBillValueFunction'
;
import
cacheSaveAction
from
'./actions/cacheSaveAction.js'
;
import
PhoneCheck
from
'./formula/PhoneCheck'
import
IDCardCheck
from
'./formula/IDCardCheck'
import
LenFunction
from
'./formula/LenFunction'
import
CheckDuplicateSubField
from
'./formula/CheckDuplicateSubField'
import
TakeOutBaseDataOne
from
'./formula/CheckDuplicateSubField'
import
ClearSubData
from
'./formula/ClearSubData'
import
DateOpera
from
'./formula/DateOpera'
import
BillPush
from
'./formula/BillPush'
import
MdFilterBySon
from
'./formula/MdFilterBySon'
import
GetSubStandard
from
'./formula/GetSubStandard'
import
GetLoginUserInfo
from
'./formula/GetLoginUserInfo'
import
CalcStandCost
from
'./formula/CalcStandCost'
import
GetMDByCodeFull
from
'./formula/GetMDByCodeFull'
import
UpdateBorrowMoneyState
from
'./formula/UpdateBorrowMoneyState'
import
ClearRealationBillState
from
'./formula/ClearRealationBillState'
import
VerifyDateYear
from
'./formula/VerifyDateYear'
import
GetStrLength
from
"@/formula/GetStrLength"
;
import
GetBaseDataWithCodes
from
"@/formula/GetBaseDataWithCodes"
;
import
GetFwssBaseDataWithGroupField
from
"@/formula/GetFwssBaseDataWithGroupField"
;
import
SetInternalAccommodation
from
"@/formula/SetInternalAccommodation"
;
import
SetInternalAccommodationTotal
from
"@/formula/SetInternalAccommodationTotal"
;
import
SetIsOverStandard
from
"@/formula/SetIsOverStandard"
;
import
GetYqddBaseDataWithGroupField
from
"@/formula/GetYqddBaseDataWithGroupField"
;
import
SetBaseDataForPay
from
"@/formula/SetBaseDataForPay"
;
import
CheckAmount
from
"@/formula/CheckAmount"
;
import
GetBaseDataSonCode
from
"@/formula/GetBaseDataSonCode"
;
import
ClearSubFields
from
"@/formula/ClearSubFields"
;
import
ClearSubField
from
"@/formula/ClearSubField"
;
import
GetExactDays
from
"@/formula/GetExactDays"
;
import
UpdateAccount
from
"@/formula/UpdateAccount"
;
import
SetSubFieldNull
from
"@/formula/SetSubFieldNull"
;
import
showPrint
from
'./components-control/showPrint.vue'
import
SetMasterAmount
from
"@/formula/SetMasterAmount"
;
...
...
@@ -150,49 +137,29 @@ import SetSubFieldValue from "@/formula/SetSubFieldValue";
import
CheckRoleAuthentication
from
"@/formula/CheckRoleAuthentication"
;
import
HasContainSubString
from
"@/formula/HasContainSubString"
;
import
customDeleteAction
from
"@/actions/customDeleteAction"
;
import
MdFilterOneToMulti
from
"@/formula/MdFilterOneToMulti"
;
import
MdYWHDDXFilter
from
"@/formula/MdYWHDDXFilter"
;
import
MdStringMultiFilter
from
"@/formula/MdStringMultiFilter"
;
import
updateFieldAction
from
'./query-actions/updateFieldAction'
;
import
MdFilterBaseDataIdToMulti
from
'./formula/MdFilterBaseDataIdToMulti'
;
import
GetMultiBaseDataCode
from
"@/formula/GetMultiBaseDataCode"
;
import
HasContainMultiBaseDataFields
from
"@/formula/HasContainMultiBaseDataFields"
;
import
GetMultiBaseDataFieldValues
from
"@/formula/GetMultiBaseDataFieldValues"
;
import
CheckInvoiceNumber
from
"@/formula/CheckInvoiceNumber"
;
import
CheckYwjdSave
from
"@/formula/CheckYwjdSave"
;
import
MdFilterByStartsWithFieldValue
from
"@/formula/MdFilterByStartsWithFieldValue"
;
import
SubString
from
"@/formula/SubString"
;
import
EqualsString
from
"@/formula/EqualsString"
;
import
downloadImage
from
"@/query-actions/imagemanage/downloadImage"
;
import
viewImage
from
"@/query-actions/imagemanage/viewImage"
;
import
jump2BillTemplate
from
"@/query-actions/imagemanage/jump2BillTemplate"
;
import
UpdateImageInfoRefState
from
"@/formula/UpdateImageInfoRefState"
;
import
ClearImageInfoRefState
from
"@/formula/ClearImageInfoRefState"
;
import
UpdatePaymentState
from
"@/formula/UpdatePaymentState"
;
import
GetMdOrgParentField
from
"@/formula/GetMdOrgParentField"
;
import
simpleAdvanceDeleteAction
from
"./query-actions/simpleAdvanceDeleteAction"
;
import
CheckReferenceRelation
from
"./formula/CheckReferenceRelation"
;
import
SubTableOneToOneFilter
from
"@/formula/SubTableOneToOneFilter"
;
import
simpleAdvanceDeleteAction
from
"./query-actions/simpleAdvanceDeleteAction"
;
import
draftFixBugAction
from
"@/actions/draftFixBugAction"
;
import
SubTableIsContainValue
from
"@/formula/SubTableIsContainValue"
;
import
GetSubTableRows
from
"@/formula/GetSubTableRows"
import
SubTableJointString
from
"@/formula/SubTableJointString"
import
LoginUserIsContianRole
from
"@/formula/SubTableJointString"
import
SubTableSetBaseData
from
"@/formula/SubTableSetBaseData"
import
ApplyTemplateString
from
"@/formula/ApplyTemplateString"
import
UpdateBillReferenceRelationshipFunction
from
"./formula/UpdateBillReferenceRelationshipFunction"
;
import
AmountComp
from
"./formula/AmountComp"
;
import
EqualsMasterAndSubField
from
"./formula/EqualsMasterAndSubField"
;
import
SubTableHasContainField
from
"./formula/SubTableHasContainField"
;
import
GetUserStaffInfo
from
"./formula/GetUserStaffInfo"
;
import
MdFilterInfiniteValue
from
"./formula/MdFilterInfiniteValue"
;
import
SetSubFieldsByBaseData
from
"./formula/SetSubFieldsByBaseData"
;
import
UpdateBillMoneyFunction
from
"./formula/UpdateBillMoneyFunction"
;
import
CheckReduceBudgetAmount
from
"./formula/CheckReduceBudgetAmount"
;
export
default
{
actions
:
{
updateFieldAction
,
MdStringMultiFilter
,
MdYWHDDXFilter
,
voucherQueryAction
,
voucherQueryTYAction
,
leafletGenerationAction
,
...
...
@@ -227,7 +194,6 @@ export default {
},
billAction
:
{
printMultiAction
,
MdFilterOneToMulti
,
sampleAction
,
searchBillAction
,
InfoModalActioncs
,
...
...
@@ -279,30 +245,20 @@ export default {
integerControl
},
formula
:
{
MdFilterInfiniteValue
,
SubTableSetBaseData
,
SetSubFieldsByBaseData
,
LoginUserIsContianRole
,
SubTableJointString
,
GetSubTableRows
,
SubTableIsContainValue
,
SubTableOneToOneFilter
,
GetMdOrgParentField
,
GetMdByFormerCode
,
MdFilterByStartsWithFieldValue
,
MdFilterBaseDataIdToMulti
,
SetBaseDataForPay
,
VerifyDateYear
,
UpdateBorrowMoneyState
,
GetMDByCodeFull
,
SubColSum
,
GmsGetNow
,
GetMDValue
,
ClearFieldValue
,
StringValue
,
GetMDByCode
,
SetMDFieldValue
,
GetUserDepartment
,
GetSubsidyStandard
,
CheckSublistSize
,
GetCurrencyRate
,
...
...
@@ -316,48 +272,35 @@ export default {
GetMdFieldValueByCode
,
SetDefaultValue
,
ConcatSubColValue
,
MdFilterBySpecialField
,
CalculateSubTableRow
,
MdFilterByMultipleFieldValue
,
GetCompareResult
,
ConditionalExecute
,
HideControlNew
,
SetControlDisable
,
GetOrgName
,
ConcatMasterTableValue
,
UpdateRalationBillValueFunction
,
PhoneCheck
,
IDCardCheck
,
LenFunction
,
CheckDuplicateSubField
,
TakeOutBaseDataOne
,
DateOpera
,
ClearSubData
,
BillPush
,
MdFilterBySon
,
GetSubStandard
,
CalcStandCost
,
GetLoginUserInfo
,
ClearRealationBillState
,
GetStrLength
,
GetBaseDataWithCodes
,
GetFwssBaseDataWithGroupField
,
SetInternalAccommodation
,
SetInternalAccommodationTotal
,
SetIsOverStandard
,
GetYqddBaseDataWithGroupField
,
CheckAmount
,
GetBaseDataSonCode
,
ClearSubField
,
ClearSubFields
,
GetExactDays
,
UpdateAccount
,
SetSubFieldNull
,
SetMasterAmount
,
HasContainExpandFields
,
SetMasterJdhdAmount
,
CheckJdhdAmount
,
CheckReduceBudgetAmount
,
SetSubFieldValue
,
CheckRoleAuthentication
,
HasContainSubString
,
...
...
@@ -369,17 +312,10 @@ export default {
CheckYwjdSave
,
SubString
,
EqualsString
,
UpdatePaymentState
,
UpdateImageInfoRefState
,
UpdateBillReferenceRelationshipFunction
,
ClearImageInfoRefState
,
CheckReferenceRelation
,
AmountComp
,
EqualsMasterAndSubField
,
SubTableHasContainField
,
GetUserStaffInfo
,
ApplyTemplateString
,
UpdateBillMoneyFunction
...
GeneralImportFile
},
routes
:
{
showPrint
:
{
...
...
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