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
dc906ba4
Commit
dc906ba4
authored
Jun 20, 2022
by
Eivi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bftdcr交易、bftdrv交易优化并检核提交
parent
cd8f3aae
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
502 additions
and
203 deletions
+502
-203
index.js
src/config/CodeTable/index.js
+3
-3
Pattern.js
src/model/Bftacc/Pattern.js
+4
-4
index.js
src/model/Bftacc/index.js
+0
-10
Pattern.js
src/model/Bftdcr/Pattern.js
+1
-1
Event.js
src/model/Bftdrv/Event.js
+101
-133
Pattern.js
src/model/Bftdrv/Pattern.js
+13
-13
index.js
src/model/Bftdrv/index.js
+6
-0
Betdcrd.vue
src/views/Business/Bftdcr/Betdcrd.vue
+99
-3
Betdcrs.vue
src/views/Business/Bftdcr/Betdcrs.vue
+43
-8
index.vue
src/views/Business/Bftdcr/index.vue
+3
-1
Drv.vue
src/views/Business/Bftdrv/Drv.vue
+79
-18
Drv2.vue
src/views/Business/Bftdrv/Drv2.vue
+4
-0
Dscins.vue
src/views/Business/Bftdrv/Dscins.vue
+143
-8
index.vue
src/views/Business/Bftdrv/index.vue
+3
-1
No files found.
src/config/CodeTable/index.js
View file @
dc906ba4
...
...
@@ -3342,12 +3342,12 @@ const CodeTable = {
{
label
:
"Percent"
,
value
:
"%"
},
],
folwupopt
:
[
{
label
:
"
Wait for Response
"
,
value
:
"W"
},
{
label
:
"
Send Documents
"
,
value
:
"C"
},
{
label
:
"
等待回复
"
,
value
:
"W"
},
{
label
:
"
寄单
"
,
value
:
"C"
},
{
label
:
"Register to Send and Settle Docs"
,
value
:
"N"
},
{
label
:
"Accept/ Settle Document now"
,
value
:
"A"
},
{
label
:
"Send and Accept/ Settle Documents"
,
value
:
"B"
},
{
label
:
"
Send Advice of Discrepancy
"
,
value
:
"S"
},
{
label
:
"
通知不符点
"
,
value
:
"S"
},
],
fpdsta
:
[
{
label
:
"Agreement Under Negotiation"
,
value
:
"N"
},
...
...
src/model/Bftacc/Pattern.js
View file @
dc906ba4
...
...
@@ -128,7 +128,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rec.totdat"
:
[
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bftp.dedget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -198,13 +198,13 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"bfdgrp.rec.matdat"
:
[
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bfdgrp.rec.rcvdat"
:
[
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bfdgrp.rec.predat"
:
[
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bfdgrp.apl.pts.ref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Bftacc/index.js
View file @
dc906ba4
...
...
@@ -120,20 +120,10 @@ export default class Bftacc {
},
},
},
trnmod
:
{
swiadd
:
{
strinf
:
""
,
// 收到报文 .trnmod.swiadd.strinf
},
},
aamset
:
{
utlamt
:
""
,
// 单据金额 .aamset.utlamt
utlamt2
:
""
,
// 附加金额 .aamset.utlamt2
},
setmod
:
{
doccur
:
""
,
// 扣减金额 .setmod.doccur
docamt
:
""
,
// 承兑金额 .setmod.docamt
redamt
:
""
,
// Reduction Amount .setmod.redamt
},
pageId
:
""
,
// ctx的key
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
src/model/Bftdcr/Pattern.js
View file @
dc906ba4
...
...
@@ -16,7 +16,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位"
}
],
...
...
src/model/Bftdrv/Event.js
View file @
dc906ba4
...
...
@@ -2,149 +2,118 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onPrbpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"prbp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
async
onPrbpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"prbp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDocdisButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"docdis.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDocdisButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"docdis.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onIntdisButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"intdis.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onIntdisButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"intdis.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"othp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmisamt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWrkpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWrkpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthp1Det
(){
let
rtnmsg
=
await
this
.
executeRule
(
"othp1.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthp1Det
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp1.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet1
(){
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get1"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get1"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet2
(){
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get2"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get2"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimmodTrycal
(){
let
rtnmsg
=
await
this
.
executeRule
(
"limmod.trycal"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limmod.trycal"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
()
{},
onDetpButgetref
()
{},
onBenpDet
()
{},
onAplpDet
()
{},
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Bftdrv/Pattern.js
View file @
dc906ba4
...
...
@@ -16,7 +16,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位"
}
],
...
...
@@ -100,7 +100,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"bfdgrp.cbs.max.amt"
:
[
{
type
:
"
number"
,
required
:
false
,
message
:
"必输项
"
},
{
type
:
"
string
"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -123,7 +123,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.blk.sndrmk"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"bfdgrp.oth.pts.dizhii"
:
[
...
...
@@ -162,7 +162,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.blk.matper"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"bfdgrp.prb.pts.adrblk"
:
[
...
...
@@ -178,10 +178,10 @@ export default {
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"dedgrp.rec.utlnbr"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项
"
},
{
max
:
3
,
message
:
"长度不能超过3
"
}
],
//
"dedgrp.rec.utlnbr": [
// { type: "number
" },
// { max: 35, message: "长度不能超过35
" }
//
],
"bfdgrp.rec.anobnkcod"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
...
...
@@ -190,19 +190,19 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bfdgrp.rec.anodsp"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
55
,
message
:
"长度不能超过55"
}
],
"bfdgrp.blk.docdis"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"bfdgrp.blk.intdis"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
...
...
@@ -233,12 +233,12 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rec.expmno"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"bfdgrp.rec.lescom"
:
[
{
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/model/Bftdrv/index.js
View file @
dc906ba4
...
...
@@ -48,6 +48,12 @@ export default class Bftdrv {
adrelc
:
""
,
// 地址 .bfdgrp.prb.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bfdgrp.prb.dbfadrblkcn
},
ben
:
{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bfdgrp.ben.namelc
adrelc
:
""
,
// 地址 .bfdgrp.ben.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bfdgrp.ben.dbfadrblkcn
},
iss
:
{
pts
:
new
Pts
().
data
,
},
...
...
src/views/Business/Bftdcr/Betdcrd.vue
View file @
dc906ba4
...
...
@@ -58,7 +58,7 @@
<c-checkbox
v-model=
"docdisflg"
>
不符点修改
</c-checkbox>
</c-col>
<c-col
:span=
"24"
style=
"height: 24px; margin-top: 20px"
>
<
!--
<
c-col
:span=
"24"
style=
"height: 24px; margin-top: 20px"
>
<el-form-item
:label=
"model.bftp.docgrdm.docdsclab"
class=
"messageLabel"
>
</el-form-item>
</c-col>
...
...
@@ -104,6 +104,60 @@
</
template
>
</el-table-column>
</c-table>
</c-col>
-->
<c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<el-form-item
:label=
"model.bftp.docgrdm.docdsclab"
class=
"messageLabel"
>
<c-button
style=
"float: right"
@
click=
"addTableValue"
type=
"primary"
>
新增单据
</c-button
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
style=
""
>
<c-table
style=
"text-align: center"
:list=
"TableValue"
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"1st"
prop=
"cmail1"
width=
"auto"
></el-table-column>
<el-table-column
label=
"2st"
prop=
"cmail2"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
<c-select
style=
"width: 100%"
placeholder=
"请选择"
v-model=
"scope.row.docnam"
>
<el-option
v-for=
"item in codeTable"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"170px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<c-button
@
click=
"deleteTable(scope.row)"
type=
"primary"
>
删除
</c-button
>
</
template
>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
...
...
@@ -118,7 +172,32 @@ export default {
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{};
return
{
TableValue
:
[
{
id
:
0
,
cmail1
:
"1"
,
cmail2
:
"2"
,
docnam
:
"1"
,
},
],
newValue
:
{
id
:
0
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
},
codeTable
:
[
{
label
:
"增值税发票"
,
value
:
"1"
},
{
label
:
"发票"
,
value
:
"2"
},
{
label
:
"装箱单"
,
value
:
"3"
},
{
label
:
"空运单"
,
value
:
"4"
},
{
label
:
"海运提单"
,
value
:
"5"
},
{
label
:
"铁路运单"
,
value
:
"6"
},
{
label
:
"货物收据"
,
value
:
"7"
},
{
label
:
"邮政收据"
,
value
:
"8"
},
],
};
},
computed
:{
docdisflg
:
{
...
...
@@ -131,7 +210,24 @@ export default {
},
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
addTableValue
()
{
var
index
=
this
.
TableValue
.
length
;
var
newTableValue
=
this
.
newValue
;
if
(
index
>
0
)
{
newTableValue
.
id
=
this
.
TableValue
[
index
-
1
].
id
+
1
;
}
this
.
TableValue
.
push
(
newTableValue
);
},
deleteTable
(
row
)
{
for
(
let
i
=
0
;
i
<
this
.
TableValue
.
length
;
i
++
)
{
if
(
this
.
TableValue
[
i
].
id
==
row
.
id
)
{
this
.
TableValue
.
splice
(
i
,
1
);
break
;
}
}
},
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Bftdcr/Betdcrs.vue
View file @
dc906ba4
...
...
@@ -141,7 +141,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<c-input
v-model=
"model.bfdgrp.rec.doctypcod"
...
...
@@ -150,6 +150,24 @@
disabled
></c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<c-select
v-model=
"model.bfdgrp.rec.doctypcod"
style=
"width: 100%"
placeholder=
"请输入单据类型"
disabled
>
<el-option
v-for=
"item in codes.doctypcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"远期单据到期日"
prop=
"bfdgrp.rec.matdat"
>
...
...
@@ -187,7 +205,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<el-form-item
label=
"单据状态"
prop=
"bfdgrp.rec.docsta"
>
<c-input
v-model=
"model.bfdgrp.rec.docsta"
...
...
@@ -196,6 +214,24 @@
disabled
></c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"单据状态"
prop=
"bfdgrp.rec.docsta"
>
<c-select
v-model=
"model.bfdgrp.rec.docsta"
style=
"width: 100%"
placeholder=
"请输入单据状态"
disabled
>
<el-option
v-for=
"item in codes.docsta"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -203,9 +239,9 @@
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证余额"
prop=
"
bf
dgrp.cbs.opn1.cur"
>
<el-form-item
label=
"信用证余额"
prop=
"
de
dgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.
bf
dgrp.cbs.opn1.cur"
v-model=
"model.
de
dgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入信用证余额"
disabled
...
...
@@ -213,9 +249,9 @@
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"
bf
dgrp.cbs.opn1.amt"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"
de
dgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.
bf
dgrp.cbs.opn1.amt"
v-model=
"model.
de
dgrp.cbs.opn1.amt"
placeholder=
"请输入Balance"
disabled
></c-input>
...
...
@@ -389,7 +425,6 @@
v-model=
"model.bfdgrp.rec.docprbrol"
style=
"width: 100%"
placeholder=
"请选择交单行"
disabled
>
<el-option
v-for=
"item in codes.docprbrol"
...
...
@@ -406,7 +441,7 @@
<c-ptap
:model=
"model"
:argadr=
"
{
title: '
受益人
',
title: '',
grp: 'bfdgrp',
rol: 'prb',
}"
...
...
src/views/Business/Bftdcr/index.vue
View file @
dc906ba4
...
...
@@ -110,7 +110,9 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{},
codes
:
{
...
CodeTable
},
};
},
methods
:
{
...
...
src/views/Business/Bftdrv/Drv.vue
View file @
dc906ba4
...
...
@@ -26,9 +26,10 @@
size=
"small"
type=
"primary"
@
click=
"onSeainf"
disabled
>
<span
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
...
...
@@ -74,9 +75,10 @@
size=
"small"
type=
"primary"
@
click=
"onSeainf"
disabled
>
<span
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
...
...
@@ -141,12 +143,20 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model.bfdgrp.rec.doctypcod"
maxlength=
"1
"
style=
"width: 100%
"
placeholder=
"请输入单据类型"
disabled
></c-input>
>
<el-option
v-for=
"item in codes.doctypcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -186,12 +196,20 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据状态"
prop=
"bfdgrp.rec.docsta"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model.bfdgrp.rec.docsta"
maxlength=
"40
"
style=
"width: 100%
"
placeholder=
"请输入单据状态"
disabled
></c-input>
>
<el-option
v-for=
"item in codes.docsta"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -200,9 +218,9 @@
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证余额"
prop=
"
bf
dgrp.cbs.opn1.cur"
>
<el-form-item
label=
"信用证余额"
prop=
"
de
dgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.
bf
dgrp.cbs.opn1.cur"
v-model=
"model.
de
dgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入信用证余额"
disabled
...
...
@@ -210,9 +228,9 @@
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"
bf
dgrp.cbs.opn1.amt"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"
de
dgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.
bf
dgrp.cbs.opn1.amt"
v-model=
"model.
de
dgrp.cbs.opn1.amt"
placeholder=
"请输入Balance"
disabled
></c-input>
...
...
@@ -235,14 +253,14 @@
<c-ptsmsg
:model=
"model"
:argadr=
"
{
title: '交单
行
',
title: '交单
人
',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
>
</c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"
{
...
...
@@ -252,6 +270,28 @@
}"
:disabled="true"
>
</c-ptsmsg>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"开证行编号"
prop=
"dedgrp.rec.kzref"
>
<c-input
v-model=
"model.dedgrp.rec.kzref"
maxlength=
"16"
placeholder=
"'请输入开证行编号'"
disabled
></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=
"'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
...
...
@@ -276,14 +316,23 @@
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model.bfdgrp.rec.doctypcod"
maxlength=
"1
"
style=
"width: 100%
"
placeholder=
"请输入单据类型"
disabled
></c-input>
>
<el-option
v-for=
"item in codes.doctypcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"单据金额"
prop=
"bfdgrp.cbs.max.cur"
>
...
...
@@ -399,6 +448,13 @@
placeholder=
"请选择付款人"
disabled
>
<el-option
v-for=
"item in codes.payrol"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -449,7 +505,7 @@
<c-ptap
:model=
"model"
:argadr=
"
{
title: '
受益人
',
title: '',
grp: 'bfdgrp',
rol: 'prb',
}"
...
...
@@ -1022,6 +1078,11 @@ export default {
data
()
{
return
{};
},
computed
:
{
flag
()
{
return
this
.
model
.
mtabut
.
coninf
.
usr
.
extkey
==
""
;
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
...
...
src/views/Business/Bftdrv/Drv2.vue
View file @
dc906ba4
...
...
@@ -6,6 +6,7 @@
v-model=
"model.bfdgrp.rec.anobnkcod"
maxlength=
"20"
placeholder=
"请输入交单批注行行号"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -17,6 +18,7 @@
v-model=
"model.bfdgrp.rec.anodat"
style=
"width: 100%"
placeholder=
"请选择交单批注日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -29,6 +31,7 @@
maxlength=
"55"
show-word-limit
placeholder=
"请输入交单批注描述"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -39,6 +42,7 @@
v-model=
"model.bftp.msgtyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
disabled
>
<el-option
v-for=
"item in codes.docprbrol"
...
...
src/views/Business/Bftdrv/Dscins.vue
View file @
dc906ba4
...
...
@@ -15,13 +15,14 @@
maxlength=
"50"
show-word-limit
placeholder=
"请输入不符点"
disabled
:disabled=
"!docdisflg"
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 10px"
size=
"small"
type=
"primary"
:disabled=
"!docdisflg"
>
...
</c-button>
...
...
@@ -99,11 +100,16 @@
style=
"width: 100%"
placeholder=
"请选择寄单状态"
>
<el-option
v-for=
"item in codes.folwupopt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<
template
slot=
"footer"
>
<c-checkbox
v-model=
"model.bfdgrp.blk.docdisflg"
style=
"margin-left: 10px"
<c-checkbox
v-model=
"docdisflg"
style=
"margin-left: 10px"
>
录入不符点
</c-checkbox
>
</
template
>
...
...
@@ -117,6 +123,13 @@
style=
"width: 100%"
placeholder=
"请选择付款人"
>
<el-option
v-for=
"item in codes.payrol"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -124,14 +137,28 @@
<c-ptap
:model=
"model"
:argadr=
"{
title: '
付款人
',
title: '',
grp: 'bfdgrp',
rol: 'oth',
}"
:disabled=
"true"
:noRef=
"true"
:isAdrblk=
"false"
>
</c-ptap>
</c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '付款人',
grp: 'bfdgrp',
rol: 'oth',
}"
:disabled="true"
>
</c-ptap>
</c-col> -->
</c-col>
<!-- <c-col :span="24">
...
...
@@ -141,7 +168,8 @@
>
</span>
</c-col> -->
<c-col
:span=
"24"
style=
"height: 24px; margin-top: 20px"
>
<!-- <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
</el-form-item>
</c-col>
...
...
@@ -187,6 +215,60 @@
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<el-form-item
:label=
"model.bftp.docgrdm.docdsclab"
class=
"messageLabel"
>
<c-button
style=
"float: right"
@
click=
"addTableValue"
type=
"primary"
>
新增单据
</c-button
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
style=
""
>
<c-table
style=
"text-align: center"
:list=
"TableValue"
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"1st"
prop=
"cmail1"
width=
"auto"
></el-table-column>
<el-table-column
label=
"2st"
prop=
"cmail2"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
<c-select
style=
"width: 100%"
placeholder=
"请选择"
v-model=
"scope.row.docnam"
>
<el-option
v-for=
"item in codeTable"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"170px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<c-button
@
click=
"deleteTable(scope.row)"
type=
"primary"
>
删除
</c-button
>
</
template
>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
...
...
@@ -205,9 +287,62 @@ export default {
"c-ptap"
:
Ptap
,
},
data
()
{
return
{};
return
{
TableValue
:
[
{
id
:
0
,
cmail1
:
"1"
,
cmail2
:
"2"
,
docnam
:
"1"
,
},
],
newValue
:
{
id
:
0
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
},
codeTable
:
[
{
label
:
"增值税发票"
,
value
:
"1"
},
{
label
:
"发票"
,
value
:
"2"
},
{
label
:
"装箱单"
,
value
:
"3"
},
{
label
:
"空运单"
,
value
:
"4"
},
{
label
:
"海运提单"
,
value
:
"5"
},
{
label
:
"铁路运单"
,
value
:
"6"
},
{
label
:
"货物收据"
,
value
:
"7"
},
{
label
:
"邮政收据"
,
value
:
"8"
},
],
};
},
computed
:
{
docdisflg
:
{
get
()
{
return
this
.
model
.
bfdgrp
.
blk
.
docdisflg
!=
""
;
},
set
(
val
)
{
this
.
model
.
bfdgrp
.
blk
.
docdisflg
=
val
?
"X"
:
""
;
},
},
},
methods
:
{
...
Event
,
addTableValue
()
{
var
index
=
this
.
TableValue
.
length
;
var
newTableValue
=
this
.
newValue
;
if
(
index
>
0
)
{
newTableValue
.
id
=
this
.
TableValue
[
index
-
1
].
id
+
1
;
}
this
.
TableValue
.
push
(
newTableValue
);
},
deleteTable
(
row
)
{
for
(
let
i
=
0
;
i
<
this
.
TableValue
.
length
;
i
++
)
{
if
(
this
.
TableValue
[
i
].
id
==
row
.
id
)
{
this
.
TableValue
.
splice
(
i
,
1
);
break
;
}
}
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Bftdrv/index.vue
View file @
dc906ba4
...
...
@@ -23,7 +23,9 @@
<!--PD000001 -->
<el-tab-pane
label=
"修改单据"
name=
"drv"
>
<m-drv
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-drv
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000175 -->
...
...
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