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
990a6f64
Commit
990a6f64
authored
Jul 11, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coninfp附言调整
parent
ba674982
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
343 additions
and
189 deletions
+343
-189
IStreamInput.vue
src/components/IStreamInput.vue
+0
-1
index.js
src/model/Public/Mtabut/index.js
+2
-2
Detp1.vue
src/views/Business/Detopn/Detp1.vue
+3
-3
Detp2.vue
src/views/Business/Detopn/Detp2.vue
+182
-72
Coninfp.vue
src/views/Public/Coninfp.vue
+156
-111
No files found.
src/components/IStreamInput.vue
View file @
990a6f64
...
...
@@ -25,7 +25,6 @@ export default {
onChange
(){
if
(
this
.
model
&&
this
.
model
.
rows
){
this
.
model
[
"rows"
]
=
this
.
value
.
split
(
"
\
n"
);
console
.
log
(
this
.
model
[
"rows"
]);
this
.
$emit
(
"change"
,
this
.
value
);
}
}
...
...
src/model/Public/Mtabut/index.js
View file @
990a6f64
...
...
@@ -5,14 +5,14 @@ export default class Mtabut {
oitinf
:
{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:
{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inftxt
:
{}
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset
:
{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:
{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inftxt
:
{}
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
...
...
src/views/Business/Detopn/Detp1.vue
View file @
990a6f64
...
...
@@ -290,9 +290,9 @@
-->
<c-ptapdome
:disabledBankno=
"t
rue
"
:disabledJigomc=
"t
rue
"
:disabledDizhii=
"t
rue
"
:disabledBankno=
"t
his.model.dedgrp.rec.lcrtyp == 'I'
"
:disabledJigomc=
"t
his.model.dedgrp.rec.lcrtyp == 'I'
"
:disabledDizhii=
"t
his.model.dedgrp.rec.lcrtyp == 'I'
"
:model=
"model"
:argadr=
"
{
title: '转让行',
...
...
src/views/Business/Detopn/Detp2.vue
View file @
990a6f64
<
template
>
<div
class=
"eibs-tab"
>
<!-- ========================= Left ========================= -->
<c-col
:span=
"11"
>
<el-form-item
label=
"分批装运货物"
prop=
"dedgrp.rec.shppar"
>
<c-select
v-model=
"model.dedgrp.rec.shppar"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<div
class=
"eibs-tab"
>
<!-- ========================= Left ========================= -->
<c-col
:span=
"11"
>
<el-form-item
label=
"分批装运货物"
prop=
"dedgrp.rec.shppar"
>
<c-select
v-model=
"model.dedgrp.rec.shppar"
style=
"width: 100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务"
prop=
"dedgrp.rec.fqzytgfw"
>
<c-select
v-model=
"model.dedgrp.rec.fqzytgfw"
placeholder=
"请选择"
:disabled=
"model.dedgrp.rec.shppar != 'Y'"
style=
"width:100%"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务"
prop=
"dedgrp.rec.fqzytgfw"
>
<c-select
v-model=
"model.dedgrp.rec.fqzytgfw"
placeholder=
"请选择"
:disabled=
"model.dedgrp.rec.shppar != 'Y'"
style=
"width: 100%"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务约定"
prop=
"dedgrp.rec.fqtime"
>
<c-input
type=
"textarea"
:rows=
"3"
v-model=
"model.dedgrp.rec.fqtime"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
style=
"width:100%"
></c-input>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务约定"
prop=
"dedgrp.rec.fqtime"
>
<c-input
type=
"textarea"
:rows=
"3"
v-model=
"model.dedgrp.rec.fqtime"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
style=
"width: 100%"
></c-input>
</el-form-item>
<el-form-item
label=
"货物运输/交货/服务方式"
prop=
"dedgrp.rec.tratyp"
>
<c-select
v-model=
"model.dedgrp.rec.tratyp"
style=
"width:100%"
placeholder=
"请选择"
@
change=
"recTratypChange"
:disabled=
"model.dedgrp.rec.mytype == 'F'"
>
<el-option
v-for=
"item in codes.tratyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-form-item
label=
"货物运输/交货/服务方式"
prop=
"dedgrp.rec.tratyp"
>
<c-select
v-model=
"model.dedgrp.rec.tratyp"
style=
"width: 100%"
placeholder=
"请选择"
@
change=
"recTratypChange"
:disabled=
"model.dedgrp.rec.mytype == 'F'"
>
<el-option
v-for=
"item in codes.tratyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"model.dedgrp.rec.mytype == 'H'"
label=
"手输运输方式"
prop=
"dedgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
<el-form-item
v-if=
"model.dedgrp.rec.mytype == 'H'"
label=
"手输运输方式"
prop=
"dedgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
v-if=
"model.dedgrp.rec.mytype == 'F'"
label=
"服务提供方式"
prop=
"dedgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.sdsrfs"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
<el-form-item
v-if=
"model.dedgrp.rec.mytype == 'F'"
label=
"服务提供方式"
prop=
"dedgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.sdsrfs"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
v-if=
"model.dedgrp.rec.mytype == '3'"
label=
"手输运输方式/服务提供方式"
prop=
"dedgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
v-if=
"model.dedgrp.rec.mytype == '3'"
label=
"手输运输方式/服务提供方式"
prop=
"dedgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同编号"
prop=
"dedgrp.rec.conno"
>
<c-input
v-model=
"model.dedgrp.rec.conno"
maxlength=
"35"
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同编号"
prop=
"dedgrp.rec.conno"
>
<c-input
v-model=
"model.dedgrp.rec.conno"
maxlength=
"35"
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同金额"
>
<c-col
:span=
"10"
>
<c-select
v-model=
"model.dedgrp.rec.concur"
style=
"width:90%"
placeholder=
"请选择"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option>
</c-select>
<c-col
:span=
"24"
>
<el-form-item
label=
"合同金额"
>
<c-col
:span=
"10"
>
<c-select
v-model=
"model.dedgrp.rec.concur"
placeholder=
"请选择"
style=
"width: 100%"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option>
</c-select>
</c-col>
<c-col
:span=
"14"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"dedgrp.rec.conamt"
>
<c-input-currency
v-model=
"model.dedgrp.rec.conamt"
placeholder=
"请输入"
></c-input-currency>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"14"
>
<c-input
v-model=
"model.dedgrp.rec.conamt"
placeholder=
"请输入"
></c-input>
</c-col>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"货物转运地(港)"
prop=
"dedgrp.rec.shpfro"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.dedgrp.rec.shpfro"
:disabled=
"model.dedgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<el-form-item
label=
"货物目的地/交货地(港)"
prop=
"dedgrp.rec.shpto"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.dedgrp.rec.shpto"
:disabled=
"model.dedgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<!-- ========================= Right ========================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"货物转运地(港)"
prop=
"dedgrp.rec.shpfro"
>
<c-input
type=
"textarea"
style=
"width: 100%"
:rows=
"3"
v-model=
"model.dedgrp.rec.shpfro"
:disabled=
"model.dedgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"服务提供地点"
prop=
"dedgrp.rec.shppro"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.dedgrp.rec.shppro"
:disabled=
"model.dedgrp.rec.mytype == 'H'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<el-form-item
label=
"货物目的地/交货地(港)"
prop=
"dedgrp.rec.shpto"
>
<c-input
type=
"textarea"
style=
"width: 100%"
:rows=
"3"
v-model=
"model.dedgrp.rec.shpto"
:disabled=
"model.dedgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"服务提供地点"
prop=
"dedgrp.rec.shppro"
>
<c-input
type=
"textarea"
style=
"width: 100%"
:rows=
"3"
v-model=
"model.dedgrp.rec.shppro"
:disabled=
"model.dedgrp.rec.mytype == 'H'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<!--
<!--
<c-col
:span=
"12"
>
<span
v-text=
"model.detp.fenzhu"
a-path=
".detp.fenzhu"
>
</span>
...
...
@@ -86,31 +201,26 @@
<c-col
:span=
"12"
>
<span
v-text=
"model.detp.sdysfs"
data-path=
".detp.sdysfs"
>
</span>
</c-col>
-->
</div>
-->
</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/Detopn/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Detopn/Event"
;
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
data
()
{
return
{
mytypeFlag
:
true
,
}
mytypeFlag
:
true
,
}
;
},
methods
:{...
Event
},
created
:
function
(){
}
}
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Public/Coninfp.vue
View file @
990a6f64
<
template
>
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
style=
"height:200px;"
label=
"General"
prop=
"mtabut.coninf.oitinf.oit.inftxt"
>
<i-stream-input
type=
"textarea"
rows=
"6"
maxlength=
"60"
resize=
"none"
show-word-limit
placeholder=
"请输入Infotext"
@
change=
"valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
:model=
"model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"Display Type"
prop=
"mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model=
"model.mtabut.coninf.oitinf.oit.inflev"
:disabled=
"model.mtabut.coninf.oitinf.oit.inftxt ? false : true"
placeholder=
"请选择Infotext Level"
style=
"width: 100%"
:code=
"inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
label=
"Settlement"
prop=
"mtabut.coninf.oitset.oit.inftxt"
>
<i-stream-input
type=
"textarea"
rows=
"6"
maxlength=
"60"
resize=
"none"
show-word-limit
placeholder=
"请输入Infotext"
@
change=
"valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
:model=
"model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"Display Type"
prop=
"mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model=
"model.mtabut.coninf.oitset.oit.inflev"
:disabled=
"model.mtabut.coninf.oitset.oit.inftxt ? false : true"
placeholder=
"请选择Infotext Level"
style=
"width: 100%"
:code=
"inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
label=
"执行日期"
prop=
"mtabut.coninf.conexedat"
>
<c-date-picker
type=
"date"
v-model=
"model.mtabut.coninf.conexedat"
style=
"width: 100%"
placeholder=
"请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"Send for Release to"
prop=
"mtabut.coninf.usr.extkey"
>
<c-input
v-model=
"model.mtabut.coninf.usr.extkey"
maxlength=
"8"
disabled=
"disabled"
placeholder=
"请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
style=
"height: 200px"
label=
"General"
prop=
"mtabut.coninf.oitinf.oit.inftxt"
>
<i-stream-input
type=
"textarea"
rows=
"6"
maxlength=
"60"
resize=
"none"
show-word-limit
placeholder=
"请输入Infotext"
@
change=
"
valueChange(
$event,
'mtabut.coninf.oitinf.oit.inflev'
)
"
:model=
"model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"Display Type"
prop=
"mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model=
"model.mtabut.coninf.oitinf.oit.inflev"
:disabled=
"GeneralIsEmpty"
placeholder=
"请选择Infotext Level"
style=
"width: 100%"
:code=
"inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
label=
"Settlement"
prop=
"mtabut.coninf.oitset.oit.inftxt"
>
<i-stream-input
type=
"textarea"
rows=
"6"
maxlength=
"60"
resize=
"none"
show-word-limit
placeholder=
"请输入Infotext"
@
change=
"
valueChange(
$event,
'mtabut.coninf.oitset.oit.inflev'
)
"
:model=
"model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"Display Type"
prop=
"mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model=
"model.mtabut.coninf.oitset.oit.inflev"
:disabled=
"SettlementIsEmpty"
placeholder=
"请选择Infotext Level"
style=
"width: 100%"
:code=
"inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
label=
"执行日期"
prop=
"mtabut.coninf.conexedat"
>
<c-date-picker
type=
"date"
v-model=
"model.mtabut.coninf.conexedat"
style=
"width: 100%"
placeholder=
"请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"Send for Release to"
prop=
"mtabut.coninf.usr.extkey"
>
<c-input
v-model=
"model.mtabut.coninf.usr.extkey"
maxlength=
"8"
disabled=
"disabled"
placeholder=
"请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</
template
>
<
script
>
// 附言页签,勿改
import
_
from
"~/utils/Lodash.js"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
IStreamInput
from
'~/components/IStreamInput'
import
IStreamInput
from
"~/components/IStreamInput"
;
export
default
{
components
:
{
IStreamInput
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
inflev
:
[
{
label
:
"Show"
,
value
:
"$"
},
{
label
:
"Do not show"
,
value
:
"!"
},
{
label
:
"Warn"
,
value
:
"0"
},
],
//码表
};
},
methods
:
{
valueChange
(
event
,
type
)
{
if
(
!
event
)
{
_
.
set
(
this
.
model
,
type
,
""
);
}
components
:
{
IStreamInput
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
inflev
:
[
{
label
:
"Show"
,
value
:
"$"
},
{
label
:
"Do not show"
,
value
:
"!"
},
{
label
:
"Warn"
,
value
:
"0"
},
],
//码表
test
:
""
,
};
},
},
created
:
function
()
{},
methods
:
{
valueChange
(
event
,
type
)
{
if
(
!
event
)
{
_
.
set
(
this
.
model
,
type
,
""
);
}
},
},
computed
:
{
GeneralIsEmpty
:
{
get
()
{
var
temp
=
this
.
model
.
mtabut
.
coninf
.
oitinf
.
oit
.
inftxt
.
rows
;
if
(
temp
!=
null
){
for
(
let
i
=
0
;
i
<
temp
.
length
;
i
++
){
if
(
temp
[
i
].
trim
()
>
0
){
return
false
;
}
}
}
return
true
;
},
},
SettlementIsEmpty
:
{
get
()
{
var
temp
=
this
.
model
.
mtabut
.
coninf
.
oitset
.
oit
.
inftxt
.
rows
;
if
(
temp
!=
null
){
for
(
let
i
=
0
;
i
<
temp
.
length
;
i
++
){
if
(
temp
[
i
].
trim
()
>
0
){
return
false
;
}
}
}
return
true
;
},
},
},
created
:
function
()
{},
};
</
script
>
<
style
>
...
...
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