Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
eeff2d5d
Commit
eeff2d5d
authored
Nov 18, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申报交易检核、提交功能完善
parent
75362606
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
8 deletions
+19
-8
FunctionBtn.vue
src/components/FunctionBtn.vue
+2
-2
commonFuncs.js
src/mixin/commonFuncs.js
+16
-4
Basp.vue
src/views/Business/Dbcadd/Basp.vue
+0
-2
index.vue
src/views/Business/Dbcadd/index.vue
+1
-0
No files found.
src/components/FunctionBtn.vue
View file @
eeff2d5d
...
...
@@ -88,10 +88,10 @@ export default {
// },
start
:
async
function
()
{
this
.
handleSubmit
&&
(
await
this
.
handleSubmit
());
this
.
handleSubmit
&&
(
await
this
.
handleSubmit
(
'bopbut.sav'
));
},
check
:
async
function
()
{
this
.
handleCheck
&&
(
await
this
.
handleCheck
());
this
.
handleCheck
&&
(
await
this
.
handleCheck
(
'bopbut.chk'
));
},
save
:
async
function
()
{
this
.
handleStash
&&
(
await
this
.
handleStash
());
...
...
src/mixin/commonFuncs.js
View file @
eeff2d5d
...
...
@@ -3,8 +3,14 @@ import Utils from "~/utils";
export
default
{
methods
:
{
// 表单提交
async
handleSubmit
()
{
let
result
=
await
this
.
save
();
async
handleSubmit
(
rulePath
)
{
let
result
;
if
(
rulePath
==
""
){
result
=
await
this
.
save
();
}
else
{
result
=
await
this
.
executeRule
(
rulePath
);
}
// let result = await this.save();
if
(
result
.
respCode
==
SUCCESS
&&
Object
.
keys
(
result
.
fieldErrors
).
length
==
0
)
{
this
.
$notify
({
title
:
"成功"
,
...
...
@@ -111,8 +117,14 @@ export default {
}
},
// 表单校验
async
handleCheck
()
{
let
result
=
await
this
.
checkAll
();
async
handleCheck
(
rulePath
)
{
let
result
;
if
(
rulePath
==
""
){
result
=
await
this
.
checkAll
();
}
else
{
result
=
await
this
.
executeRule
(
rulePath
);
}
// let result = await this.checkAll();
if
(
result
.
respCode
==
SUCCESS
)
{
const
fieldErrors
=
result
.
fieldErrors
;
this
.
updateModel
(
result
.
data
);
...
...
src/views/Business/Dbcadd/Basp.vue
View file @
eeff2d5d
...
...
@@ -19,7 +19,6 @@
style=
"width: 100%"
placeholder=
"请选择操作类型"
:code=
"codes.actiontype"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -214,7 +213,6 @@
v-model=
"model.recgrp.bas.custcod"
maxlength=
"18"
placeholder=
"请输入组织机构代码"
disabled
></c-input>
<template
slot=
"footer"
>
<c-checkbox
...
...
src/views/Business/Dbcadd/index.vue
View file @
eeff2d5d
...
...
@@ -35,6 +35,7 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<!-- ('bopbut.chk') -->
</c-function-btn>
</c-page>
</div>
...
...
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