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
f2724c35
Commit
f2724c35
authored
Jul 26, 2021
by
SunJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
625d4c3d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
240 additions
and
97 deletions
+240
-97
index.js
src/config/CodeTable/index.js
+0
-0
Pattern.js
src/model/Ditopn/Pattern.js
+8
-6
Docpan.vue
src/views/Business/Ditopn/Docpan.vue
+1
-0
Setpan.vue
src/views/Business/Ditopn/Setpan.vue
+230
-66
index.vue
src/views/Business/Ditopn/index.vue
+1
-25
No files found.
src/config/CodeTable/index.js
View file @
f2724c35
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/model/Ditopn/Pattern.js
View file @
f2724c35
...
...
@@ -415,21 +415,23 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"didgrp.cmb.pts.bankno"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
// 申请行
"didgrp.apc.pts.bankno"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"didgrp.apc.pts.jigomc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"didgrp.cmb.pts.bankno"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20
"
}
{
max
:
35
,
message
:
"长度不能超过35
"
}
],
"didgrp.apc.pts.dizhii"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"didgrp.apc.pts.youzbm"
:
[
...
...
src/views/Business/Ditopn/Docpan.vue
View file @
f2724c35
...
...
@@ -59,6 +59,7 @@
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
:disabled=
"model.trnmod.trndoc.doceot[scope.row.index].apf=='SWT001'&&model.didgrp.iss.pts.bankno==model.didgrp.adv.pts.bankno"
@
click=
"handleDisplay(scope.row.index, scope.row)"
>
显示
</el-button>
<el-button
size=
"mini"
...
...
src/views/Business/Ditopn/Setpan.vue
View file @
f2724c35
<
template
>
<div
class=
"eibs-tab"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"参考号"
>
<c-input
v-model=
"model.setmod.ref"
maxlength=
"16"
:readonly=
"true"
placeholder=
"请输入our reference"
></c-input>
<el-row
class=
"eibs-tab"
>
<!-- ====================顶部==================== -->
<el-col
:span=
"6"
>
<el-form-item
label=
"参考号"
label-width=
"100px"
>
<c-input
v-model=
"model.setmod.ref"
maxlength=
"16"
:readonly=
"true"
placeholder=
"请输入our reference"
></c-input>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<span
v-text=
"model.setmod.docamttyplab"
data-path=
".setmod.docamttyplab"
>
</span>
</el-col>
-->
<el-col
:span=
"8"
>
<el-form-item
label=
"结算金额"
>
<c-input
v-model=
"model.setmod.doccur"
style=
"width:100%"
placeholder=
"CNY"
:readonly=
"true"
></c-input>
<el-col
:span=
"6"
>
<el-form-item
label=
"结算金额"
label-width=
"100px"
>
<c-input
v-model=
"model.setmod.doccur"
style=
"width: 100%"
placeholder=
"CNY"
:readonly=
"true"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
""
label-width=
"20px"
>
<c-input
v-model=
"model.setmod.docamt"
:readonly=
"true"
placeholder=
"请输入document amount"
></c-input>
<c-input
v-model=
"model.setmod.docamt"
:readonly=
"true"
placeholder=
"请输入document amount"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"类型"
>
<c-select
v-model=
"model.setmod.dspflg"
disabled
style=
"width:100%"
placeholder=
"请选择Type of settlement"
>
<el-option
v-for=
"item in codes.dspflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"类型"
label-width=
"100px"
>
<c-select
v-model=
"model.setmod.dspflg"
disabled
style=
"width: 100%"
placeholder=
"请选择Type of settlement"
>
<el-option
v-for=
"item in codes.dspflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
@@ -41,68 +57,162 @@
<c-input
v-model=
"model.setmod.zmqacc"
maxlength=
"20"
placeholder=
"请输入自贸区账号"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
style=
"text-align:center"
>
<c-checkbox
v-model=
"model.setmod.xreflg"
>
Recalculate Rates
</c-checkbox>
</el-col>
-->
<el-col
:span=
"3"
>
<el-col
:span=
"3"
:offset=
"21"
>
<el-form-item
label=
""
label-width=
"20px"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSetmodDet"
>
细节
</c-button>
</el-form-item>
</el-col>
<!-- ==============中部表格===================== -->
<el-col
:span=
"24"
>
<el-form-item
label=
"Foreign Commission/Charges:"
label-width=
"210px"
>
<el-form-item
label=
"Foreign Commission/Charges:"
label-width=
"210px"
>
</el-form-item>
</el-col>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<c-table
style=
"text-align:center"
:list=
"model.setmod.setfog.setfol"
:paginationShow=
"false"
>
<el-col
:span=
"24"
style=
"margin-bottom: 18px"
>
<c-table
style=
"text-align: center"
:list=
"model.setmod.setfog.setfol"
:paginationShow=
"false"
>
<el-table-column
label=
"Payer"
prop=
"ptydbt"
width=
"auto"
>
<template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.ptydbt"
>
<el-option
v-for=
"item in codes.ptydbt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Payee"
prop=
"ptypay"
width=
"auto"
>
<el-table-column
label=
"Payee"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.Payee"
>
<el-option
v-for=
"item in codes.Payee"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Source"
prop=
"src"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Disp"
prop=
"dsp"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Text for Payer"
prop=
"txtdbt"
width=
"auto"
>
<el-table-column
label=
"Text for Payer"
prop=
"txtdbt"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Text for Payee"
prop=
"txtpay"
width=
"auto"
>
<el-table-column
label=
"Text for Payee"
prop=
"txtpay"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Currency"
prop=
"cur"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.cur"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Amount"
prop=
"amt"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
""
prop=
"det"
width=
"auto"
>
<
template
slot-scope=
"scope"
slot=
"header"
>
<el-button
class=
"el-icon-circle-plus-outline"
size=
"mini"
@
click=
"addRow(scope)"
>
</el-button>
<el-button
class=
"el-icon-remove-outline"
size=
"mini"
@
click=
"removeRow(scope)"
>
</el-button>
</
template
>
</el-table-column>
</c-table>
</el-col>
<
el-col
:span=
"24"
style=
"text-align:left"
>
<el-form-item
label=
"Own Commission/Charges:
"
>
</el-form-item>
<
!--=================== Own Commission/Charges:================== --
>
<el-col
:span=
"24"
style=
"text-align: left
"
>
<
el-form-item
label=
"Own Commission/Charges:"
>
<
/el-form-item>
</el-col>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<c-table
style=
"text-align:center"
:list=
"model.setmod.setfeg.setfel"
:paginationShow=
"false"
>
<el-table-column
label=
"Role"
prop=
"rol"
width=
"auto"
>
<el-col
:span=
"24"
style=
"margin-bottom: 18px"
>
<c-table
style=
"text-align: center"
:list=
"model.setmod.setfeg.setfel"
:paginationShow=
"false"
>
<el-table-column
label=
"Role"
width=
"auto"
>
<
template
#
default=
"scope"
>
<el-select
v-model=
"scope.row.rol"
>
<el-option
v-for=
"item in codes.setfelRol"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Code"
prop=
"feecod"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Source"
prop=
"src"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Disp"
prop=
"dsp"
width=
"auto"
>
<el-table-column
label=
"Disp"
width=
"auto"
>
<
template
#
default=
"scope"
>
<el-select
v-model=
"scope.row.dsp"
>
<el-option
v-for=
"item in codes.setfeldsp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Units"
prop=
"unt"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Long Fee Text"
prop=
"feetxtinf"
width=
"auto"
>
<el-table-column
label=
"Long Fee Text"
prop=
"feetxtinf"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Currency"
prop=
"cur"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Original Amount"
prop=
"ogiamt"
width=
"auto"
>
<el-table-column
label=
"Original Amount"
prop=
"ogiamt"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Fee Amount"
prop=
"amt"
width=
"auto"
>
</el-table-column>
...
...
@@ -110,66 +220,120 @@
</el-table-column>
</c-table>
</el-col>
<el-col
:span=
"24"
style=
"text-align:left"
>
<el-form-item
label=
"Settlement:"
>
<el-col
:span=
"24"
style=
"text-align:
left"
>
<el-form-item
label=
"Settlement:"
label-width=
"100px"
>
</el-form-item>
</el-col>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<c-table
style=
"text-align:center"
:list=
"model.setmod.setglg.setgll"
:paginationShow=
"false"
>
<el-col
:span=
"24"
style=
"margin-bottom: 18px"
>
<c-table
style=
"text-align: center"
:list=
"model.setmod.setglg.setgll"
:paginationShow=
"false"
>
<el-table-column
label=
"Mod"
prop=
"modflg"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Role"
prop=
"rol"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"in"
prop=
"acccur"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.acccur"
>
<el-option
v-for=
"item in scope.acccur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Amount Paid"
prop=
"fmtaccamt"
width=
"auto"
>
<el-table-column
label=
"Amount Paid"
prop=
"fmtaccamt"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Disp."
prop=
"dsp"
width=
"auto"
>
<el-table-column
label=
"Disp."
width=
"auto"
>
<
template
#
default=
"scope"
>
<el-select
v-model=
"scope.row.dsp"
>
<el-option
v-for=
"item in codes.setglldsp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Account"
prop=
"act"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.act"
>
<el-option
v-for=
"item in scope.act"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"C"
prop=
"debcdtflg"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Curr."
prop=
"cur"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Original Amount"
prop=
"fmtamt"
width=
"auto"
>
<el-table-column
label=
"Original Amount"
prop=
"fmtamt"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"Rate"
prop=
"rat"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
""
width=
"auto"
>
</el-table-column>
<el-table-column
label=
""
width=
"auto"
>
</el-table-column>
</c-table>
</el-col>
<el-col
:span=
"12"
>
<span
v-text=
"model.setmod.retmsg"
data-path=
".setmod.retmsg"
>
</span>
<span
v-text=
"model.setmod.retmsg"
data-path=
".setmod.retmsg"
>
</span>
</el-col>
<el-col
:span=
"12"
>
<span
v-text=
"model.setmod.zmqacclab"
data-path=
".setmod.zmqacclab"
>
</span>
<span
v-text=
"model.setmod.zmqacclab"
data-path=
".setmod.zmqacclab"
>
</span>
</el-col>
<el-col
:span=
"12"
>
<span
v-text=
"model.setmod.setglg.labdspflg"
data-path=
".setmod.setglg.labdspflg"
>
</span>
<span
v-text=
"model.setmod.setglg.labdspflg"
data-path=
".setmod.setglg.labdspflg"
>
</span>
</el-col>
</
div
>
</
el-row
>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Ditopn/Event"
import
Event
from
"~/model/Ditopn/Event"
;
export
default
{
props
:[
"model"
,
"codes"
],
data
(){
return
{
}
props
:
[
"model"
,
"codes"
],
data
()
{
return
{};
},
methods
:{...
Event
},
created
:
function
(){
}
}
methods
:
{
...
Event
,
addRow
()
{
let
newRow
=
{};
this
.
model
.
setmod
.
setfog
.
setfol
.
push
(
newRow
);
},
removeRow
()
{
this
.
model
.
setmod
.
setfog
.
setfol
.
pop
();
},
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Ditopn/index.vue
View file @
f2724c35
...
...
@@ -150,31 +150,7 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:{
cur
:
CodeTable
.
cur
,
mylx
:
CodeTable
.
mylx
,
mytype
:
CodeTable
.
mytype
,
elcflg
:
CodeTable
.
elcflg
,
dkflg
:
CodeTable
.
dkflg
,
guaflg
:
CodeTable
.
guaflg
,
jyqflg
:
CodeTable
.
jyqflg
,
fenctg
:
CodeTable
.
fenctg
,
bdflg
:
CodeTable
.
bdflg
,
avbwth
:
CodeTable
.
avbwth
,
lcrtyp
:
CodeTable
.
lcrtyp
,
avbby
:
CodeTable
.
avbby0
,
shppar
:
CodeTable
.
shppar
,
tratyp
:
CodeTable
.
tratyp
,
dspflg
:
CodeTable
.
dspflg
,
inflev
:
CodeTable
.
inflev
,
apftxt
:
CodeTable
.
apftxt
,
nonrevflg1
:
CodeTable
.
nonrevflg1
,
curtxt
:
CodeTable
.
curtxt
,
litameadv
:
CodeTable
.
litameadv
,
avbby0
:
CodeTable
.
avbby0
,
uiltxt
:
CodeTable
.
uiltxt
,
docsnf
:
CodeTable
.
docsnf
,
swttlx
:
CodeTable
.
swttlx
,
codes
:{...
CodeTable
},
}
},
...
...
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