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
6234e5de
Commit
6234e5de
authored
Jan 30, 2023
by
lei wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dia编辑交易修改
parent
91e8aa61
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
118 additions
and
52 deletions
+118
-52
index.js
src/config/CodeTable/index.js
+34
-1
DiaInfo.vue
src/views/Statics/Dbidia/DiaInfo.vue
+57
-25
Infsea.vue
src/views/Statics/Infdia/Infsea.vue
+27
-26
No files found.
src/config/CodeTable/index.js
View file @
6234e5de
...
...
@@ -6941,6 +6941,7 @@ const CodeTable = {
],
atptxt
:
[
{
label
:
"开立信用证"
,
value
:
"DITOPN"
},
{
label
:
"Settling Documents"
,
value
:
"BCTSET"
},
],
sptrelstatus
:
[
{
label
:
'传入'
,
value
:
'INC'
},
...
...
@@ -7879,7 +7880,39 @@ const CodeTable = {
{
label
:
'境外汇入汇款手续费'
,
value
:
'cpifee'
},
{
label
:
'境外汇出汇款手续费'
,
value
:
'cpofee'
},
{
label
:
'出口信用证预通知手续费(停用)'
,
value
:
'preadv'
},
]
],
dia_bustxt
:
[
{
label
:
'Advance'
,
value
:
'BP'
},
{
label
:
'Batch Collection'
,
value
:
'CL'
},
{
label
:
'Cash Collection'
,
value
:
'FC'
},
{
label
:
'Clean Colection'
,
value
:
'CC'
},
{
label
:
'Clean Payments'
,
value
:
'CP'
},
{
label
:
'Export Collection'
,
value
:
'BO'
},
{
label
:
'Export Guarantee(INT)'
,
value
:
'GF'
},
{
label
:
'Export L/C'
,
value
:
'LE'
},
{
label
:
'Export L/C Document Set'
,
value
:
'BE'
},
{
label
:
'Export L/C Transfer'
,
value
:
'LT'
},
{
label
:
'Guarantee'
,
value
:
'GI'
},
{
label
:
'Guarantee Claim'
,
value
:
'GC'
},
{
label
:
'Guarantee Claim(INT)'
,
value
:
'GD'
},
{
label
:
'Guarantee(INT)'
,
value
:
'GB'
},
{
label
:
'Import Collection'
,
value
:
'BC'
},
{
label
:
'mport L/C'
,
value
:
'LI'
},
{
label
:
'Import L/C Document Set'
,
value
:
'BR'
},
{
label
:
'Loan'
,
value
:
'TR'
},
{
label
:
'Manual Contract'
,
value
:
'MC'
},
{
label
:
'Reimbursement'
,
value
:
'RM'
},
{
label
:
'Reimbursement Claim'
,
value
:
'RC'
},
{
label
:
'Transfer Bills'
,
value
:
'BT'
},
{
label
:
're-financing'
,
value
:
'DF'
},
{
label
:
'出口保函'
,
value
:
'GE'
},
{
label
:
'结售汇业务'
,
value
:
'JS'
},
{
label
:
'买方国内证'
,
value
:
'DI'
},
{
label
:
'买方国内证单据'
,
value
:
'BD'
},
{
label
:
'卖方国内证'
,
value
:
'DE'
},
{
label
:
'卖方国内证单据'
,
value
:
'BF'
},
{
label
:
'期权业务'
,
value
:
'WI'
},
],
}
export
default
CodeTable
;
src/views/Statics/Dbidia/DiaInfo.vue
View file @
6234e5de
...
...
@@ -5,79 +5,111 @@
<c-col
:span=
"12"
class=
"col-left"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Business Sector"
prop=
"subObjTyp"
>
<c-select
style=
"width: 100%"
v-model=
"model.subObjTyp"
placeholder=
"请选择Business Sector"
:code=
"getCodesByKey('
bustxt')"
>
<c-select
:disabled=
"true"
style=
"width: 100%"
v-model=
"model.subObjTyp"
placeholder=
"请选择Business Sector"
:code=
"getCodesByKey('dia_
bustxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Reference No.
"
prop=
"objref"
>
<c-input
v-model=
"model.objref"
style=
"width: 100%"
placeholder=
"请输入Reference No
"
>
</c-input>
<el-form-item
label=
"
参考号
"
prop=
"objref"
>
<c-input
:disabled=
"true"
v-model=
"model.objref"
style=
"width: 100%"
placeholder=
"请输入参考号
"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Description
"
prop=
"ownrefDesc"
>
<c-input
v-model=
"model.ownrefDesc"
style=
"width: 100%"
placeholder=
"请输入Description
"
>
</c-input>
<el-form-item
label=
"
参考号描述
"
prop=
"ownrefDesc"
>
<c-input
:disabled=
"true"
v-model=
"model.ownrefDesc"
style=
"width: 100%"
placeholder=
"请输入参考号描述
"
>
</c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"Start Transaction"
prop=
"frm"
>
<c-input
v-model=
"model.frm"
placeholder=
"请输入账号"
>
</c-input>
<el-form-item
label=
"交易名"
prop=
"frm"
>
<c-select
style=
"width: 100%"
v-model=
"model.frm"
placeholder=
"请选择交易名"
>
</c-select>
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"
Description
"
prop=
"frm"
>
<c-select
style=
"width: 100%"
v-model=
"model.frm"
placeholder=
"请选择
Description
"
:code=
"getCodesByKey('atptxt')"
>
<el-form-item
label=
"
交易
"
prop=
"frm"
>
<c-select
style=
"width: 100%"
v-model=
"model.frm"
placeholder=
"请选择
交易
"
:code=
"getCodesByKey('atptxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Description
"
prop=
"nam"
>
<c-input
v-model=
"model.nam"
style=
"width: 100%"
placeholder=
"请输入
Description
"
>
<el-form-item
label=
"
备忘录名称
"
prop=
"nam"
>
<c-input
v-model=
"model.nam"
style=
"width: 100%"
placeholder=
"请输入
备忘录名称
"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Detailed Information"
prop=
"inftxt"
>
<c-input
v-model=
"model.inftxt"
placeholder=
"请输入Detailed Information"
>
</c-input>
<el-form-item
label=
"明细信息"
prop=
"inftxt"
>
<c-input
v-model=
"model.inftxt"
placeholder=
"请输入明细信息"
>
</c-input>
</el-form-item>
</c-col>
<div
v-if=
"model.cod == 'RAM'"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"客户号"
prop=
"ptyextkey"
>
<c-input
v-model=
"model.ptyextkey"
placeholder=
"请输入客户号"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"客户名称"
prop=
"ptynam"
>
<c-input
v-model=
"model.ptynam"
placeholder=
"请输入客户名称"
>
</c-input>
</el-form-item>
</c-col>
</div>
</c-col>
<!-- =============================================右边=========================================== -->
<c-col
:span=
"12"
class=
"col-right"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"
User
"
prop=
"ownusr"
>
<c-input
v-model=
"model.ownusr"
placeholder=
"请输入User
"
>
</c-input>
<el-form-item
label=
"
经办用户
"
prop=
"ownusr"
>
<c-input
:disabled=
"true"
v-model=
"model.ownusr"
placeholder=
"请输入经办用户
"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Group
"
prop=
"ownusg"
>
<c-select
style=
"width: 100%"
v-model=
"model.ownusg"
placeholder=
"请选择
Group
"
:code=
"getCodesByKey('usgtxt')"
>
<el-form-item
label=
"
经办用户组
"
prop=
"ownusg"
>
<c-select
style=
"width: 100%"
v-model=
"model.ownusg"
placeholder=
"请选择
经办用户组
"
:code=
"getCodesByKey('usgtxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Entered/Modified by
"
prop=
"usr"
>
<c-input
v-model=
"model.usr"
placeholder=
"请输入Entered/Modified by
"
>
<el-form-item
label=
"
创建/修改人
"
prop=
"usr"
>
<c-input
:disabled=
"true"
v-model=
"model.usr"
placeholder=
"请输入创建/修改人
"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
entry Done
"
prop=
"donflg"
>
<c-select
style=
"width: 100%"
v-model=
"model.donflg"
placeholder=
"请选择
entry Done
"
:code=
"getCodesByKey('dia_donflg')"
>
<el-form-item
label=
"
是否完成
"
prop=
"donflg"
>
<c-select
style=
"width: 100%"
v-model=
"model.donflg"
placeholder=
"请选择
是否完成
"
:code=
"getCodesByKey('dia_donflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Diary Reason
"
prop=
"cod"
>
<c-select
style=
"width: 100%"
v-model=
"model.cod"
placeholder=
"请选择Diary Reason
"
:code=
"getCodesByKey('diatxt')"
>
<el-form-item
label=
"
类型
"
prop=
"cod"
>
<c-select
:disabled=
"true"
style=
"width: 100%"
v-model=
"model.cod"
placeholder=
"请选择类型
"
:code=
"getCodesByKey('diatxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Date of Diary"
prop=
"dat"
>
<c-date-picker
type=
"date"
v-model=
"model.dat"
style=
"width:100%"
placeholder=
"请选择Date of Diary"
></c-date-picker>
<el-form-item
label=
"日期"
prop=
"dat"
>
<c-date-picker
type=
"date"
v-model=
"model.dat"
style=
"width:100%"
placeholder=
"请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<div
v-if=
"model.cod == 'RAM'"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款币种"
prop=
"paycur"
>
<c-input
v-model=
"model.paycur"
placeholder=
"请输入付款币种"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款金额"
prop=
"payamt"
>
<c-input
v-model=
"model.payamt"
placeholder=
"请输入付款金额"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"预计核验日期"
prop=
"prechkdat"
>
<c-date-picker
type=
"date"
v-model=
"model.prechkdat"
style=
"width:100%"
placeholder=
"请选择预计核验日期"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col>
</div>
</
template
>
...
...
src/views/Statics/Infdia/Infsea.vue
View file @
6234e5de
...
...
@@ -3,32 +3,32 @@
<c-col
:span=
"12"
class=
"col-left"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Reason
"
prop=
"cod"
>
<c-select
style=
"width: 100%"
v-model=
"model.cod"
placeholder=
"请选择
Reason
"
:code=
"getCodesByKey('diatxt')"
>
<el-form-item
label=
"
类型
"
prop=
"cod"
>
<c-select
style=
"width: 100%"
v-model=
"model.cod"
placeholder=
"请选择
类型
"
:code=
"getCodesByKey('diatxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Reference
"
prop=
"objref"
>
<c-input
v-model=
"model.objref"
placeholder=
"请输入
Reference
"
style=
"width: 100%"
>
<el-form-item
label=
"
参考号
"
prop=
"objref"
>
<c-input
v-model=
"model.objref"
placeholder=
"请输入
参考号
"
style=
"width: 100%"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
User
"
prop=
"ownusr"
>
<c-input
v-model=
"model.ownusr"
placeholder=
"请输入
User
"
style=
"width: 100%"
>
<el-form-item
label=
"
经办用户
"
prop=
"ownusr"
>
<c-input
v-model=
"model.ownusr"
placeholder=
"请输入
经办用户
"
style=
"width: 100%"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Status
"
prop=
"donflg"
>
<c-select
style=
"width: 100%"
v-model=
"model.donflg"
placeholder=
"请选择
Status
"
:code=
"getCodesByKey('dia_donflg')"
>
<el-form-item
label=
"
是否完成标志
"
prop=
"donflg"
>
<c-select
style=
"width: 100%"
v-model=
"model.donflg"
placeholder=
"请选择
是否完成标志
"
:code=
"getCodesByKey('dia_donflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Group
"
prop=
"ownusg"
>
<c-input
v-model=
"model.ownusg"
placeholder=
"请输入
Group
"
style=
"width: 100%"
>
<el-form-item
label=
"
经办用户组
"
prop=
"ownusg"
>
<c-input
v-model=
"model.ownusg"
placeholder=
"请输入
经办用户组
"
style=
"width: 100%"
>
</c-input>
</el-form-item>
</c-col>
...
...
@@ -36,24 +36,24 @@
<!------------- 右 ---------->
<c-col
:span=
"12"
class=
"col-right"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"
From
"
prop=
"datFrom"
>
<el-form-item
label=
"
开始日期
"
prop=
"datFrom"
>
<c-date-picker
type=
"date"
v-model=
"model.datFrom"
style=
"width:100%"
placeholder=
"请选择开始日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
To
"
prop=
"datTo"
>
<c-date-picker
type=
"date"
v-model=
"model.datTo"
style=
"width:100%"
placeholder=
"请选择
结束
日期"
></c-date-picker>
<el-form-item
label=
"
截止日期
"
prop=
"datTo"
>
<c-date-picker
type=
"date"
v-model=
"model.datTo"
style=
"width:100%"
placeholder=
"请选择
截止
日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Start Transaction
"
prop=
"frm"
>
<c-select
style=
"width: 100%"
v-model=
"model.frm"
placeholder=
"请选择
Start Transaction
"
:code=
"getCodesByKey('atptxt')"
>
<el-form-item
label=
"
交易名
"
prop=
"frm"
>
<c-select
style=
"width: 100%"
v-model=
"model.frm"
placeholder=
"请选择
交易名
"
:code=
"getCodesByKey('atptxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Entered By
"
prop=
"usr"
>
<c-input
v-model=
"model.usr"
placeholder=
"请输入
Entered By
"
style=
"width: 100%"
>
<el-form-item
label=
"
柜员名
"
prop=
"usr"
>
<c-input
v-model=
"model.usr"
placeholder=
"请输入
柜员名
"
style=
"width: 100%"
>
</c-input>
</el-form-item>
</c-col>
...
...
@@ -130,7 +130,8 @@
</template>
<
script
>
import
codes
from
"~/config/CodeTable"
;
import
{
format
}
from
"path"
;
import
codes
from
"~/config/CodeTable"
;
import
{
queryByPage
}
from
"~/service/test/dia.js"
;
...
...
@@ -142,14 +143,14 @@
return
{
diaData
:
[],
diaColumns
:
[
{
label
:
'
Date'
,
prop
:
'dat
'
,
width
:
'auto'
},
{
label
:
'
Reason
'
,
prop
:
'codCn'
,
width
:
'auto'
},
{
label
:
'
Reference
'
,
prop
:
'objref'
,
width
:
'auto'
},
{
label
:
'
Description
'
,
prop
:
'nam'
,
width
:
'auto'
},
{
label
:
'
Transaction
'
,
prop
:
'frm'
,
width
:
'auto'
},
{
label
:
'
User
'
,
prop
:
'ownusr'
,
width
:
'auto'
},
{
label
:
'
Group
'
,
prop
:
'ownusg'
,
width
:
'auto'
},
{
label
:
'
Status
'
,
prop
:
'donflgCn'
,
width
:
'auto'
},
{
label
:
'
日期'
,
prop
:
'datStr
'
,
width
:
'auto'
},
{
label
:
'
类型
'
,
prop
:
'codCn'
,
width
:
'auto'
},
{
label
:
'
参考号
'
,
prop
:
'objref'
,
width
:
'auto'
},
{
label
:
'
备忘录名称
'
,
prop
:
'nam'
,
width
:
'auto'
},
{
label
:
'
交易名
'
,
prop
:
'frm'
,
width
:
'auto'
},
{
label
:
'
经办用户
'
,
prop
:
'ownusr'
,
width
:
'auto'
},
{
label
:
'
经办用户组
'
,
prop
:
'ownusg'
,
width
:
'auto'
},
{
label
:
'
是否完成
'
,
prop
:
'donflgCn'
,
width
:
'auto'
},
],
};
},
...
...
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