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
1c2ec587
Commit
1c2ec587
authored
Oct 12, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtset单据结算也单据金额修改
parent
23b0136f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
31 deletions
+34
-31
Default.js
src/model/Brtset/Default.js
+1
-1
Event.js
src/model/Brtset/Event.js
+20
-20
Pattern.js
src/model/Brtset/Pattern.js
+3
-3
Utlp.vue
src/views/Business/Brtset/Utlp.vue
+10
-7
No files found.
src/model/Brtset/Default.js
View file @
1c2ec587
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
"dftcre.dfdgrp.rec.fintyp"
:
Utils
.
defaultFunction
,
"dftcre.dfdgrp.rec.fintyp"
:
Utils
.
defaultFunction
,
"bptbck.dscbckcur"
:
Utils
.
defaultFunction
,
"bptbck.dscbckcur"
:
Utils
.
defaultFunction
,
"setmod.doccur"
:
Utils
.
defaultFunction
,
"setmod.doccur"
:
Utils
.
defaultFunction
,
"setmod.docamt"
:
Utils
.
defaultFunction
,
//
"setmod.docamt" :Utils.defaultFunction,
"trtcre.trtp.flowflag"
:
Utils
.
defaultFunction
,
"trtcre.trtp.flowflag"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.oth.pts.extkey"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.oth.pts.extkey"
:
Utils
.
defaultFunction
,
"dftcre.dfflag"
:
Utils
.
defaultFunction
,
"dftcre.dfflag"
:
Utils
.
defaultFunction
,
...
...
src/model/Brtset/Event.js
View file @
1c2ec587
...
@@ -391,25 +391,24 @@ export default {
...
@@ -391,25 +391,24 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onChangeDocamt
(){
// async onChangeDocamt(){
this
.
flag3
=
false
;
// this.flag3 = false;
let
isNull
=
this
.
model
.
mtabut
.
clsflg
;
//获取调用前的勾选状态
// let isNull = this.model.mtabut.clsflg; //获取调用前的勾选状态
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.docamt"
)
// let rtnmsg = await this.executeRule("setmod.docamt")
if
(
rtnmsg
.
respCode
==
SUCCESS
)
// if(rtnmsg.respCode == SUCCESS)
{
// {
//TODO 处理数据逻辑
// //TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
// this.updateModel(rtnmsg.data);
this
.
flag3
=
true
;
// this.flag3 = true;
//初始化勾选
// //初始化勾选
if
(
isNull
!=
""
){
//如果调用前为勾选,调后也勾选
// if(isNull != ""){ //如果调用前为勾选,调后也勾选
this
.
model
.
mtabut
.
clsflg
=
"X"
;
// this.model.mtabut.clsflg="X";
}
// }
// }
}
// else
else
// {
{
// this.$notify.error({title: '错误',message: '服务请求失败!'});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
// }
}
// },
},
}
}
\ No newline at end of file
src/model/Brtset/Pattern.js
View file @
1c2ec587
...
@@ -19,7 +19,7 @@ export default {
...
@@ -19,7 +19,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
{
max
:
3
,
message
:
"长度不能超过3"
}
],
],
"lidgrp.cbs.opn1.amt"
:[
"lidgrp.cbs.opn1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
],
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
"brdgrp.rec.tenmaxday"
:[
"brdgrp.rec.tenmaxday"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3
"
}
{
type
:
"number"
,
max
:
999
,
message
:
"不能超过999
"
}
],
],
"brdgrp.prb.pts.ref"
:[
"brdgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
],
],
"brdgrp.prb.pts.adrblk"
:[
"brdgrp.prb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
1
00
,
message
:
"长度不能超过10
0"
}
{
max
:
1
40
,
message
:
"长度不能超过14
0"
}
],
],
"brdgrp.prb.dbfadrblkcn"
:[
"brdgrp.prb.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Brtset/Utlp.vue
View file @
1c2ec587
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"远期最大期限"
prop=
"brdgrp.rec.tenmaxday"
label-width=
"120px"
>
<el-form-item
label=
"远期最大期限"
prop=
"brdgrp.rec.tenmaxday"
label-width=
"120px"
>
<c-input
v-model=
"model.brdgrp.rec.tenmaxday"
placeholder=
"请输入天数"
disabled
></c-input>
<c-input
v-model
.
number
=
"model.brdgrp.rec.tenmaxday"
placeholder=
"请输入天数"
disabled
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
...
@@ -161,7 +161,8 @@
...
@@ -161,7 +161,8 @@
</c-col>
</c-col>
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"setmod.docamt"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"setmod.docamt"
>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入金额"
@
blur=
"onChangeDocamt"
></c-input>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入金额"
@
keyup
.
enter
.
native=
"$event.target.blur()"
@
blur=
"eventFunction('setmod.docamt')"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -174,7 +175,7 @@
...
@@ -174,7 +175,7 @@
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<c-fullbox>
<c-fullbox>
<el-form-item
label=
""
label-width=
"5px"
prop=
"setmod.setamt"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"setmod.setamt"
>
<c-input
v-model=
"model.setmod.setamt"
placeholder=
"请输入金额"
:disabled=
this.flag3
></c-input>
<c-input
v-model=
"model.setmod.setamt"
placeholder=
"请输入金额"
disabled
></c-input>
</el-form-item>
</el-form-item>
</c-fullbox>
</c-fullbox>
</c-col>
</c-col>
...
@@ -191,7 +192,8 @@
...
@@ -191,7 +192,8 @@
</c-col>
</c-col>
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<el-form-item
label=
""
prop=
"aamset.utlamt"
label-width=
"5px"
>
<el-form-item
label=
""
prop=
"aamset.utlamt"
label-width=
"5px"
>
<c-input
v-model=
"model.aamset.utlamt"
placeholder=
"请输入金额"
:disabled=
this.flag3
></c-input>
<c-input
v-model=
"model.aamset.utlamt"
placeholder=
"请输入金额"
@
keyup
.
enter
.
native=
"$event.target.blur()"
@
blur=
"eventFunction('aamset.utlamt')"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -205,7 +207,8 @@
...
@@ -205,7 +207,8 @@
</c-col>
</c-col>
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<el-form-item
label=
""
prop=
"aamset.utlamt2"
label-width=
"5px"
>
<el-form-item
label=
""
prop=
"aamset.utlamt2"
label-width=
"5px"
>
<c-input
v-model=
"model.aamset.utlamt2"
placeholder=
"请输入金额"
:disabled=
this.flag3
></c-input>
<c-input
v-model=
"model.aamset.utlamt2"
placeholder=
"请输入金额"
@
change=
"eventFunction('aamset.utlamt2')"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -224,7 +227,7 @@
...
@@ -224,7 +227,7 @@
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"闭卷标识"
label-width=
"80px"
prop=
"
setmod.docamt
"
style=
"margin-left:20px"
>
<el-form-item
label=
"闭卷标识"
label-width=
"80px"
prop=
"
mtabut.clsflg
"
style=
"margin-left:20px"
>
<c-checkbox
v-model=
"model.mtabut.clsflg"
style=
"margin-left:20px"
true-label=
"X"
></c-checkbox>
<c-checkbox
v-model=
"model.mtabut.clsflg"
style=
"margin-left:20px"
true-label=
"X"
></c-checkbox>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -443,7 +446,7 @@
...
@@ -443,7 +446,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"brdgrp.prb.pts.adrblk"
>
<el-form-item
label=
"名称地址"
prop=
"brdgrp.prb.pts.adrblk"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.prb.pts.adrblk"
row=
"4"
maxlength=
"
35
"
show-word-limit
placeholder=
"请输入名称地址"
disabled
></c-input>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.prb.pts.adrblk"
row=
"4"
maxlength=
"
140
"
show-word-limit
placeholder=
"请输入名称地址"
disabled
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
...
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