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
b94484a9
Commit
b94484a9
authored
Dec 30, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
到单和任务列表查询日期控件优化
parent
93f62f9f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
170 additions
and
111 deletions
+170
-111
index.js
src/config/CodeTable/index.js
+11
-1
Errp.vue
src/views/Business/Bopsel/Errp.vue
+4
-4
Selp.vue
src/views/Business/Bopsel/Selp.vue
+4
-4
Diaselp.vue
src/views/Business/Diasel/Diaselp.vue
+4
-4
Docpre.vue
src/views/Business/Ditdck/Docpre.vue
+55
-22
Litdckp.vue
src/views/Business/Ditdck/Litdckp.vue
+0
-0
index.vue
src/views/Business/Ditdck/index.vue
+76
-60
Menu.vue
src/views/Business/Sptsel/Menu.vue
+4
-4
Menu.vue
src/views/Business/Sptsel/Sptbrk/Menu.vue
+4
-4
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+4
-4
Inftrnps.vue
src/views/Business/Trnrel/Trnfnd/Inftrnps.vue
+4
-4
No files found.
src/config/CodeTable/index.js
View file @
b94484a9
...
...
@@ -263,8 +263,11 @@ const CodeTable = {
{
label
:
"BY ACCEPTANCE"
,
value
:
"A"
},
],
avbby0
:
[
{
label
:
"
即期付款"
,
value
:
"P
"
},
{
label
:
"
远期承兑"
,
value
:
"A
"
},
{
label
:
"远期付款"
,
value
:
"D"
},
{
label
:
"混合付款"
,
value
:
"M"
},
{
label
:
"议付"
,
value
:
"N"
},
{
label
:
"即期付款"
,
value
:
"P"
},
],
avbwth
:
[
{
label
:
"Issuing Bank"
,
value
:
"I"
},
...
...
@@ -5817,5 +5820,11 @@ const CodeTable = {
{
label
:
"粤/深港票据交换"
,
value
:
"G"
},
{
label
:
"Other"
,
value
:
"Y"
},
],
brdtyp
:
[
{
label
:
"远期付款单据(承兑)"
,
value
:
"A"
},
{
label
:
"远期付款单据"
,
value
:
"D"
},
{
label
:
"混合付款单据"
,
value
:
"M"
},
{
label
:
"即期单据"
,
value
:
"P"
},
],
}
export
default
CodeTable
;
\ No newline at end of file
src/views/Business/Bopsel/Errp.vue
View file @
b94484a9
...
...
@@ -30,25 +30,25 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"起止日期"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.bopquep.frmdat"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
placeholder=
"请选择From"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.bopquep.tildat"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
placeholder=
"请选择Until"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
src/views/Business/Bopsel/Selp.vue
View file @
b94484a9
...
...
@@ -25,25 +25,25 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"起止日期"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.bopquep.frmdat"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
placeholder=
"请选择From"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.bopquep.tildat"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
placeholder=
"请选择Until"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
src/views/Business/Diasel/Diaselp.vue
View file @
b94484a9
...
...
@@ -27,23 +27,23 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"提示日期"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.diafro"
style=
"width: 100%"
placeholder=
"请选择Diary From date"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.diatil"
style=
"width: 100%"
placeholder=
"请选择Diary Till date"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
src/views/Business/Ditdck/Docpre.vue
View file @
b94484a9
...
...
@@ -5,18 +5,26 @@
<c-col
:span=
"20"
>
<el-form-item
label=
"不符点"
>
<c-input
type=
"textarea"
v-model=
"model.bddgrp.blk.docdis"
maxlength=
"50"
show-word-limit
<c-input
type=
"textarea"
v-model=
"model.bddgrp.blk.docdis"
disabled
maxlength=
"50"
show-word-limit
placeholder=
"请输入不符点"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-button
style=
"text-align: left"
label-width=
"-10px"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDocdisButtxmsel"
>
...
</c-button>
<c-col
:span=
"4"
style=
"text-align: right"
>
<el-form-item
label-width=
"0"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
style=
"margin-left: 0"
@
click=
"onDocdisButtxmsel"
disabled
></c-button>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"注释和结论"
>
<c-input
type=
"textarea"
v-model=
"model.bddgrp.blk.comcon"
maxlength=
"65"
show-word-limit
...
...
@@ -37,11 +45,15 @@
<!-- =================右边====================== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bddgrp.rec.igndisflg"
>
<c-checkbox
v-model=
"model.bddgrp.rec.igndisflg"
>
忽略不符点
</c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bddgrp.blk.docdisflg"
>
<c-checkbox
v-model=
"model.bddgrp.blk.docdisflg"
>
录入不符点
</c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -66,10 +78,12 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bddgrp.rec.approvcod"
>
<c-checkbox
v-model=
"model.bddgrp.rec.approvcod"
>
议付行担保协议
</c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<
!--
<
c-col
:span=
"8"
>
<c-checkbox
v-model=
"model.bdtp.cre752flg"
>
Create MT 752
</c-checkbox>
</c-col>
...
...
@@ -78,10 +92,12 @@
<c-select
v-model=
"model.bdtp.furide"
style=
"width:100%"
placeholder=
"请选择Further Identification"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bdtp.cre732flg"
>
<c-checkbox
v-model=
"model.bdtp.cre732flg"
>
Create MT 732
</c-checkbox>
</el-form-item>
</c-col>
...
...
@@ -89,10 +105,31 @@
<!-- =================已交单据====================== -->
<c-col
:span=
"24"
>
<c-table
:border=
"true"
:list=
"model.bdtp.docgrdm.docgrd"
style=
"width:80%,text-align:center"
>
<c-table
:border=
"true"
:paginationShow=
"false"
:list=
"model.bdtp.docgrdm.docgrd"
style=
"width:80%,text-align:center"
>
<el-table-column
prop=
"cmail1"
label=
"1st"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"cmail2"
label=
"2st"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"docnam"
label=
"Document"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
""
prop=
"det"
width=
"80px"
fixed=
"right"
>
<template
slot-scope=
"scope"
slot=
"header"
>
<el-button
circle
style=
"padding:4px"
class=
"el-icon-plus"
size=
"mini"
@
click=
"addRow(scope)"
>
</el-button>
<el-button
style=
"padding:4px"
circle
class=
"el-icon-minus"
size=
"mini"
@
click=
"removeRow(scope)"
>
</el-button>
</
template
>
</el-table-column>
</c-table>
</c-col>
...
...
@@ -103,26 +140,23 @@
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Ditdck/Event"
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Ditdck/Event"
;
export
default
{
inject
:
[
'root'
],
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{};
},
methods
:
{
...
Event
...
Event
,
},
created
:
function
()
{
}
}
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/Business/Ditdck/Litdckp.vue
View file @
b94484a9
This diff is collapsed.
Click to expand it.
src/views/Business/Ditdck/index.vue
View file @
b94484a9
<
template
>
<c-page
title=
"到单"
>
<c-page
title=
"到单"
>
<div
class=
"eContainer"
>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
:value=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
:value=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000047 -->
<el-tab-pane
label=
"单据概况"
name=
"litdckp"
>
<c-content>
<m-litdckp
:model=
"model"
:codes=
"codes"
/>
<m-litdckp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -19,7 +27,7 @@
<!--PD000062 -->
<el-tab-pane
label=
"单据详情"
name=
"docpre"
>
<m-docpre
:model=
"model"
:codes=
"codes"
/>
<m-docpre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000079 -->
...
...
@@ -27,21 +35,21 @@
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<el-tab-pane
label=
"或有"
name=
"engp"
>
<
!--
<
el-tab-pane
label=
"或有"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"帐务"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"分录"
name=
"glepan"
>
<
!--
<
el-tab-pane
label=
"分录"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
ref=
"glepan"
/>
</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"
/>
...
...
@@ -51,29 +59,27 @@
<m-docpan
:model=
"model"
:codes=
"codes"
ref=
"docpan"
/>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils/index"
import
CodeTable
from
"~/config/CodeTable"
import
Ditdck
from
"~/model/Ditdck"
import
CommonProcess
from
"~/mixin/CommonProcess"
import
Pattern
from
"~/model/Ditdck/Pattern"
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Ditdck
from
"~/model/Ditdck"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
Pattern
from
"~/model/Ditdck/Pattern"
;
import
Default
from
"~/model/Ditdck/Default"
;
import
Check
from
"~/model/Ditdck/Check"
;
import
Litdckp
from
"./Litdckp"
import
Ovwp
from
"./Ovwp"
import
Docpre
from
"./Docpre"
import
Shpdet
from
"./Shpdet"
import
Litdckp
from
"./Litdckp"
;
import
Ovwp
from
"./Ovwp"
;
import
Docpre
from
"./Docpre"
;
import
Shpdet
from
"./Shpdet"
;
import
Limitbody
from
"./Limitbody"
;
import
Glepan
from
"~/views/Public/Glepan"
;
...
...
@@ -83,14 +89,13 @@ import Engp from "~/views/Public/Engp";
import
Ccvpan
from
"~/views/Public/Ccvpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:{
"m-litdckp"
:
Litdckp
,
"m-ovwp"
:
Ovwp
,
"m-docpre"
:
Docpre
,
"m-shpdet"
:
Shpdet
,
name
:
"Infdid"
,
components
:
{
"m-litdckp"
:
Litdckp
,
"m-ovwp"
:
Ovwp
,
"m-docpre"
:
Docpre
,
"m-shpdet"
:
Shpdet
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-glepan"
:
Glepan
,
...
...
@@ -101,44 +106,55 @@ export default {
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
"litdckp"
,
trnName
:
"ditdck"
,
model
:
new
Ditdck
().
data
,
//
checkRules: Check,
trnName
:
"ditdck"
,
model
:
new
Ditdck
().
data
,
//
checkRules: Check,
defaultRules
:
Default
,
//pattern: Pattern,
rules
:
null
,
codes
:{...
CodeTable
},
}
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
invtypCodes
:[
{
label
:
"type1"
,
value
:
"1"
}
],
},
};
},
methods
:{
methods
:
{
tabClick
()
{},
},
created
:
async
function
(){
created
:
async
function
()
{
// console.log("进入ditdck交易");
// let rtnmsg = await this.init(this.$route.query)
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// console.log(rtnmsg)
// Utils.copyValueFromVO(this.model,rtnmsg.data)
// console.log(this.model);
// if(this.isInDisplay){
// this.restoreDisplay()
// }
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
console
.
log
(
"进入ditdck交易"
);
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
console
.
log
(
rtnmsg
)
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
console
.
log
(
this
.
model
);
if
(
this
.
isInDisplay
){
this
.
restoreDisplay
()
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Sptsel/Menu.vue
View file @
b94484a9
...
...
@@ -74,23 +74,23 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"创建时间"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.inidatfro"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.inidattil"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction until"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
src/views/Business/Sptsel/Sptbrk/Menu.vue
View file @
b94484a9
...
...
@@ -74,23 +74,23 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"创建时间"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.inidatfro"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.inidattil"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction until"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
b94484a9
...
...
@@ -30,23 +30,23 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"创建时间"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.trncorco.inidatfro"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.trncorco.inidattil"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction until"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
src/views/Business/Trnrel/Trnfnd/Inftrnps.vue
View file @
b94484a9
...
...
@@ -29,23 +29,23 @@
<c-col
:span=
"8"
>
<el-form-item
label=
"创建时间"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.trncorco.inidatfro"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.trncorco.inidattil"
style=
"width: 100%"
placeholder=
"请选择Date of entry of Transaction until"
></
el
-date-picker>
></
c
-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
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