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
597484a7
Commit
597484a7
authored
Jun 08, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detdrv交易调整
parent
a2275547
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
159 additions
and
103 deletions
+159
-103
Event.js
src/model/Detdrv/Event.js
+1
-1
Pattern.js
src/model/Detdrv/Pattern.js
+3
-3
Drv.vue
src/views/Business/Detdrv/Drv.vue
+141
-84
Dscins.vue
src/views/Business/Detdrv/Dscins.vue
+0
-2
index.vue
src/views/Business/Detdrv/index.vue
+13
-12
Ptap1.vue
src/views/Public/Ptap1.vue
+1
-1
No files found.
src/model/Detdrv/Event.js
View file @
597484a7
...
...
@@ -103,7 +103,7 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
)
}
else
{
...
...
src/model/Detdrv/Pattern.js
View file @
597484a7
...
...
@@ -206,7 +206,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"dedgrp.cbs.opn1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -292,7 +292,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"dedgrp.cbs.nom1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -339,7 +339,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"bfdgrp.cbs.max.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
src/views/Business/Detdrv/Drv.vue
View file @
597484a7
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<c-col
:span=
"24"
>
<!-- -------------------Left------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"参考号"
prop=
"dedgrp.rec.ownref"
>
<c-input
v-model=
"model.dedgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证金额"
prop=
"dedgrp.cbs.nom1.cur"
>
<el-form-item
label=
"信用证金额"
prop=
"dedgrp.cbs.nom1.cur"
>
<c-select
disabled
v-model=
"model.dedgrp.cbs.nom1.cur"
...
...
@@ -46,9 +49,7 @@
v-model=
"model.dedgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction('dedgrp.cbs.nom1.amt', model.dedgrp.cbs.nom1.amt)
"
disabled
></c-input-currency>
</el-form-item>
</c-col>
...
...
@@ -64,7 +65,8 @@
v-model=
"model.dedgrp.cbs.opn1.cur"
placeholder=
"请选择币种"
:code=
"codes.cur"
style=
"width:100%"
style=
"width: 100%"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -79,6 +81,7 @@
<c-input-currency
v-model=
"model.dedgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
...
...
@@ -90,7 +93,8 @@
type=
"date"
v-model=
"model.dedgrp.rec.opndat"
placeholder=
"请选择开证日期"
style=
"width:100%"
style=
"width: 100%"
disabled
></c-date-picker>
</el-form-item>
...
...
@@ -111,6 +115,7 @@
v-model=
"model.dedgrp.avbnam"
maxlength=
"40"
placeholder=
"请输入指定银行"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -121,6 +126,7 @@
v-model=
"model.dedgrp.rec.avbby"
style=
"width: 100%"
placeholder=
"请选择兑付方式"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -136,6 +142,7 @@
v-model=
"model.dedgrp.rec.expdat"
style=
"width: 100%"
placeholder=
"请选择最迟交单日期/交单地"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -147,17 +154,104 @@
maxlength=
"35"
show-word-limit
placeholder=
"请输入最迟交单日期/交单地"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------Right------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"概要"
prop=
"dedgrp.rec.nam"
>
<c-input
v-model=
"model.dedgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入概要"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"
{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled="true"
>
</c-ptsmsg>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"开证行"
prop=
"bfdgrp.iss.pts.ref"
>
<c-input
v-model=
"model.bfdgrp.iss.pts.ref"
maxlength=
"16"
placeholder=
"请输入开证行"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bfdgrp.iss.pts.nam"
>
<c-input
v-model=
"model.bfdgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入开证行"
></c-input>
</el-form-item>
</c-col>
-->
<c-ptsmsg
:model=
"model"
:argadr=
"
{
title: '申请人',
grp: 'bfdgrp',
rol: 'iss',
}"
:disabled="true"
>
</c-ptsmsg>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"
{
title: '交单人',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
>
</c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"信用证类型"
prop=
"dedgrp.rec.lcrtyp"
>
<c-select
v-model=
"model.dedgrp.rec.lcrtyp"
style=
"width: 100%"
placeholder=
"请选择信用证类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- -------------------Left------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据编号"
prop=
"bfdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model=
"model.bfdgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入单据编号"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
...
...
@@ -173,14 +267,12 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<c-select
v-model=
"model.bfdgrp.rec.doctypcod"
style=
"width: 100%"
placeholder=
"请选择单据类型"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -197,6 +289,7 @@
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.cur"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -229,7 +322,11 @@
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"寄单日期"
prop=
"bfdgrp.rec.orddat"
label-width=
"100px"
>
<el-form-item
label=
"寄单日期"
prop=
"bfdgrp.rec.orddat"
label-width=
"100px"
>
<c-date-picker
type=
"date"
v-model=
"model.bfdgrp.rec.orddat"
...
...
@@ -248,17 +345,23 @@
v-model=
"model.bfdgrp.rec.matdat"
style=
"width: 100%"
placeholder=
"请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"装运日期"
prop=
"bfdgrp.rec.shpdat"
label-width=
"100px"
>
<el-form-item
label=
"装船日期"
prop=
"bfdgrp.rec.shpdat"
label-width=
"100px"
>
<c-date-picker
type=
"date"
v-model=
"model.bfdgrp.rec.shpdat"
style=
"width: 100%"
placeholder=
"请选择装运日期"
placeholder=
"请选择装船日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -266,7 +369,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"
Maturity Period
"
label=
"
远期单据到期时间
"
prop=
"bfdgrp.blk.matper"
>
<c-input
...
...
@@ -275,25 +378,12 @@
maxlength=
"65"
show-word-limit
placeholder=
"请输入Maturity Period"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Presented by"
prop=
"bfdgrp.rec.docprbrol"
>
<c-select
v-model=
"model.bfdgrp.rec.docprbrol"
style=
"width: 100%"
placeholder=
"请选择交单人"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"发票类型"
prop=
"bfdgrp.rec.invtyp"
>
<c-fullbox>
<c-select
...
...
@@ -301,6 +391,12 @@
style=
"width: 100%"
placeholder=
"请选择发票类型"
>
<el-option
v-for=
"item in codes.invtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<
template
slot=
"footer"
>
<c-checkbox
v-model=
"model.bfdgrp.rec.dscinsflg"
...
...
@@ -312,99 +408,61 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"已交单次数"
prop=
"dedgrp.rec.utlnbr"
>
<el-form-item
label=
"已交单次数"
prop=
"dedgrp.rec.utlnbr"
>
<c-input
v-model=
"model.dedgrp.rec.utlnbr"
placeholder=
"请输入已交单次数"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------Right------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"
概要"
prop=
"de
dgrp.rec.nam"
>
<el-form-item
label=
"
摘要"
prop=
"bf
dgrp.rec.nam"
>
<c-input
v-model=
"model.
de
dgrp.rec.nam"
v-model=
"model.
bf
dgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入概要"
placeholder=
"请输入摘要"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled=
"true"
:isAdrblk=
"false"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"信用证类型"
prop=
"dedgrp.rec.lcrtyp"
>
<el-form-item
label=
"交单人"
prop=
"bfdgrp.rec.docprbrol"
>
<c-select
v-model=
"model.
dedgrp.rec.lcrtyp
"
v-model=
"model.
bfdgrp.rec.docprbrol
"
style=
"width: 100%"
placeholder=
"请选择
信用证类型
"
placeholder=
"请选择
交单人
"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
开证行"
prop=
"bfdgrp.iss
.pts.ref"
>
<el-form-item
label=
"
单据编号"
prop=
"bfdgrp.prb
.pts.ref"
>
<c-input
v-model=
"model.bfdgrp.
iss
.pts.ref"
v-model=
"model.bfdgrp.
prb
.pts.ref"
maxlength=
"16"
placeholder=
"请输入开证行"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bfdgrp.iss.pts.nam"
>
<c-input
v-model=
"model.bfdgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入开证行"
placeholder=
"请输入单据编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '
交单人
',
title: '
联行行号
',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onPrbpDet"
>
</c-ptap>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="申请人" prop="bfdgrp.apl.pts.ref">
<c-input
...
...
@@ -424,8 +482,6 @@
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
<c-input
...
...
@@ -453,12 +509,13 @@ import commonProcess from "~/mixin/commonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Detdrv/Event"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
components
:
{
"c-ptap"
:
Ptap
},
components
:
{
"c-ptap"
:
Ptap
,
"c-ptsmsg"
:
Ptsmsg
},
data
()
{
return
{};
},
...
...
src/views/Business/Detdrv/Dscins.vue
View file @
597484a7
...
...
@@ -71,8 +71,6 @@
rol: 'oth',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
>
</c-ptap>
</c-col>
...
...
src/views/Business/Detdrv/index.vue
View file @
597484a7
...
...
@@ -33,9 +33,9 @@
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane
label=
"Advice of Payment"
name=
"mt754p"
>
<
!--
<
el-tab-pane
label=
"Advice of Payment"
name=
"mt754p"
>
<m-mt754p
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
...
...
@@ -45,24 +45,24 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"分录"
name=
"glepan"
>
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
<el-tab-pane
label=
"分录"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
ref=
"glepan"
/>
</el-tab-pane>
<el-tab-pane
label=
"表外"
name=
"engp"
>
<!--PD000027 -->
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<
!--
<
el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"面函"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
ref=
"docpan"
/>
...
...
@@ -70,7 +70,7 @@
<!--PD000001 -->
<el-tab-pane
label=
"
授信额度
"
name=
"limitbody"
>
<el-tab-pane
label=
"
统一授信
"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -83,6 +83,7 @@ import Api from "~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Detdrv
from
"~/model/Detdrv"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Detdrv/Check"
import
Default
from
"~/model/Detdrv/Default"
import
Pattern
from
"~/model/Detdrv/Pattern"
...
...
@@ -126,7 +127,7 @@ export default {
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"drv"
,
...
...
src/views/Public/Ptap1.vue
View file @
597484a7
<
template
>
<div
class=
"eibs-tab"
>
<div>
<c-col
:span=
"20"
>
<el-form-item
:label=
"`$
{argadr.title}`"
...
...
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