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
zhouqian
vue-gjjs
Commits
72177b55
Commit
72177b55
authored
Jul 15, 2022
by
wangyanjiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botdav字段及事件
parent
f5b7ca37
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
7 deletions
+20
-7
Default.js
src/model/Botdav/Default.js
+2
-0
Event.js
src/model/Botdav/Event.js
+11
-0
Pattern.js
src/model/Botdav/Pattern.js
+1
-1
index.js
src/utils/index.js
+1
-0
Brtdckp.vue
src/views/Business/Bdtdck/Brtdckp.vue
+3
-3
Srmp.vue
src/views/Business/Botdav/Srmp.vue
+2
-2
Botdcrp1.vue
src/views/Business/Botdcr/Botdcrp1.vue
+0
-1
No files found.
src/model/Botdav/Default.js
View file @
72177b55
...
...
@@ -6,6 +6,8 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"bodgrp.rec.matdat"
:
Utils
.
defaultFunction
,
"bodgrp.srm.djutyp"
:
Utils
.
defaultFunction
,
"bodgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"bodgrp.dre.pts.extkey"
:
Utils
.
defaultFunction
,
"bodgrp.dre.adrelc"
:
Utils
.
defaultFunction
,
...
...
src/model/Botdav/Event.js
View file @
72177b55
...
...
@@ -177,5 +177,15 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
changeDjutyp
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"bodgrp.srm.djutyp"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Botdav/Pattern.js
View file @
72177b55
...
...
@@ -113,7 +113,7 @@ export default {
],
"bodgrp.rec.matdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"bodgrp.col.namelc"
:[
...
...
src/utils/index.js
View file @
72177b55
...
...
@@ -209,6 +209,7 @@ export default class Utils {
this
.
executeNotify
().
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
const
data
=
res
.
data
;
console
.
log
(
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
if
(
typeof
callback
===
"function"
)
{
callback
()
...
...
src/views/Business/Bdtdck/Brtdckp.vue
View file @
72177b55
...
...
@@ -105,12 +105,11 @@
</el-form-item>
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label-width=
"0"
prop=
"bddgrp.cbs.max.amt"
>
<c-input
<el-form-item
label-width=
"0"
prop=
"bddgrp.cbs.max.amt"
>
<c-input
:disabled=
"model.mhty=='R'"
v-model=
"model.bddgrp.cbs.max.amt"
maxlength=
"3"
placeholder=
"请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -247,6 +246,7 @@
v-model=
"model.bddgrp.cbs.max.amt"
maxlength=
"3"
placeholder=
"请输入单据金额"
:disabled=
"model.mhty=='R'"
></c-input>
</el-form-item>
</c-col>
...
...
src/views/Business/Botdav/Srmp.vue
View file @
72177b55
...
...
@@ -2,8 +2,8 @@
<c-row>
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bodgrp.srm.djutyp"
>
<c-select
v-model=
"model.bodgrp.srm.djutyp"
style=
"width:100%"
placeholder=
"请选择单据类型"
:code=
"codes.djutyp"
>
<el-form-item
label=
"单据类型"
prop=
"bodgrp.srm.djutyp"
>
<c-select
v-model=
"model.bodgrp.srm.djutyp"
style=
"width:100%"
placeholder=
"请选择单据类型"
:code=
"codes.djutyp"
@
change=
"changeDjutyp"
>
</c-select>
</el-form-item>
</c-col>
...
...
src/views/Business/Botdcr/Botdcrp1.vue
View file @
72177b55
...
...
@@ -11,7 +11,6 @@
</c-col>
<c-col
:span=
"4"
>
<c-button
style=
"margin:0 10px 0 0;padding: 0 10px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
></c-button>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
...
...
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