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
f8485a62
Commit
f8485a62
authored
Dec 24, 2020
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化配置
parent
2d5e3ab8
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
50 additions
and
30 deletions
+50
-30
codes.js
src/model/cptopn/codes.js
+1
-1
descriptor.js
src/model/cptopn/descriptor.js
+14
-0
index.js
src/model/cptopn/index.js
+11
-1
codes.js
src/model/ditopn/codes.js
+1
-1
descriptor.js
src/model/ditopn/descriptor.js
+4
-0
index.js
src/model/ditopn/index.js
+9
-1
BaoSong.vue
src/views/Business/Cptopn/BaoSong.vue
+1
-1
index.vue
src/views/Business/Cptopn/index.vue
+5
-18
index.vue
src/views/Business/Ditopn/index.vue
+3
-6
webpack.config.js
webpack.config.js
+1
-1
No files found.
src/
config/cptopn
.js
→
src/
model/cptopn/codes
.js
View file @
f8485a62
import
CodeTable
from
"
./CodeTable/index
"
import
CodeTable
from
"
~/config/CodeTable
"
export
default
{
dsp
:
CodeTable
.
dsp
,
...
...
src/model/cptopn/descriptor.js
0 → 100644
View file @
f8485a62
export
default
{
"cpdgrp.rec.paytyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.custyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.liqtyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.orcacc"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.cpdflg"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.orc.pts.namcn"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.liqtyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.liqtyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.swftyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.cbs.max.cur"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.cbs.max.amt"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
}
\ No newline at end of file
src/model/cptopn.js
→
src/model/cptopn
/index
.js
View file @
f8485a62
export
default
{
export
{
default
as
codes
}
from
'./codes'
export
{
default
as
descriptor
}
from
'./descriptor'
export
default
class
Cptopn
{
constructor
()
{
this
.
data
=
{
setmod
:
{
setfeg
:
{
fegmod
:
{
...
...
@@ -394,4 +401,6 @@ export default {
jspmod
:
{
jshtyp
:
""
// 结售汇报送类型
}
}
}
}
\ No newline at end of file
src/
config/ditopn
.js
→
src/
model/ditopn/codes
.js
View file @
f8485a62
import
CodeTable
from
"
.
/CodeTable/index"
import
CodeTable
from
"
~/config
/CodeTable/index"
export
default
{
curtxt
:
CodeTable
.
curtxt
,
...
...
src/model/ditopn/descriptor.js
0 → 100644
View file @
f8485a62
export
default
{
}
\ No newline at end of file
src/model/ditopn.js
→
src/model/ditopn
/index
.js
View file @
f8485a62
export
default
{
export
{
default
as
codes
}
from
'./codes'
export
{
default
as
descriptor
}
from
'./descriptor'
export
default
class
Ditopn
{
constructor
(){
this
.
data
=
{
didgrp
:
{
rec
:
{
accusr
:
""
,
// \didgrp\rec\accusr 客户经理
...
...
@@ -144,4 +149,6 @@ export default {
docpth
:
""
}
}
}
}
}
\ No newline at end of file
src/views/Business/Cptopn/BaoSong.vue
View file @
f8485a62
...
...
@@ -723,7 +723,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
handleSearch
()
{
async
handleSearch
()
{
console
.
log
(
'搜索'
)
const
rtnmsg
=
await
Api
.
post
(
'/cptopn/codsel_ctyinfsub'
,
{
data
:
Utils
.
flatObject
(
this
.
model
)
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
...
...
src/views/Business/Cptopn/index.vue
View file @
f8485a62
...
...
@@ -131,8 +131,7 @@ import Mt202 from "./Mt202"
import
Fmt100
from
"./Fmt100"
import
Cmt100
from
"./Cmt100"
import
model
from
"../../../model/cptopn"
import
codes
from
"../../../config/cptopn"
import
Cptopn
,{
descriptor
,
codes
}
from
"~/model/cptopn"
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils"
...
...
@@ -166,27 +165,15 @@ export default {
data
:
function
()
{
return
{
activeName
:
'basic'
,
model
,
model
:
new
Cptopn
().
data
,
codes
,
rules
:
{
"cpdgrp.rec.paytyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.custyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.liqtyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.orcacc"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.cpdflg"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.orc.pts.namcn"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.liqtyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.liqtyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.rec.swftyp"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.cbs.max.cur"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
"cpdgrp.cbs.max.amt"
:
[{
required
:
true
,
message
:
'必输项'
,
trigger
:
'change'
}],
}
rules
:
descriptor
}
},
computed
:
{
baowenType
:
function
()
{
if
(
model
.
cpdgrp
.
rec
.
swftyp
)
{
let
swftyp
=
model
.
cpdgrp
.
rec
.
swftyp
if
(
this
.
model
.
cpdgrp
.
rec
.
swftyp
)
{
let
swftyp
=
this
.
model
.
cpdgrp
.
rec
.
swftyp
return
SWFTYP_MAP
[
swftyp
]
}
else
{
return
''
...
...
src/views/Business/Ditopn/index.vue
View file @
f8485a62
<
template
>
<div>
<c-page
title=
"买方信用证开立"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"ditopnForm"
label-position=
"left"
label-width=
"150px"
size=
"small"
>
...
...
@@ -87,8 +85,7 @@ import Glelst from "../../Public/Glelst"
import
Doc
from
"../../Public/Doc"
import
Fee
from
"../../Public/Fee"
import
model
from
"../../../model/ditopn"
import
codes
from
"../../../config/ditopn"
import
Ditopn
,{
descriptor
,
codes
}
from
"~/model/ditopn"
export
default
{
components
:
{
...
...
@@ -103,9 +100,9 @@ export default {
data
()
{
return
{
activeName
:
'ovwp'
,
model
,
model
:
new
Ditopn
().
data
,
codes
,
rules
:
{}
,
rules
:
descriptor
,
exitDialogVisible
:
false
}
},
...
...
webpack.config.js
View file @
f8485a62
...
...
@@ -70,5 +70,5 @@ module.exports = (options = {}) => ({
index
:
url
.
parse
(
options
.
dev
?
'/assets/'
:
publicPath
).
pathname
}
},
devtool
:
options
.
dev
?
'#eval-source-map'
:
'#source-map'
devtool
:
'#source-map'
})
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