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
fe34a940
Commit
fe34a940
authored
Oct 09, 2022
by
“yanyuxin”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Litopn交易Bug修改
parent
eea8b9d4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
418 additions
and
356 deletions
+418
-356
Pattern.js
src/model/Litopn/Pattern.js
+4
-4
Detp.vue
src/views/Business/Litopn/Detp.vue
+406
-347
Ovwp.vue
src/views/Business/Litopn/Ovwp.vue
+7
-4
Ptyp.vue
src/views/Business/Litopn/Ptyp.vue
+1
-1
No files found.
src/model/Litopn/Pattern.js
View file @
fe34a940
...
...
@@ -263,19 +263,19 @@ export default {
],
"lidgrp.blk.feetxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
80
,
message
:
"8
0"
}
{
max
:
210
,
message
:
"21
0"
}
],
"lidgrp.blk.defdet"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过5
0"
}
{
max
:
140
,
message
:
"长度不能超过14
0"
}
],
"lidgrp.blk.dftat"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过5
0"
}
{
max
:
100
,
message
:
"长度不能超过10
0"
}
],
"litp.drwp.ptsget.sdamod.dadsnd"
:[
...
...
@@ -305,7 +305,7 @@ export default {
],
"lidgrp.blk.mixdet"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
{
max
:
130
,
message
:
"长度不能超过130
"
}
],
"lidgrp.drw.adrelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Litopn/Detp.vue
View file @
fe34a940
<
template
>
<div
class=
"eibs-tab"
>
<!-- ========================左边======================== -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"授权兑付行"
prop=
"lidgrp.rec.avbwth"
>
<c-select
v-model=
"model.lidgrp.rec.avbwth"
style=
"width:100%"
placeholder=
"请选择"
:code=
"codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
v-if=
"this.flag4"
>
<el-form-item
label=
"当事人地址编码"
prop=
"lidgrp.avb.pts.extkey"
>
<c-fullbox>
<c-input
:disabled=
"this.flag5"
v-model=
"model.lidgrp.avb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
@
keyup
.
enter
.
native=
"showGridPromptDialog('lidgrp.avb.pts.extkey')"
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin:0 10px 0 10px;padding: 0 12px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
<span
style=
"font-family:'宋体';font-weight:bold"
></span>
</c-button>
<c-button
style=
"margin:0 0"
size=
"small"
type=
"primary"
@
click=
"onAvbpDet"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.avb.pts.adrblk"
v-if=
"model.lidgrp.rec.avbwth != 'O'"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.avb.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入名称地址"
:disabled=
"model.lidgrp.rec.avbwth !== ''"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
v-if=
"model.lidgrp.rec.avbwth == 'O'"
>
<el-form-item
label=
"Available in"
prop=
"lidgrp.blk.avbwthtxt"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.avbwthtxt"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入Available in"
></c-input>
</el-form-item>
</c-col>
<!-- ========================左边======================== -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"授权兑付行"
prop=
"lidgrp.rec.avbwth"
>
<c-select
v-model=
"model.lidgrp.rec.avbwth"
style=
"width: 100%"
placeholder=
"请选择"
:code=
"codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
v-if=
"this.flag4"
>
<el-form-item
label=
"当事人地址编码"
prop=
"lidgrp.avb.pts.extkey"
>
<c-fullbox>
<c-input
:disabled=
"this.flag5"
v-model=
"model.lidgrp.avb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('lidgrp.avb.pts.extkey')
"
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
></span>
</c-button>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
@
click=
"onAvbpDet"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.avb.pts.adrblk"
v-if=
"model.lidgrp.rec.avbwth != 'O'"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.avb.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入名称地址"
:disabled=
"model.lidgrp.rec.avbwth !== ''"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
v-if=
"model.lidgrp.rec.avbwth == 'O'"
>
<el-form-item
label=
"Available in"
prop=
"lidgrp.blk.avbwthtxt"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.avbwthtxt"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入Available in"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<!-- <c-col :span="8">
<el-form-item label="" label-width="15px">
<c-button
size="small"
...
...
@@ -72,7 +91,7 @@
</el-form-item>
</c-col> -->
<!-- <c-col :span="24" v-if="this.flag4">
<!-- <c-col :span="24" v-if="this.flag4">
<el-form-item label="Available in" prop="lidgrp.avb.pts.adrblk">
<c-input
:disabled="this.flag6"
...
...
@@ -86,7 +105,7 @@
type="textarea" v-model="model.lidgrp.blk.avbwthtxt" maxlength="135" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col> -->
<!--
<!--
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.avb.pts.adrblk">
<c-input type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="35" :rows="4" show-word-limit placeholder="请输入地址信息" ></c-input>
...
...
@@ -110,82 +129,85 @@
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"兑付方式"
prop=
"lidgrp.rec.avbby"
>
<c-select
v-model=
"model.lidgrp.rec.avbby"
style=
"width:100%"
placeholder=
"请选择兑付方式"
:code=
"codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"议付/延期付款指示"
prop=
"lidgrp.blk.defdet"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.defdet"
maxlength=
"50"
:rows=
"3"
show-word-limit
placeholder=
"请输入指示内容"
:disabled=
"this.flag1"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"汇票期限"
prop=
"lidgrp.blk.dftat"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.dftat"
maxlength=
"50"
:rows=
"3"
show-word-limit
placeholder=
"请输入汇票期限"
:disabled=
"this.flag2"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"汇票付款人"
prop=
"lidgrp.drw.pts.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.lidgrp.drw.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
@
keyup
.
enter
.
native=
"showGridPromptDialog('lidgrp.drw.pts.extkey')"
:disabled=
"this.flag2"
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin:0 10px 0 10px;padding: 0 12px;"
size=
"small"
type=
"primary"
@
click=
"onSeainf('lidgrp.drw.pts.extkey')"
icon=
"el-icon-search"
>
<span
style=
"font-family:'宋体';font-weight:bold"
></span>
</c-button>
<c-button
style=
"margin:0 0"
size=
"small"
type=
"primary"
:disabled=
"this.flag2"
@
click=
"onDrwpDet"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"兑付方式"
prop=
"lidgrp.rec.avbby"
>
<c-select
v-model=
"model.lidgrp.rec.avbby"
style=
"width: 100%"
placeholder=
"请选择兑付方式"
:code=
"codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"议付/延期付款指示"
prop=
"lidgrp.blk.defdet"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.defdet"
maxlength=
"140"
:rows=
"3"
show-word-limit
placeholder=
"请输入指示内容"
:disabled=
"this.flag1"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"汇票期限"
prop=
"lidgrp.blk.dftat"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.dftat"
maxlength=
"100"
:rows=
"3"
show-word-limit
placeholder=
"请输入汇票期限"
:disabled=
"this.flag2"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"汇票付款人"
prop=
"lidgrp.drw.pts.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.lidgrp.drw.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('lidgrp.drw.pts.extkey')
"
:disabled=
"this.flag2"
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf('lidgrp.drw.pts.extkey')"
icon=
"el-icon-search"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
></span>
</c-button>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
:disabled=
"this.flag2"
@
click=
"onDrwpDet"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<!-- <c-col :span="8">
<el-form-item label="" label-width="15px">
<c-button
size="small"
...
...
@@ -198,49 +220,76 @@
</c-button>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.drw.pts.adrblk"
>
<c-input
type=
"textarea"
:disabled=
"this.flag2"
v-model=
"model.lidgrp.drw.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"装船/发运地"
prop=
"lidgrp.rec.shpfro"
>
<c-input
v-model=
"model.lidgrp.rec.shpfro"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"始发(航空)站"
"
prop=
"lidgrp.rec.porloa"
>
<c-input
v-model=
"model.lidgrp.rec.porloa"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"终点(航空)站"
"
prop=
"lidgrp.rec.pordis"
>
<c-input
v-model=
"model.lidgrp.rec.pordis"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"最终目的地"
prop=
"lidgrp.rec.shpto"
>
<c-input
v-model=
"model.lidgrp.rec.shpto"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"装运期"
prop=
"lidgrp.blk.shpper"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.shpper"
maxlength=
"65"
:rows=
"6"
show-word-limit
placeholder=
"请输入装运期"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.drw.pts.adrblk"
>
<c-input
type=
"textarea"
:disabled=
"this.flag2"
v-model=
"model.lidgrp.drw.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"装船/发运地"
prop=
"lidgrp.rec.shpfro"
>
<c-input
v-model=
"model.lidgrp.rec.shpfro"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"始发(航空)站"
prop=
"lidgrp.rec.porloa"
>
<c-input
v-model=
"model.lidgrp.rec.porloa"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"终点(航空)站"
prop=
"lidgrp.rec.pordis"
>
<c-input
v-model=
"model.lidgrp.rec.pordis"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"最终目的地"
prop=
"lidgrp.rec.shpto"
>
<c-input
v-model=
"model.lidgrp.rec.shpto"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"装运期"
prop=
"lidgrp.blk.shpper"
>
<c-input
type=
"textarea"
:disabled=
"model.lidgrp.rec.shpdat !=null && model.lidgrp.rec.shpdat !=''"
v-model=
"model.lidgrp.blk.shpper"
maxlength=
"65"
:rows=
"6"
show-word-limit
placeholder=
"请输入装运期"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Chinese address" prop="lidgrp.drw.dbfadrblkcn">
<c-input type="textarea" v-model="model.lidgrp.drw.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
...
...
@@ -258,206 +307,216 @@
<c-input type="textarea" v-model="model.lidgrp.drw.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
-->
</c-col>
-->
</c-col>
<!-- ========================右边======================== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"提交期限(天)"
prop=
"lidgrp.rec.prepers18"
>
<c-input
v-model=
"model.lidgrp.rec.prepers18"
style=
"width:100%"
placeholder=
"请输入天数"
></c-input>
</el-form-item>
</c-col>
<!-- ========================右边======================== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"提交期限(天)"
prop=
"lidgrp.rec.prepers18"
>
<c-input
v-model=
"model.lidgrp.rec.prepers18"
style=
"width: 100%"
placeholder=
"请输入天数"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"交单期限"
prop=
"lidgrp.blk.preper"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.preper"
maxlength=
"35"
show-word-limit
placeholder=
"请输入交单期限"
></c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"交单期限"
prop=
"lidgrp.blk.preper"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.preper"
maxlength=
"35"
show-word-limit
placeholder=
"请输入交单期限"
></c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="Presentation period text" prop="lidgrp.rec.prepertxts18">
<c-input v-model="model.lidgrp.rec.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="18" class="centerLable marginLable">
<!-- <c-col :span="18" class="centerLable marginLable">
<c-checkbox v-model="model.lidgrp.blk.preperflg">Presentation Period modified</c-checkbox>
</c-col> -->
<c-col
:span=
"24"
>
<el-form-item
label=
"银行负担费用"
prop=
"lidgrp.blk.feetxt"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.feetxt"
maxlength=
"80"
:rows=
"6"
show-word-limit
placeholder=
"请输入内容"
></c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onChariaButtxmsel"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
<c-col
:span=
"24"
>
<el-form-item
label=
"银行负担费用"
prop=
"lidgrp.blk.feetxt"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.feetxt"
maxlength=
"210"
:rows=
"6"
show-word-limit
placeholder=
"请输入内容"
></c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onChariaButtxmsel"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="Drafts at" prop="lidgrp.rec.chato">
<c-select v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
</c-select>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
>
<el-form-item
label=
"收报行所属国家地区 "
prop=
"lidgrp.rec.stacty"
>
<c-select
v-model=
"model.lidgrp.rec.stacty"
style=
"width:100%"
:code=
"codes.stacty"
placeholder=
"请选择地区代码"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"混合付款指示"
prop=
"lidgrp.blk.mixdet"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.mixdet"
maxlength=
"35"
:rows=
"4"
show-word-limit
placeholder=
"请输入混合付款指示"
:disabled=
"this.flag3"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"收报行所属国家地区 "
prop=
"lidgrp.rec.stacty"
>
<c-select
v-model=
"model.lidgrp.rec.stacty"
style=
"width: 100%"
:code=
"codes.stacty"
placeholder=
"请选择地区代码"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"远期汇票最大期限(天)"
prop=
"lidgrp.rec.tenmaxday"
>
<c-input
:disabled=
" !(!(this.model.lidgrp.rec.avbby == 'P')) "
v-model=
"model.lidgrp.rec.tenmaxday"
placeholder=
"请输入天数"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"混合付款指示"
prop=
"lidgrp.blk.mixdet"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.mixdet"
maxlength=
"130"
:rows=
"4"
show-word-limit
placeholder=
"请输入混合付款指示"
:disabled=
"this.flag3"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"远期汇票最大期限(天)"
prop=
"lidgrp.rec.tenmaxday"
>
<c-input
:disabled=
"!!(this.model.lidgrp.rec.avbby == 'P')"
v-model=
"model.lidgrp.rec.tenmaxday"
placeholder=
"请输入天数"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Litopn/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Litopn/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
flag1
:
true
,
flag2
:
true
,
flag3
:
true
,
flag4
:
true
,
flag5
:
false
,
flag6
:
false
}
},
methods
:{...
Event
,
onAvbpDet
(){
console
.
log
(
this
.
model
.
lidgrp
.
rec
.
avbby
)
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
flag1
:
true
,
flag2
:
true
,
flag3
:
true
,
flag4
:
true
,
flag5
:
false
,
flag6
:
false
,
};
},
methods
:
{
...
Event
,
onAvbpDet
()
{
console
.
log
(
this
.
model
.
lidgrp
.
rec
.
avbby
);
},
created
:
function
(){
},
created
:
function
()
{},
watch
:
{
"model.lidgrp.rec.avbwth"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
//Any Bank
if
(
val
==
"O"
)
{
this
.
flag4
=
false
;
this
.
changeFormItemRequired
(
"lidgrp.avb.pts.adrblk"
,
false
);
this
.
flag6
=
false
;
}
//Advising Bank
else
if
(
val
==
"A"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Issuing Bank
else
if
(
val
==
"I"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
true
;
}
//Confirming Bank
else
if
(
val
==
"C"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Specified Bank
else
if
(
val
==
"S"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
false
;
}
},
},
watch
:{
"model.lidgrp.rec.avbwth"
:{
immediate
:
true
,
handler
(
val
,
oldVal
){
//Any Bank
if
(
val
==
'O'
){
this
.
flag4
=
false
;
this
.
changeFormItemRequired
(
'lidgrp.avb.pts.adrblk'
,
false
)
this
.
flag6
=
false
}
//Advising Bank
else
if
(
val
==
'A'
){
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Issuing Bank
else
if
(
val
==
'I'
){
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
true
;
}
//Confirming Bank
else
if
(
val
==
'C'
){
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Specified Bank
else
if
(
val
==
'S'
){
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
false
;
}
}
},
"model.lidgrp.rec.avbby"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
){
if
(
val
==
"D"
)
{
this
.
flag1
=
false
this
.
flag2
=
true
this
.
flag3
=
true
}
if
(
val
==
"N"
){
this
.
flag1
=
false
this
.
flag2
=
false
this
.
flag3
=
true
}
if
(
val
==
"P"
)
{
this
.
flag1
=
true
this
.
flag2
=
false
this
.
flag3
=
true
}
if
(
val
==
"M"
)
{
this
.
flag1
=
true
this
.
flag2
=
true
this
.
flag3
=
false
}
if
(
val
==
"A"
)
{
this
.
flag1
=
true
this
.
flag2
=
false
this
.
flag3
=
true
}
},
},
"model.lidgrp.rec.avbby"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
val
==
"D"
)
{
this
.
flag1
=
false
;
this
.
flag2
=
true
;
this
.
flag3
=
true
;
}
if
(
val
==
"N"
)
{
this
.
flag1
=
false
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
}
if
(
val
==
"P"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
}
if
(
val
==
"M"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
true
;
this
.
flag3
=
false
;
}
if
(
val
==
"A"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
}
},
},
}
},
};
</
script
>
<
style
>
.centerLable
{
...
...
src/views/Business/Litopn/Ovwp.vue
View file @
fe34a940
...
...
@@ -93,16 +93,16 @@
v-model=
"model.lidgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"币种"
:code=
"codes.cur"
:code=
"codes.cur
txt1
"
@
keyup
.
enter
.
native=
"nom1CurEvent"
>
<el-option
<
!-- <
el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option>
-->
</c-select>
</el-form-item>
</c-col>
...
...
@@ -233,6 +233,7 @@
<el-form-item
label=
"最迟装船日期"
prop=
"lidgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
:disabled=
"model.lidgrp.blk.shpper != '' && model.lidgrp.blk.shpper != null "
v-model=
"model.lidgrp.rec.shpdat"
style=
"width: 100%"
placeholder=
"请选择日期"
...
...
@@ -649,6 +650,7 @@
v-model=
"model.lidgrp.ben.pts.adrblk"
maxlength=
"80"
show-word-limit
:disabled =
"true"
placeholder=
"请输入名称地址"
></c-input>
</el-form-item>
...
...
@@ -675,7 +677,8 @@
-->
<c-col
:span=
"24"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.lidgrp.rec.rmbflg"
disabled
<c-checkbox
v-model=
"model.lidgrp.rec.rmbflg"
true-label=
"Y"
false-label=
""
style=
"margin-left:9px;padding: 0 10px;"
>
偿付行信息
</c-checkbox
>
...
...
src/views/Business/Litopn/Ptyp.vue
View file @
fe34a940
...
...
@@ -357,7 +357,7 @@
prop=
"lidgrp.avb.pts.ref"
>
<c-input
disabled
disabled
v-model=
"model.lidgrp.avb.pts.ref"
maxlength=
"16"
placeholder=
"请输入参考号"
...
...
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