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
3c8d4600
Commit
3c8d4600
authored
Nov 08, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitopn缺陷解决-动态码表,支出目的
parent
878e7362
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
21 deletions
+36
-21
index.js
src/config/CodeTable/index.js
+6
-6
commonApi.js
src/mixin/commonApi.js
+2
-2
Wg.vue
src/views/Business/Bptopn/Wg.vue
+1
-1
Ovwp1.vue
src/views/Business/Gitopn/Ovwp1.vue
+16
-2
Ovwpc.vue
src/views/Business/Gitopn/Ovwpc.vue
+4
-2
Ptypc.vue
src/views/Business/Gitopn/Ptypc.vue
+7
-8
No files found.
src/config/CodeTable/index.js
View file @
3c8d4600
...
@@ -7323,12 +7323,12 @@ const CodeTable = {
...
@@ -7323,12 +7323,12 @@ const CodeTable = {
{
label
:
"受益人"
,
value
:
"BENE"
},
{
label
:
"受益人"
,
value
:
"BENE"
},
],
],
gartypc
:
[
gartypc
:
[
{
label
:
"APAY"
,
value
:
"APAY Advance Payment
"
},
{
label
:
"APAY Advance Payment"
,
value
:
"APAY
"
},
{
label
:
"PAYM"
,
value
:
"PAYM Payment
"
},
{
label
:
"PAYM Payment"
,
value
:
"PAYM
"
},
{
label
:
"PERF"
,
value
:
"PERF Performance
"
},
{
label
:
"PERF Performance"
,
value
:
"PERF
"
},
{
label
:
"TEND"
,
value
:
"TEND Tender or Bid
"
},
{
label
:
"TEND Tender or Bid"
,
value
:
"TEND
"
},
{
label
:
"WARR"
,
value
:
"WARR Warrantyimaintenance
"
},
{
label
:
"WARR Warrantyimaintenance"
,
value
:
"WARR
"
},
],
],
legfrm1
:
[
legfrm1
:
[
{
label
:
"备用信用证"
,
value
:
"STBY"
},
{
label
:
"备用信用证"
,
value
:
"STBY"
},
{
label
:
"合同保函统一规则URCG"
,
value
:
"URG"
},
{
label
:
"合同保函统一规则URCG"
,
value
:
"URG"
},
...
...
src/mixin/commonApi.js
View file @
3c8d4600
...
@@ -37,8 +37,8 @@ export default {
...
@@ -37,8 +37,8 @@ export default {
},
},
/*
/*
获取后台setValues、setCodeValues传来的动态码,并自动转为码表值。
获取后台setValues、setCodeValues传来的动态码,并自动转为码表值。
key:为后端传来的CodeSet的字段path,如
bddgrp.rec.docprbrol
key:为后端传来的CodeSet的字段path,如
'bddgrp.rec.docprbrol'
tableName:src下的全局静态码表中的码表名称,如
rolall
tableName:src下的全局静态码表中的码表名称,如
'rolall'
如后端传来的CodeSet下该字段值为"value+lable",则不用传参数tableName
如后端传来的CodeSet下该字段值为"value+lable",则不用传参数tableName
如后端传来的CodeSet下该字段值仅有"value",则需传参数tableName,去全局静态码表中找到相应码表,根据value值找到lable值
如后端传来的CodeSet下该字段值仅有"value",则需传参数tableName,去全局静态码表中找到相应码表,根据value值找到lable值
*/
*/
...
...
src/views/Business/Bptopn/Wg.vue
View file @
3c8d4600
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
v-model=
"model.bopmod.szflg"
v-model=
"model.bopmod.szflg"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择申报类型"
placeholder=
"请选择申报类型"
:code=
"
codes.szflg3
"
:code=
"
getValues('bopmod.szflg','szflg1')
"
>
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
...
...
src/views/Business/Gitopn/Ovwp1.vue
View file @
3c8d4600
...
@@ -203,6 +203,7 @@
...
@@ -203,6 +203,7 @@
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择支出目的"
placeholder=
"请选择支出目的"
:code=
"getValues('gidgrp.rec.purpos')"
:code=
"getValues('gidgrp.rec.purpos')"
@
change=
"purposChange"
>
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
...
@@ -2035,8 +2036,21 @@ export default {
...
@@ -2035,8 +2036,21 @@ export default {
onSeainf
(
data
)
{
onSeainf
(
data
)
{
this
.
$emit
(
"onSeainf"
,
data
);
this
.
$emit
(
"onSeainf"
,
data
);
},
},
valueChange
()
{
async
purposChange
(){
if
(
this
.
onlySearch
)
return
;
let
rtnmsg
=
await
this
.
executeRule
(
"gidgrp.rec.purpos"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
if
(
this
.
model
.
gidgrp
.
rec
.
purpos
==
'ISCO'
||
this
.
model
.
gidgrp
.
rec
.
purpos
==
'ICCO'
){
this
.
$nextTick
(()
=>
{
this
.
executeRule
(
"gitp.ptypc"
).
then
((
res
)
=>
{
//TODO 处理数据逻辑
if
(
res
.
respCode
==
SUCCESS
)
this
.
updateModel
(
res
.
data
);
});
});
}
}
},
},
async
atxexpBlur
()
{
async
atxexpBlur
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"gidgrp.blk.atxexptxt"
);
let
rtnmsg
=
await
this
.
executeRule
(
"gidgrp.blk.atxexptxt"
);
...
...
src/views/Business/Gitopn/Ovwpc.vue
View file @
3c8d4600
...
@@ -51,14 +51,16 @@
...
@@ -51,14 +51,16 @@
v-model=
"model.gidgrp.rec.gartypc"
v-model=
"model.gidgrp.rec.gartypc"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择保函类型 "
placeholder=
"请选择保函类型 "
:code=
"getValues('gidgrp.rec.gartypc','gartypc')"
>
>
<el-option
<!-- -->
<!--
<el-option
v-for=
"item in codes.gartypc"
v-for=
"item in codes.gartypc"
:key=
"item.value"
:key=
"item.value"
:label=
"item.label"
:label=
"item.label"
:value=
"item.value"
:value=
"item.value"
>
>
</el-option>
</el-option>
-->
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
...
src/views/Business/Gitopn/Ptypc.vue
View file @
3c8d4600
...
@@ -173,8 +173,8 @@
...
@@ -173,8 +173,8 @@
@
keyup
.
enter
.
native=
"
@
keyup
.
enter
.
native=
"
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
"
@
blur=
"issBlur"
></c-input>
></c-input>
<
template
slot=
"footer"
>
<
template
slot=
"footer"
>
<c-button
<c-button
style=
"margin: 0 10px 0 10px; padding: 0 12px"
style=
"margin: 0 10px 0 10px; padding: 0 12px"
...
@@ -208,7 +208,6 @@
...
@@ -208,7 +208,6 @@
></c-input>
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
<el-form-item
label=
"最终收款行参考号"
label=
"最终收款行参考号"
...
@@ -344,12 +343,12 @@ export default {
...
@@ -344,12 +343,12 @@ export default {
},
},
methods
:
{
methods
:
{
...
Event
,
...
Event
,
async
issBlur
()
{
//
async issBlur() {
let
rtnmsg
=
await
this
.
executeDefault
(
"gidgrp.rec.sndto"
);
//
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//
if (rtnmsg.respCode == SUCCESS) {
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
//
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
//
}
},
//
},
},
},
created
:
function
()
{},
created
:
function
()
{},
};
};
...
...
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