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
d994b19d
Commit
d994b19d
authored
Mar 04, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取bill.action方式变更
parent
ac81753e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
12 deletions
+16
-12
editAction.js
develop/@gms/gms-plugin-billexpand/src/actions/editAction.js
+2
-1
saveAction.js
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
+2
-1
saveActionBXD.js
...p/@gms/gms-plugin-billexpand/src/actions/saveActionBXD.js
+2
-1
submitAction.js
...op/@gms/gms-plugin-billexpand/src/actions/submitAction.js
+0
-3
tempSave.js
develop/@gms/gms-plugin-billexpand/src/actions/tempSave.js
+2
-1
referenceIgnore.js
...gms-plugin-billexpand/src/actions/util/referenceIgnore.js
+3
-2
add-info-modal.vue
...ugin-billexpand/src/components-control/add-info-modal.vue
+5
-3
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/editAction.js
View file @
d994b19d
...
...
@@ -7,7 +7,8 @@ export default {
let
name
=
GMS
.
$hideContainer
.
addComponent
(
addInfoModal
,
{},
function
(
c
)
{
component
=
c
;
c
.
bill
=
bill
;
let
arr
=
bill
.
action
.
filter
(
v
=>
v
.
execute
==
"searchBillAction"
);
let
action
=
bill
.
curForm
.
content
.
actions
;
let
arr
=
action
.
filter
(
v
=>
v
.
execute
==
"searchBillAction"
);
let
tableName
=
null
;
if
(
arr
.
length
>
0
){
c
.
actionParam
=
arr
[
0
];
...
...
develop/@gms/gms-plugin-billexpand/src/actions/saveAction.js
View file @
d994b19d
...
...
@@ -19,7 +19,8 @@ export default {
let
that
=
this
;
let
buidData
=
bill
.
getBuillData
();
console
.
log
(
"buidData:"
,
buidData
);
let
controlArr
=
bill
.
action
.
filter
((
v
)
=>
v
.
execute
==
"searchBillAction"
);
let
action
=
bill
.
curForm
.
content
.
actions
;
let
controlArr
=
action
.
filter
((
v
)
=>
v
.
execute
==
"searchBillAction"
);
let
detailData
=
[];
let
arrApi1
=
[];
if
(
...
...
develop/@gms/gms-plugin-billexpand/src/actions/saveActionBXD.js
View file @
d994b19d
...
...
@@ -44,7 +44,8 @@ export default {
let
that
=
this
;
let
buidData
=
bill
.
getBuillData
();
console
.
log
(
'buidData:'
,
buidData
);
let
controlArr
=
bill
.
action
.
filter
(
let
action
=
bill
.
curForm
.
content
.
actions
;
let
controlArr
=
action
.
filter
(
(
v
)
=>
v
.
execute
==
"searchBillAction"
);
let
detailData
=
[];
...
...
develop/@gms/gms-plugin-billexpand/src/actions/submitAction.js
View file @
d994b19d
import
Bridge
from
'../components-control/util/bridge'
import
typesBill
from
'../components-control/typesBill.vue'
;
import
errorMessageUtil
from
"./util/errorMessageUtil"
;
import
{
getUUID
}
from
"../query-actions/util/lib"
;
export
default
{
execute
:
function
(
bill
,
param
)
{
if
(
param
&&
param
.
param
&&
param
.
param
.
budgetcontrol
)
{
...
...
develop/@gms/gms-plugin-billexpand/src/actions/tempSave.js
View file @
d994b19d
...
...
@@ -15,7 +15,8 @@ export default {
saveData
(
bill
,
param
)
{
let
that
=
this
;
let
buidData
=
bill
.
getBuillData
();
let
controlArr
=
bill
.
action
.
filter
((
v
)
=>
v
.
execute
===
"searchBillAction"
);
let
action
=
bill
.
curForm
.
content
.
actions
;
let
controlArr
=
action
.
filter
((
v
)
=>
v
.
execute
===
"searchBillAction"
);
let
detailData
=
[];
let
arrApi1
=
[];
if
(
...
...
develop/@gms/gms-plugin-billexpand/src/actions/util/referenceIgnore.js
View file @
d994b19d
...
...
@@ -10,8 +10,9 @@
* @date 2022-01-24
*/
export
function
actionIgnoreField
(
bill
)
{
if
(
bill
.
action
&&
bill
.
action
.
length
>
0
)
{
let
obj
=
bill
.
action
.
find
(
v
=>
v
.
execute
==
'customerSelectAction'
)
//引用申请单动作
let
action
=
bill
.
curForm
.
content
.
actions
;
if
(
action
&&
action
.
length
>
0
)
{
let
obj
=
action
.
find
(
v
=>
v
.
execute
==
'customerSelectAction'
)
//引用申请单动作
let
str
=
''
if
(
obj
&&
obj
.
param
&&
obj
.
param
.
field
){
str
+=
Object
.
keys
(
obj
.
param
.
field
).
join
();
...
...
develop/@gms/gms-plugin-billexpand/src/components-control/add-info-modal.vue
View file @
d994b19d
...
...
@@ -123,7 +123,8 @@ export default {
GMS
.
vbus
.
$off
(
"closeModal"
);
});
GMS
.
vbus
.
$on
(
"cacheEcho"
,
(
param
)
=>
{
let
controlArr
=
this
.
bill
.
action
.
filter
(
let
action
=
this
.
bill
.
curForm
.
content
.
actions
;
let
controlArr
=
action
.
filter
(
(
v
)
=>
v
.
execute
==
"searchBillAction"
);
if
(
controlArr
.
length
==
0
)
{
...
...
@@ -148,7 +149,7 @@ export default {
this
.
$message
.
error
(
"没有匹配的字段"
);
return
;
}
let
arr
=
this
.
bill
.
action
.
filter
((
v
)
=>
v
.
execute
==
"editAction"
);
let
arr
=
action
.
filter
((
v
)
=>
v
.
execute
==
"editAction"
);
if
(
arr
.
length
>
0
)
{
obj
[
"BILLID"
]
=
param
.
id
;
//记录一下id
obj
[
"BILLNAME"
]
=
param
.
billDefine
;
//记录一下单据标识;
...
...
@@ -248,8 +249,9 @@ export default {
if
(
arr1
.
length
==
0
)
{
return
obj
;
}
let
action
=
this
.
bill
.
curForm
.
content
.
actions
;
let
targetTableName
=
arr1
[
0
].
targetTableName
;
let
controlArr
=
this
.
bill
.
action
.
filter
(
let
controlArr
=
action
.
filter
(
(
v
)
=>
v
.
execute
==
"searchBillAction"
);
let
tableName
=
controlArr
[
0
].
param
.
field
[
0
].
targetTableName
;
...
...
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